Continuous learning

From edwinhu/workflows · View interactive version

Continuous learning is an AI agent skill from the GitHub repository edwinhu/workflows. 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.

How to use this skill

Skill file

Continuous Learning Skill

What this skill carries — grep references/ for any subject the names below miss:

!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"

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:

  1. Session Evaluation: Checks if session has enough messages (default: 10+)
  2. Pattern Detection: Identifies error resolutions, workarounds, debugging techniques
  3. Skill Extraction: Saves useful patterns to ~/.claude/skills/

When to Use

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:

Integration

The skill reads from CLAUDE_TRANSCRIPT_PATH (JSON conversation transcript)

which is automatically set by Claude Code during sessions.

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.