Install
openclaw skills install openclaw-coding-agent-playbookDelegate coding tasks to Codex, Claude Code, Pi, or OpenCode from bash with safe launch modes, background monitoring, and repo-isolated review workflows.
openclaw skills install openclaw-coding-agent-playbookUse this skill when you need another coding agent to implement or review changes in a repository.
~/.openclaw for external repo reviews.Codex: use pty:true.Pi: use pty:true.OpenCode: use pty:true.Claude Code: use --print --permission-mode bypassPermissions (no PTY required).Examples:
# Codex (PTY required)
bash pty:true workdir:~/project command:"codex exec --full-auto 'Add request timeout handling to API client and update tests.'"
# Claude Code (print mode, no PTY required)
bash workdir:~/project command:"claude --permission-mode bypassPermissions --print 'Refactor auth middleware and explain risk areas.'"
# OpenCode (PTY required)
bash pty:true workdir:~/project command:"opencode run 'Add retry/backoff for webhook delivery.'"
# Pi (PTY required)
bash pty:true workdir:~/project command:"pi 'Fix failing Vitest suite in src/api and keep behavior unchanged.'"
# Start
bash pty:true workdir:~/project background:true command:"codex exec --full-auto 'Implement issue #142 and run tests.'"
# Monitor output
process action:log sessionId:XXX
# Check running state
process action:poll sessionId:XXX
# Reply when prompted
process action:submit sessionId:XXX data:"yes"
# Stop session
process action:kill sessionId:XXX
Never run PR review in your live OpenClaw repo. Use a temp clone or a worktree.
# Temp clone review
REVIEW_DIR=$(mktemp -d)
git clone https://github.com/org/repo.git "$REVIEW_DIR"
cd "$REVIEW_DIR" && gh pr checkout 130
bash pty:true workdir:"$REVIEW_DIR" command:"codex review --base origin/main"
# Worktree review
git worktree add /tmp/pr-130-review pr-130-branch
bash pty:true workdir:/tmp/pr-130-review command:"codex review --base main"
Task:
- [clear scope]
- [constraints]
- [required checks]
When finished:
1) Summarize changed files and why.
2) Report test/lint commands and outcomes.
3) Run:
openclaw system event --text "Done: [brief result]" --mode now
--full-auto for implementation and conservative flags for review.