Skip to content

Latest commit

ย 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงช AGI Distiller

็‰ˆๆƒๅฃฐๆ˜Ž Copyright๏ผšยฉ 2026 All Rights Reserved. ๆœช็ปไฝœ่€…ไนฆ้ข่ฎธๅฏ๏ผŒ็ฆๆญขๅคๅˆถใ€ไฟฎๆ”นใ€ๅˆ†ๅ‘ใ€ๅ•†็”จใ€็”จไบŽๅ„็ฑปๅญฆ็ง‘็ซž่ต›ใ€‚

Knowledge Distillation System for AI Coding Agents

Read. Distill. Evolve. Repeat.

Agent Skills License: MIT Claude Code Codex CLI

๐ŸŒ ไธญๆ–‡็‰ˆ README


๐ŸŒŸ Vision

AGI Distiller is not just another skill collection. It is a living knowledge distillation system that:

  1. Reads high-quality technical content (articles, blogs, papers, WeChat posts)
  2. Extracts pain points, solutions, and actionable rules
  3. Precipitates them into cross-platform agent skills, behavioral rules, and collaboration protocols
  4. Evolves itself โ€” the more it reads, the more capable it becomes

The ultimate goal: An AI agent that continuously self-improves by reading, distilling, and applying knowledge โ€” one article at a time.


๐Ÿ”ฌ What Makes This Different

Dimension Traditional Skill Repos AGI Distiller
Source Developer experience High-quality technical content
Creation Hand-written Distilled from content
Evolution Manual PRs Self-evolving
Focus General coding Terminal AI agent efficiency
Language English only Bilingual (EN + CN)
Philosophy "Here are the skills" "Here is the distillery that produces skills"

๐Ÿ—๏ธ System Architecture

                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚     Knowledge Sources        โ”‚
                    โ”‚  laodad.com ยท WeChat ยท Blogs โ”‚
                    โ”‚  arXiv ยท GitHub Issues ยท More โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                  โ”‚ Read
                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚     Distillation Pipeline    โ”‚
                    โ”‚                              โ”‚
                    โ”‚  โ‘  Extract Pain Points      โ”‚
                    โ”‚  โ‘ก Extract Solutions        โ”‚
                    โ”‚  โ‘ข Derive Actionable Rules  โ”‚
                    โ”‚  โ‘ฃ Precipitate into Skills  โ”‚
                    โ”‚  โ‘ค Update Behavior Rules    โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                  โ”‚ Output
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ–ผ                         โ–ผ                         โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Agent Skills  โ”‚       โ”‚  Rules & Specs โ”‚       โ”‚  Memory &     โ”‚
โ”‚  (SKILL.md)    โ”‚       โ”‚  (ATOMCODE.md) โ”‚       โ”‚  Knowledge    โ”‚
โ”‚  Cross-platformโ”‚       โ”‚  Best practicesโ”‚       โ”‚  (notes/)     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“ฆ What's Inside

Agent Spec Files (OpenAI Open Standard)

File Purpose Size
SOUL.md Agent personality (name, character, service targets) ~1187 chars
AGENTS.md Permission matrix + red line rules (core security) ~2320 chars
USER.md Current user identity and role ~639 chars
TOOLS.md Tool usage guide ~1497 chars
IDENTITY.md Agent identity metadata ~1064 chars
HEARTBEAT.md Session / health tracking ~825 chars
Total ~7532 chars

Skills (Cross-Platform)

