
Continuous Learning
FreeAutomate skill extraction from Claude Code sessions.
Free · Opens the source repo
What Continuous Learning does
The Continuous Learning skill is designed to enhance the learning capabilities of Claude Code by automatically evaluating sessions and extracting reusable patterns. This skill operates as a hook at the end of each session, ensuring that valuable insights are captured without interrupting the flow of interaction. Users can configure the skill to set thresholds for session length and pattern extraction, allowing for tailored learning experiences based on their specific needs.
When activated, the skill assesses whether a session has sufficient messages (defaulting to 10 or more) and identifies patterns that can be extracted. These patterns include techniques for error resolution, user corrections, workarounds, debugging methods, and project-specific conventions. The extracted skills are stored in a designated directory for easy access and review, enabling users to refine their learning over time.
This skill is particularly useful for developers and designers who frequently interact with Claude Code and want to build a repository of learned skills. By automating the extraction process, users can focus on their work while still benefiting from the insights gathered during their sessions. It serves as a foundational tool for those looking to improve their coding practices and project outcomes through continuous learning.
However, it is important to note that this version of the skill is now considered obsolete, with the recommendation to transition to continuous-learning-v2, which offers a more advanced framework for learning based on instincts and reliable hooks. Users who require compatibility with older workflows may still find value in this skill, but for new installations, v2 is the preferred choice.
When to use it
Use this skill when you want to automatically capture and store useful insights from your sessions with Claude Code.
When not to use it
Avoid using this skill for new installations; opt for continuous-learning-v2 instead, which offers enhanced capabilities.
What you can build with it
Automated Skill Capture
Set up the skill to automatically extract patterns from your sessions, saving time and effort.
Session Evaluation
Use the skill to evaluate your sessions and identify areas for improvement based on extracted patterns.
Pattern Review
Review and curate learned skills stored in your Claude Code directory to refine your coding practices.
How to install Continuous Learning
View source1. Install with the skills CLI
npx skills add affaan-m/ecc/continuous-learning --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by affaan-mSkill de Aprendizaje Continuo - OBSOLETO
OBSOLETO el 2026-04-28. Usar
continuous-learning-v2en su lugar. v2 es un superconjunto estricto: la observación por hook Stop se convierte en observación PreToolUse/PostToolUse, los skills completos se convierten en instintos atómicos con puntuación de confianza, y el almacenamiento solo global se convierte en almacenamiento con alcance de proyecto más promoción global.Este archivo se mantiene como referencia de archivo y compatibilidad retroactiva con instalaciones existentes.
Documentación Original v1 (archivo)
Evalúa automáticamente las sesiones de Claude Code al terminar para extraer patrones reutilizables que pueden guardarse como skills aprendidos.
Cuándo Activar
- Configurar extracción automática de patrones desde sesiones de Claude Code
- Configurar el hook Stop para evaluación de sesiones
- Revisar o curar skills aprendidos en
~/.claude/skills/learned/ - Ajustar umbrales de extracción o categorías de patrones
- Comparar enfoques v1 (este) vs v2 (basado en instintos)
Estado
Este skill v1 sigue siendo compatible, pero continuous-learning-v2 es la ruta preferida para nuevas instalaciones. Mantener v1 cuando explícitamente quieras el flujo de extracción por hook Stop más simple o necesites compatibilidad con flujos de trabajo de skills aprendidos más antiguos.
Cómo Funciona
Este skill se ejecuta como un hook Stop al final de cada sesión:
- Evaluación de Sesión: Verifica si la sesión tiene suficientes mensajes (por defecto: 10+)
- Detección de Patrones: Identifica patrones extraíbles de la sesión
- Extracción de Skills: Guarda patrones útiles en
~/.claude/skills/learned/
Configuración
Editar config.json para personalizar:
{
"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"
],
"ignore_patterns": [
"simple_typos",
"one_time_fixes",
"external_api_issues"
]
}
Tipos de Patrones
| Patrón | Descripción |
|---|---|
error_resolution | Cómo se resolvieron errores específicos |
user_corrections | Patrones de correcciones del usuario |
workarounds | Soluciones a peculiaridades de frameworks/librerías |
debugging_techniques | Enfoques efectivos de depuración |
project_specific | Convenciones específicas del proyecto |
Configuración del Hook
Agregar a tu ~/.claude/settings.json:
{
"hooks": {
"Stop": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/continuous-learning/evaluate-session.sh"
}]
}]
}
}
Por Qué Hook Stop?
- Ligero: Se ejecuta una vez al final de la sesión
- No bloqueante: No agrega latencia a cada mensaje
- Contexto completo: Tiene acceso a la transcripción completa de la sesión
Relacionado
/learn— Extracción manual de patrones a mitad de sesión
Notas de Comparación (Investigación: Ene 2025)
vs Homunculus
Homunculus v2 adopta un enfoque más sofisticado:
| Característica | Nuestro Enfoque | Homunculus v2 |
|---|---|---|
| Observación | Hook Stop (fin de sesión) | Hooks PreToolUse/PostToolUse (100% confiable) |
| Análisis | Contexto principal | Agente en segundo plano (Haiku) |
| Granularidad | Skills completos | "Instintos" atómicos |
| Confianza | Ninguna | Ponderada 0.3-0.9 |
| Evolución | Directamente a skill | Instintos → cluster → skill/comando/agente |
| Compartir | Ninguno | Exportar/importar instintos |
Insight clave de homunculus:
"v1 dependía de skills para observar. Los skills son probabilísticos — se activan ~50-80% del tiempo. v2 usa hooks para la observación (100% confiable) e instintos como unidad atómica de comportamiento aprendido."
Mejoras Potenciales v2
- Aprendizaje basado en instintos — Comportamientos más pequeños y atómicos con puntuación de confianza
- Observador en segundo plano — Agente Haiku analizando en paralelo
- Decaimiento de confianza — Los instintos pierden confianza si son contradichos
- Etiquetado de dominio — code-style, testing, git, debugging, etc.
- Ruta de evolución — Agrupar instintos relacionados en skills/comandos
Ver: docs/continuous-learning-v2-spec.md para la especificación completa.
Frequently asked questions about Continuous Learning
Similar skills
Spring Boot Testing
Master testing techniques for Spring Boot 4 applications.
GitHub Issues
Manage GitHub issues efficiently with MCP tools.
Geofeed Tuner
Optimize your IP geolocation feeds in CSV format.
Batch Files
Master Windows batch scripting for automation and task management.
Adobe Illustrator Scripting
Automate your Illustrator workflows with ExtendScript.
Plugin Structure
Create and organize Claude Code plugins effectively.
