Agent skill
continuous-learning
This skill should be used when the user asks to 'extract patterns from this session', 'save what we learned', 'create a skill from this workflow', 'learn from this conversation', 'capture reusable knowledge', or wants to turn session patterns into reusable skills.
Install this agent skill to your Project
npx add-skill https://github.com/edwinhu/workflows/tree/main/skills/continuous-learning
SKILL.md
Continuous Learning Skill
Extract reusable patterns from sessions and save them as learned skills for future use.
How It Works
This skill analyzes the session transcript to identify extractable patterns:
- Session Evaluation: Checks if session has enough messages (default: 10+)
- Pattern Detection: Identifies error resolutions, workarounds, debugging techniques
- Skill Extraction: Saves useful patterns to
~/.claude/skills/
When to Use
- At end of long sessions with multiple problem-solving cycles
- After resolving complex errors that might recur
- When you develop project-specific conventions
Invocation
Use /learn command or invoke directly:
/continuous-learning
Configuration
Edit config.json to customize:
{
“min_session_length”: 10,
“extraction_threshold”: “medium”,
“auto_approve”: false,
"learned_skills_path": "~/.claude/skills/learned/",
“patterns_to_detect”: [
“error_resolution”,
“user_corrections”,
“workarounds”,
“debugging_techniques”,
“project_specific”
]
}
Pattern Types
| Pattern | Description |
|---|---|
error_resolution |
How specific errors were resolved |
user_corrections |
Patterns from user corrections |
workarounds |
Solutions to framework/library quirks |
debugging_techniques |
Effective debugging approaches |
project_specific |
Project-specific conventions |
Learned Skills Format
Extracted skills are saved following the standard skill directory structure:
~/.claude/skills/learned/
├── fix-marimo-import-error/
│ └── SKILL.md
├── debug-pixi-environment/
│ └── SKILL.md
└── wrds-connection-pattern/
└── SKILL.md
Each learned skill follows standard SKILL.md format with:
- Frontmatter (name and description)
- Problem context
- Solution pattern
- Example usage
Integration
The skill reads from CLAUDE_TRANSCRIPT_PATH (JSON conversation transcript)
which is automatically set by Claude Code during sessions.
Related
/learncommand - Manual pattern extraction mid-session/checkpointcommand - Save session state- Session-end hook - Auto-evaluates sessions for patterns
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
audit-fix-loop
This skill should be used when the user asks to 'iteratively improve', 'audit and fix', 'hill-climb quality', 'grade and improve', 'score and fix', 'audit loop', 'quality loop', or needs structured iterative improvement of an artifact using scored independent audits. Also use when the user invokes a ralph loop for quality improvement rather than task completion.
ds-spec-reviewer
Internal skill used by ds-brainstorm at Phase 1 exit gate. Dispatches a reviewer subagent to verify SPEC.md completeness before planning. NOT user-facing.
pptx-render
Use when the user asks to "render pptx", "show pptx slide", "compare with pptx", "pptx to image", "export pptx slide", "original slide", "show me the original", "what does the pptx look like", or needs to extract a specific PPTX slide's content for visual comparison.
obsidian-organize
Organize Obsidian notes according to clawd's preferences. Use when user asks to "organize notes", "move notes to right folder", "clean up vault", "tidy vault", "file this note", or when creating new notes in the Obsidian vault. Also use when moving, renaming, or categorizing notes, or when the vault root has stray files.
dev-verify
This skill should be used when the user asks to 'verify completion', 'check that tests pass', 'confirm feature works', or REQUIRED Phase 7 of /dev workflow (final). Enforces fresh runtime evidence before claiming completion.
dev
This skill should be used when the user asks to 'start a feature', 'build a feature', 'implement a feature', 'develop', 'new feature', or needs the full 7-phase development workflow with TDD enforcement.
Didn't find tool you were looking for?