DEV Community

Cover image for One Open Source Project a Day (No.41): Cangjie Skill —— Distilling Books into Executable AI Agent 'Skills'
WonderLab
WonderLab

Posted on

One Open Source Project a Day (No.41): Cangjie Skill —— Distilling Books into Executable AI Agent 'Skills'

1. Introduction

Cangjie Skill is an innovative open-source project centered on knowledge management and AI prompt engineering. Its core objective is "Turning books into skills."

Traditionally, when we read a high-quality book, we might take notes, but that knowledge often remains static and easily forgotten. Cangjie Skill provides a comprehensive methodology and toolchain to transform non-fiction masterpieces (such as Poor Charlie’s Almanack, Principles, or Warren Buffett's letters) into structured, executable Skills that AI agents (like Claude or GPT-based assistants) can directly understand and call upon.

2. Why Cangjie Skill?

In the age of AI, we face two primary pain points:

  • Context Overload & Loss: Simply pasting an entire book into an LLM often leads to "information drowning" or the "lost in the middle" phenomenon. The AI struggles to precisely extract and apply the deep underlying logic.
  • Cognitive to Action Gap: Traditional reading notes are narratives written for humans, whereas AI Agents require structured tools.

Cangjie Skill achieves knowledge decoupling by breaking down complex book content into independent, modular, and searchable skill units, allowing AI to invoke human wisdom just like calling an API.

3. Core Features

  • RIA-TV++ Methodology: The heart of the project, which upgrades Zhao Zhou's "Chai Shu" (Book-splitting) method (RIA) for the AI era:
    • R (Reading): Accessing the original text.
    • I (Interpretation): Reconstructing and building logical connections.
    • A (Appropriation): Adapting for personal/agent use and designing application scenarios.
    • TV (Triple Verification): Cross-domain evidence, predictive power, and non-obviousness checks to ensure skills are profound insights rather than clichés.
    • ++ (Agent Execution): Adding execution steps and boundary definitions specifically for AI agents, turning them into code-like instructions.
  • Structural Output Standards: Every skill package follows a strict directory structure:
    • BOOK_OVERVIEW.md: A structural map of the book.
    • INDEX.md: A skill map defining relationships between skills.
    • */SKILL.md: Individual skill modules containing triggers, processing logic, and output formats.
  • Pre-built Skill Packs: The repository already contains distilled skills from classics like No Rules Rules and Buffett’s annual letters.
  • The "Nuwa-Darwin-Cangjie" Trilogy: Part of a larger vision for AI evolution:
    • Nuwa-Skill: Distills people (recreating personality and thinking styles).
    • Cangjie-Skill: Distills books (extracting methodologies).
    • Darwin-Skill: Evolution (enabling skills to iterate and improve over time).

4. Quick Start

Cangjie Skill acts more as a workflow template. Here is how you can transform a book into an AI skill:

  1. Clone the Repo: Access the methodology, extractors, and templates.
  2. Define the Material: Provide a high-quality text source (e.g., a digitized book).
  3. Run the Pipeline:
    • Use the Adler Analysis template in templates/ for initial comprehension.
    • Apply the 5 Parallel Extractors in extractors/ (targeting frameworks, principles, cases, etc.) to extract key info.
    • Structure the results into the standard SKILL.md format.
  4. Integration: Load the resulting .md files into your AI agent via MCP (Model Context Protocol) or system context, enabling the "Reading Skill" during conversations.

5. Expert Perspective: Project Value Analysis

  • Context Optimization: It achieves "zero redundancy," allowing AI to possess high-density professional knowledge with minimal context window consumption.
  • Standardized "Wisdom Factory": It provides a standardized industrial pipeline for processing unstructured human text into machine-readable assets.
  • Foundation for Autonomous Agents: In the future, a powerful AI's strength will not be how many books it "remembered," but how many validated "cognitive tools" it can invoke in real-time. Cangjie Skill is paving the way for this transition.

6. Resources


If you want your AI agent to possess Charlie Munger’s mental models or Warren Buffett’s business insights, Cangjie Skill is your essential "alchemy" manual.

Top comments (0)