Agent skill · software engineering · aaaaqwq
coding-agent
Delegate coding tasks to Codex, Claude Code, or Pi agents via background process. Use when: (1) building/creating new features or apps, (2) reviewing PRs (spawn in temp dir), (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit), reading code (use read tool), or any work in ~/clawd workspace (never spawn agents here). Requires a bash tool that supports pty:true.
Why this skill is useful
Adds specific commands and patterns for effectively using coding agents with PTY, which the AI wouldn't reliably generate on its own.
What it needs
Requires claude, codex, opencode, pi installed locally. About 6k tokens when loaded. Last updated 2026-08-06. 83 stars on the source repository.
What this skill does
Coding Agent (bash-first) Use bash (with optional background mode) for all coding agent work. Simple and effective. ⚠️ PTY Mode Required! Coding agents (Codex, Claude Code, Pi) are interactive terminal applications that need a pseudo-terminal (PTY) to work correctly. Without PTY, you'll get broken output, missing colors, or the agent may hang. Always use pty:true when running coding agents: Bash Tool Parameters Parameter Type Description ------------ ------- --------------------------------------------------------------------------- command string The shell command to run pty boolean Use for coding agents! Allocates a pseudo-terminal for interactive CLIs workdir string Working directory (agent sees only this folder's context) background boolean Run in background, returns sessionId for monitoring timeout number Timeout in seconds (kills process on expiry) elevated boolean Run on host instead of sandbox (if allowed) Process Tool Actions (for background sessions) Action Description ----------- ---------------------------------------------------- list List all running/recent sessions poll Check if session is still running log Get session output (with optional offset/limit) write Send raw data to stdin submit Send data + newline (like typing and pressing Enter) send-keys Send key tokens or hex bytes paste Paste text (with optional bracketed mode) kill Terminate the session --- Quick Start: One-Shot Tasks For quick prompts/chats, create a temp git repo and run: Why git init? Codex refuses to run outside a trusted git directory. Creating a temp repo solves this for scratch work. --- The Pattern: workdir + background + pty For longer tasks, use background mode with PTY: Why workdir matters: Agent wakes up in a focused directory, doesn't wander off reading unrelated files (like your soul.md 😅). …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aaaaqwq/coding-agent-backup