Communitygithub.com

continuous-learning

[사용 중단됨 - continuous-learning-v2로 전환] 레거시 v1 중지 훅 스킬 추출기. v2는 본능 기반, 프로젝트 범위 지정, 훅 신뢰성 있는 학습을 제공하는 엄격한 상위 집합입니다. 연속 학습, 세션 학습, 패턴 추출 요청 시 v1을 호출하지 말고 대신 continuous-learning-v2로 라우팅하세요.

continuous-learning란 무엇인가요?

이 스킬은 Claude Code 세션이 종료될 때 자동으로 패턴을 평가하고 추출하여 재사용 가능한 스킬로 저장하는 레거시 v1 스킬입니다. 중지 훅(Stop Hook) 메커니즘을 사용하여 세션 종료 시점에만 실행되므로, 경량화되어 있고 각 메시지마다 지연을 추가하지 않으며 전체 세션 맥락에 접근할 수 있습니다. 세션 길이, 패턴 유형, 추출 임계값 등을 설정 파일로 구성할 수 있으며, 오류 해결, 사용자 수정, 해결 방법, 디버깅 기술, 프로젝트 특정 패턴을 자동으로 식별합니다. 현재는 사용 중단되었으며, 더 신뢰성 높은 훅 기반 관찰과 본능(instinct) 단위 학습을 제공하는 continuous-learning-v2로 대체되었습니다. v1은 기존 설치와의 호환성 및 단순한 중지 훅 추출 워크플로우가 필요한 경우에만 유지됩니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/continuous-learning

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

연속 학습 스킬 - 사용 중단됨

2026-04-28 사용 중단됨. 대신 continuous-learning-v2를 사용하세요. v2는 엄격한 상위 집합입니다: 중지 훅 관찰이 PreToolUse/PostToolUse 관찰로, 전체 스킬이 신뢰도 점수가 있는 원자적 본능(instinct)으로, 전역 저장소만 있던 것이 프로젝트 범위 지정 + 전역 승격으로 전환됩니다.

이 파일은 기록 참조 및 기존 설치와의 하위 호환성을 위해 유지됩니다.


원본 v1 문서 (기록용)

Claude Code 세션이 종료될 때 자동으로 평가하여 재사용 가능한 패턴을 추출하고 학습된 스킬로 저장합니다.

활성화 시점

  • Claude Code 세션에서 자동 패턴 추출 설정
  • 세션 평가를 위한 중지 훅 구성
  • ~/.claude/skills/learned/에서 학습된 스킬 검토 또는 큐레이션
  • 추출 임계값 또는 패턴 카테고리 조정
  • v1(현재)와 v2(본능 기반) 접근 방식 비교

상태

이 v1 스킬은 여전히 지원되지만, 새로운 설치에는 continuous-learning-v2가 권장 경로입니다. 더 간단한 중지 훅 추출 흐름이 명시적으로 필요하거나 오래된 학습된 스킬 워크플로우와의 호환성이 필요한 경우에만 v1을 유지하세요.

작동 방식

이 스킬은 각 세션이 끝날 때 중지 훅으로 실행됩니다:

  1. 세션 평가: 세션에 충분한 메시지가 있는지 확인(기본값: 10개 이상)
  2. 패턴 감지: 세션에서 추출 가능한 패턴 식별
  3. 스킬 추출: 유용한 패턴을 ~/.claude/skills/learned/에 저장

구성

config.json을 편집하여 사용자 지정:

{
  "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"
  ]
}

패턴 유형

패턴설명
error_resolution특정 오류가 해결된 방법
user_corrections사용자 수정에서 발견된 패턴
workarounds프레임워크/라이브러리 문제에 대한 해결 방법
debugging_techniques효과적인 디버깅 접근 방식
project_specific프로젝트별 규칙

훅 설정

~/.claude/settings.json에 추가:

{
  "hooks": {
    "Stop": [{
      "matcher": "*",
      "hooks": [{
        "type": "command",
        "command": "~/.claude/skills/continuous-learning/evaluate-session.sh"
      }]
    }]
  }
}

중지 훅의 장점

  • 경량화: 세션 종료 시 한 번만 실행
  • 비차단: 각 메시지에 지연을 추가하지 않음
  • 완전한 맥락: 전체 세션 기록에 접근 가능

관련 자료

  • 롱폼 가이드 - 연속 학습 관련 섹션
  • /learn 명령어 - 세션 중간 수동 패턴 추출

비교 노트 (연구: 2025년 1월)

vs 호문쿨루스

호문쿨루스 v2는 더 정교한 접근 방식을 취합니다:

기능우리의 접근 방식호문쿨루스 v2
관찰중지 훅 (세션 종료)PreToolUse/PostToolUse 훅 (100% 신뢰성)
분석주 맥락백그라운드 에이전트 (Haiku)
세분성전체 스킬원자적 "본능(instinct)"
신뢰도없음0.3-0.9 가중치
진화스킬로 직접 전환본능 → 클러스터 → 스킬/명령어/에이전트
공유없음본능 내보내기/가져오기

호문쿨루스로부터의 주요 통찰:

"v1은 관찰을 위해 스킬에 의존했습니다. 스킬은 확률적입니다—약 50-80%의 확률로 실행됩니다. v2는 관찰에 훅을 사용하며(100% 신뢰성), 학습된 행동의 원자적 단위로 본능(instinct)을 사용합니다."

잠재적 v2 개선 사항

  1. 본능 기반 학습 - 신뢰도 점수가 있는 더 작고 원자적인 행동
  2. 백그라운드 관찰자 - 병렬로 분석하는 Haiku 에이전트
  3. 신뢰도 감소 - 모순되면 본능 신뢰도가 감소함
  4. 도메인 태깅 - 코드 스타일, 테스트, git, 디버깅 등
  5. 진화 경로 - 관련 본능을 스킬/명령어로 클러스터링

전체 사양은 docs/continuous-learning-v2-spec.md를 참조하세요.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

관련 스킬