profile-management
Profile Management
Browser console scripts for updating X/Twitter profile information.
Script Selection
| Script | File | Purpose |
|---|---|---|
| Profile Manager | src/profileManager.js |
Core profile management operations |
| Update Profile | src/updateProfile.js |
Update bio, name, location, website |
| QR Code Sharing | src/qrCodeSharing.js |
Generate and share profile QR codes |
Update Profile
File: src/updateProfile.js
Programmatically updates profile fields: display name, bio, location, website, birth date.
How to Use
- Navigate to
x.com/settings/profile - Open DevTools (F12) -> Console
- Paste the script -> Enter
Configuration
const CONFIG = {
displayName: 'Your Name',
bio: 'Your new bio here',
location: 'City, Country',
website: 'https://example.com',
};
Profile Manager
File: src/profileManager.js
Core module for reading and updating profile data. Used by other scripts that need profile context.
QR Code Sharing
File: src/qrCodeSharing.js
Generates a shareable QR code for your X profile. Useful for in-person networking and cross-platform promotion.
DOM Selectors
| Element | Selector |
|---|---|
| Edit profile button | [data-testid="editProfileButton"] |
| Avatar edit | [data-testid="editProfileAvatar"] |
| Header edit | [data-testid="editProfileHeader"] |
| Save button | [data-testid="Profile_Save_Button"] |
| User name display | [data-testid="UserName"] |
| User description | [data-testid="UserDescription"] |
| User location | [data-testid="UserLocation"] |
| User URL | [data-testid="UserUrl"] |
Field Limits
| Field | Limit |
|---|---|
| Display name | 50 characters |
| Bio | 160 characters |
| Location | 30 characters |
| Website | Valid URL |
| Avatar | Square image, 400x400px recommended |
| Header | 1500x500px recommended |
Strategy Guide
Optimizing profile for conversions
- Display name: Full name + value proposition keyword (e.g., "Jane Smith | AI Engineer")
- Bio: Lead with what you do, who you serve, proof (numbers), and CTA
- Location: Include if relevant to your niche (e.g., "San Francisco, CA" for tech)
- Website: Link to your most important conversion page (not just homepage)
- Avatar: Professional headshot, face visible, good lighting, contrasting background
- Header: Banner showing your work, product, or personal brand tagline
Bio formula (160 chars max)
{What you do} for {who you serve}
{Proof/credentials}
{CTA or link description}
Example: "Building AI tools for indie hackers | 10K+ users | Free at example.com"
Profile A/B testing
- Use
src/updateProfile.jsto set version A - Run for 1 week, track follower growth with
src/followerGrowthTracker.js - Switch to version B with
src/updateProfile.js - Compare growth rates after another week
- Keep the winning version
Notes
- Profile updates take effect immediately after saving
- Avatar and header uploads require file input interaction
- Bio supports line breaks and emoji
- All scripts include dry-run mode by default
- Changes can be reverted by running the script again with old values
More from nirholas/xactions
twitter-scraping
Scrapes X/Twitter data without API access using Puppeteer stealth and browser console scripts. Extracts profiles, followers, following lists, tweets, search results, hashtags, threads, media, bookmarks, notifications, DMs, likes, and viral tweets. Exports to JSON/CSV. Use when collecting, exporting, or analyzing Twitter data.
25direct-messages
Sends, manages, and automates direct messages on X/Twitter. Supports personalized bulk DMs with templates, conversation management, message request filtering, and DM export. The agent uses this skill when a user needs to send DMs, manage conversations, or automate direct messaging workflows.
10growth-automation
Automates X/Twitter growth via browser console scripts. Auto-likes tweets by keyword/user filters, auto-comments on target users, follows by keyword search or engagement, follows audiences of target accounts with rich filtering, trains the algorithm for niches, and runs combined growth suites. All require pasting core.js first. Use when automating Twitter growth, engagement, following, or audience building.
10engagement-interaction
Automates X/Twitter engagement actions — like, unlike, reply, bookmark, hide replies, and auto-like by keyword. Also bulk-unlikes all posts. Use when users want to automate likes, send replies, manage bookmarks on tweets, hide replies, or clear their entire likes history.
10follower-monitoring
Monitors X/Twitter follower changes using browser console scripts. Detects who unfollowed, tracks new followers with welcome messages, monitors any public account, runs continuous monitoring with alerts, tracks follower growth over time, and analyzes follower demographics. Use when tracking follower changes, detecting unfollowers, or monitoring Twitter accounts.
9grok-ai
Integrates with X/Twitter's Grok AI for chat, image generation, tweet analysis, and content creation. Automates Grok prompts, scrapes Grok responses, and uses Grok for content strategy. Requires X Premium+. Use when users want to use Grok AI for content generation, analysis, or chat automation on X.
8