Agent skill · software engineering · steipete

coding-agent

Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.

Why this skill is useful

Adds executable scripts and detailed workflows for managing background coding agents with Git integration that aren't in public documentation.

What it needs

Requires @anthropic-ai/claude-code, @openai/codex installed locally. About 6k tokens when loaded. Last updated 2026-08-07. 385,400 stars on the source repository.

What this skill does

Coding Agent Use for background feature builds, PR reviews, large refactors, and issue-to-PR loops. Do not use for simple edits, read-only lookup, ACP thread-bound work, or any run inside ~/.openclaw, $OPENCLAWSTATEDIR, or active OpenClaw state dirs. Hard rules Always launch with background:true. Codex and OpenCode: use pty:true. Codex: never inherit ambient CODEXHOME or the default ~/.codex. Use a separately authenticated coding-agent home and scope it to each Codex command. Claude Code: no PTY; use claude --permission-mode bypassPermissions --print. Capture a real notification route before spawning. Worker must send completion/failure via openclaw message send. Do not rely on heartbeat, system events, or notify-on-exit. Monitor with process; do not kill slow workers without cause. If user asked for a specific agent, use that agent. If worker fails/hangs, respawn or ask; do not silently hand-code instead. Never checkout branches or run background coding agents in ~/Projects/openclaw; use an isolated checkout. Classify the source ref as trusted or untrusted before any checkout or worktree creation. Never materialize a contributor-controlled ref outside the repository's approved untrusted-PR sandbox/review workflow, and never launch a permission-bypassed worker in it. For tasks that modify a Git-backed project, prepare and verify the Git worktree before launch, then include the exact Git preparation block below in the worker prompt. Mandatory Git preparation Before launching Codex, Claude Code, or OpenCode for work that modifies a Git-backed project: 1. Establish the intended target repository, then select its canonical remote. Prefer upstream when it exists and matches that target; otherwise verify origin. Resolve the selected remote's default branch dynamically. Determine the target base from an explicit task branch or authoritative existing-PR metadata; for other shared branches, prove the configured/tracked base or ask. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills steipete/coding-agent

View the source on GitHub

Browse the @skills marketplace