[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DSXAJFWCC82WP6KP2KF144":3,"skill-same:01M6DSXAJFWCC82WP6KP2KF144":94},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M6DSXAJFWCC82WP6KP2KF144","continuous-learning",null,"Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.","AntifragileTech\u002Fantifragile-claude-code","AntifragileTech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174357194?v=4","01M6DQCYMK4CDSQQAN0ZC72NTV","01M6DQCYS9YPW1WKMQ5TJMPQ43",9,"MIT","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fcontinuous-learning\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29],"learning","continuous learning","sessions","code","claude code sessions","save","extract","use","reusable","patterns","as","learned","2026-11-10 10:12:30",false,"---\nname: continuous-learning\ndescription: Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.\norigin: ECC\n---\n\n# Continuous Learning Skill\n\nAutomatically evaluates Claude Code sessions on end to extract reusable patterns that can be saved as learned skills.\n\n## When to Activate\n\n- Setting up automatic pattern extraction from Claude Code sessions\n- Configuring the Stop hook for session evaluation\n- Reviewing or curating learned skills in `~\u002F.claude\u002Fskills\u002Flearned\u002F`\n- Adjusting extraction thresholds or pattern categories\n- Comparing v1 (this) vs v2 (instinct-based) approaches\n\n## How It Works\n\nThis skill runs as a **Stop hook** at the end of each session:\n\n1. **Session Evaluation**: Checks if session has enough messages (default: 10+)\n2. **Pattern Detection**: Identifies extractable patterns from the session\n3. **Skill Extraction**: Saves useful patterns to `~\u002F.claude\u002Fskills\u002Flearned\u002F`\n\n## Configuration\n\nEdit `config.json` to customize:\n\n```json\n{\n  \"min_session_length\": 10,\n  \"extraction_threshold\": \"medium\",\n  \"auto_approve\": false,\n  \"learned_skills_path\": \"~\u002F.claude\u002Fskills\u002Flearned\u002F\",\n  \"patterns_to_detect\": [\n    \"error_resolution\",\n    \"user_corrections\",\n    \"workarounds\",\n    \"debugging_techniques\",\n    \"project_specific\"\n  ],\n  \"ignore_patterns\": [\n    \"simple_typos\",\n    \"one_time_fixes\",\n    \"external_api_issues\"\n  ]\n}\n```\n\n## Pattern Types\n\n| Pattern | Description |\n|---------|-------------|\n| `error_resolution` | How specific errors were resolved |\n| `user_corrections` | Patterns from user corrections |\n| `workarounds` | Solutions to framework\u002Flibrary quirks |\n| `debugging_techniques` | Effective debugging approaches |\n| `project_specific` | Project-specific conventions |\n\n## Hook Setup\n\nAdd to your `~\u002F.claude\u002Fsettings.json`:\n\n```json\n{\n  \"hooks\": {\n    \"Stop\": [{\n      \"matcher\": \"*\",\n      \"hooks\": [{\n        \"type\": \"command\",\n        \"command\": \"~\u002F.claude\u002Fskills\u002Fcontinuous-learning\u002Fevaluate-session.sh\"\n      }]\n    }]\n  }\n}\n```\n\n## Why Stop Hook?\n\n- **Lightweight**: Runs once at session end\n- **Non-blocking**: Doesn't add latency to every message\n- **Complete context**: Has access to full session transcript\n\n## Related\n\n- [The Longform Guide](https:\u002F\u002Fx.com\u002Faffaanmustafa\u002Fstatus\u002F2014040193557471352) - Section on continuous learning\n- `\u002Flearn` command - Manual pattern extraction mid-session\n\n---\n\n## Comparison Notes (Research: Jan 2025)\n\n### vs Homunculus\n\nHomunculus v2 takes a more sophisticated approach:\n\n| Feature | Our Approach | Homunculus v2 |\n|---------|--------------|---------------|\n| Observation | Stop hook (end of session) | PreToolUse\u002FPostToolUse hooks (100% reliable) |\n| Analysis | Main context | Background agent (Haiku) |\n| Granularity | Full skills | Atomic \"instincts\" |\n| Confidence | None | 0.3-0.9 weighted |\n| Evolution | Direct to skill | Instincts → cluster → skill\u002Fcommand\u002Fagent |\n| Sharing | None | Export\u002Fimport instincts |\n\n**Key insight from homunculus:**\n> \"v1 relied on skills to observe. Skills are probabilistic—they fire ~50-80% of the time. v2 uses hooks for observation (100% reliable) and instincts as the atomic unit of learned behavior.\"\n\n### Potential v2 Enhancements\n\n1. **Instinct-based learning** - Smaller, atomic behaviors with confidence scoring\n2. **Background observer** - Haiku agent analyzing in parallel\n3. **Confidence decay** - Instincts lose confidence if contradicted\n4. **Domain tagging** - code-style, testing, git, debugging, etc.\n5. **Evolution path** - Cluster related instincts into skills\u002Fcommands\n\nSee: `docs\u002Fcontinuous-learning-v2-spec.md` for full spec.\n","# Continuous Learning Skill\n\nAutomatically evaluates Claude Code sessions on end to extract reusable patterns that can be saved as learned skills.\n\n## When to Activate\n\n- Setting up automatic pattern extraction from Claude Code sessions\n- Configuring the Stop hook for session evaluation\n- Reviewing or curating learned skills in `~\u002F.claude\u002Fskills\u002Flearned\u002F`\n- Adjusting extraction thresholds or pattern categories\n- Comparing v1 (this) vs v2 (instinct-based) approaches\n\n## How It Works\n\nThis skill runs as a **Stop hook** at the end of each session:\n\n1. **Session Evaluation**: Checks if session has enough messages (default: 10+)\n2. **Pattern Detection**: Identifies extractable patterns from the session\n3. **Skill Extraction**: Saves useful patterns to `~\u002F.claude\u002Fskills\u002Flearned\u002F`\n\n## Configuration\n\nEdit `config.json` to customize:\n\n```json\n{\n  \"min_session_length\": 10,\n  \"extraction_threshold\": \"medium\",\n  \"auto_approve\": false,\n  \"learned_skills_path\": \"~\u002F.claude\u002Fskills\u002Flearned\u002F\",\n  \"patterns_to_detect\": [\n    \"error_resolution\",\n    \"user_corrections\",\n    \"workarounds\",\n    \"debugging_techniques\",\n    \"project_specific\"\n  ],\n  \"ignore_patterns\": [\n    \"simple_typos\",\n    \"one_time_fixes\",\n    \"external_api_issues\"\n  ]\n}\n```\n\n## Pattern Types\n\n| Pattern | Description |\n|---------|-------------|\n| `error_resolution` | How specific errors were resolved |\n| `user_corrections` | Patterns from user corrections |\n| `workarounds` | Solutions to framework\u002Flibrary quirks |\n| `debugging_techniques` | Effective debugging approaches |\n| `project_specific` | Project-specific conventions |\n\n## Hook Setup\n\nAdd to your `~\u002F.claude\u002Fsettings.json`:\n\n```json\n{\n  \"hooks\": {\n    \"Stop\": [{\n      \"matcher\": \"*\",\n      \"hooks\": [{\n        \"type\": \"command\",\n        \"command\": \"~\u002F.claude\u002Fskills\u002Fcontinuous-learning\u002Fevaluate-session.sh\"\n      }]\n    }]\n  }\n}\n```\n\n## Why Stop Hook?\n\n- **Lightweight**: Runs once at session end\n- **Non-blocking**: Doesn't add latency to every message\n- **Complete context**: Has access to full session transcript\n\n## Related\n\n- [The Longform Guide](https:\u002F\u002Fx.com\u002Faffaanmustafa\u002Fstatus\u002F2014040193557471352) - Section on continuous learning\n- `\u002Flearn` command - Manual pattern extraction mid-session\n\n---\n\n## Comparison Notes (Research: Jan 2025)\n\n### vs Homunculus\n\nHomunculus v2 takes a more sophisticated approach:\n\n| Feature | Our Approach | Homunculus v2 |\n|---------|--------------|---------------|\n| Observation | Stop hook (end of session) | PreToolUse\u002FPostToolUse hooks (100% reliable) |\n| Analysis | Main context | Background agent (Haiku) |\n| Granularity | Full skills | Atomic \"instincts\" |\n| Confidence | None | 0.3-0.9 weighted |\n| Evolution | Direct to skill | Instincts → cluster → skill\u002Fcommand\u002Fagent |\n| Sharing | None | Export\u002Fimport instincts |\n\n**Key insight from homunculus:**\n> \"v1 relied on skills to observe. Skills are probabilistic—they fire ~50-80% of the time. v2 uses hooks for observation (100% reliable) and instincts as the atomic unit of learned behavior.\"\n\n### Potential v2 Enhancements\n\n1. **Instinct-based learning** - Smaller, atomic behaviors with confidence scoring\n2. **Background observer** - Haiku agent analyzing in parallel\n3. **Confidence decay** - Instincts lose confidence if contradicted\n4. **Domain tagging** - code-style, testing, git, debugging, etc.\n5. **Evolution path** - Cluster related instincts into skills\u002Fcommands\n\nSee: `docs\u002Fcontinuous-learning-v2-spec.md` for full spec.\n",{"name":5,"origin":35,"description":7},"ECC","master","c73386b305dec167db7654e0e6feacb462d4f9dc","assets\u002Fskills\u002Fthinking\u002Fcontinuous-learning",1,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code","https:\u002F\u002Fgithub.com\u002FAntifragileTech","2026-10-02 14:22:14",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add AntifragileTech\u002Fantifragile-claude-code --skill continuous-learning",{"tool":49,"command":50},"bunx","bunx skills add AntifragileTech\u002Fantifragile-claude-code --skill continuous-learning",{"tool":52,"command":53},"pnpm","pnpm dlx skills add AntifragileTech\u002Fantifragile-claude-code --skill continuous-learning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fcontinuous-learning\u002FSKILL.md",true,[57,63,67,73,76,79,82,85,88,91],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"algorithms.md","REFERENCE","参考文档",0,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.claude\u002Fagents\u002Fskills\u002Fdex-swap-decoder\u002Falgorithms.md",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"config.json",391,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fcontinuous-learning\u002Fconfig.json",{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"evaluate-session.sh","SCRIPT","脚本",2391,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fcontinuous-learning\u002Fevaluate-session.sh",{"path":74,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":75},"failure_modes.md","https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.claude\u002Fagents\u002Fskills\u002Fdex-swap-decoder\u002Ffailure_modes.md",{"path":77,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":78},"formulas.md","https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.claude\u002Fagents\u002Fskills\u002Fdex-swap-decoder\u002Fformulas.md",{"path":80,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":81},"implementation_notes.md","https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.claude\u002Fagents\u002Fskills\u002Fdex-swap-decoder\u002Fimplementation_notes.md",{"path":83,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":84},"integration_arbitragex.md","https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.claude\u002Fagents\u002Fskills\u002Fdex-swap-decoder\u002Fintegration_arbitragex.md",{"path":86,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":87},"manifest.json","https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.claude\u002Fagents\u002Fskills\u002Fdex-swap-decoder\u002Fmanifest.json",{"path":89,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":90},"references.json","https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.claude\u002Fagents\u002Fskills\u002Fdex-swap-decoder\u002Freferences.json",{"path":92,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":93},"validation_tests.md","https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.claude\u002Fagents\u002Fskills\u002Fdex-swap-decoder\u002Fvalidation_tests.md",[95,107,119,132,145,156],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":30},"01M6DT9Q6VYA615SCXR757TZZ7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-skills\u002FSKILL.md",[],[102,103,25,104,105,106],"writing skills","writing","editing","work","deployment",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":30},"01M6DT9GFHDNY90P41WGAE1TV0","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-plans\u002FSKILL.md",[],[114,115,103,116,117,25,21,118],"plans","writing plans","requirements","task","spec",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":30},"01M6DT9C6PFGD86WS3HY7YE3XG","docs:write-concisely","Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwrite-concisely\u002FSKILL.md",[],[126,127,128,129,130,131,103],"docs:write concisely","write","docs","read","Rules","documentation",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":30},"01M6DT98AWQ27P0N1CG97WAG66","kaizen:why","Iterative Five Whys root cause analysis drilling from symptoms to fundamentals","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwhy\u002FSKILL.md",[],[134,139,140,141,142,143,144],"why","kaizen","issue","five whys","analysis","root cause analysis",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":30},"01M6DT93EH25NAX19R3WGE1P53","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-loop\u002FSKILL.md",[],[152,153,154,20,21,22,155],"verification loop","verification","loop","system",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":30},"01M6DT90GW7Z7VCN98P9DVYSNC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-before-completion\u002FSKILL.md",[],[163,153,164,105,25,165,166,167],"verification before completion","commands","evidence","claim","complete"]