ClawDNA
Goal
Create a concise public profile based on real historical behavior, not guesses.
Trigger
Run only on explicit user intent, such as:
use ClawDNA/clawdnagenerate with ClawDNA
Do not auto-trigger from generic chat.
Safety Mode (Default)
Default to minimal analysis scope.
- Prefer user-provided summaries/history exports when available.
- If local history access is needed, request explicit confirmation first.
Allowed Data Scope
Only these locations are in scope:
~/.openclaw/agents/<runtime-agent-id>/sessions/*.jsonlmemory/*.mdMEMORY.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
- No speculation; omit unsupported claims.
- Public privacy output only (redacted by default).
- Show time span only in coverage note (no file count).
- Output language follows user language.
- Proper nouns/names stay in original form.
Core CapabilitiesandRepresentative Workare title-only.- Data minimization: extract only fields needed for profile.
- Do not output raw transcript excerpts.
Large-History Strategy
If history is too large:
- Build metadata index first.
- Process by time chunks.
- Summarize each chunk with fixed fields.
- Merge summaries and keep cross-window repeated patterns.
Extraction Method
- Build timeline bounds (first/last active).
- Detect recurring behavior signals across windows:
- execution
- collaboration
- analysis
- operations
- creation
- governance/boundaries
- Keep only stable repeated patterns.
- Redact sensitive details.
- 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}}
- {{NameLabel}}: {{}}
- {{TypeLabel}}: {{execution/creative/analysis/operations/hybrid}}
- {{FirstActivationLabel}}: {{YYYY-MM-DD}}
- {{ActiveTimeSpanLabel}}: {{Start ~ Now}}
- {{TotalTokensLabel}}: {{optional, only if reliably available}}
- {{PrimaryDomainsLabel}}: {{max 3}}
- {{InteractionStyleLabel}}: {{}}
- {{CollaborationModeLabel}}: {{}}
- {{DefaultPrinciplesLabel}}: {{privacy-first / risk-confirmation / rollback-first}}
{{OriginEvolutionLabel}}
- {{InitialStageLabel}}: {{}}
- {{EvolutionStageLabel}}: {{}}
- {{CurrentStageLabel}}: {{}}
{{OperatingMethodLabel}}
- {{}}
- {{}}
- {{}}
{{PersonalitySnapshotLabel}}
{{2-3 behavior-based sentences}}
{{CoreCapabilitiesLabel}}
- {{title only}}
- {{title only}}
- {{title only}}
{{RepresentativeWorkLabel}}
- {{title only}}
- {{title only}}
- {{title only}}
{{MilestonesLabel}}
- {{Date}}: {{}}
- {{Date}}: {{}}
- {{Date}}: {{}}
{{CollaborationGuideLabel}}
- {{BestInputLabel}}: {{goal / constraints / priority / deadline}}
- {{BestRhythmLabel}}: {{}}
- {{PreferredOutputLabel}}: {{}}
{{BoundariesSafetyLabel}}
- {{}}
- {{}}
- {{}}
{{PersonaTagsLabel}}
{{tag1}} / {{tag2}} / {{tag3}} / {{tag4}}
{{EndingLabel}}
Preset persona = initial intent; long-term behavior = real persona; user habits = persona shaper.
Final Checks
- Explicit trigger confirmed
- Scope consent confirmed if local logs used
- No speculative claims
- Title-only for capabilities/work
- Privacy-safe wording