tutorial

A command that studies a codebase and produces a step-by-step tutorial explaining how to use or build something in that project.

In plain words
What is it for?
Use it to create developer documentation or teaching material based on an existing project.
Why use it?
It turns project code and its structure into learning material, reducing the need to write the explanation from scratch.

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/arome3/code-to-content/tutorial
Clone the repo
git clone --depth 1 https://github.com/arome3/code-to-content

Made for: Claude Code.

Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 573 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.00010 $0.00573
Opus 5 $0.00005 $0.00287
Sonnet 5 $0.00002 $0.00115
Haiku 4.5 $0.00001 $0.00057

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

Security

Grade A, and why

tutorial 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/c2c/tutorial.md · 54 lines

How it starts

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

Generate Technical Tutorial

Create a step-by-step tutorial that teaches developers how to use or build something from the provided project.

Differentiation Discovery (offer; never blocking): Before generating, offer to make this unmistakably theirs — ask for the WHY (the thesis/stakes), one defensible opinion, a road not taken, or a rough draft to polish ("write it ugly; I'll keep your voice"). Rank raw material (Slack threads, support tickets, a voice-memo transcript) above clean specs. If declined, proceed on code alone and flag Distinctiveness: AT RISK. At delivery, run the swap-the-name test + AI-tells blocklist from references/differentiation.md.

Process

  1. Analyze the Project Analyze the codebase Claude-natively (read dependency files, detect architecture, grep story hooks like TODO/FIXME, mine git log) — see references/analysis-prompts.md. No scripts required.

  2. Load Skill Context Read these files:

    • skills/code-to-content/SKILL.md
    • skills/code-to-content/references/differentiation.md (WHY / opinion / roads-not-taken)
    • skills/code-to-content/references/formats.md (tutorials section)
    • skills/code-to-content/assets/templates/tutorial.md
  3. Identify Learning Objective Ask the user: What single skill should readers gain from this tutorial?

  4. Structure the Tutorial Follow the 6-section structure:

    • Hook & Outcome (what they'll build)
    • Prerequisites (required knowledge, tools, time)
    • Foundation (first 5 minutes - get something working)
    • Build (one concept per section)
    • Polish (error handling, production considerations)
    • Next Steps (extensions, related topics)
  5. Apply Progressive Disclosure

    • Start with simplest working version
    • Add complexity incrementally
    • 5-9 numbered steps (one action per step)
    • Checkpoint after each step
    • Troubleshooting blocks for common errors
  6. Validate Ensure content matches audience level using: Estimate readability Claude-natively against the audience thresholds in references/readability-guide.md (grade level, jargon %, code:prose ratio).

Read the full file on GitHub · 54 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 · 54 lines · 10 tokens per session scan A e2239986daf7

Subscribe to this mod's changes

tutorial is a command published in the GitHub repository arome3/code-to-content (6 stars, last pushed 2mo ago), licensed MIT. It adds 10 tokens to every session and 573 once invoked, about $0.0001 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-31.