Use OpenClaw as a subagent. Lets the main agent prompt OpenClaw from the terminal in headless mode with the `openclaw agent exec` command, and send the goal, the decisions and the scope with the task. Use when the user asks to delegate work to OpenClaw, when a task needs a second independent agent, or when a plan needs a fresh perspective.
安装
npx skills add amirkiarafiei/subagent-cli-skills --skill openclaw-clinpx skills add amirkiarafiei/subagent-cli-skills --skill openclaw-cli -a claude-code -gnpx skills add amirkiarafiei/subagent-cli-skills --skill openclaw-cli -a codex -ggemini skills install https://github.com/amirkiarafiei/subagent-cli-skills.git --path skills/openclaw-cligh skill install amirkiarafiei/subagent-cli-skills openclaw-cligit clone --depth 1 https://github.com/amirkiarafiei/subagent-cli-skills /tmp/amirkiarafiei__subagent-cli-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/amirkiarafiei__subagent-cli-skills/skills/openclaw-cli ~/.claude/skills/openclaw-cli # Claude Code
cp -R /tmp/amirkiarafiei__subagent-cli-skills/skills/openclaw-cli ~/.agents/skills/openclaw-cli # Codex, Cursor, Gemini CLI, Copilot, OpenCode