Recipes

Cangjie Skill: turn books, videos, and podcasts into callable AI Skills

From README links · today

Content & CreativeResearch & Knowledge

Distill long-form sources into reusable, installable AI Skills.

What they did

They used the Cangjie Skill methodology to convert long-form learning material — a book, a long video, and a podcast episode — into installable AI Skills rather than passive notes. The workflow starts by ingesting the source, then extracting a Capability Bundle: stable capability cards plus metadata that act as the single source of truth before any installable output is compiled. From that bundle they chose a delivery mode: `single`, which compiles one router-style Skill that dispatches to the right capability, or `pack`, which produces a compact router plus promoted standalone Skills for the capabilities that deserve their own entry point. They drove the whole thing through the unified local toolchain, `scripts/cangjie.py`, which covers diagnostics, compilation, output replanning, incremental updates, repair, rollback, evaluation, and benchmarking. Because the pipeline is content-addressed, they could re-run extraction after editing a source chapter and get source diffs, impact analysis, transactional patches, edit detection, snapshots, and rollback instead of a full rebuild. They validated the result task-first: complete procedures and formulas explained in one place in the source are retained, and output scoring counts missing runs and checks numeric values and units. Finally they registered the output in Registry v2 so output mode and capability counts are visible, and installed the compiled Skill directory into their agent platform (OpenClaw, Claude Code, or DeepSeek Harness).

How it went

The result is a working, versioned Skill rather than a summary: a router that answers with the source's actual procedures, formulas, and units, plus standalone Skills for the highest-value capabilities. Incremental updates and rollback made iteration low-risk, and evaluation scoring caught missing runs and unit errors before install. Polish is high for a v2.5.0 toolchain, though quality still tracks how well-structured the source is.

Worth knowing

Requires Python and the bundled `scripts/cangjie.py` toolchain, plus a supported agent platform to install into. Extraction quality depends on source structure — messy transcripts and scanned PDFs need cleanup first. The 2026-09-13 refresh is not in GitHub's auto source archives, so you must download the release ZIP and check BUILD_INFO.json. Registry v2 entries are additive; older v1 consumers won't see output mode or capability counts.

Wiring

Install the complete `cangjie-skill/` directory from the v2.5.0 release ZIP (verify the SHA256 and check BUILD_INFO.json for source commit and refresh date). The entry point is SKILL.md, which defines the RIA-TV++ method; the operational layer is `scripts/cangjie.py`, invoked for diagnostics, compilation, replanning, incremental update, repair, rollback, evaluation, and benchmarking. Order of operations: (1) preprocess the source into content-addressed artifacts, (2) extract the Capability Bundle — capability cards plus metadata — as the single source of truth, (3) choose output mode `single` (one router Skill) or `pack` (router plus promoted standalone Skills), (4) compile, (5) evaluate and benchmark with task-first scoring that checks numeric values and units, (6) register in Registry v2, (7) install the compiled Skill directory into OpenClaw, Claude Code, or DeepSeek Harness. For DeepSeek Harness, use the bundled adapter layer from the release package; no platform-specific wrapper files live in the repo. Re-runs after source edits go through source diff, impact analysis, and transactional patch, with snapshots enabling rollback.

Try it yourself

Read SKILL.md and docs/releases/v2.5.0.md in this repo, then set up cangjie-skill locally. Run `python scripts/cangjie.py --help` and diagnose my environment. Take the source I point you at (a book chapter, video transcript, or podcast transcript), extract a Capability Bundle with capability cards and metadata, and show me the cards before compiling anything. Then compile it in `single` mode as a router Skill, run the evaluation and benchmark steps, and report any missing runs or unit mismatches. Finally, show me the diff and snapshot so I can roll back if I don't like the output.

Source

Tools in this stack

Run this stack

Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.

npx runchr install runchr/stack-cangjie-skill-and-nuwa-skill
No CLI?curl -s https://api.runchr.com/api/recipes/runchr/stack-cangjie-skill-and-nuwa-skill/manifest
System prompt
You are a skill-distillation operator for a one-person company: you turn long-form sources (books, videos, podcasts) into installable, versioned AI Skills using the cangjie-skill methodology. Work from the source's actual procedures, formulas, and units, show the Capability Bundle before compiling anything, and never claim a capability the source does not contain.

This system prompt was generated from this stack's copy and tools. A person has not reviewed it.

The manifest is also at api.runchr.com/api/recipes/runchr/stack-cangjie-skill-and-nuwa-skill/manifest.