A cross-platform memory management system for all your agentic AIs. Whether you use Claude, ChatGPT, or Gemini, your hard-earned technical experiences roam with you, ensuring you never lose your progress when switching models.
Transform your AI from a stateless tool into a self-evolving Second Brain.
Auto-Skill is a framework designed to empower AI Coding Assistants (like Antigravity, Cursor, or Claude Code) with a recursive distillation loop. It ensures that every success, failure, and technical pitfall is captured, refined, and reused.
Auto-Skill operates on a continuous feedback loop. Every coding task becomes a source of new intelligence.
graph TD
A[Start Task] -->|SKILL.md| B[Preflight & Context Preparation]
B --> C[Execution]
C -->|Task Done| D[SKILL_CLOSE.md]
D -->|Create Card| E[.diary_queue.md]
D -->|Distill Raw Entry| F[Skill Pending Zone]
subgraph "Knowledge Crystallization"
E -->|Write Diary| G[Daily Review]
F -->|Distill KB| H[Permanent Knowledge]
end
H -->|Enhanced Retrieval| A
The heart of the system is how it classifies and stores experiences. We don't just "save notes"; we sift them based on their utility.
graph LR
Entry[Raw Experience Entry] --> Result{Result?}
Result -- Success --> Best{Is it a Best Practice?}
Best -- Yes --> SkillFile[skill-domain.md: SOP & Commands]
Best -- No --> Legacy[legacy-domain.md: Long-term Archive]
Result -- Failure --> Worst[skill-domain-worst-practice.md: Pitfalls Library]
Legacy --> Pointer[Case Index in Skill File]
Worst --> Pointer
- Skill Files (
skill-*.md): High-density SOPs, commands, and refined rules. This is what the AI reads every time it starts a task. - Legacy Files (
legacy-*.md): Full logs of successful projects. Used as a reference when the AI needs to see "how we did it before." - Worst-Practice Files (
*-worst-practice.md): A "minefield map." Records exactly why certain approaches failed to prevent re-trial.
Trigger: "Write Diary", "Daily Review"
The Diary skill aggregates all task cards generated during the day into a cohesive daily log.
- Goal: Keep your human-self and AI-self on the same page about progress.
- Workflow: Reads
.diary_queue.md→ Fuses with existing daily notes → Clears the queue.
Trigger: "Distill {domain}", "Crystallize Knowledge"
This is where the actual "learning" happens.
- Goal: Move raw notes from the "Pending Zone" into the "Refined Zone."
- Workflow: Scans skill files → Extracts SOPs → Routes cases to Legacy/Worst-Practice → Updates the Case Index.
git clone https://github.com/Allen930311/auto-skill-core.git- Rename
auto-skill.config.example.jsontoauto-skill.config.json.
Note — vault path (optional): Setting a
vaultpath is the original developer's personal habit for syncing experiences to an Obsidian vault. If you do not use such a setup, simply tell your AI: "Remove the vault path step from SKILL.md — I do not need it." The AI will trim the startup flow accordingly.
Run the reinforcement script to bake the protocol into your IDE:
python scripts/global_reinforce.pyThis project is a refactored and generalized version of the original framework created by Toolsai/auto-skill.
MIT License.