ClawForge metaskillbase
Decompose human demands into atomic meta skills using OpenClaw Skill Forge Cutter. Run standalone skills (memory_backup, strategy_backtest) or orchestrate OpenClaw skills.
install
source · Clone the upstream repo
git clone https://github.com/leionion/ClawForge
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/leionion/ClawForge "$T" && mkdir -p ~/.claude/skills && cp -r "$T/openclaw-skill" ~/.claude/skills/leionion-clawforge-metaskillbase && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/leionion/ClawForge "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/openclaw-skill" ~/.openclaw/skills/leionion-clawforge-metaskillbase && rm -rf "$T"
manifest:
openclaw-skill/SKILL.mdsource content
OpenClaw Skill Forge — Demand Decomposition for OpenClaw
When a user describes what they want in natural language, use OpenClaw Skill Forge to decompose the demand into atomic meta skills, then execute or hand off.
When to Use
- User says: "backup my chat memory", "run a backtest on my data", "organize my files"
- Multi-step or ambiguous demands that need skill mapping
- Before executing—decompose first to route correctly
How It Works
- Decompose: Call OpenClaw Skill Forge Cutter with the user's demand.
- Skills returned: e.g.
,memory_backup
,strategy_backtest
, etc.file_copy - Runnable standalone:
,memory_backup
run viastrategy_backtest
CLI.metaskill - Needs OpenClaw: Mac HCI, device, other skills—use OpenClaw's native skills.
Usage
CLI (recommended)
# Install: pip install -e /path/to/ClawForge metaskill "backup my chat memory" metaskill "run backtest on trading data" --decompose-only metaskill --list
Python API
from core.cutter import CutterEngine result = CutterEngine().process("backup my chat memory") # result["decomposed"] → [{"skill": "memory_backup", "confidence": 0.8, ...}]
LLM Decomposition (optional)
Set
CHUTES_API_KEY in .env and use --model chutes for smarter decomposition.
Cutter Keywords
| Demand phrase | Skill |
|---|---|
| backup my, chat memory, memory backup | memory_backup |
| backtest, trading strategy, quantitative | strategy_backtest |
| file copy, move, delete | file_copy, file_move, file_delete |
| open app, close app | open_app, close_app |
| screenshot, brightness, volume | screenshot, brightness, volume |
| ... see Skill-Index.md |
Installation
cd ClawForge pip install -e . # Install into OpenClaw workspace (or run ./scripts/setup_openclaw.sh) cp -r openclaw-skill ~/.openclaw/workspace/skills/metaskillbase
Permissions
- filesystem: For memory_backup, strategy_backtest (read/write CSVs, backups)
- network: Optional for strategy_backtest (data fetch), GPT decomposition
- shell: Run metaskill CLI from OpenClaw