book-to-skill

book-to-skill is a skill for Codex from OutlineDriven/outline-driven-development. It costs 43 tokens per session (1,457 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 Codex

Written for Codex: 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: 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.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.svg" alt="Measured on agentmods" 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,457 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.01457
Opus 5 $0.00022 $0.00728
Sonnet 5 $0.00009 $0.00291
Haiku 4.5 $0.00004 $0.00146

Measured 2d ago against content hash 4b2c937f4bff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 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.

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

How it starts

The opening of the file, as written. The whole thing — 71 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 · 71 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. 2d ago Changed · -21 tokens per session 4b2c937f4bff
  2. 4d 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 (52 stars, last pushed 2d ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,457 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-03.

Related

Other skills, from other repositories

book-to-skill

Use when the user names one book, course, paper, or source document and asks to distill it into a reusable skill. Classifies the source as procedure or reference, writes an attributed SKILL.md, and proves its routing. Not for a folder of sources — use map-corpus.

OutlineDriven/odin-claude-plugin · 64 tokens

drill

Use when a concept needs practising rather than explaining: run a scaffolded exercise from worked example to independent problem, quiz the learner, run spaced recall over what they cleared, or probe for the gaps blocking what they want next. For explanation, use explain-concept; for an end-to-end build, use capstone.

OutlineDriven/odin-claude-plugin · 67 tokens

writing-lean-proofs

Use when asked to design, write, review, refactor, lint, or performance-diagnose Lean 4 proofs, libraries, or tactics. Not for non-Lean code or changes outside source, API, proof, or linter scope.

OutlineDriven/odin-claude-plugin · 56 tokens

scaffold-exercises

Use when a course needs numbered problem, solution, and explainer scaffolds. Creates type-specific files with non-colliding names, populates them, and validates with the course linter. Not for a CLI or Next.js project scaffold — use scaffold-cli or scaffold-nextjs.

OutlineDriven/odin-claude-plugin · 62 tokens

explain-concept

Use when a concept needs making clear rather than practising: build the intuition, explain why it exists and what it replaced, trace where it came from, draw it, or contrast it against what it gets confused with. For exercises and grading, use drill.

OutlineDriven/odin-claude-plugin · 56 tokens

capstone

Use when the user is ready to apply what they learned to something real: scope a project sized to what they have cleared, write the brief with milestones and a done test, then judge the finished work against it. For single-concept exercises and quizzes, use drill.

OutlineDriven/odin-claude-plugin · 57 tokens