majiang213/openclaw-mas/cmd-evolve
Claude Code and agent skill by majiang213/openclaw-mas
- community
Checking that the SKILL.md file is still in the repository.
Cluster MEMORY.md entries by theme and optionally generate SKILL.md drafts.
Install
npx vskill@latest install majiang213/openclaw-mas/cmd-evolveSKILL.md
The same SKILL.md was published earlier as majiang213/openclaw-mas/cmd-evolve.
Project Path
The first argument is the project path. Before doing anything else:
- Extract the project path from the first argument
- Verify the path exists
- Work within that directory for all file operations and shell commands
Evolve — Memory Clustering and Skill Generation
Reads MEMORY.md, groups related sections by theme, and identifies which clusters are strong enough candidates to become reusable skills. With --generate, writes SKILL.md drafts into the project's skills/ directory.
Usage
What to Do
Step 1: Read MEMORY.md
Read ~/.openclaw/workspace-main/MEMORY.md. Parse all ##-level sections — each section has a heading and a content block.
If MEMORY.md is empty or has fewer than 3 sections, report: "Not enough memory entries to cluster. Add more with /skill cmd_promote." Stop here.
Step 2: Surface recent short-term recalls
Include any surfaced recalls alongside MEMORY.md sections in the analysis pool.
Step 3: Cluster by theme
Group sections into thematic clusters using:
- Trigger similarity: sections that activate under similar conditions
- Domain overlap: sections touching the same technical area (testing, security, build, etc.)
- Sequential relationship: sections describing steps in a multi-step process
For each cluster, determine:
- Cluster name (descriptive theme)
- Member sections (list of
##headings) - Section count
- Suggested output type:
- command — cluster describes a user-invoked, multi-step workflow
- skill — cluster describes an automatic, pattern-matched behavior
Single-section entries: note them but do not generate from them.
Step 4: Display analysis
Step 5: If --generate is NOT passed
Suggest next steps:
Stop here.
Step 6: If --generate IS passed
For each cluster with 2 or more sections:
- Derive a skill name: lowercase, underscores only, max 32 chars
(e.g. "Adding Database Tables" → add_database_table)
- Output path:
<project-path>/skills/<skill-name>/SKILL.md
Create the directory if it does not exist.
- Write the SKILL.md draft:
- After writing each draft:
`` Generated: <project-path>/skills/<skill-name>/SKILL.md ``
- Final report:
``` Generated <N> SKILL.md drafts in <project-path>/skills/
Next steps:
- Review each draft and refine the workflow steps
- Remove evolved_from and generated frontmatter keys before deploying
- Install to ~/.openclaw/skills/ when ready
```
Notes
- Generated files are drafts — they capture the theme but need human review
- cmd_evolve is read-only except for --generate which writes to <project-path>/skills/
- Single-section entries are shown in analysis but never generate a SKILL.md
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cmd_evolve/SKILL.md
Popularity
- Repository stars
- 5
- Repository forks
- 1
- 7-day trend score
- 9
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/majiang213/openclaw-mas/cmd-evolve)