blog

blog is a command for Claude Code from TheWayWithin/agent-11. It costs 34 tokens per session (9,021 once invoked), scanned A, original, MIT.

A writing command that drafts a long-form blog post and matching posts for X and LinkedIn, along with a work-in-progress line and image specifications. It uses project context and a repository voice guide when available.

In plain words
What is it for?
It is for creating opinion pieces, tutorials, explainers, and other blog content with accompanying social posts and publishing details.
Why use it?
It turns one topic into several related publishing materials instead of requiring each piece to be written separately.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Claude Code.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/alice/my-voice.md.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

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 blog

README.md
[![agentmods](https://agentmods.dev/badge/commands/thewaywithin/agent-11/blog.svg)](https://agentmods.dev/commands/thewaywithin/agent-11/blog)
Your own site
<a href="https://agentmods.dev/commands/thewaywithin/agent-11/blog"><img src="https://agentmods.dev/badge/commands/thewaywithin/agent-11/blog.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,021 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.00034 $0.09021
Opus 5 $0.00017 $0.04510
Sonnet 5 $0.00007 $0.01804
Haiku 4.5 $0.00003 $0.00902

Measured yesterday against content hash 77cae5539410, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

blog 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 yesterday.

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.

.claude/commands/blog.md · 710 lines

How it starts

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

/blog Command

Generate a long-form post and the matching social package (X thread, LinkedIn post, WIP.co line, image specs) on any topic you specify. Unlike /dailyreport — which turns a structured progress log into a build-in-public update — /blog is for free-form writing: thought pieces, tutorials, opinion posts, deep dives, explainers, anything that isn't tied to a daily changelog.

/blog is Claude-native. No Python script, no API key required. Claude reads the voice guide, pulls relevant context from the repo, and drafts all five artifacts directly. /dailyreport works the same way — both commands share the same voice guide, the same package shape and the same publish handoff.

Canonical spec. When ~/shared/reference/content-standard.md is present on this machine, it is the source of truth for the package: the five outputs, the frontmatter, the social shapes and the publish handoff. This command implements it. Where this file deliberately differs, the divergence is marked DIVERGENCE and says why. Anything else that disagrees with the standard is a bug in this file, not a local exception (A11-ISS-29).

USAGE

# Inline topic — quick ideas
/blog why I stopped using feature flags for small teams

# Brief file — longer, structured inputs
/blog briefs/refactor-postmortem.md

# Topic with explicit context files
/blog the coffee button bug story --context progress/2025-11-19.md src/coffee.ts

Argument forms:

  • Inline topic — a short phrase describing what to write about
  • Brief file — path to a markdown file containing a longer brief (bullet points, outline, supporting notes, quotes, whatever you want to feed in)
  • Optional --context <files...> — extra files Claude should read before drafting (code, logs, notes, prior posts). Claude will also autoload README.md and CLAUDE.md if present.

WHAT IT DOES

When you run /blog <topic>, Claude will:

  1. Resolve the voice guide — same chain as /dailyreport, ending at the jamie-voice skill, which is the voice authority
  2. Resolve the staging directory — the synced vault drafts folder by default
  3. Gather context — read README.md, CLAUDE.md, the brief file (if given), any --context files, and anything the topic obviously depends on (e.g. if you're writing about a bug, Claude reads progress.md for the fix history)
  4. Title the piece through jamie-titles — five scored candidates, one recommendation
  5. Draft the long-form post — voice guide applied to the letter
  6. Derive the X thread — 6-10 tweets, each standing alone
  7. Derive the LinkedIn post — 200-400 words, complete read on its own
  8. Derive the WIP.co line — one build-in-public todo
  9. Write the image specs — placement, purpose, how each image gets made, alt, filename
  10. Write all five files to the staging directory and print the blog publish command

Read the full file on GitHub · 710 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. yesterday First seen · 710 lines · 34 tokens per session scan A 77cae5539410

Subscribe to this mod's changes

blog is a command published in the GitHub repository TheWayWithin/agent-11 (15 stars, last pushed 13d ago), licensed MIT. It adds 34 tokens to every session and 9,021 once invoked, about $0.0002 per session on Opus 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-09-04.