← all repositories
kangarooking/cangjie-skill

Distilling books into agent-ready skill packs

Books are too good to leave on the shelf; this system distills them into structured, callable agent skills.

4.4k stars Python AgentsLLMOps · Eval
Feature · 21 Jul 2026
From Paper to Prompt: Treating Books as Source Code for Agents

Cangjie Skill distills high-value books into structured, testable AI skills so agents can invoke expertise like calling a library.

Read the in-depth article
cangjie-skill
Velocity · 7d
+458
★ / day
Trend
accelerating
star history

What it does cangjie-skill is a structured pipeline—dubbed RIA-TV++—for converting a book’s methodology into a repository of discrete, callable AI skills. It runs text through six stages: whole-book analysis, parallel extraction by five specialist extractors, triple verification (typically filtering out half to three-quarters of candidates), structured RIA++ formatting, Zettelkasten-style cross-linking, and adversarial stress testing with bait questions. The output is not a summary but a multi-file skill pack: a book overview, an index map, individual SKILL.md modules, and validation prompts.

The interesting bit The rigor is the hook. Most “book to AI” projects stop at summarization; this one borrows Mortimer Adler’s analytical reading and Zhao Zhou’s RIA note-taking, then adds execution steps and boundary conditions specifically so an agent knows when not to apply a skill. It is essentially a quality-control layer for knowledge distillation, treating books as raw material that must survive cross-domain verification and predictiveness tests before graduating to skill status.

Key highlights

  • Six-stage RIA-TV++ pipeline from raw text to tested skill repository
  • Triple verification filters candidates for uniqueness, cross-domain support, and predictive power; typical pass rate is 25–50%
  • Outputs include BOOK_OVERVIEW.md, INDEX.md, linked SKILL.md modules, and test-prompts.json for adversarial validation
  • Already applied to over a dozen sources, from Buffett’s letters to the Huangdi Neijing and Mao’s Selected Works
  • Designed to plug into the broader “nuwa/cangjie/darwin” skill ecosystem: distill people, distill books, then evolve both

Caveats

  • The README describes the methodology and shows generated results, but the actual automation layer (how the six stages are orchestrated) is not fully visible in the provided sources
  • Most demonstrated outputs live in separate repositories; this repo contains the prompts, templates, and methodology docs rather than a turnkey engine

Verdict Worth a look if you’re building agent workflows and want book-derived methodologies that are filtered, linked, and tested rather than summarized. Skip it if you’re hoping for a one-click CLI that ingests PDFs and spits out skills without human steering.

Frequently asked

What is kangarooking/cangjie-skill?
Books are too good to leave on the shelf; this system distills them into structured, callable agent skills.
Is cangjie-skill open source?
Yes — kangarooking/cangjie-skill is open source, released under the MIT license.
What language is cangjie-skill written in?
kangarooking/cangjie-skill is primarily written in Python.
How popular is cangjie-skill?
kangarooking/cangjie-skill has 4.4k stars on GitHub and is currently accelerating.
Where can I find cangjie-skill?
kangarooking/cangjie-skill is on GitHub at https://github.com/kangarooking/cangjie-skill.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.