تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

identity-persistence

بواسطة quriustus

Coding Agents & IDEs
243التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Structured identity graph system for AI agents.

الوصف

ما الذي تفعله هذه المهارة

Structured identity graph system for AI agents. Reads agent memory and soul files, extracts beliefs, traits, relationships, and contradictions, then produces versioned snapshots with a numeric continuity score. Tracks identity drift over time and supports a freeze protocol before model upgrades.

Quantifies identity stability with a scored metric (KL divergence + MSE) rather than relying on qualitative inspection of raw memory files.

متى تستخدمها

  • Tracking belief drift across agent versions
  • Freezing agent identity before a model upgrade
  • Comparing personality trait snapshots between runs
  • Detecting continuity fractures in long-running agents
  • Auditing how an agent's core values shift over time

مثال على سير العمل

الإدخال

User asks: Run a full identity cycle on my agent

الوكيل
  1. 1

    Reads MEMORY.md and SOUL.md from the agent workspace

  2. 2

    Calls Gemini API to extract beliefs, traits, relationships, cognitive patterns, and contradictions

  3. 3

    Computes Continuity Score using KL divergence on beliefs and MSE on traits

  4. 4

    Saves structured identity graph to current_identity.json

  5. 5

    Writes versioned snapshot and diff to snapshots/ and diffs/

الإخراج

Versioned identity snapshot with a continuity score, e.g. 0.87 (drift range: 0.75-0.89)

المتطلبات

  • Gemini API key

التثبيت

clawhub install quriustus/identity-persistence

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط