book-to-skill

book-to-skill is a skill for Claude Code, Codex from OutlineDriven/outline-driven-development. It costs 43 tokens per session (1,465 once invoked), scanned A, original, Apache-2.0.

A method for turning one book, course, paper, or other source document into a reusable skill file for a coding agent.

In plain words
What is it for?
Use it to distill a single source into a SKILL.md file, add attribution, and test whether the skill routes correctly.
Why use it?
It turns a source you can open into practical instructions without copying the whole document. It also checks that the resulting skill is valid and activates for the right requests.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions subagents.

Good fit Use it to distill a single source into a SKILL.md file, add attribution, and test whether the skill routes correctly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outlinedriven/outline-driven-development/book-to-skill
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.

Any agent
npx skills add OutlineDriven/outline-driven-development --skill book-to-skill
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/outline-driven-development

Made for: Claude Code, Codex.

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 book-to-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/book-to-skill/github.svg)](https://agentmods.dev/skills/outlinedriven/outline-driven-development/book-to-skill)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/book-to-skill"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/book-to-skill/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 book-to-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/book-to-skill"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/book-to-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,465 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
  • NVIDIA SkillSpector pass 7 Sept 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.00043 $0.01465
Opus 5.5 $0.00017 $0.00586
Sonnet 5.5 $0.00009 $0.00293
Haiku 4.5 $0.00004 $0.00146

Measured 2mo ago against content hash 970ff829e974, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

book-to-skill 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 2mo 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.

.devin/skills/book-to-skill/SKILL.md · 72 lines

How it starts

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

Book to skill

Contract

Field Bound contract
Trigger The user names one book, course, paper, or comparable single source document and asks to distill it into a reusable skill.
Authority Reversible local: writes only the chosen target skill directory (SKILL.md and optional references/); rollback is deleting that directory. No remote mutation. No source file is mutated or copied wholesale.
Side effect Creates files under the chosen target directory only; never copies the source document into the skill.
Done A SKILL.md that parses as YAML, carries an attribution line, passes four validation checks, and routes correctly on at least two positive and two negative probe prompts.

Inputs

  • The named source document, accessible as a file the agent can open. A document the agent cannot open stops the run.
  • Optional: a write target directory, defaulting to .claude/skills/<name>/.
  • A folder of multiple sources is out of scope; that belongs to corpus mapping, not this skill.

Procedure

  1. Read the source. List its chapters, top-level headings, or sections, whichever structure the document provides. Show one line per unit with its heading slug where one exists. Done when: an inventory covering every top-level unit is shown.
  2. Classify. Ask whether three or more ordered actions can be named, each with a checkable done-state. Three or more is procedure (a sequence the agent can follow). Fewer is reference (distinctions and rules consulted on demand). If both are present, use a procedure spine with judgment material in references/. Done when: the classification is stated with the three actions named, or with the statement that fewer than three exist.
  3. Extract into four buckets. Sort what you read into coined terms and leading words; constraints and prohibitions; procedures with their completion criteria; and deep material destined for references/. Done when: every inventoried unit has contributed to a bucket or is marked out of scope for the skill.
  4. Name it. Kebab-case matching ^[a-z0-9]+(-[a-z0-9]+)*$, at most 64 characters, identical to the directory name. Done when: the name matches the directory to be written to.
  5. Write the frontmatter. description at most 1024 characters, front-loaded, one trigger per genuinely distinct branch, phrased positively. Redirect rather than forbid: "for X, use skill Z" rather than "do not use for X". Done when: the description parses as single-quoted YAML and is within the limit.
  6. Write the body in the shape its classification selects. Include one attribution line naming title, author, and year. Paraphrase throughout; quote only a coined term or named law where the exact phrasing is the idea. The two shapes:
    • Procedure shape:
      # {Skill name}
      {One-paragraph attribution: title, author, year.}
      ## When to use
      {One trigger per branch, positively phrased.}
      ## Steps
      1. {Action} — done when {checkable condition}
      2. {Action} — done when {checkable condition}
      ## Rules
      - {Constraint or guardrail}
      
    • Reference shape:
      # {Skill name}
      {One-paragraph attribution: title, author, year.}
      ## When to use
      {One trigger per branch, positively phrased.}
      ## Reference
      {Definitions, distinctions, or judgment material consulted on demand. No ordered steps.}
      ## Rules
      - {Constraint or guardrail}
      
    • A source with both gets the procedure shape with judgment material in references/. Every step ends on a checkable done condition; a reference shape carries no steps. The frontmatter description is the only place the trigger is worded for dispatch; the body restates the when as prose but does not re-word the trigger for dispatch. Done when: the body follows its shape and carries the attribution.
  7. Disclose. Material only some branches reach moves to references/<topic>.md, linked one level deep from the body. Keep the body under 500 lines. Done when: branch-specific material lives behind a pointer and the body line count is under the cap.
  8. Validate. Check four conditions: name equals the directory name; the frontmatter parses as YAML; description is within 1024 characters; every relative link resolves on disk. Run yaml.safe_load on the frontmatter and test -f on each link target. Done when: all four pass.
  9. Probe and place. Author three to five probe prompts, at least two that must fire the skill and at least two out-of-scope prompts that must not, and run each in a subagent. Adjust the description until every probe lands correctly. Then ask for the write target, defaulting to .claude/skills/<name>/, and re-run step 8 there. Done when: probe results are reported and the checks are green at the target.

Read the full file on GitHub · 72 lines

Files

What ships with it

2 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. 2mo ago Changed · +1 lines 970ff829e974
  2. 2mo ago Changed · -21 tokens per session 4b2c937f4bff
  3. 2mo ago First seen · 71 lines · 64 tokens per session scan A cc321e0704bc

Subscribe to this mod's changes

book-to-skill is a skill published in the GitHub repository OutlineDriven/outline-driven-development (54 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,465 once invoked, about $0.0002 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-09-03.

Related

book-to-skill compared with skills from other repositories

book-to-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
book-to-skillOutlineDriven/outline-driven-developmentSkill542mo agoApache-2.0A43Claude Code, Codex
book-to-skillOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A64Claude Code, Codex
drillOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A67Claude Code, Codex
writing-lean-proofsOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A56Claude Code, Codex
scaffold-exercisesOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A62Claude Code, Codex
explain-conceptOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A56Claude Code, Codex
capstoneOutlineDriven/odin-claude-pluginSkill402mo agoApache-2.0A57Claude Code, Codex