agentleFS
markoblogomarkoblogo/abvx-agent-skills/skills/book-to-skill/SKILL.md

book-to-skill

Skill16 starsChanged 5 months agoMITView on GitHub

Convert books, papers, long documents, or prior reading notes into compact reusable agent skills. Use when the user provides a PDF, EPUB, DOCX, HTML, Markdown, text file, article bundle, or structured notes and wants reusable workflows, mental models, frameworks, checklists, anti-patterns, or a public/private SKILL.md artifact rather than a summary.

19 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before generating files, decide whether the source deserves a skill:

    line 16
  2. Distinctive:

    If the source is mostly narrative, confidential, low quality OCR, or thin on reusable method, produce an extraction report or notes instead.

    line 24
  3. Very specific:

    If the user wants the source document to become model memory or a generated adapter rather than a reusable instruction artifact, switch to …

    line 26
  4. Distinctive:

    Write concise trigger-rich frontmatter.

    line 41
  5. Very specific:

    Put detailed examples, chapter notes, or long checklists in references/ and load them only when needed.

    line 42
  6. Distinctive:

    Add risk gates: copyright, privacy, domain accuracy, outdated claims, and source uncertainty.

    line 44
  7. Very specific:

    Use optional references/ only when the skill needs deeper reusable material.

    line 58

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Book To Skill

Turn written knowledge into an actionable skill. Extract reusable structure, not a book report.

Conversion Gate

Before generating files, decide whether the source deserves a skill:

  • method density: frameworks, procedures, patterns, checklists, or decision rules;
  • actionability: future work can be guided by "use X when Y";
  • navigation value: sections can become references or trigger rules;
  • extraction quality: text is legible enough to avoid invented structure;
  • rights and privacy: no large raw excerpts, private data, or copyrighted chapter dumps.

If the source is mostly narrative, confidential, low quality OCR, or thin on reusable method, produce an extraction report or notes instead.

If the user wants the source document to become model memory or a generated adapter rather than a reusable instruction artifact, switch to doc-to-lora-evaluator before proposing any Doc-to-LoRA, RAG, or fine-tuning workflow.

Modes

  • Analyze only: extract frameworks, concepts, terms, and candidate workflows for review.
  • Generate skill: create SKILL.md, optional references, and a short skill card from approved analysis.
  • Refine existing skill: compare a current skill against the source and propose scoped improvements.

Workflow

  1. Validate the input path or URL and identify format, size, author/title if available, and likely extraction risk.
  2. Extract text with the repo's available tooling. Prefer structured extractors for technical sources; use plain text extraction for prose.
  3. Estimate scope before heavy work: source length, expected references, and whether generation should be split into sections.
  4. Build a structure map: table of contents, named frameworks, repeated principles, examples, anti-patterns, and vocabulary.
  5. Select the skill boundary. A good skill should have one clear job. Split broad sources into multiple skills only when trigger rules differ.
  6. Write concise trigger-rich frontmatter. Keep always-loaded text small.
  7. Put detailed examples, chapter notes, or long checklists in references/ and load them only when needed.
  8. Preserve precise names for frameworks, but paraphrase explanations and avoid long verbatim excerpts.
  9. Add risk gates: copyright, privacy, domain accuracy, outdated claims, and source uncertainty.
  10. Validate the resulting skill against the target repo's standard.

Output Shape

Minimum public artifact:

skills/<name>/
  SKILL.md
  SKILL_CARD.md
  agents/openai.yaml

Use optional references/ only when the skill needs deeper reusable material.

Final Report

Report:

  • source and extraction method;
  • generated skill path;
  • what was intentionally omitted;
  • validation run;
  • copyright/privacy assumptions and residual risk.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.