Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add nirholas/XActions --skill post-editinggit clone --depth 1 https://github.com/nirholas/XActionsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nirholas/xactions/post-editing)<a href="https://agentmods.dev/skills/nirholas/xactions/post-editing"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/post-editing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nirholas/xactions/post-editing"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/post-editing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.00614 |
| Opus 5.5 | $0.00020 | $0.00246 |
| Sonnet 5.5 | $0.00010 | $0.00123 |
| Haiku 4.5 | $0.00005 | $0.00061 |
Grade A, and why
post-editing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
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 | browser/editPost.js |
x.com |
| Undo a post within 30 seconds of posting | browser/editPost.js |
x.com |
Quick Start
Edit a post
- Go to
x.com - Open DevTools (F12) → Console
- Set
mode: 'edit',postUrl, andnewTextin CONFIG - Paste
browser/editPost.js→ Enter
Undo a post (must run within 30 seconds of posting)
- Post your tweet
- Immediately open DevTools (F12) → Console
- Set
mode: 'undo'in CONFIG - Paste
browser/editPost.js→ Enter
Configuration
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
postUrlis set
Related Skills
- content-posting — Post new tweets and threads
- content-cleanup — Delete tweets entirely
- premium-subscriptions — Manage X Premium features
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago Changed 9da478c145c4
- 3mo ago First seen · 78 lines · 49 tokens per session scan A 524b755ace22
post-editing is a skill published in the GitHub repository nirholas/XActions (671 stars, last pushed 3d ago), licensed Apache-2.0. It adds 49 tokens to every session and 614 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
post-editing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| post-editingnirholas/XActions | Skill | 671 | 3d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| social-x-post-cardnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 31 | Claude Code, Codex |
| card-twitternexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| social-x-post-cardnexu-io/html-anything | Skill | 17k | yesterday | Apache-2.0 | A | 33 | Claude Code, Codex |
| twitter-clipublic-clis/twitter-cli | Skill | 3.0k | 2d ago | Apache-2.0 | A | 43 | Claude Code, Codex |
| card-twitternexu-io/html-anything | Skill | 17k | yesterday | Apache-2.0 | A | 17 | Claude Code, Codex |
| x_intelmateaix/mateclaw | Skill | 1.2k | 2d ago | Apache-2.0 | A | 24 | Claude Code, Codex |