← Back to Skills Marketplace
buzuweidao

Clawdna

by 不足为道 · GitHub ↗ · v0.1.4
cross-platform ✓ Security Clean
315
Downloads
0
Stars
1
Active Installs
5
Versions
Install in OpenClaw
/install clawdna
Description
Generate a public, privacy-safe persona/card/wiki lead from historical behavior when the user explicitly asks to run ClawDNA.
README (SKILL.md)

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
  • /clawdna
  • generate 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:

  1. ~/.openclaw/agents/\x3Cruntime-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}}

  • {{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
Usage Guidance
This skill appears internally consistent with its goal, but it depends on the platform and agent to prompt for and enforce explicit consent before reading local session or memory files. Before installing or using it: (1) verify your platform will prompt you and require explicit approval each time the skill wants to read ~/.openclaw/... or memory files; (2) test the skill on non-sensitive/example data to confirm redaction behavior and that no raw transcripts or sensitive excerpts are returned; (3) be aware the SKILL.md asks for no audit appendix, so you may not get a detailed disclosure of what was redacted — ask for an explicit confirmation message if you need transparency; (4) note a minor metadata mismatch (registry shows v0.1.4 while _meta.json inside is v0.1.2) — prefer the latest published source or ask the author for clarification. If you need stronger guarantees (e.g., proof of redaction or local-only processing), seek a skill that provides verifiable audit logs or runs locally-only with explicit UI consent flows.
Capability Analysis
Type: OpenClaw Skill Name: clawdna Version: 0.1.4 The 'clawdna' skill is designed to generate a privacy-safe persona profile based on an agent's historical interaction history. The instructions in SKILL.md include strong safety and privacy constraints, such as requiring explicit user triggers, requesting consent for local history access, and enforcing data minimization and redaction. The data scope is strictly limited to the agent's own session logs and memory files, with no evidence of malicious intent, data exfiltration, or unauthorized command execution.
Capability Assessment
Purpose & Capability
Name and description (generate privacy-safe persona from historical behavior) align with the instructions: the SKILL.md explains how to index, chunk, extract repeated patterns, redact details, and produce a fixed output template. The listed input locations (agent session files and memory files) are consistent with the stated goal of using historical agent activity.
Instruction Scope
The instructions explicitly permit reading local agent session files (~/.openclaw/agents/<runtime-agent-id>/sessions/*.jsonl) and memory files (memory/*.md, MEMORY.md) but only after explicit user confirmation; they forbid auto-trigger beyond explicit user commands and require redaction and no raw transcript excerpts. This is coherent, but the safety depends on the platform actually enforcing the consent step. Also, the skill directs no audit appendix be returned, which reduces transparency about what was redacted.
Install Mechanism
No install spec or code files; instruction-only skills are lowest-risk for on-disk installs. Nothing will be downloaded or executed by an installer from this package itself.
Credentials
The skill requests no environment variables, credentials, or unusual config paths beyond the allowed-in-scope local files explicitly documented in SKILL.md. The requested data sources are proportionate to the stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable only — appropriate. However, the SKILL.md's reliance on explicit trigger/consent is an instruction-level control; actual enforcement depends on the host platform's trigger & consent UX. Autonomous invocation is platform-default but not expressed as required by the skill.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawdna
  3. After installation, invoke the skill by name or use /clawdna
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.4
clawdna 0.1.4 - Clarified explicit trigger and consent requirements for local history access. - Streamlined extraction and output rules for privacy and safety. - Added preference for user-provided history exports when available. - Refined scope limitations and non-negotiable privacy standards. - Simplified instructions for handling large histories. - Reduced template verbosity and improved language around output requirements.
v0.1.3
clawdna v0.1.3 - Added _meta.json for improved skill metadata. - Refined SKILL.md: Template now uses single-language section labels (output language only), removing previous bilingual headings. - Clarified instruction to avoid bilingual output; section headers are now dynamically set per output language. - No changes to extraction method or core logic.
v0.1.2
- Default processing scope is now "recent window only" unless user explicitly confirms full-history mode. - Data access is more restrictive: only the current agent’s logs are read unless the user requests and confirms otherwise. - New data minimization rule: extract only profile-relevant fields, avoid storing or outputting raw log excerpts. - Installation instructions removed; SKILL.md focuses on usage and privacy rules. - Strengthened rules against speculation and expanded privacy safeguards.
v0.1.1
- Clarified and streamlined usage instructions; now mandates explicit user intent for activation. - Tightened data scope: only checks fixed paths and requires user approval before expanding. - Added stricter prerequisites: `jq` is now absolutely required and prompts user if unavailable. - Simplified and condensed extraction and context-handling sections for clarity. - Output template now includes bilingual section labeling (Chinese/English). - Minor style/language clarifications: avoids rigid phrases, enforces proper noun retention, and fixes output requirements.
v0.1.0
Initial release of ClawDNA: generates privacy-safe, factual wiki profiles for OpenClaw agents using complete interaction history. - Produces standardized, multilingual, privacy-redacted profiles from full agent history. - Analyzes historical logs across all sessions, memory, and relevant metadata. - Strictly avoids speculation; outputs only behavior-verified traits and milestones. - Uses a fixed output template for consistent, user-friendly profiles. - Profiles include lead paragraph, infobox, mapped history, capabilities, representative work (titles only), personality, milestones, and boundaries. - Output is always restricted to one markdown file and redacts all sensitive data.
Metadata
Slug clawdna
Version 0.1.4
License
All-time Installs 1
Active Installs 1
Total Versions 5
Frequently Asked Questions

What is Clawdna?

Generate a public, privacy-safe persona/card/wiki lead from historical behavior when the user explicitly asks to run ClawDNA. It is an AI Agent Skill for Claude Code / OpenClaw, with 315 downloads so far.

How do I install Clawdna?

Run "/install clawdna" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Clawdna free?

Yes, Clawdna is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Clawdna support?

Clawdna is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Clawdna?

It is built and maintained by 不足为道 (@buzuweidao); the current version is v0.1.4.

💬 Comments