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 x-account-actionsgit 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/x-account-actions)<a href="https://agentmods.dev/skills/nirholas/xactions/x-account-actions"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/x-account-actions/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/x-account-actions"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/x-account-actions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00057 | $0.00737 |
| Opus 5.5 | $0.00023 | $0.00295 |
| Sonnet 5.5 | $0.00011 | $0.00147 |
| Haiku 4.5 | $0.00006 | $0.00074 |
Grade A, and why
x-account-actions 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 18d 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 — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Acting on an X account with XActions
Write tools change a real account, so this plugin starts the server with --require-approval. In that mode every write tool (x_post_tweet, x_post_thread, x_reply, x_quote_tweet, x_like, x_retweet, x_follow, x_unfollow, x_unfollow_non_followers, x_send_dm, x_delete_tweet, x_bookmark, x_clear_bookmarks, x_update_profile, and others) is saved as a draft and not executed. The agent cannot approve its own drafts: x_approve_draft is hidden and returns a message telling the user to run a terminal command.
Authenticate (the user does this)
The server reads the X auth_token cookie from XACTIONS_SESSION_COOKIE, or from a saved session. Never ask the user to paste a cookie into chat and never write it into a file. Either have them export it in their own shell before starting Claude Code:
export XACTIONS_SESSION_COOKIE=<auth_token value>
or run npx -y -p xactions xactions login (options: --cookies-file <path>, --from-browser [browser]). XACTIONS_ACCOUNT names the active saved account.
Workflow
- Call
x_action_budgetfirst. It reports the cap, usage in the rolling 24 hours and remaining slots for post, reply, like, repost, follow, unfollow, dm, block, mute and delete. Caps persist across restarts; override withXACTIONS_ACTION_CAPS(JSON, for example{"follow":600}) or~/.xactions/action-caps.json. - Prefer previews.
x_unfollow_non_followerstakes{ username, maxUnfollows, dryRun }; call it withdryRun: trueand show the user the list before any real run. - Call the write tool. In approval mode the result is
held: truewith adraftId. Show the user the tool and arguments, then tell them to review and run:
npx -y -p xactions xactions drafts list
npx -y -p xactions xactions drafts show <id>
npx -y -p xactions xactions drafts approve <id>
xactions drafts discard <id> drops one. The agent may inspect drafts with x_list_drafts and x_draft_status, or drop one with x_discard_draft.
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.
- 18d ago First seen · 44 lines · 57 tokens per session scan A a173a18029b5
x-account-actions is a skill published in the GitHub repository nirholas/XActions (671 stars, last pushed 3d ago), licensed Apache-2.0. It adds 57 tokens to every session and 737 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-11-12.
x-account-actions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| x-account-actionsnirholas/XActions | Skill | 671 | 3d ago | Apache-2.0 | A | 57 | 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 |
| 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 |