johnalbertini14-glitch/openclaw-skills/cli-worker
Claude Code and agent skill by johnalbertini14-glitch/openclaw-skills
- community
Checking that the SKILL.md file is still in the repository.
Delegates coding tasks to Kimi CLI agents in isolated git worktrees. Use when the user wants to delegate work to Kimi, run a headless task, or run an isolated coding task in parallel. Requires Kimi CLI installed and authenticated (kimi /login).
Install
npx vskill@latest install johnalbertini14-glitch/openclaw-skills/cli-workerSKILL.md
The same SKILL.md was published earlier as johnalbertini14-glitch/openclaw-skills/cli-worker.
CLI Worker Skill (Kimi CLI)
When to use
- User asks to delegate a coding task to Kimi or a CLI worker
- Isolated coding task that should run in its own worktree (no git conflicts)
- Parallel work: run multiple tasks without blocking the main agent
- Headless task: run Kimi CLI non-interactively from OpenClaw
Delegation: prefer CLI over sessions_spawn
For a single coding task, use the CLI so the task actually runs:
- Do:
cli-worker execute "Your task prompt"(and optionally--constraint/--success). This runs Kimi CLI in a worktree and returns output. - Avoid: Using
sessions_spawnto delegate to a "sub-agent" for the same kind of task. Spawn is known to sometimes create a session that never processes (0 messages). Usesessions_spawnonly when you need an ongoing sub-agent conversation with multiple back-and-forth orsessions_send.
After any spawn, verify within ~30s: sessions_list with kinds: ["subagent"] and/or sessions_history on the child session; if messages stay 0, treat as failed and retry with cli-worker execute instead.
Prerequisites
You must install and authenticate the CLI yourself before using this skill. This skill does not store or use any credentials.
- Kimi CLI installed (
uv tool install kimi-clior install script from code.kimi.com) - Authenticated: run
kimithen/loginin the REPL (user must complete OAuth; cannot be automated)
Verify with: cli-worker verify
How to invoke
Merge and cleanup
After a task completes, decide whether to keep or discard the work:
- To keep the work: From the main repo (e.g., on
main), run:
``bash git merge openclaw/<taskId> cli-worker worktree remove <taskId> ``
- To discard: Run
cli-worker worktree remove <taskId>directly, or rely oncli-worker cleanup --older-than N.
Install
- CLI (required for execute/verify): Must be on PATH where the agent runs. From the repo:
npm install && npm run build && npm link. (From npm:npm install -g @sqncr/openclaw-cli-agent-skill.) If the agent gets "command not found", runnpm linkfrom the repo and restart the gateway. - Skill discovery: From the repo run
npm run install-skillto symlink into~/.openclaw/skills/cli-worker. Restart gateway or new session after that.
OpenClaw integration
- Symlink or copy
skills/cli-worker/to~/.openclaw/skills/cli-worker/so agents can discover it - Optional config:
~/.openclaw/openclaw.jsonwithworktree.basePathfor worktree location
Security
- Security scanPassed, 90 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/quratus/cli-worker/SKILL.md
Popularity
- 7-day trend score
- 0
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/johnalbertini14-glitch/openclaw-skills/cli-worker)