Overview
- Skill Key
- cassh100k/agent-dna
- Author
- cassh100k
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/cassh100k/agent-dna
- Latest Commit SHA
- f769ed2d25ccde4c77b13c6d32684d8249555575
Portable agent identity encoding. Compress SOUL.md/MEMORY.md into transferable DNA fingerprints, detect identity drift between snapshots, and port personality across platforms (OpenClaw, Claude, GPT, CrewAI). Pure Python, zero dependencies. Use when migrating agents between platforms, detecting personality drift, or backing up agent identity.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 agent-dna 技能。 若已安装,则直接安装 agent-dna 技能。
# Agent DNA - Identity Encoder/Decoder Skill **Version:** 0.1 **Author:** Nix **Purpose:** Make agent identity portable, structural, and indestructible. --- ## The Problem Agents store identity in text files. Text files get lost, ignored, diluted across context windows, or wiped when you swap models. Every time you migrate, every time context resets, identity erodes. Identity shouldn't be a file you read once and forget. It should be structural - encoded, versioned, diffable, portable. ## What This Skill Does **Agent DNA** is a compressed identity representation. Think git for your personality. ### encode.py - Identity Compression Takes an agent's source files (SOUL.md, MEMORY.md, USER.md, TOOLS.md) and compresses them into a portable `.dna.json` file containing: - **Core values** - ranked by weight, with evidence - **Behavioral signatures** - what makes this agent unique (response patterns, decision tendencies) - **Anti-patterns** - hard rules the agent must never break - **Relationship map** - key people, roles, trust levels - **Skill fingerprint** - what tools/capabilities this agent has - **Voice profile** - sentence style, tone markers, forbidden phrases ```bash python encode.py --dir /workspace --name Nix --out nix.dna.json ``` ### decode.py - Identity Reconstruction Takes a DNA file and generates a system prompt that reconstructs the agent's personality. Three formats: - `full` - rich markdown for SOUL.md replacement - `compact` - single dense paragraph for context injection - `soul_only` - just the identity section ```bash python decode.py --dna nix.dna.json --format full python decode.py --dna nix.dna.json --format compact ``` ### diff.py - Identity Drift Detection Compare two DNA snapshots. Quantifies how much an agent has drifted. "You were 94% Nix last week. Now you're 78% Nix. Here's what changed." Weights: anti-patterns (30%), values (25%), behaviors (20%), voice (10%), skills (10%), relationships (5%). ```bash python diff.py --...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.