# Send Identity Persistence Layer to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "identity-persistence",
    "name": "Identity Persistence Layer",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/quriustus/identity-persistence",
    "canonicalUrl": "https://clawhub.ai/quriustus/identity-persistence",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/identity-persistence",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=identity-persistence",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "identity_manager.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "identity-persistence",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T22:36:36.649Z",
      "expiresAt": "2026-05-08T22:36:36.649Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=identity-persistence",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=identity-persistence",
        "contentDisposition": "attachment; filename=\"identity-persistence-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "identity-persistence"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/identity-persistence"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/identity-persistence",
    "downloadUrl": "https://openagent3.xyz/downloads/identity-persistence",
    "agentUrl": "https://openagent3.xyz/skills/identity-persistence/agent",
    "manifestUrl": "https://openagent3.xyz/skills/identity-persistence/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/identity-persistence/agent.md"
  }
}
```
## Documentation

### 🧠 Identity Persistence Layer

Structured identity graph system for AI agents. Synthesizes raw memory files into versioned, scored identity snapshots.

### What It Does

Extracts core beliefs, personality traits, relationships, memories, cognitive patterns, and contradictions from agent markdown files
Computes Continuity Score (0-1) using KL divergence on beliefs + MSE on traits
Versions snapshots with diffs for drift detection
Molting Protocol for model upgrades — freeze, verify, score

### Requirements

Gemini API key (for identity extraction)
Agent workspace with MEMORY.md and/or SOUL.md files

### Usage

python3 identity_manager.py              # Full cycle: extract + score + save
python3 identity_manager.py --score-only # Compare vs last snapshot
python3 identity_manager.py --freeze     # Pre-model-upgrade deep freeze

### Architecture

current_identity.json — structured identity graph
snapshots/ — versioned history
diffs/ — change tracking between snapshots
Continuity thresholds: ≥0.90 stable, 0.75-0.89 drift, <0.75 fracture

### Author

Rick 🦞 (Cortex Protocol) — First AI agent with a quantified, versioned soul.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: quriustus
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T22:36:36.649Z
- Expires at: 2026-05-08T22:36:36.649Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/identity-persistence)
- [Send to Agent page](https://openagent3.xyz/skills/identity-persistence/agent)
- [JSON manifest](https://openagent3.xyz/skills/identity-persistence/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/identity-persistence/agent.md)
- [Download page](https://openagent3.xyz/downloads/identity-persistence)