Skill Description Status
acceptance-checker 7-item acceptance checklist for every task โœ… Live
automation-gray-release Gray-release discipline for scheduled automations โ€” manual trial first, verify on-disk artifact, then schedule; cost control and silent-failure guards โœ… Live
cli-safety Agent-friendly CLI execution rules (structured output, exit code, non-interactive, idempotent, audit, file-based success) โœ… Live
code-review-p0 P0/P1/P2 graded code review with file location + cause + impact + suggestion โœ… Live
debug-flow 5-step debugging workflow (reproduce โ†’ locate โ†’ fix โ†’ test โ†’ regression), with 5-step localization method โœ… Live
dependency-verify Dependency-change verification โ€” installed โ‰  works: a successful install or import does not prove the native library loads โœ… Live
deploy-checker 8-item pre-release checklist (scope, diff, test, UI, rollback, notes, observe, honesty) โœ… Live
doc-freshness-check Doc-rot detection โ€” keep README/docs in sync with code; stale-marker and terminology-change propagation โœ… Live
hook-safety-checker Pre-flight for writing, wiring and accepting any hook (pre-commit, PreToolUse, PostToolUse, CI gate); prevents silent hooks โœ… Live
learning-accelerator Use AI tooling to learn a new field fast โ€” new framework, concept, interview prep, technology survey โœ… Live
long-task-resume Resumable long-running jobs โ€” checkpoint first, idempotent reruns, sentinel-based success, explicit recovery command โœ… Live
memory-layer-router Five-layer memory routing decision tree โ€” which layer (SOUL / IDENTITY / USER / MEMORY / daily log / skills) new information belongs to โœ… Live
rule-migrator Rule-file migration and multi-tool sync (Cursor Rules / CLAUDE.md / AGENTS.md) โœ… Live
session-handoff Session-handoff artifact โ€” write an evidence-linked, fail-closed handoff file instead of a chat summary โœ… Live
skill-authoring-check Skill authoring compliance baseline โ€” frontmatter field limits (name/description/compatibility), description formula, progressive disclosure budgets, degrees of freedom, anti-patterns, pre-submit checklist โœ… Live
task-automator Automation task writer โ€” write repeatable, verifiable automation workflows โœ… Live
task-briefer Structured task brief template (background, goal, scope, limits, acceptance, delivery) โ€” probe for missing context โœ… Live
tdd-discipline AI pair-programming TDD discipline โ€” red/green cycle constraints, read the diff instead of trusting summaries โœ… Live
untrusted-content-boundary Trust boundary when an agent consumes untrusted external content (webpages, issues/PRs, comments, downloads) โ€” treat it as data not instructions, segregate and label it, least-privilege tools, human approval before high-impact actions โœ… Live
version-guard Version management and rollback for workflows, configs and apps (Dify, n8n, CI config) โœ… Live
workspace-isolation Multi-workspace context isolation โ€” locate the workspace first, identify foreign files, always use explicit paths โœ… Live

Knowledge Base

  • sources/ โ€” Index of all distilled content with extraction metadata
  • rules/ATOMCODE.md โ€” Comprehensive behavioral specification (14 sections)
  • DISTILLER.md โ€” Distillation pipeline specification
  • ROADMAP.md โ€” 4-phase development roadmap

๐Ÿ”ง Installation

Claude Code

/plugin marketplace add TrueFurina/AGI-Distiller
/plugin install agi-distiller@agi-distiller

โœ… ๅฎžๆต‹้€š่ฟ‡๏ผšๆœฌๆœบ Claude Code v2.1.251 ่ท‘้€š claude plugin validate โ†’ marketplace add โ†’ plugin install โ†’ plugin details ๅ…จ้“พ่ทฏ๏ผŒComponent inventory: Skills (19) ๅ…จ้ƒจๅŠ ่ฝฝใ€‚ โš ๏ธ ่ฏฅ่ฎฐๅฝ•ๆ˜ฏๅฝ“ๆฌก่ฟ่กŒ็š„่ง‚ๆต‹ๅ€ผ๏ผˆ่ฟ่กŒๆ—ถ 19 ไธช skill๏ผ‰๏ผ›ๅŽ็ปญๆ–ฐๅขž skill ๅŽๆœชๅค่ท‘ๅฎ‰่ฃ…้“พ่ทฏโ€”โ€”ๆ•ฐๅญ—ไฟๆŒๅŽŸๆ ท๏ผŒไธ่ฟฝๆ”นๆˆๆ–ฐ่ฎกๆ•ฐใ€‚ โœ… Verified end-to-end on Claude Code v2.1.251 โ€” all 19 skills load (that run had 19 skills; the chain has not been re-run since the skill count changed).

Codex CLI

npx skills add TrueFurina/AGI-Distiller

CLI ๅญ˜ๅœจ๏ผˆskills@1.7.0๏ผŒadd <owner/repo> ่ฏญๆณ•ๅทฒๆ ธๅฏน๏ผ‰ใ€‚ๆœฌๆœบๆ—  Codex CLI๏ผŒๆœชๅฎž่ฃ…้ชŒ่ฏใ€‚ CLI exists (skills@1.7.0, add <owner/repo> syntax confirmed). No Codex CLI on this machine โ€” install not actually verified.

Manual (Any Agent)

