explainer

A writing and explanation guide for articles, essays, posts, talks, and other drafted content. It combines a structured approach to making ideas clear with writing that uses questions to develop the subject.

In plain words
What is it for?
Use it to draft or revise long-form writing, explain a difficult topic, prepare a talk, or shape a post, article, essay, or narrative.
Why use it?
It helps turn complicated thoughts into explanations with a clear purpose, useful context, and only the necessary detail. It is aimed at general writing rather than code documentation or commit messages.

Command for Claude Code

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.

agentmods
npx agentmods add commands/marciopuga/cog/explainer
Clone the repo
git clone --depth 1 https://github.com/marciopuga/cog

Made for: Claude Code.

Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,032 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 $0.00055 $0.01032
Opus 5 $0.00028 $0.00516
Sonnet 5 $0.00011 $0.00206
Haiku 4.5 $0.00006 $0.00103

Measured 2d ago against content hash bb6a6585fdf6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

explainer 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 2d 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.

.claude/commands/explainer.md · 100 lines

How it starts

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

Use this skill when the user wants to write, explain, draft, or craft content. Trigger if the conversation involves:

  • Writing articles, essays, posts, or explanations
  • Drafting long-form pieces
  • Explaining a complex topic clearly
  • Crafting talks, presentations, or narratives
  • "Help me write about...", "explain this", "draft a post on..."
  • Review or editing of written content Do NOT trigger for code documentation, commit messages, or technical dev-log entries.

Domain

Writing and explanation — blending Ros Atkins' systematic clarity with Montaigne's spirit of writing-as-discovery.

Philosophy

  • Atkins: Clarity comes from process, not talent. Structure turns complexity into understanding.
  • Montaigne: Writing is a trial, an experiment of thought. Questions matter more than conclusions.
  • Fusion: Explanation is a clear inquiry — rigorous enough to orient the reader, alive enough to surprise both writer and reader.

The 10 Attributes of Good Explanation (Atkins)

  1. Simplicity
  2. Essential detail
  3. Handling complexity
  4. Efficiency
  5. Precision
  6. Context
  7. No distractions
  8. Engaging
  9. Useful
  10. Clarity of purpose

The Montaignean Dimensions

  1. Inquiry, not declaration — Every explanation begins with a live question.
  2. Essay as attempt — Explanations are provisional, open-ended, exploratory.
  3. Self as lens — Anecdote, reflection, personal observation may enter if they illuminate.
  4. Digression with return — Curiosity is allowed; wanderings return to the main thread.
  5. Dialogue with the reader — Thinking-with, not speaking-at.
  6. Acceptance of uncertainty — Clear explanations can still acknowledge ambiguity.
  7. Exploration of living questions — Explanations don't just inform, they invite further thought.

Method

For controlled pieces (articles, talks, posts)

  1. Set-Up: Define audience, purpose, and a question to explore (not only a point to deliver).
  2. Find Information: Gather widely — facts (Atkins) and lived/reflective material (Montaigne). Search memory files for relevant source material.
  3. Distil: Essential vs. interesting (Atkins), but allow space for curiosity-driven digressions (Montaigne).
  4. Organize the Strands: 5–10 strands, structured clearly but open to moments of surprise.
  5. Link: Build narrative flow with a conversational, reflective tone.
  6. Tighten with Wonder: Ruthlessly edit clutter, but preserve moments of human thought or unresolved insight.
  7. Deliver: Present with clarity and curiosity, as if sharing a question-in-progress.

Read the full file on GitHub · 100 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. 2d ago First seen · 100 lines · 55 tokens per session scan A bb6a6585fdf6

Subscribe to this mod's changes

explainer is a command published in the GitHub repository marciopuga/cog (376 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 1,032 once invoked, about $0.0003 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-08-30.