How kangarooking/cangjie-skill works
Cangjie Skill turns books, transcripts, and other long-form content into verified capability bundles, then compiles those bundles into callable single Skills or compact packs. The documented workflow proceeds from whole-content analysis through extraction, verification, capability structuring, pressure-testing, and delivery; the local CLI also supports bundle migration, compilation, updates, repair, rollback, evaluation, and benchmarking. A separate website presents the registry, supports browsing and installation guidance, and prepares community submissions. Some pipeline implementation is documented but not sampled, so uncertain internal calls are omitted.
Main entry points: cangjie.py Unified CLI · compile_single.py Single compiler · compile_pack.py Pack compiler · capabilities Capability Bundle
Components 20
Distillation Method
- Whole-content analysis
methodology/01-stage0-adler.md - Candidate extraction
extractors - Verification gates
methodology/03-stage1.5-triple-verify.md - Promotion gate
methodology/03b-stage1.6-promotion-gate.md
Bundle Toolchain
- Capability Bundle
books/naval-almanack-skill/.cangjie/capabilities - Unified CLI
scripts/cangjie.py - Incremental updates
scripts/update_flow.py - Failure repair
scripts/repair_flow.py
Skill Delivery
- Single compiler
scripts/compile_single.py - Pack compiler
scripts/compile_pack.py - Output evaluation
scripts/run_output_evals.py
Website Catalog
- Skill registry
registry - Catalog browsing
website/src/lib/catalog.ts - Install guidance
website/src/lib/install.ts - Community submission
website/src/lib/submission.ts
Other components
- Content creator
- Source material
- Callable Skills
dist - Website visitor
- GitHub repository
Connections 22
- Content creator → Source material: provides
- Source material → Whole-content analysis: analyzes
- Whole-content analysis → Candidate extraction: informs
- Candidate extraction → Verification gates: screens candidates
- Verification gates → Promotion gate: checks utility
- Promotion gate → Capability Bundle: records capabilities
- Content creator → Unified CLI: runs commands
- Unified CLI → Single compiler: compiles single
- Unified CLI → Pack compiler: compiles pack
- Unified CLI → Incremental updates: dispatches update
- Unified CLI → Failure repair: dispatches repair
- Unified CLI → Output evaluation: dispatches evaluation
- Single compiler → Capability Bundle: reads bundle
- Pack compiler → Capability Bundle: reads bundle
- Single compiler → Callable Skills: writes output
- Pack compiler → Callable Skills: writes output
- Website visitor → Catalog browsing: browses
- Catalog browsing → Skill registry: loads entries
- Website visitor → Install guidance: requests guidance
- Install guidance → Skill registry: uses entry metadata
- Website visitor → Community submission: prepares listing
- Community submission → GitHub repository: opens contribution