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, file_copy, etc.
- Runnable standalone:
memory_backup, strategy_backtest run via metaskill CLI.
- 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
1---2name: metaskillbase3description: Decompose human demands into atomic meta skills using OpenClaw Skill Forge Cutter. Run standalone skills (memory_backup, strategy_backtest) or orchestrate OpenClaw skills.4---56# OpenClaw Skill Forge — Demand Decomposition for OpenClaw78When 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.910## When to Use1112- User says: "backup my chat memory", "run a backtest on my data", "organize my files"13- Multi-step or ambiguous demands that need skill mapping14- Before executing—decompose first to route correctly1516## How It Works17181. **Decompose**: Call OpenClaw Skill Forge Cutter with the user's demand.192. **Skills returned**: e.g. `memory_backup`, `strategy_backtest`, `file_copy`, etc.203. **Runnable standalone**: `memory_backup`, `strategy_backtest` run via `metaskill` CLI.214. **Needs OpenClaw**: Mac HCI, device, other skills—use OpenClaw's native skills.2223## Usage2425### CLI (recommended)2627```bash28# Install: pip install -e /path/to/ClawForge29metaskill "backup my chat memory"30metaskill "run backtest on trading data" --decompose-only31metaskill --list32```3334### Python API3536```python37from core.cutter import CutterEngine38result = CutterEngine().process("backup my chat memory")39# result["decomposed"] → [{"skill": "memory_backup", "confidence": 0.8, ...}]40```4142### LLM Decomposition (optional)4344Set `CHUTES_API_KEY` in .env and use `--model chutes` for smarter decomposition.4546## Cutter Keywords4748| Demand phrase | Skill |49|---------------|-------|50| backup my, chat memory, memory backup | memory_backup |51| backtest, trading strategy, quantitative | strategy_backtest |52| file copy, move, delete | file_copy, file_move, file_delete |53| open app, close app | open_app, close_app |54| screenshot, brightness, volume | screenshot, brightness, volume |55| ... see Skill-Index.md |5657## Installation5859```bash60cd ClawForge61pip install -e .6263# Install into OpenClaw workspace (or run ./scripts/setup_openclaw.sh)64cp -r openclaw-skill ~/.openclaw/workspace/skills/metaskillbase65```6667## Permissions6869- **filesystem**: For memory_backup, strategy_backtest (read/write CSVs, backups)70- **network**: Optional for strategy_backtest (data fetch), GPT decomposition71- **shell**: Run metaskill CLI from OpenClaw