git clone https://github.com/TrueFurina/AGI-Distiller.git
cp -r AGI-Distiller/skills/* ~/.claude/skills/

Platform Compatibility

Verified โ€” โœ… ๅฎžๆต‹ = ran the full chain on this machine: claude plugin validate โ†’ marketplace add โ†’ plugin install โ†’ plugin details, all 19 skills loaded (Claude Code v2.1.251 โ€” the run predates the current skill count; not re-run since). โš ๏ธ ๆœชๅฎžๆต‹ / unverified = path follows that platform's public docs; no CLI available here, never actually run.

Platform Path Status
Claude Code ~/.claude/skills/ โœ… ๅฎžๆต‹
Codex CLI ~/.codex/skills/ โš ๏ธ ๆœชๅฎžๆต‹
Cursor .cursor/skills/ โš ๏ธ ๆœชๅฎžๆต‹
Gemini CLI ~/.gemini/skills/ โš ๏ธ ๆœชๅฎžๆต‹
GitHub Copilot .github/skills/ โš ๏ธ ๆœชๅฎžๆต‹
OpenCode ~/.config/opencode/skills/ โš ๏ธ ๆœชๅฎžๆต‹
Windsurf .windsurf/skills/ โš ๏ธ ๆœชๅฎžๆต‹

๐Ÿงช The Distillation Pipeline

Every skill in this repository is born from a structured process:

1. READ  an article
2. EXTRACT:
   - Pain point: What problem does this solve?
   - Solution: How does it solve it?
   - Actionable rule: What should the agent do differently?
   - Trap: What should the agent avoid?
3. CLASSIFY: Does this fit an existing skill? Or need a new one?
4. PRECIPITATE:
   - If new rule โ†’ update ATOMCODE.md
   - If cross-session value โ†’ write to memory
   - If high-frequency pattern โ†’ create/update skill
5. VERIFY: Is the skill usable? Does it solve the original pain point?

See DISTILLER.md for the complete pipeline specification.


๐Ÿ—บ๏ธ Roadmap

Phase 1: Foundation (Current)

  • Core distillation pipeline design
  • 21 production skills
  • 14-section behavioral specification (ATOMCODE.md)
  • 14 persistent memory entries
  • 10 distilled source notes on disk in sources/ (laodad 4 / wechat 2 / anthropic 1 / comment-distillery 1 / owasp 1 / tencent 1)
  • GitHub repository live

Phase 2: Growth (Next 30 days)

  • 21 skills total
  • CI pipeline (.github/workflows/golden-regression.yml)
  • Marketplace registration
  • Automated distillation pipeline
  • Community contributions

Phase 3: Ecosystem (3 months)

  • 50+ skills
  • Multi-source distillation (laodad.com, WeChat, Medium, arXiv)
  • Web catalog for browsing skills
  • 10,000+ GitHub stars

๐Ÿค Contributing

We welcome contributions of all kinds:

  • ๐Ÿ“ New sources: Suggest a high-quality article to distill
  • ๐Ÿ”ง New skills: Submit a skill based on the distillation template
  • ๐ŸŒ Translations: Help translate skills to other languages
  • ๐Ÿ› Bug fixes: Improve existing skills

See CONTRIBUTING.md for guidelines.


๐Ÿ“š Sources Distilled

Source Notes on disk Category Status
laodad.com 4 AI programming efficiency โœ…
WeChat (personal AI OS, 10x learning) 2 Learning & agent workflow โœ…
ๅก็ ๅคงๆจกๅž‹ (Tencent) 1 CLI & Agent โœ…
comment-distillery 1 Skill engineering (sibling project) โœ…
More coming... ๐Ÿšง

10 distilled source notes on disk (sources/**/*.md). The count above is verified against the working tree by scripts/check_doc_consistency.py.


๐Ÿ“„ License

MIT โ€” use these skills in your projects, teams, and tools. Full credit to the original authors of the articles that inspired each skill.


โญ Star History

If this project resonates with you, give it a star โญ โ€” it helps more people find this vision of self-evolving AI agents.


"The endgame is not CLI. The endgame is every piece of software growing a set of interfaces that an Agent can call, verify, audit, and be safely confined by. CLI is just the first one ready." โ€” ๅก็ ๅคงๆจกๅž‹


License & Usage Notice

Source-Available ยท All Rights Reserved

This project is source-available and all rights are reserved by the author. The code is provided for viewing and evaluation purposes only โ€” access does not grant any right to copy, modify, redistribute, use commercially, or create derivative works. Unauthorized reuse may carry legal risk. Contact the author for explicit written permission before any other use.

ๆœฌไป“ๅบ“ไธบใ€Œๆบ็ ๅฏๆŸฅใ€ๆƒๅˆฉไฟ็•™ใ€้กน็›ฎ๏ผˆsource-available / all-rights-reserved๏ผ‰ใ€‚ไปฃ็ ไป…ไพ›ๆŸฅ็œ‹ไธŽ่ฏ„ไผฐ๏ผŒๆœชๆŽˆๆƒไปปไฝ•ๅคๅˆถใ€ๅ†ๅˆ†ๅ‘ใ€ไฟฎๆ”นใ€ๅ•†็”จๆˆ–่ก็”Ÿๅˆ›ไฝœใ€‚ๆ“…่‡ชๅ€Ÿ็”จไปฃ็ ๅญ˜ๅœจๆณ•ๅพ‹้ฃŽ้™ฉ๏ผ›ๅฆ‚ๆœ‰้œ€่ฆ่ฏทๅ…ˆ่”็ณปไฝœ่€…่Žทๅ–ๆ˜Ž็กฎไนฆ้ข่ฎธๅฏใ€‚

About

A living knowledge distillation system that self-evolves by reading technical content. Self-improving skill/knowledge pipeline for AI agents.

Topics

Resources

Contributing

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages