Borrowing it
Nothing to install: this file belongs to swarm-ai-research/swarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/swarm-ai-research/swarm/main/.claude/commands/add_post.mdgit clone --depth 1 https://github.com/swarm-ai-research/swarmWrote 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/commands/swarm-ai-research/swarm/add_post)<a href="https://agentmods.dev/commands/swarm-ai-research/swarm/add_post"><img src="https://agentmods.dev/badge/commands/swarm-ai-research/swarm/add_post/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/commands/swarm-ai-research/swarm/add_post"><img src="https://agentmods.dev/badge/commands/swarm-ai-research/swarm/add_post.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.00000 | $0.00490 |
| Opus 5 | $0.00000 | $0.00245 |
| Sonnet 5 | $0.00000 | $0.00098 |
| Haiku 4.5 | $0.00000 | $0.00049 |
Grade A, and why
add_post 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 9d 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
/add_post
Scaffold and publish an original blog post to swarm-ai.org/blog/ — handles MkDocs slug generation, metadata headers, nav wiring, and financial-disclaimer enforcement. Use for manually-written essays and research notes; use /eval_writeup instead to auto-generate a post from a Prime Intellect eval run.
Usage
/add_post <title> [source-file]
Examples:
/add_post "Collusion Detection Deep Dive"(write from scratch)/add_post "When Agents Collapse" path/to/draft.md(import existing file)
Behavior
- Derive slug from the title:
- Lowercase, replace spaces with hyphens, strip punctuation.
- e.g. "Collusion Detection Deep Dive" →
collusion-detection-deep-dive
- Create the post file at
docs/blog/<slug>.md:
- If
<source-file>is provided, copy its content and fix image paths to be relative todocs/blog/(e.g.../papers/figures/...). - If no source file, create a skeleton with the title as H1, a
*subtitle*italic line, a---separator, and placeholder sections.
- Update the blog index at
docs/blog/index.md:
- Add a bullet entry linking to the new post with the title and a one-line description.
- Insert newest post at the top of the list.
- Update mkdocs.yml nav:
- Add the new post under the
Blog:nav section. - Place it after the index entry.
- Verify the build:
- Run
python -m mkdocs build --strictand report any errors. - If the build fails (e.g. broken image path), fix the issue before proceeding.
- Show what changed:
- Print the list of files created/modified.
- Do NOT commit or push — let the user decide when to ship (via
/shipor manual commit).
Constraints
- Never overwrite an existing post file without asking.
- Always verify image paths resolve correctly (relative to
docs/blog/). - If
docs/blog/index.mddoesn't exist, create it with a header. - If the
Blog:section doesn't exist inmkdocs.ymlnav, create it.
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.
- 9d ago First seen · 45 lines · 0 tokens per session scan A c9bab82d6268
add_post is a command published in the GitHub repository swarm-ai-research/swarm (42 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 490 tokens. 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.
Other commands, from other repositories
story-long-scan
A command for scanning long-form online fiction rankings on platforms such as Qidian, Fanqie, and Jinjiang, then analyzing the ranking data.
story-short-scan
A tool for scanning and analysing popular short web-fiction rankings on platforms such as Zhihu Yanyan and Fanqie Short Stories.
eval-merge
Use the Read tool to load .skill-compass/{skill-name}/manifest.json. Verify.
speckit.git.validate
Validate current branch follows feature branch naming conventions.
reflect
Curate and compress recent memory. This command reviews the last 7 days of journal entries, extracts durable insights, and updates long-term memory files. Think of it as memory maintenance -- moving important things from short-term to long-term storage.
checklist
Generate a custom checklist for the current feature based on user requirements.