Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
sync skill updates
What This Skill Does
Delegates coding tasks to local AI CLI engines — Claude Code, Codex CLI, or Gemini CLI — using PTY-safe execution inside isolated git worktrees. Maps project workspaces by key so tasks can be routed repeatedly without re-specifying paths. Agents run in the background by default, with progress updates in sparse or live mode.
Isolating each task in a dedicated git worktree prevents the coding agent from modifying the primary checkout or reading unrelated files.
When to use it
- Implement a tracked issue using Claude Code in an isolated branch
- Refactor a module via Codex CLI scoped to a registered project workspace
- Review a pull request in a temporary git worktree without touching the live checkout
- Dispatch a Gemini CLI coding task and monitor it with sparse background updates
- Register a new project path in MEMORY.md and immediately queue an implementation task
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: preq: implement PROJ-42 using Claude Code
- 1Resolves the project path for key PROJ-42 from MEMORY.md
- 2Creates a git worktree at /tmp/openclaw-worktrees/proj/preqstation-proj-42
- 3Renders the structured prompt template with task ID, branch name, and objective
- 4Launches claude with pty:true and background:true scoped to the worktree
- 5Polls the session and reports a short completion summary when the agent finishes
completed: PROJ-42 via claude at /tmp/openclaw-worktrees/proj/preqstation-proj-42
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.