continuous-learning — installing continuous-learning for AI agents continuous-learning, everything-claude-code, official, installing continuous-learning for AI agents, ide skills, Claude Code, Cursor, Windsurf

Verified
v1.0.0
GitHub

About this Skill

Ideal for AI Agents like Claude Code, AutoGPT, and LangChain that require advanced continuous learning capabilities to extract reusable patterns from sessions Continuous-learning is a skill that automatically evaluates Claude Code sessions to extract reusable patterns and saves them as learned skills for future use.

Features

Automatically evaluates Claude Code sessions on end to extract reusable patterns
Configures the Stop hook for session evaluation
Reviews or curates learned skills in ~/.claude/skills/learned/
Adjusts extraction thresholds or pattern categories
Compares v1 (this) vs v2 (instinct-based) approaches

# Core Topics

affaan-m affaan-m
[62.0k]
[7678]
Updated: 3/6/2026

Agent Capability Analysis

The continuous-learning skill by affaan-m is an open-source official AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for installing continuous-learning for AI agents.

Ideal Agent Persona

Ideal for AI Agents like Claude Code, AutoGPT, and LangChain that require advanced continuous learning capabilities to extract reusable patterns from sessions

Core Value

Empowers agents to automatically evaluate sessions, extract valuable patterns, and save them as learned skills for future use, leveraging Claude Code sessions and configurable extraction thresholds, all while utilizing the `~/.claude/skills/learned/` directory for skill curation

Capabilities Granted for continuous-learning

Automating pattern extraction from Claude Code sessions
Configuring session evaluation for optimal skill learning
Reviewing and curating learned skills for improved agent performance

! Prerequisites & Limits

  • Requires access to Claude Code sessions
  • Dependent on extraction threshold configuration
  • Limited to saving skills in `~/.claude/skills/learned/` directory
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

continuous-learning

Install continuous-learning, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Continuous Learning Skill

Automatically evaluates Claude Code sessions on end to extract reusable patterns that can be saved as learned skills.

When to Activate

  • Setting up automatic pattern extraction from Claude Code sessions
  • Configuring the Stop hook for session evaluation
  • Reviewing or curating learned skills in ~/.claude/skills/learned/
  • Adjusting extraction thresholds or pattern categories
  • Comparing v1 (this) vs v2 (instinct-based) approaches

How It Works

This skill runs as a Stop hook at the end of each session:

  1. Session Evaluation: Checks if session has enough messages (default: 10+)
  2. Pattern Detection: Identifies extractable patterns from the session
  3. Skill Extraction: Saves useful patterns to ~/.claude/skills/learned/

Configuration

Edit config.json to customize:

json
1{ 2 "min_session_length": 10, 3 "extraction_threshold": "medium", 4 "auto_approve": false, 5 "learned_skills_path": "~/.claude/skills/learned/", 6 "patterns_to_detect": [ 7 "error_resolution", 8 "user_corrections", 9 "workarounds", 10 "debugging_techniques", 11 "project_specific" 12 ], 13 "ignore_patterns": [ 14 "simple_typos", 15 "one_time_fixes", 16 "external_api_issues" 17 ] 18}

Pattern Types

PatternDescription
error_resolutionHow specific errors were resolved
user_correctionsPatterns from user corrections
workaroundsSolutions to framework/library quirks
debugging_techniquesEffective debugging approaches
project_specificProject-specific conventions

Hook Setup

Add to your ~/.claude/settings.json:

json
1{ 2 "hooks": { 3 "Stop": [{ 4 "matcher": "*", 5 "hooks": [{ 6 "type": "command", 7 "command": "~/.claude/skills/continuous-learning/evaluate-session.sh" 8 }] 9 }] 10 } 11}

Why Stop Hook?

  • Lightweight: Runs once at session end
  • Non-blocking: Doesn't add latency to every message
  • Complete context: Has access to full session transcript
  • The Longform Guide - Section on continuous learning
  • /learn command - Manual pattern extraction mid-session

Comparison Notes (Research: Jan 2025)

vs Homunculus

Homunculus v2 takes a more sophisticated approach:

FeatureOur ApproachHomunculus v2
ObservationStop hook (end of session)PreToolUse/PostToolUse hooks (100% reliable)
AnalysisMain contextBackground agent (Haiku)
GranularityFull skillsAtomic "instincts"
ConfidenceNone0.3-0.9 weighted
EvolutionDirect to skillInstincts → cluster → skill/command/agent
SharingNoneExport/import instincts

Key insight from homunculus:

"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."

Potential v2 Enhancements

  1. Instinct-based learning - Smaller, atomic behaviors with confidence scoring
  2. Background observer - Haiku agent analyzing in parallel
  3. Confidence decay - Instincts lose confidence if contradicted
  4. Domain tagging - code-style, testing, git, debugging, etc.
  5. Evolution path - Cluster related instincts into skills/commands

See: docs/continuous-learning-v2-spec.md for full spec.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is continuous-learning?

Ideal for AI Agents like Claude Code, AutoGPT, and LangChain that require advanced continuous learning capabilities to extract reusable patterns from sessions Continuous-learning is a skill that automatically evaluates Claude Code sessions to extract reusable patterns and saves them as learned skills for future use.

How do I install continuous-learning?

Run the command: npx killer-skills add affaan-m/everything-claude-code/continuous-learning. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for continuous-learning?

Key use cases include: Automating pattern extraction from Claude Code sessions, Configuring session evaluation for optimal skill learning, Reviewing and curating learned skills for improved agent performance.

Which IDEs are compatible with continuous-learning?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for continuous-learning?

Requires access to Claude Code sessions. Dependent on extraction threshold configuration. Limited to saving skills in `~/.claude/skills/learned/` directory.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add affaan-m/everything-claude-code/continuous-learning. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use continuous-learning immediately in the current project.

Related Skills

Looking for an alternative to continuous-learning or another official skill for your workflow? Explore these related open-source skills.

View All

flags

Logo of facebook
facebook

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

243.6k
0
Developer

extract-errors

Logo of facebook
facebook

Use when adding new error messages to React, or seeing unknown error code warnings.

243.6k
0
Developer

fix

Logo of facebook
facebook

Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.

243.6k
0
Developer

flow

Logo of facebook
facebook

Use when you need to run Flow type checking, or when seeing Flow type errors in React code.

243.6k
0
Developer