跳到正文
TakoAPI
返回技能列表

identity-persistence

由 quriustus 提供

Coding Agents & IDEs
243下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接