ai-engineering-from-scratch: Skill for Claude Code

.claude/skills/write-manual/SKILL.md

write-manual is a skill for Claude Code from rohitg00/ai-engineering-from-scratch. It costs 101 tokens per session (3,389 once invoked), scanned A, original, MIT.

A method for writing a long technical manual about one system at one fixed version. It uses recorded behaviour and traceable sources to explain requests, responses, and edge cases.

In plain words
What is it for?
Use it to document a protocol, file format, runtime, or other versioned system in enough detail for readers to predict its behaviour.
Why use it?
It reduces guesswork by tying each claim to evidence and checking the finished manual for unsupported or conflicting information.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is rohitg00/ai-engineering-from-scratch's own configuration. It tells Claude Code how to work on ai-engineering-from-scratch itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-engineering-from-scratch configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node site/build-manuals.js.

About the project

AI Engineering from Scratch is a free, open-source curriculum that teaches people to build AI systems through lessons and reusable artifacts such as prompts, skills, agents, and MCP servers. It is for learners who want practical foundations or want to create AI applications, and the catalogue skills support parts of that curriculum.

rohitg00/ai-engineering-from-scratch · 77,007 stars · on GitHub · aiengineeringfromscratch.com

Reuse

Borrowing it

Nothing to install: this file belongs to rohitg00/ai-engineering-from-scratch. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rohitg00/ai-engineering-from-scratch/main/.claude/skills/write-manual/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rohitg00/ai-engineering-from-scratch

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 write-manual

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohitg00/ai-engineering-from-scratch/write-manual/github.svg)](https://agentmods.dev/skills/rohitg00/ai-engineering-from-scratch/write-manual)
Your own site
<a href="https://agentmods.dev/skills/rohitg00/ai-engineering-from-scratch/write-manual"><img src="https://agentmods.dev/badge/skills/rohitg00/ai-engineering-from-scratch/write-manual/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-manual

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohitg00/ai-engineering-from-scratch/write-manual"><img src="https://agentmods.dev/badge/skills/rohitg00/ai-engineering-from-scratch/write-manual.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 23 Oct 2026
  • Snyk pass 23 Oct 2026
How audits are shown
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.00101 $0.03389
Opus 5.5 $0.00040 $0.01356
Sonnet 5.5 $0.00020 $0.00678
Haiku 4.5 $0.00010 $0.00339

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

Security

Grade A, and why

write-manual 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 14d 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/skills/write-manual/SKILL.md · 227 lines

How it starts

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

Write a manual

A manual explains one subject, such as a protocol, a file format, or a runtime, at one exact version. A lesson teaches a concept and moves on. A manual stays with one system until the reader can predict what it does in a case the manual never showed.

This skill gives the full method. It covers research, ranked sources, and a register of conflicts between sources. It also covers an offline capture kit, a fixed section shape, prose limits, and an audit that must report TOTAL 0. It works in any repository. Inside the AI Engineering from Scratch repo, the tooling already exists, and manuals/a2a-101/ is the worked example.

When to use

  • The reader must predict the behavior of one system, at one version, in cases you did not show.
  • The subject has a specification, a schema, or a source tree that you can pin to a commit.
  • You can run the subject, or a faithful stand-in, offline and record its requests and responses.
  • The result is 60 to 100 pages with figures, and other people will maintain it.

When not to use

  • You teach a general concept, such as attention or retrieval. Write a lesson instead.
  • The subject has no version to pin, or changes every week.
  • You cannot run the subject and cannot record its output. A manual without captures is an essay.
  • You want a short how-to. A manual of fewer than about 15 sections does not need this shape.

Size of a 101 manual

Item Target
pages 60 to 100
parts 6 to 8, plus one reference part
sections about 25
figures 30 to 40
outcomes in manual.json at least 3
takeaways per section exactly 1 block, with at least 2 items

The worked example has 7 parts, 28 sections, 7 reference sections, and 31 figures.

Method

  1. Pin the subject. Record the version, source URL, commit, release date, and verified date.
  2. Rank the sources. List them in authority order: schema or proto, specification, project docs, reference SDK, capture kit.
  3. Vendor what the license allows. Copy each quotable source unchanged into research/sources/, with its license file beside it.
  4. Write the fact brief. Index every rule you will use by section and line number, in research/. See references/research-and-sources.md.
  5. Open the conflict register. Give each disagreement between two sources an id (D1, D2, ...) as you find it.
  6. Build the capture kit. Drive the subject offline and write deterministic files to capture/out/. See references/capture-kit.md.
  7. Plan the contents from the specification. Name each section after one thing the reader can find in the spec.
  8. Write manual.json. Fill the pin, outcomes, palette, ranked sources, quote sources, capture commands, and parts. See references/manual-json.md.
  9. Write the front matter. Title it "How to read this manual" and follow the order in "Front matter" below.
  10. Write one section at a time. Use the section shape below. Cut every listing from a capture file.
  11. Draw each figure from a capture. Follow the figure must-haves below and the sibling blueprint-figure skill.
  12. Build and audit. Fix every finding until the audit prints TOTAL 0. See references/audit.md.
  13. Size commits by judgment. A section with its figures and the captures it adds is a good unit.

Read the full file on GitHub · 227 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 14d ago Changed f0c3f2e9b360
  2. 24d ago First seen · 227 lines · 101 tokens per session scan A ff3f5df91da4

Subscribe to this mod's changes

write-manual is a skill published in the GitHub repository rohitg00/ai-engineering-from-scratch (77,007 stars, last pushed yesterday), licensed MIT. It adds 101 tokens to every session and 3,389 once invoked, about $0.0004 per session on Opus 5.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-10-14.

Related

write-manual compared with skills from other repositories

write-manual next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-manualrohitg00/ai-engineering-from-scratchSkill77kyesterdayMITA101Claude Code
Documentation Gap FinderNotysoty/openagentskillsSkill92mo agoMITA24Claude Code, Codex
documentation-writerasgarovf/locusaiSkill238mo agoMITA31Claude Code
clear-writingwpank/aiSkill128mo agononeA56Claude Code, Codex
cocotraceSnowflake-Labs/cocoplusSkill7272d agoMITA22Claude Code
compliance-testingproffesor-for-testing/agentic-qeSkill525yesterdayMITA43Claude Code
skill-contract-reviewerfancyboi999/ai-engineering-from-scratch-zhSkill1.3k3d agoMITA24Claude Code, Codex