write-tweet

write-tweet is a skill for Claude Code, Codex from aaronjmars/aeon-agent. It costs 41 tokens per session (9,510 once invoked), scanned C, a copy of write-tweet, MIT.

A tweet drafting tool that produces standalone posts, multi-post threads, or new versions of earlier tweets. It can also revise the last saved draft when given an instruction.

In plain words
What is it for?
Use it to create standalone tweets, a thread, or remixes of past tweets, using recent saved context when available.
Why use it?
It removes the need to structure several common tweet formats by hand. It also gives you a way to refine a previous draft.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create standalone tweets, a thread, or remixes of past tweets, using recent saved context when available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aaronjmars/aeon-agent/write-tweet
Install

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.

Any agent
npx skills add aaronjmars/aeon-agent --skill write-tweet
Clone the repo
git clone --depth 1 https://github.com/aaronjmars/aeon-agent

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for write-tweet

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaronjmars/aeon-agent/write-tweet/github.svg)](https://agentmods.dev/skills/aaronjmars/aeon-agent/write-tweet)
Your own site
<a href="https://agentmods.dev/skills/aaronjmars/aeon-agent/write-tweet"><img src="https://agentmods.dev/badge/skills/aaronjmars/aeon-agent/write-tweet/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.

agentmods 80×15 button for write-tweet

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaronjmars/aeon-agent/write-tweet"><img src="https://agentmods.dev/badge/skills/aaronjmars/aeon-agent/write-tweet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,510 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.09510
Opus 5.5 $0.00016 $0.03804
Sonnet 5.5 $0.00008 $0.01902
Haiku 4.5 $0.00004 $0.00951

Measured 1mo ago against content hash e93b59f65e1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

write-tweet scanned grade C with 2 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 1mo 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- autoresearch: variation B — sharper output via remixability pre-filter, strategy-rotation, skip-gate for un-remixable originals, post-write self-edit; folded in A's multi-angle queries + engagement counts and C's so

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

If `XAI_API_KEY` is set, search X for what people are already saying about the topic. A direct `curl` to the X.AI Responses API is the **primary** path for this X read (see **Fetching**; set the Bash tool `timeout` ≥1800
Origin

This is a copy

100% identical to write-tweet — 165 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/write-tweet/SKILL.md · 643 lines

How it starts

The opening of the file, as written. The whole thing — 643 lines — stays where its author put it; the contents beside it link to each section on GitHub.

${var} — [format] [argument]. Pick one of three formats, then pass its argument. Empty ⇒ drafts (standalone tweet drafts). thread … ⇒ a multi-tweet thread. remix … ⇒ remix of your past tweets. revise:<instruction> ⇒ revise the last saved draft (the Telegram force-reply shape, e.g. revise:make it punchier). See Selector below.

Read memory/MEMORY.md for context on recent articles, digests, topics being tracked, and the operator's tracked handles/token. Each branch then reads its own memory/logs/ window (drafts: 3 days, thread: 7 days, remix: 14 days) — see the branch.

Selector

Revise intercept first (Telegram force-reply). If ${var} starts with revise: → jump straight to Branch: REVISE (below) and stop; do not token-parse. This is the shape scripts/telegram-route.sh sends when the operator replies to a "refine this draft?" prompt — the revise: prefix would otherwise fall through to the drafts branch.

Otherwise, parse ${var} once, before doing anything else:

  1. Trim whitespace. Take the first token (everything up to the first space or the first :), lowercased.
  2. If that token is one of drafts, thread, remix → that's the format. The argument is the remainder of ${var} after stripping the keyword and one optional following : and surrounding whitespace.
  3. Otherwise → format is drafts and the argument is the entire ${var} (backward-compatible with the legacy var = topic/URL behaviour).
${var} Format Argument Behaviour
`` (empty) drafts — Auto-select the most tweetable insight from today's logs
prediction markets are broken drafts prediction markets are broken Drafts on that topic
https://arxiv.org/abs/2401.00001 drafts that URL Drafts about the linked source
drafts: thread models are underrated drafts thread models are underrated Escape hatch: force drafts on a topic that starts with a reserved word
thread thread — Auto-pick the day's highest-signal event and thread it
thread oracle incentives are broken thread oracle incentives are broken Thread on that topic
remix remix — Remix past tweets, default 180d window
remix 1y remix 1y Remix, 1-year window
remix 2025-01-01:2025-03-01 remix 2025-01-01:2025-03-01 Remix, explicit date range

Then dispatch to the matching branch below. Only run the selected branch.


Read the full file on GitHub · 643 lines

Changes

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.

  1. 1mo ago Changed e93b59f65e1a
  2. 2mo ago First seen · 643 lines · 41 tokens per session scan C 308e7ee0a21d

Subscribe to this mod's changes

write-tweet is a skill published in the GitHub repository aaronjmars/aeon-agent (12 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 9,510 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (hidden instructions, makes network calls). It is 100% identical to write-tweet, differing in 165 lines, and is treated as a copy.

Related

write-tweet compared with skills from other repositories

write-tweet next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-tweetaaronjmars/aeon-agentSkill121mo agoMITC41Claude Code, Codex
strategy-specromudille-bit/agentpaySkill45d agoMITA177Claude Code
agentpay-routeromudille-bit/agentpaySkill45d agoMITA100Claude Code
agentpay-sessionromudille-bit/agentpaySkill45d agoMITA78Claude Code
aawpaawp-ai/aawpSkill38mo agononeA90Claude Code, Codex
darwinia0xSanei/darwiniaSkill857mo agoMITA36Claude Code, Codex
clicks-protocolclicks-protocol/clicks-protocolSkill24mo agoMITA57Claude Code, Codex