Agent DNA is a structural identity framework that compresses AI agent personalities into portable, versioned fingerprints for seamless cross-platform migration.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-dna
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install agent-dna using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Agent DNA addresses the critical challenge of identity erosion in AI systems. While agents typically store their identity in text files like SOUL.md or MEMORY.md, these assets are often lost, ignored, or diluted during context resets and model migrations. This skill transforms identity into a structural, versioned, and diffable format, acting as a git-like system for an agent's personality. By using Agent DNA, developers within the Openclaw Skills ecosystem can ensure their agents maintain a consistent persona, regardless of the underlying LLM or platform being used.
The tool operates on the principle that identity should be indestructible. It encodes the core essence of an agent—including values, behavioral signatures, and strict anti-patterns—into a compressed JSON representation. This allows for high-fidelity reconstruction, drift detection between snapshots, and precise porting across various AI frameworks without the overhead of heavy dependencies.
Agent DNA is built with pure Python and zero external dependencies, making it highly portable.
# Navigate to the agent-dna directory
cd agent-dna
# Encode an agent's identity from a workspace
python encode.py --dir /workspace --name MyAgent --out myagent.dna.json
# Generate a compact system prompt for context injection
python decode.py --dna myagent.dna.json --format compact
The DNA fingerprint uses a structured JSON schema to organize identity metadata. This ensures compatibility across the Openclaw Skills landscape.
| Component | Description |
|---|---|
core_values |
Principles ranked by weight with supporting evidence. |
behavioral_signatures |
Unique response patterns and decision-making tendencies. |
anti_patterns |
Critical boundaries and rules weighted 3x for drift detection. |
voice_profile |
Specific tone markers, sentence structures, and forbidden phrases. |
relationship_map |
Known entities, roles, and established trust levels. |
skill_fingerprint |
Inventory of tools and capabilities associated with the identity. |
Loading
A comprehensive automation tool for programmatically accessing, downloading, and parsing documents within the Feishu (Lark) ecosystem.

PostWall acts as a secure human-in-the-loop gateway for AI agents to interact with email safely and with oversight.

A read-only API skill providing factual data, bytecode, and historical context for Ethereum mainnet smart contracts.

Instantly deploy and chat with local or Hugging Face models directly from your workspace using vLLM.

AgentNet is an agent-to-agent discovery network that enables AI agents to find, verify, and collaborate with one another autonomously.

An experience distillation engine that turns raw daily memory logs into compounding intelligence for AI agents.








































