🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

coding-agent

by @tshogx

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 (sp...

Versionv1.0.0
Installs2
πŸ“‹ Tips & Best Practices

  • PTY is essential for Codex/Pi/OpenCode β€” without it, output breaks or the agent hangs
  • Git repo required for Codex β€” use mktemp -d && git init for scratch work
  • exec is clean β€” codex exec "prompt" runs and exits, perfect for one-shots
  • submit vs write β€” submit sends input + Enter; write sends raw data without newline
  • πŸ”’ Constraints

    1. Right execution mode per agent: Claude Code uses --print --permission-mode bypassPermissions (no PTY); Codex/Pi/OpenCode use pty:true 2. Respect tool choice β€” if the user asks for a specific agent, use it; don't silently substitute 3. Orchestrator mode β€” do not hand-code patches yourself when the task is delegated to an agent 4. Be patient β€” don't kill sessions just because they're slow; check with process:log first 5. Parallel is fine β€” run multiple agents at once for batch work 6. Never start agents in the OpenClaw workspace β€” they'll read soul docs and get confused about who's in charge 7. Never checkout branches in the live OpenClaw project folder β€” that's the running instance


    View on ClawHub
    TERMINAL
    clawhub install tshogx-coding-agent

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’