Xpersona
O

OpenClaw Coding Agent Playbook

CLAWHUB · Unverified

Delegate coding tasks to Codex, Claude Code, Pi, or OpenCode from bash with safe launch modes, background monitoring, and repo-isolated review workflows. Skill: OpenClaw Coding Agent Playbook Owner: danielsinewe Summary: Delegate coding tasks to Codex, Claude Code, Pi, or OpenCode from bash with safe launch modes, background monitoring, and repo-isolated review workflows. Tags: agents:0.1.1, automation:0.1.0, claude:0.1.1, codex:0.1.1, coding:0.1.1, latest:0.1.1, openclaw:0.1.1, opencode:0.1.1, operations:0.1.1 Version history: v0.1.1 | 2026-04-12T09:34:29.798Z | user

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s176jv075hrkmn3rxtgbyd914583nrry:openclaw-coding-agent-playbook
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-danielsinewe-openclaw-coding-agent-playbook/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

18,145 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: coding-agent
description: Delegate coding tasks to Codex, Claude Code, Pi, or OpenCode from bash with safe launch modes, background monitoring, and repo-isolated review workflows.
metadata: { "openclaw": { "emoji": "🧩", "requires": { "anyBins": ["claude", "codex", "opencode", "pi"] } } }
---

# Coding Agent

Use this skill when you need another coding agent to implement or review changes in a repository.

## Use this for
- Building features that need multi-file edits.
- Large refactors where you want parallel workstreams.
- PR review or issue triage in an isolated checkout.
- Repeatable "run/fix/verify" loops that benefit from background execution.

## Do not use this for
- Tiny one-line edits you can apply directly.
- Read-only code lookup tasks.
- Work inside `~/.openclaw` for external repo reviews.

## Execution mode matrix
- `Codex`: use `pty:true`.
- `Pi`: use `pty:true`.
- `OpenCode`: use `pty:true`.
- `Claude Code`: use `--print --permission-mode bypassPermissions` (no PTY required).

Examples:

```bash
# 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.'"
```

## Background session pattern

```bash
# 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
```

## Safe review workflow
Never run PR review in your live OpenClaw repo. Use a temp clone or a worktree.

```bash
# 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"
```

## Prompt template for long tasks

```text
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
```

## Failure recovery checklist
- If output stalls, poll once before killing.
- If agent asks for missing context, answer directly and continue the same session.
- If the session dies early, relaunch with a tighter prompt

_meta.json

{
  "ownerId": "kn7feta5p1mg5pkezkfsk1ep31812ev2",
  "slug": "openclaw-coding-agent-playbook",
  "version": "0.1.1",
  "publishedAt": 1775986469798
}

skill-card.md

## Description:

Delegate coding tasks to Codex, Claude Code, Pi, or OpenCode from bash with safe launch modes, background monitoring, and repo-isolated review workflows.

This skill is ready for commercial/non-commercial use.

## Publisher:

[danielsinewe](https://clawhub.ai/user/danielsinewe)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineering teams use this skill to delegate implementation, review, refactoring, triage, and verification work to coding agents while keeping sessions scoped and observable.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill recommends bypassed or highly automated permission modes for coding agents that can edit files and run commands.

Mitigation: Supervise delegated sessions, use trusted repositories, prefer disposable worktrees or containers, minimize exposed environment variables, avoid secrets, and choose safer permission modes unless full automation is intentional.

Risk: Delegated coding sessions can affect the active repository when run in the wrong working directory.

Mitigation: Keep each session scoped to one repository and use a temporary clone or worktree for pull request review and high-risk changes.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/danielsinewe/skills/openclaw-coding-agent-playbook)
- [danielsinewe publisher profile](https://clawhub.ai/user/danielsinewe)

## Skill Output:

**Output Type(s):** [Guidance, Markdown, Shell commands, Configuration]

**Output Format:** [Markdown with bash command examples and workflow checklists]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Outputs should be reviewed before execution because delegated agents may edit files or run commands.]

## Skill Version(s):

0.1.1 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to OpenClaw Coding Agent Playbook and adjacent AI workflows.