skills/post-editing/SKILL.md
Edit existing posts or undo a recently posted tweet on X/Twitter. Post editing and undo are X Premium features. Use when users want to edit a tweet they already posted or undo a tweet within the 30-second window.
npx skillsauth add nirholas/xactions post-editingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Browser console script for editing existing posts or undoing a recently posted tweet.
⚠️ X Premium required — Post editing and undo are Premium-only features.
| Goal | File | Navigate to |
|------|------|-------------|
| Edit an existing post | src/editPost.js | x.com |
| Undo a post within 30 seconds of posting | src/editPost.js | x.com |
x.commode: 'edit', postUrl, and newText in CONFIGsrc/editPost.js → Entermode: 'undo' in CONFIGsrc/editPost.js → Enterconst CONFIG = {
mode: 'edit', // 'edit' or 'undo'
// Edit mode:
postUrl: 'https://x.com/nichxbt/status/123456789', // Post to edit
newText: 'Updated tweet content here', // New text
// Timing:
minDelay: 1000,
maxDelay: 2000,
navigationDelay: 3000, // Wait for page/modal to load
};
| Element | Selector |
|---------|----------|
| Post options (⋯) | [data-testid="caret"] |
| Edit tweet option | [data-testid="editTweet"] |
| Tweet textarea | [data-testid="tweetTextarea_0"] |
| Submit button | [data-testid="tweetButton"] |
| Undo banner | [data-testid="undoTweet"] |
postUrl is settools
Free MCP server providing 68+ tools for AI agents to automate X/Twitter. Scrapes profiles, followers, tweets. Posts, follows, likes, retweets, downloads videos, analyzes sentiment, monitors brands, manages DMs, runs workflows, and more. Uses local Puppeteer -- no API keys or payments required. Compatible with Claude Desktop, Cursor, Windsurf, VS Code. Use when setting up or using AI agent Twitter automation via MCP.
tools
Command-line interface for scraping X/Twitter data, managing MCP server config, and running automation. Scrapes profiles, followers, tweets, search results, and more from terminal. Outputs text, JSON, or CSV. Uses Puppeteer stealth. Use when running Twitter operations from command line or automated pipelines.
development
Enable and integrate x402 crypto payment protocol for XActions API access. Supports multi-chain, multi-token payments for pay-per-use API calls. Use when users want to pay for XActions operations with crypto or integrate x402 into their own agent/app.
tools
Navigate to X Pro (TweetDeck), set up monitoring columns, and manage multi-column view. Use when users want to use X Pro / TweetDeck features or set up a multi-column dashboard.