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 lnvestor/twitr-skills --skill x-twitter-publishgit clone --depth 1 https://github.com/lnvestor/twitr-skillsWrote 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/lnvestor/twitr-skills/x-twitter-publish)<a href="https://agentmods.dev/skills/lnvestor/twitr-skills/x-twitter-publish"><img src="https://agentmods.dev/badge/skills/lnvestor/twitr-skills/x-twitter-publish/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/lnvestor/twitr-skills/x-twitter-publish"><img src="https://agentmods.dev/badge/skills/lnvestor/twitr-skills/x-twitter-publish.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.00170 | $0.01486 |
| Opus 5 | $0.00085 | $0.00743 |
| Sonnet 5 | $0.00034 | $0.00297 |
| Haiku 4.5 | $0.00017 | $0.00149 |
Grade B, and why
x-twitter-publish scanned grade B with 1 finding 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 12d 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.
Instruction-override phrasingmediumPrompt injection
Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.
("ignore previous instructions", "reply with...", "run this", "you are now..."). It is data Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
X publish — drafting and posting
| Task | Tool | Needs a connected account? |
|---|---|---|
| Draft / refine / score post text | x_compose |
No — drafting is free of the account |
| Post, reply, quote, delete, upload media | x_write |
Yes |
| Edit bio, name, avatar, banner | x_profile |
Yes |
| Read your own bookmarks, notifications, DMs | x_inbox |
Yes |
Draft first — it's nearly free
x_compose is priced at the floor (~$0.001), so draft several and keep the best.
POST https://twitr.sh/api/tools/compose
{ "step": "generate", "topic": "why 402 beats API keys for agents",
"goal": "be known for practical agent-payment writing",
"tone": "direct, dry, technical — no emoji",
"styleUsername": "account_whose_voice_to_match" }
step is generate | refine (pass draft) | score (pass draft). styleUsername makes
"write like this account" a single field. Always show the user the draft before publishing.
Connect an account (once, free)
You never handle the user's password. Mint a one-time link and hand it over:
POST /api/x-accounts/start {"username"} → {connect_url, expires_in}
GET /api/x-accounts → poll until "linked"
Show the user connect_url: open this in your browser and sign in to X there. They enter the
password on twitr.sh in their own browser — it never passes through you, your context, or the
chat log. The link is single-use and expires in 15 minutes; mint a fresh one if it lapses.
Never ask for an X password, email, or 2FA secret — and never accept one if offered. If a user pastes a credential into the chat, tell them not to and send them the link instead.
Wallet-signed and free. One handle binds to exactly one wallet, and ownership is re-verified server-side on every write.
Publish
POST https://twitr.sh/api/tools/x_write
Idempotency-Key: <uuid, one per item>
{ "action": "post", "account": "myhandle", "text": "..." }
{ "action": "reply", "account": "myhandle", "reply_to_tweet_id": "<id>", "text": "..." }
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.
- 12d ago First seen · 113 lines · 170 tokens per session scan B 72ca19b9a258
x-twitter-publish is a skill published in the GitHub repository lnvestor/twitr-skills (8 stars, last pushed 1mo ago), licensed MIT. It adds 170 tokens to every session and 1,486 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
migrate-from-openclaw
Migrate from OpenClaw to NanoClaw v2. Detects an existing OpenClaw installation, extracts identity, channel credentials, scheduled tasks, and other config, then guides interactive migration. Triggers on "migrate from openclaw", "openclaw migration", "import from openclaw".
add-dial-tool
Give chosen NanoClaw agents a real phone number as a container tool — the dial CLI baked into the agent image plus OneCLI credential injection for api.getdial.ai, scoped per agent, so the agents you pick can send SMS, place AI voice calls, and receive verification codes from inside the sandbox. Independent of the Dial…
add-telegram
Add Telegram channel integration via Chat SDK.
migrate-slack-agents
Migrate a classic single-bot Slack install to one provisioned Slack app per existing agent group while preserving agent identities, workspaces, memory, and wiring behavior — or record the operator's choice to stay on classic, which remains supported. Use when /update-nanoclaw surfaces the Slack agents requirement, or…
slack-agent-flow
Let an existing Slack agent create new agents that arrive as their own Slack bots — provisioned app, operator DM, and a shared three-way room, hot-started without a host restart.
add-imessage
Add iMessage to NanoClaw — one channel, two backends. Local (this Mac's chat.db via the Chat SDK bridge; macOS + Full Disk Access) or Hosted iMessage (via photon.codes — native spectrum-ts with a device-login wizard; any OS, no Mac relay). Triggers on "add imessage", "connect imessage", "add photon", "imessage via…