본문으로 건너뛰기
TakoAPI
스킬로 돌아가기
—아직 평가 없음
내 평가

요약

Self-reflection engine for AI agents.

설명

이 스킬이 하는 일

Extracts patterns from AI agent session transcripts into a weighted knowledge graph. Repeated insights strengthen over time through Hebbian reinforcement, while unused ones decay. Compiles a token-budgeted summary called the metacognition lens for use in future sessions.

Persists cross-session learning with weighted decay, avoiding the loss of accumulated context that comes with static system prompts or per-session memory alone.

사용 시점

  • Identifying recurring mistakes an agent makes across sessions
  • Tracking user communication preferences over time
  • Automatically pruning outdated or weakened beliefs via decay
  • Discovering higher-level principles from specific session events
  • Running scheduled self-reflection cycles on a cron timer

예시 워크플로

입력

User asks: run the metacognition integration cycle

에이전트
  1. 1

    Run python3 scripts/metacognition.py decay to prune weak entries

  2. 2

    Read recent session transcripts using sessions_list and sessions_history

  3. 3

    Analyze conversation for recurring patterns, relationship signals, and confidence mismatches

  4. 4

    Add 1-3 principle-level insights with typed categories such as overrides, decisions, or curiosities

  5. 5

    Run reweave then compile to rebuild graph connections and regenerate the metacognition lens

출력

Updated metacognition-lens.md with reinforced insights and newly extracted principles, ready for injection into the next session context

설치

clawhub install meimakes/metacognition

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크