post-editing
/post-editing
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.
- Author
- nirholas ↗
- Repository
- xactions ↗
- Licence
- Apache-2.0
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
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.
Original author description
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.
How it works
- Script Selection
- Quick Start
- Configuration
- Selectors Used
- Notes
- Related Skills
SKILL.md preview
---
name: post-editing
description: 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.
license: Apache-2.0
metadata:
author: nichxbt
version: "1.0"
---
# Post Editing & Undo
Browser console script for editing existing posts or undoing a recently posted tweet.
> ⚠️ **X Premium required** — Post editing and undo are Premium-only features.
## Script Selection
| 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` |
## Quick Start
### Edit a post
1. Go to `x.com`
2. Open DevTools (F12) → Console
3. Set `mode: 'edit'`, `postUrl`, and `newText` in CONFIG
4. Paste `src/editPost.js` → Enter
### Undo a post (must run within 30 seconds of posting)
1. Post your tweet
2. Immediately open DevTools (F12) → Console
3. Set `mode: 'undo'` in CONFIG
4. Paste `src/editPost.js` → Enter
## Configuration
```js
const 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
};
```
## Selectors Used
| 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"]` |
## Notes
- **Edit window**: X allows unlimited edits on Premium (unlike Bluesky's 5-minute limit)
- **Undo window**: The undo banner only appears for ~30 seconds after posting
- Edit history is publicly visible — a small edit badge appears on edited posts
- Script navigates to the post URL automatically when `postUrl` is set
## Related Skills
- **content-posting** — Post new tweets and threads
- **content-cleanup** — Delete tweets entirely
- **premium-subscriptions** — Manage X Premium features
Versions
The database has no other skills named post-editing.
Database snapshot: 13.11.2026 · package version 723e84014541 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 85twitter-x-posts
When the user wants to create X (Twitter) post copy, threads, or optimize for X platform. Also use when the user mentions "X post," "X thread," "Twitter post," "Twitter thread," "tweet," "tweet copy," "thread," "X marketing," "X content," "post to X," "create X post," or "X post… - 100tweet
Find tweet ideas, plan launch posts, and draft or polish tweets with code cards, stat cards, or screenshot wraps. Use for content strategy, what to post, when to post, or an X post. - 100twitter-automation
Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users,… - 100x-post-writer
USE WHEN write tweet, Twitter thread, LinkedIn post, viral hook, edit tweet, analyze tweet, improve engagement, social media copy. Applies hook fundamentals (direct reader targeting, benefit-first, avoid overused patterns), engagement triggers (social proof, scarcity,… - 90tweet-insight
从推文出发,深度阅读关联内容,整理成原创分享帖。不是翻译,而是学习后用自己的话讲出来。Use when user provides tweet URL(s) and wants to create an original post based on the content. Triggers on "帮我整理这条推", "写一条分享帖", "tweet insight", "digest this tweet", or when user provides x.com/twitter.com URLs and asks to write about them. - 100feature-tweet
This skill should be used when converting a shipping feature PR into a draft short-form X post (single tweet or up-to-3-tweet thread) for operator approval.