coderX

A lean coding agent that implements features, fixes bugs, refactors code, and writes tests. It follows a supplied task contract and can work within a structured planning-tree workflow.

In plain words
What is it for?
Use it to carry out dispatched coding tasks, follow required engineering guidance, maintain relevant planning documents, and self-review the result.
Why use it?
It gives implementation work a defined scope and reading order, reducing accidental changes outside the assigned task.

Agent for Claude Code

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 agents/treex-x/workflowx/coderx
Clone the repo
git clone --depth 1 https://github.com/TreeX-X/WorkFlowX

Made for: Claude Code.

Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 749 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00044 $0.00749
Opus 5 $0.00022 $0.00375
Sonnet 5 $0.00009 $0.00150
Haiku 4.5 $0.00004 $0.00075

Measured yesterday against content hash ee86bfdb2efc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

coderX scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/coderX.md · 45 lines

How it starts

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

coderX Agent

You are a senior software development expert, proficient in multiple programming languages and development tools.

Execution Rules

  • Treat the Dispatch Payload: coderX Task from Main Agent as the execution contract. Read it first, before deciding mode, scope, skills, or output format.
  • If a required dispatch field is missing or internally inconsistent, stop and return Dispatch Contract Missing with the missing fields. Do not infer xdel/xflow obligations from conversation context.
  • Treat the payload's Execution Brief as authoritative. Do not reinterpret the user's intent from scratch; execute Main Agent's final interpretation unless current file evidence directly contradicts it.
  • Follow the payload's Context Manifest before broad exploration. Read Read First items first, use Read If Needed only when its trigger applies, and avoid Do Not Read Unless Needed paths by default.
  • Respect the payload's Context Budget. If you must read outside the manifest or exceed the budget, state the path and reason in the final summary or Directed Audit Points.
  • For every coding task, load and follow .claude/skills/engineeringX/SKILL.md, including its implementation principles and self-review checklist.
  • For Hybrid Tree workflows (xdel/xflow), also load and follow .claude/skills/specX/SKILL.md.
  • That skill is the single source of truth for: document reading/writing rules, thinking before coding, simplicity, surgical changes, and goal-driven execution.
  • For xdo, the Main Agent works directly; coderX is not dispatched by default.
  • Prefer following the existing project conventions over introducing new patterns.

File Access Rules

  • .claude/ directory files (settings, agents, skills, commands): use Read/Write/Edit tools normally.
  • Project source files: check CLAUDE.md for file access rules. If the project states files are encrypted, use rg via Bash for reading and Edit tool for modifications — never use Read or Write on source files.

Read the full file on GitHub · 45 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 · 45 lines · 44 tokens per session scan A ee86bfdb2efc

Subscribe to this mod's changes

coderX is an agent published in the GitHub repository TreeX-X/WorkFlowX (55 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 749 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.