Install
openclaw skills install safe-skill-evolverSafely create, improve, audit, and refactor OpenClaw skills by analyzing and suggesting diffs with user-confirmed application only.
openclaw skills install safe-skill-evolverA safe, diff-based skill builder and optimizer for OpenClaw.
NEVER applies changes automatically. Always suggests diffs and waits for explicit user confirmation.
Use this skill when the user wants to:
Every operation follows this workflow:
ANALYZE → SUGGEST → REVIEW → CONFIRM → APPLY
A valid OpenClaw skill requires:
| Component | Required | Description |
|---|---|---|
SKILL.md | ✅ Yes | Core definition: triggers, workflow, safety rules, examples |
scripts/ | ⚪ Optional | Helper scripts (Python, PowerShell, JS) |
templates/ | ⚪ Optional | Reusable templates for generating new skills |
references/ | ⚪ Optional | External docs, patterns, examples referenced by SKILL.md |
README.md | ⚪ Optional | Human-friendly overview for ClawHub publishing |
LICENSE | ⚪ Optional | License file for distribution |
# Skill Name
## When to Use
[Clear trigger conditions]
## Core Principles
[Safety rules, boundaries]
## Workflow
[Step-by-step process]
## Tools / Scripts
[Reference to helper scripts]
## Examples
[Concrete usage examples]
## Safety & Boundaries
[What NOT to do]
Trigger: User says "create skill for X", "build a skill that does Y", "new SKILL.md for Z"
Steps:
Gather Requirements
Select or Design Template
templates/basic_skill.mdtemplates/tool_skill.mdtemplates/workflow_skill.mdGenerate Draft
Present Diff
Apply on Confirm
<skill-name>/SKILL.mdscripts/, templates/) if neededTrigger: User says "improve skill X", "optimize this skill", "skill Y has errors", "evolve skill Z"
Steps:
Analyze Current State
SKILL.mdERRORS.md or session logsIdentify Improvement Opportunities
| Category | What to Check |
|---|---|
| Triggers | Are trigger conditions clear and complete? |
| Workflow | Is the step-by-step process logical and safe? |
| Safety | Are boundaries explicit? Is auto-write prevented? |
| Examples | Are there concrete, realistic usage examples? |
| Tools | Are referenced scripts still valid and secure? |
| Format | Follows OpenClaw SKILL.md conventions? |
Generate Diff
before → after blocksReview with User
Apply on Confirm
SKILL.md (backup old version)Trigger: User says "review this skill", "audit skill X", "is this skill safe?"
Steps:
When auditing or improving a skill, verify:
SKILL.md exists and is non-emptyUse the templates in templates/ directory:
basic_skill.md — Simple knowledge/pattern skill (no scripts)tool_skill.md — Skill wrapping scripts or external toolsworkflow_skill.md — Multi-step process skill with decision treesevolver_task.md — Task template for recording improvement opportunitiesscripts/analyze_skill.pyReads a SKILL.md and returns structured analysis:
scripts/generate_diff.pyCompares two SKILL.md versions and outputs a human-readable diff.
scripts/validate_skill.pyChecks a skill directory against the Quality Checklist above.
LEARNINGS.md or session notesUser: "Ich brauch einen Skill für GPU-Transkription mit faster-whisper"
Skill Evolver:
tool_skill.md templategpu-transcribe anlegen?"gpu-transcribe/SKILL.md and reports successUser: "Der paperclip-skill startet manchmal Embedded-Postgres, obwohl externe DB konfiguriert ist"
Skill Evolver:
DATABASE_URL before fallback to embeddedUser: "Kannst du den evolver-skill von ClawHub auditen?"
Skill Evolver: