coding-agent

A way to delegate substantial coding work to Codex, Claude Code, or Pi agents through background processes. It is intended for new features, large refactors, codebase exploration, and pull-request reviews.

In plain words
What is it for?
Building features or apps, reviewing pull requests in a temporary directory, refactoring large codebases, and running iterative tasks that need file exploration.
Why use it?
It lets longer or broader coding tasks run with dedicated agents while keeping simple edits separate from heavyweight workflows.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/seanhogg/builderforce.ai/coding-agent
Any agent
npx skills add SeanHogg/Builderforce.ai --skill coding-agent
Clone the repo
git clone --depth 1 https://github.com/SeanHogg/Builderforce.ai

Made for: Claude Code, Codex.

Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,907 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin 81% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00108 $0.02907
Opus 5 $0.00054 $0.01453
Sonnet 5 $0.00022 $0.00581
Haiku 4.5 $0.00011 $0.00291

Measured 2d ago against content hash 6f43af2b375e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

coding-agent scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**Model:** `gpt-5.2-codex` is the default (set in ~/.codex/config.toml)
Origin

This is a copy

81% identical to coding-agent — 62 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agent-runtime/skills/coding-agent/SKILL.md · 305 lines

How it starts

The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Coding Agent (bash-first)

Use bash (with optional background mode) for all coding agent work. Simple and effective.

Dependencies

This skill depends on the github skill (declared via requires.skills: ["github"]). The runtime auto-includes github whenever coding-agent is active, and will mark coding-agent unavailable if github's own requirement (gh CLI) is not satisfied. Use the github skill for PR/issue/CI operations — this skill drives the code edits.

Repo Preparation (managed — do not hand-roll)

Note: When a coding agent runs against a repo-bound ticket or dispatch, the runtime prepares the workspace for you through a single modular repo-sync strategy (src/infra/repo-sync.ts) — you do not clone or "check if it's the latest code" by hand:

  • Per-dispatch runs get a fresh shallow clone of the latest default branch on a new working branch.
  • Per-ticket runs reuse one shared workspace: it is cloned once, then refreshed to the latest default branch on reuse only when the tree is clean (uncommitted WIP from a prior agent is preserved, never clobbered), and the ticket branch is checked out idempotently.

Only fall back to manual git clone / mktemp -d && git init for scratch/one-shot work that is NOT tied to a ticket or dispatch (see Quick Start below).

⚠️ 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:

# ✅ Correct - with PTY
bash pty:true command:"codex exec 'Your prompt'"

# ❌ Wrong - no PTY, agent may break
bash command:"codex exec 'Your prompt'"

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)

Read the full file on GitHub · 305 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 305 lines · 108 tokens per session scan B 6f43af2b375e

Subscribe to this mod's changes

coding-agent is a skill published in the GitHub repository SeanHogg/Builderforce.ai (5 stars, last pushed 2d ago), licensed MIT. It adds 108 tokens to every session and 2,907 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 81% identical to coding-agent, differing in 62 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens