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 content-cleanupgit 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/content-cleanup)<a href="https://agentmods.dev/skills/nirholas/xactions/content-cleanup"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/content-cleanup/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/content-cleanup"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/content-cleanup.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.00073 | $0.01331 |
| Opus 5.5 | $0.00029 | $0.00532 |
| Sonnet 5.5 | $0.00015 | $0.00266 |
| Haiku 4.5 | $0.00007 | $0.00133 |
Grade A, and why
content-cleanup 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.
How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Content Cleanup with XActions
Browser console scripts for mass-cleaning your X/Twitter account history.
Available Scripts
| Script | File | Purpose |
|---|---|---|
| Search Sweep | scripts/searchSweep.js |
Delete (or like/repost/reply to) every post an X search returns |
| Bulk Delete Tweets | browser/bulkDeleteTweets.js |
Delete your own posts from your profile timeline by age, keyword, or engagement |
| Unlike All Posts | browser/unlikeAllPosts.js |
Remove all likes from your likes page |
| Clear All Reposts | browser/clearAllReposts.js |
Remove all retweets/reposts |
| Clear All Bookmarks | browser/clearAllBookmarks.js |
Remove all saved bookmarks |
| Remove Followers | browser/removeFollowers.js |
Soft-block to remove specific followers |
Search Sweep: delete everything matching a search
File: scripts/searchSweep.js (full guide: docs/search-sweep.md)
The one to reach for when the user wants "delete every reply I sent @someone", "remove all my posts mentioning X", or "delete everything I posted before 2024". X has no bulk tool for that, but its search finds the posts:
https://x.com/search?q=from%3AYOUR_HANDLE%20%40someone&src=typed_query&f=live
How to use
- Open that search on x.com (use the Latest tab,
f=live; Top ranking hides most results) - Open DevTools (F12) then Console
- Paste
scripts/searchSweep.js. A panel appears bottom-right, pre-filled with the query already in the address bar - Pick the action: Delete, Like, Repost, or Reply. Leave Dry run ON and click Start
- Read the log, untick Dry run, start again
What to tell the user
- Delete only ever touches their own posts. Anything by another account is refused.
- It needs more than one run. X search returns a slice at a time and its index lags deletions by minutes. The script re-runs the query for several passes and remembers every id it acted on, so running it again a day later only picks up stragglers.
- Filters protect posts worth keeping: minimum age, likes/reposts ceiling, keyword exclusions, and the pinned post is always skipped.
- Deletion is permanent. Back up first with
scripts/backupAccount.js.
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 382400f81545
- 3mo ago First seen · 157 lines · 73 tokens per session scan A 47445731b785
content-cleanup is a skill published in the GitHub repository nirholas/XActions (671 stars, last pushed 3d ago), licensed Apache-2.0. It adds 73 tokens to every session and 1,331 once invoked, about $0.0003 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.
content-cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| content-cleanupnirholas/XActions | Skill | 671 | 3d ago | Apache-2.0 | A | 73 | Claude Code, Codex |
| Xnotforyou23/home23 | Skill | 11 | 5d ago | MIT | A | 33 | Claude Code, Codex |
| chrome-devtools-cliChromeDevTools/chrome-devtools-mcp | Skill | 60k | today | Apache-2.0 | A | 31 | Claude Code |
| 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 |