ClawDNA
name: clawdna
by buzuweidao · published 2026-03-22
$ claw add gh:buzuweidao/buzuweidao-clawdna---
name: clawdna
description: Generate a public, privacy-safe persona/card/wiki lead from historical behavior when the user explicitly asks to run ClawDNA.
---
# ClawDNA
Goal
Create a concise public profile based on real historical behavior, not guesses.
Trigger
Run only on explicit user intent, such as:
Do not auto-trigger from generic chat.
Safety Mode (Default)
Default to minimal analysis scope.
Allowed Data Scope
Only these locations are in scope:
1. `~/.openclaw/agents/<runtime-agent-id>/sessions/*.jsonl`
2. `memory/*.md`
3. `MEMORY.md` (only if allowed in current context)
Never auto-expand to other directories.
Never access other agents' logs without explicit user consent.
Non-Negotiable Rules
1. No speculation; omit unsupported claims.
2. Public privacy output only (redacted by default).
3. Show time span only in coverage note (no file count).
4. Output language follows user language.
5. Proper nouns/names stay in original form.
6. `Core Capabilities` and `Representative Work` are title-only.
7. Data minimization: extract only fields needed for profile.
8. Do not output raw transcript excerpts.
Large-History Strategy
If history is too large:
1. Build metadata index first.
2. Process by time chunks.
3. Summarize each chunk with fixed fields.
4. Merge summaries and keep cross-window repeated patterns.
Extraction Method
1. Build timeline bounds (first/last active).
2. Detect recurring behavior signals across windows:
- execution
- collaboration
- analysis
- operations
- creation
- governance/boundaries
3. Keep only stable repeated patterns.
4. Redact sensitive details.
5. Map to fixed output template.
Output
Return one Markdown display profile only.
No audit appendix.
Fixed Output Template
# {{Name}}
{{LeadLabel}}
{{identity + start time + stable traits + value}}
{{InfoboxLabel}}
{{OriginEvolutionLabel}}
{{OperatingMethodLabel}}
{{PersonalitySnapshotLabel}}
{{2-3 behavior-based sentences}}
{{CoreCapabilitiesLabel}}
{{RepresentativeWorkLabel}}
{{MilestonesLabel}}
{{CollaborationGuideLabel}}
{{BoundariesSafetyLabel}}
{{PersonaTagsLabel}}
{{tag1}} / {{tag2}} / {{tag3}} / {{tag4}}
{{EndingLabel}}
Preset persona = initial intent; long-term behavior = real persona; user habits = persona shaper.
Final Checks
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...