Agent skill · software engineering · sundial-org
coding-agent
Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.
Why this skill is useful
Adds executable scripts for running multiple coding agents in a controlled environment, enhancing automation capabilities.
What it needs
Requires claude, codex, opencode, pi installed locally. About 5k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
Coding Agent (background-first) Use bash background mode for non-interactive coding work. For interactive coding sessions, use the tmux skill (always, except very simple one-shot prompts). The Pattern: workdir + background Why workdir matters: Agent wakes up in a focused directory, doesn't wander off reading unrelated files (like your soul.md 😅). --- Codex CLI Model: gpt-5.2-codex is the default (set in ~/.codex/config.toml) Building/Creating (use --full-auto or --yolo) Reviewing PRs (vanilla, no flags) ⚠️ CRITICAL: Never review PRs in Clawdbot's own project folder! Either use the project where the PR is submitted (if it's NOT ~/Projects/clawdbot) Or clone to a temp folder first Why? Checking out branches in the running Clawdbot repo can break the live instance! Batch PR Reviews (parallel army!) Tips for PR Reviews Fetch refs first: git fetch origin '+refs/pull//head:refs/remotes/origin/pr/' Use git diff: Tell Codex to use git diff origin/main...origin/pr/XX Don't checkout: Multiple parallel reviews = don't let them change branches Post results: Use gh pr comment to post reviews to GitHub --- Claude Code --- OpenCode --- Pi Coding Agent --- Pi flags (common) --print / -p: non-interactive; runs prompt and exits. --provider <name>: pick provider (default: google). --model <id>: pick model (default: gemini-2.5-flash). --api-key <key>: override API key (defaults to env vars). Examples: --- tmux (interactive sessions) Use the tmux skill for interactive coding sessions (always, except very simple one-shot prompts). Prefer bash background mode for non-interactive runs. --- Parallel Issue Fixing with git worktrees + tmux For fixing multiple issues in parallel, use git worktrees (isolated branches) + tmux sessions: Why worktrees? Each Codex works in isolated branch, no conflicts. Can run 5+ parallel fixes! Why tmux over bash background? Codex is interactive — needs TTY for proper output. tmux provides persistent sessions with full history capture. --- ⚠️ Rules 1. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/coding-agent