कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक