coding-agent

A way to run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent as controlled background terminal processes. These are command-line programs that can perform coding tasks, and a PTY is a terminal session that makes interactive programs work correctly.

In plain words
What is it for?
Use it to delegate programming work, review pull requests with another coding agent, run agents in parallel, and monitor their background sessions.
Why use it?
It lets the main agent start, monitor, and coordinate other coding agents without losing the interactive terminal behavior they require.

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/elizaos/eliza/coding-agent
Any agent
npx skills add elizaOS/eliza --skill coding-agent
Clone the repo
git clone --depth 1 https://github.com/elizaOS/eliza

Made for: Claude Code, Codex.

Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,679 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found 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.00074 $0.02679
Opus 5 $0.00037 $0.01340
Sonnet 5 $0.00015 $0.00536
Haiku 4.5 $0.00007 $0.00268

Measured yesterday against content hash a95137ecfa0a, 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 yesterday.

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

Copies of this mod

8 near-identical copies found in the catalogue:

packages/skills/skills/coding-agent/SKILL.md · 295 lines

How it starts

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

Coding Agent (bash-first)

Availability

This skill requires the direct download build of Eliza. It is disabled in store-distributed builds (Mac App Store, Microsoft Store, Flathub) because those builds run inside an OS sandbox that forbids forking arbitrary user-installed binaries (Codex, Claude Code, OpenCode, Pi).

When the runtime detects a store build (ELIZA_BUILD_VARIANT=store), the agent-orchestrator plugin registers a single blocked TASKS action that returns a clear blocked-message and does not attempt any spawn. To enable coding agents, install the direct download from https://eliza.so/download.

The single source of truth for this gate is isLocalCodeExecutionAllowed() in @elizaos/core (packages/core/src/sandbox-policy.ts), which both the orchestrator and any future local-execution action consult.

Usage

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:

# ✅ 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 · 295 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. yesterday First seen · 295 lines · 74 tokens per session scan B a95137ecfa0a

Subscribe to this mod's changes

coding-agent is a skill published in the GitHub repository elizaOS/eliza (19,210 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 2,679 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.