AgentSkills / book-to-skill
AGENTS.md1 starsChanged 5 months agoMITView on GitHub
This file is the repository-wide execution contract for coding agents. book-to-skill converts books and documents into structured, on-demand Agent Skills. The repository has two distinct halves: Do not blur those responsibilities without a measured reason. Before changing code, read the smallest relevant set of files: For the progressive-disclosure research/evaluation initiative, also read: That document is the execution ledger and defines task order, evidence gates, and which paper-derived ideas are hypotheses rather than product requirements. For any non-trivial task, use this…
We split this AGENTS.md into the rules it gives an agent
17 rules. About 0 are common, 17 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Do not blur those responsibilities without a measured reason.
- Distinctive: line 16
Before changing code, read the smallest relevant set of files:
- Distinctive: line 32
Measure, do not assert: No claimed quality, token, routing, accuracy, or cost improvement without reproducible evidence.
- Distinctive: line 35
Never commit raw copyrighted book text: Use synthetic, public-domain, or explicitly licensed fixtures.
- Distinctive: line 39
Do not weaken security checks, path hardening, sanitization, or generated-skill scanning to make an experiment pass.
- Distinctive: line 46
Read this file and the relevant source-of-truth files.
- Distinctive: line 53
Prefer reuse of existing utilities over parallel implementations.
- Distinctive: line 57
Keep the diff focused.
- Distinctive: line 58
Add deterministic tests with the implementation.
- Distinctive: line 59
Do not opportunistically refactor unrelated code.
- Distinctive: line 62
Run the task-specific checks.
- Distinctive: line 63
Run the repository gates below.
- Distinctive: line 67
Update the task status/evidence section in the research plan when that plan is in scope.
- Distinctive: line 89
If extraction behavior changes, also run the relevant extractor smoke/reproduction command and its targeted tests.
- Distinctive: line 91
If generated-skill behavior changes, provide a before/after generated artifact or benchmark result that demonstrates the intended …
- Distinctive: line 103
Do not jump to 10/20-book sweeps before smaller-scale gates justify them.
- Distinctive: line 104
If a cheaper test can falsify the hypothesis, run it first.
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This file is the repository-wide execution contract for coding agents.
Project intent
book-to-skill converts books and documents into structured, on-demand Agent Skills. The repository has two distinct halves:
- a deterministic Python extractor (
scripts/extract.py->book_to_skill/), and - a spec-driven generator (
SKILL.md) executed by an agent.
Do not blur those responsibilities without a measured reason.
Sources of truth
Before changing code, read the smallest relevant set of files:
CONTRIBUTING.md— contribution rules and required checks.docs/architecture.md— current architecture and component ownership.SKILL.md— only when generation behavior or generated-skill structure is in scope.SECURITY.mdandSECURITY-NOTICE.md— when touching parsing, files, subprocesses, generated content, or dependencies.- Existing tests closest to the code being changed.
For the progressive-disclosure research/evaluation initiative, also read:
docs/research/progressive-disclosure-evals.md
That document is the execution ledger and defines task order, evidence gates, and which paper-derived ideas are hypotheses rather than product requirements.
Non-negotiable rules
- Measure, do not assert. No claimed quality, token, routing, accuracy, or cost improvement without reproducible evidence.
- Do not turn a paper hypothesis into production behavior before its gate passes. In particular, do not add KEY_ELEMENTS-style metadata, library mode, deeper routing, or new
SKILL.mdcontent merely because it sounds plausible. - Keep
SKILL.mdlean. It is always-loaded converter context. Any net growth needs evidence that the added context earns its cost. - Never commit raw copyrighted book text. Use synthetic, public-domain, or explicitly licensed fixtures. Keep private evaluation corpora and raw live trajectories out of git.
- Avoid new runtime dependencies for evaluation work. Evaluation-only dependencies belong outside the core runtime and must be justified.
- Do not edit
CHANGELOG.mdby hand. - Preserve backwards compatibility unless the task explicitly authorizes a breaking change.
- Do not weaken security checks, path hardening, sanitization, or generated-skill scanning to make an experiment pass.
Execution loop
For any non-trivial task, use this loop. Do not skip directly from idea to implementation.
- Orient
- Read this file and the relevant source-of-truth files.
- Inspect current code/tests before proposing new modules or abstractions.
- For research-plan work, locate the first task whose status is
READYand whose dependencies are complete.
- Plan the smallest coherent change
- State the hypothesis or bug being addressed.
- State what will not change.
- Prefer reuse of existing utilities over parallel implementations.
- Define the acceptance command(s) before editing code.
- Implement one task
- Keep the diff focused.
- Add deterministic tests with the implementation.
- Do not opportunistically refactor unrelated code.
- Prove it
- Run the task-specific checks.
- Run the repository gates below.
- Capture actual command output or machine-readable result artifacts; prose such as "looks good" is not evidence.
- Record state
- Update the task status/evidence section in the research plan when that plan is in scope.
- Record blockers as blockers; never mark a task complete because the intended code was written.
- Continue only after the gate is green
- Move to the next dependency-ready task only after the current task is proven.
- Respect PR boundaries defined in the plan. A task that changes production behavior must not be silently bundled with unrelated research infrastructure.
Validation gates
Minimum local checks for code changes:
pytest -q
ruff check .If SKILL.md changes:
python3 tools/validate_skill.py SKILL.mdIf extraction behavior changes, also run the relevant extractor smoke/reproduction command and its targeted tests.
If generated-skill behavior changes, provide a before/after generated artifact or benchmark result that demonstrates the intended difference without committing copyrighted source text.
A task is not DONE if a required check is skipped, failing, or replaced by an unverified claim.
Evaluation-work cost discipline
Live model experiments are expensive and are never the first validation step.
- Unit/fixture tests first.
- Small discriminating sample before a large sweep.
- Cache/reuse generated packs keyed by source/config/model/prompt identity.
- Pre-register the condition, corpus, questions, model/harness, repetitions, and token/cost ceiling before a live run.
- Do not jump to 10/20-book sweeps before smaller-scale gates justify them.
- If a cheaper test can falsify the hypothesis, run it first.
Instruction scope
This root file applies repository-wide. A more deeply nested AGENTS.md may add narrower instructions for its subtree; the more specific file wins when instructions conflict. Direct user/system instructions take precedence over repository guidance.
Other versions3 projects use a version of this.
Word for word · 3
- virgiliojr94/book-to-skill★ 37k100% same
- johnwick020213/skill★ 0100% same
- johnwick020213/skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository31 other files it gives its agents.
- skills/book-to-skill/CLAUDE.mdCLAUDE.md
- ai-paper-digestSkill
- battery-statusSkill
- book-to-skillSkill
- codebase-mapSkill
- codebase-overviewSkill
- codebase-summarySkill
- concept-wiki-htmlSkill
- frontend-designSkill
- gh-address-commentsSkill
- gh-fix-ciSkill
- githubSkill
- grounded-file-qaSkill
- imagegenSkill
- learn-codebaseSkill
- lecture-note-writerSkill
- ning-python-scientific-plottingSkill
- openai-docsSkill
- plugin-creatorSkill
- ponytail-auditSkill
- ponytail-debtSkill
- ponytail-gainSkill
- ponytail-helpSkill
- ponytail-reviewSkill
- ponytailSkill
- repo-quick-scanSkill
- review-agentSkill
- skill-creatorSkill
- skill-installerSkill
- use-code-wikiSkill
- yeetSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

