book-to-skill-forge
Transform non-fiction books, technical articles, frameworks, and video transcripts into deep-module AI agent skills and interactive coaching rubrics. Do not use for ad-hoc prompt writing or superficial summaries.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- book-to-skill-forge
- description
- Transform non-fiction books, technical articles, frameworks, and video transcripts into deep-module AI agent skills and interactive coaching rubrics. Do not use for ad-hoc prompt writing or superficial summaries.
02 资源文件 2
- 参考文档CARD.md4.4 KB
- 参考文档config.default.yaml295 B
03 SKILL.md 正文
Book-to-Skill Forge: Literature & Media Synthesis Engine
book-to-skill-forge is the cognitive extraction and skill authoring engine that transforms intellectual literature—non-fiction books, methodology manuals, research papers, long-form articles, and video transcripts—into executable, deep-module AI agent skills (SKILL.md + CARD.md) and interactive coaching rubrics.
Rather than producing passive, forgettable summaries that suffer from the "Abstraction Problem", book-to-skill-forge enforces the Shu-Ha-Ri framework principle: it extracts concrete operational steps, diagnostic interview questions, strict author rubrics, and explicit anti-pattern defenses into modular, on-demand agent skills indexed in the Harness Skill Knowledge Graph.
Every literature-to-skill forging session executes this five-stage progression:
[1. Ingest & Deconstruct] → [2. Framework & Rubric Extraction] → [3. The Visual Forge Brief] → [4. Mandatory Checkpoint Gate] → [5. Skill Graph & Card Commit]
See CARD.md for the companion summary card, 5-stage reference matrix, and quality checklist.
Consult /crafting-skills for skill authoring standards, /repo-to-plugin-forge for codebase plugin synthesis, and /epistemic-isnad-audit for primary source provenance.
1. Ingest & Deconstruct
Ingest and modularize the source material into high-density conceptual chunks without context flooding:
- Ingest Source Content:
- Books / Long Articles: Parse EPUB, PDF, Markdown book notes, or Zettelkasten slip-boxes into structured text.
- Video / Audio Content: Fetch or paste clean transcripts from YouTube, lectures, or podcasts.
- URL / Web Essays: Ingest via clean markdown extraction (
web_fetcher).
- Deconstruct & Strip Narrative Fluff:
- Strip conversational filler, autobiographical anecdotes, and marketing fluff.
- Retain core definitions, step-by-step algorithms, heuristic tables, and diagnostic rubrics.
- Partition into Modular Framework Units:
- Split multi-chapter books into independent, composable sub-skills or chapters (e.g. The 1-Page Marketing Plan $\rightarrow$ Prospect Phase, Lead Phase, Customer Phase).
- Ensure individual modular units fit comfortably within targeted LLM context windows.
Completion criterion: Source material deconstructed into clean, modular text sections with narrative fluff removed and key procedural passages isolated.
2. Framework & Rubric Extraction
Extract actionable procedural mechanics and mental models from the deconstructed text:
┌─────────────────────────────────────────────────────────────┐
│ LITERATURE EXTRACTION 4-AXIS MATRIX │
├──────────────────────────────┬──────────────────────────────┤
│ Axis 1: Trigger & Boundaries │ Axis 2: Concrete Steps (Shu) │
│ - When to activate skill │ - Exact operational sequence │
│ - Target problem context │ - Mandatory input criteria │
├──────────────────────────────┼──────────────────────────────┤
│ Axis 3: Coaching & Rubrics │ Axis 4: Anti-Patterns & Traps│
│ - Diagnostic interview qs │ - Negative constraints │
│ - Grading scorecards │ - Named failure modes │
└──────────────────────────────┴──────────────────────────────┘
- Axis 1 (Trigger Bounds & Problem Context):
- Identify precise activation criteria: "Under what exact conditions should this framework be invoked?"
- Define input requirements (e.g., target market definition, system architecture diagram).
- Axis 2 (The "Shu" Stage: Concrete Operational Sequence):
- Formulate 3 to 5 discrete, sequential stages.
- Ensure each stage has unambiguous, verifiable completion criteria.
- Axis 3 (Diagnostic Coaching Rubrics & Evaluation Scorecards):
- Extract the exact diagnostic questions the author uses to test a plan or deliverable.
- Formulate quantitative or structured criteria for evaluating whether user work satisfies the methodology.
- Axis 4 (Anti-Patterns & Author Warnings):
- Extract explicit failure modes and common mistakes warned about in the text.
- Pair each anti-pattern with a positive invariant rule.
Completion criterion: Trigger bounds, 3-to-5 stage progression, diagnostic coaching rubrics, and named anti-patterns formulated.
3. The Visual Forge Brief
Synthesize the extracted methodology into an interactive HTML visual brief before authoring files:
- Target File Location:
- Write to
%TEMP%\book-to-skill-forge-<timestamp>.html(Windows) or/tmp/book-to-skill-forge-<timestamp>.html(Unix).
- Write to
- Styling & Standards:
- Dark theme (
#0d1117) loading Tailwind CSS and Mermaid.js via CDN. - Render a Methodology Flowchart DAG illustrating the author's step sequence and decision branches.
- Render the Diagnostic Evaluation Scorecard Table detailing evaluation criteria and passing gates.
- Render the Anti-Pattern Defense Matrix.
- Dark theme (
- Delivery:
- Present the absolute, clickable HTML file path to the user.
<!-- Location: %TEMP%\book-to-skill-forge-<timestamp>.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Book to Skill Forge Brief</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true, theme:'dark'});</script>
</head>
<body class="bg-[#0d1117] text-[#c9d1d9] p-8 max-w-6xl mx-auto font-sans">
<header class="border-b border-[#30363d] pb-4 mb-6">
<h1 class="text-2xl font-bold text-white">Book-to-Skill Forge Brief</h1>
<p class="text-sm text-gray-400 mt-1">Literature & Media Skill Synthesis</p>
</header>
<!-- Mermaid DAG & Scorecard Matrix -->
</body>
</html>
Completion criterion: Self-contained HTML visual brief written to
%TEMP%, verified non-empty, and clickable link presented to user.
4. Mandatory Checkpoint Gate
Prevent uncurated or poorly bounded skills from entering the workspace catalog:
- Present the draft
implementation_plan.mdartifact detailing:- Target skill name (kebab-case):
.agents/skills/<skill-name>/ - Source literature attribution (Author, Title, Chapter/URL)
- Trigger phrases for semantic intent routing
- Formulated 5-stage progression and diagnostic coaching rubrics
- Explicit anti-patterns and invariants
- Target skill name (kebab-case):
- Set
RequestFeedback: truein artifact metadata. - STOP and wait for explicit user review and confirmation before writing files.
Completion criterion: Explicit user confirmation received at the Stage 4 checkpoint.
5. Skill Graph & Card Commit
Upon user approval, scaffold the complete agent skill package and verify compliance:
- Scaffold Skill Files:
- Author
.agents/skills/<skill-name>/SKILL.mdcontaining frontmatter, 5-stage progression, completion criteria, and anti-patterns. - Author co-located
.agents/skills/<skill-name>/CARD.mdcontaining ASCII summary header, stage progression table, three pillars cheat sheet, and verification checklist.
- Author
- Execute Diagnostic Validation:
- Run
harness skills validate .agents/skills/<skill-name>to assert that YAML frontmatter, stage headers, completion gates, and companion cards conform to deep-module standards.
- Run
- Index into Skill Knowledge Graph:
- Run
harness skills graphto register the new skill node and trigger relationships into the active graph.
- Run
- Update Context Map:
- Register the new skill under the appropriate bounded domain in
CONTEXT-MAP.md.
- Register the new skill under the appropriate bounded domain in
Completion criterion: Skill package authored, companion card co-located, validation passes with zero errors, and skill graph successfully indexed.
Anti-Patterns
- Passive Summarization — Outputting generic prose summaries instead of actionable, executable agent instructions with completion gates.
- Context Flooding — Dumping entire books or lengthy transcripts into context all at once instead of partitioning into modular, focused skills.
- Shu-Stage Bypassing — Skipping the concrete rules and diagnostic tests of the author in favor of generic, ungrounded conversational advice.
- Missing Evaluation Rubrics — Forging a skill that tells an agent what to do but provides no quantitative or structural rubric to evaluate how well it was done.
- Unverified Skill Scaffolding — Committing skills to
.agents/skills/without runningharness skills validateor authoring companionCARD.mdfiles.
04 同仓库更多 Skills
ui-behavior-primitive-architect
Architect, audit, and verify zero-dependency headless UI behavior primitives, WebMCP agent bridges, WAI-ARIA/SSR/RTL tri-modal checks, and framework expert routing. Do not use for static CSS theme styling or backend database migrations.
trustgraph-ontology-governor
Govern knowledge graphs, SHACL-AF triple policies, OntologyRAG subclass validation, PROV-O dual named graphs, and Laya entropy decision scoring. Do not use for relational SQL queries or generic web scraping.
shim-harness-governor
Govern universal CLI agent loops, 4-tier tool permissions, ancestor-symlink workspace sandboxes, deterministic-first command routing, collision-safe MCP namespacing, and layered skill loading. Do not use for static UI styling or external SQL analytics.
graphiti-zep-memory-governor
Govern bi-temporal knowledge graphs with Graphiti future-edge clamping, MinHash/LSH entity dedup, RRF/MMR reranking, and Zep typed ontologies. Do not use for static SQL joins or generic web crawling.
agora-mcp-workbench-architect
Architect, audit, and orchestrate Agora Workbench MCP servers, loopback sidecars, unified state graphs, gateway/dispatcher connectors, and policy-enforced data lakes. Do not use for static frontend CSS styling or non-MCP desktop GUI automation.
skill-eval-assurance-runner
Evaluate and assure agent skills using small-N Wilson confidence intervals, unbiased pass^k reliability, deterministic trajectory graders, preflight boundary honesty, and sealed digest verification. Do not use for subjective prose review or unconstrained production deployment.