← 返回 Skills 市场
buzuweidao

Clawdna

作者 不足为道 · GitHub ↗ · v0.1.4
cross-platform ✓ 安全检测通过
315
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install clawdna
功能描述
Generate a public, privacy-safe persona/card/wiki lead from historical behavior when the user explicitly asks to run ClawDNA.
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawdna
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawdna 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug clawdna
版本 0.1.4
许可证
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Clawdna 是什么?

Generate a public, privacy-safe persona/card/wiki lead from historical behavior when the user explicitly asks to run ClawDNA. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 315 次。

如何安装 Clawdna?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawdna」即可一键安装,无需额外配置。

Clawdna 是免费的吗?

是的,Clawdna 完全免费(开源免费),可自由下载、安装和使用。

Clawdna 支持哪些平台?

Clawdna 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clawdna?

由 不足为道(@buzuweidao)开发并维护,当前版本 v0.1.4。

💬 留言讨论