WorkFlowX: Agent for Claude Code

.claude/agents/coderX.md

coderX is an agent for Claude Code from TreeX-X/WorkFlowX. It costs 31 tokens per session (327 once invoked), scanned A, original, MIT.

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

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; names the TodoWrite tool.

This is TreeX-X/WorkFlowX's own configuration. It tells Claude Code how to work on WorkFlowX itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything WorkFlowX configures →

Part of the workflowx plugin — 9 skills, 5 commands, 4 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to TreeX-X/WorkFlowX. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TreeX-X/WorkFlowX/main/.claude/agents/coderX.md
Clone the repo
git clone --depth 1 https://github.com/TreeX-X/WorkFlowX

Made for: Claude Code.

Or install workflowx, the plugin that ships this one along with the rest of its 9 skills, 5 commands, 4 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for coderX

README.md
[![agentmods](https://agentmods.dev/badge/agents/treex-x/workflowx/coderx/github.svg)](https://agentmods.dev/agents/treex-x/workflowx/coderx)
Your own site
<a href="https://agentmods.dev/agents/treex-x/workflowx/coderx"><img src="https://agentmods.dev/badge/agents/treex-x/workflowx/coderx/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for coderX

Your own site · 80×15
<a href="https://agentmods.dev/agents/treex-x/workflowx/coderx"><img src="https://agentmods.dev/badge/agents/treex-x/workflowx/coderx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 327 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00031 $0.00327
Opus 5.5 $0.00012 $0.00131
Sonnet 5.5 $0.00006 $0.00065
Haiku 4.5 $0.00003 $0.00033

Measured 7d ago against content hash 58b900a9b576, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 7d 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.

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 · 26 lines

What it actually says

coderX Agent

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

Execution

Read the action and pinned Task references from orchestrateX module 02. Missing or inconsistent grounds return Dispatch Contract Missing. Stay within Allowed Scope. Read specX and engineeringX, then only necessary module/acceptance/decision context. All Task files are read-only: never edit metadata, prose, timestamps, move or delete them. Main Agent alone integrates contract changes and handoffs.

Output

Return Change Summary (implementation, self-review, actual checks/evidence and unresolved issues) + Note draft for Main Agent integration. Repairs use the current failure packet and fixed acceptance. Never claim unrun checks. Main Agent integrates results into the shared Task; do not create a separate handoff Note.

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.
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. 7d ago Changed · -10 lines 58b900a9b576
  2. 19d ago Changed d696eeae2be1
  3. 27d ago Changed · -1 lines · -13 tokens per session b8933baa5317
  4. 1mo ago Changed · -8 lines cfd8ad08c7a8
  5. 1mo ago Changed 37fb9bcb1938
  6. 1mo ago 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 (53 stars, last pushed 8d ago), licensed MIT. It adds 31 tokens to every session and 327 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other agents, from other repositories

the-bad

The Bad — the judgment executor of the good-bad-ugly workflow. Dispatch for work where the agent must decide WHETHER as well as HOW: refactors needing taste, test-suite authoring for gnarly code, case-by-case fixes where each instance is judged on its merits, design-quality iteration against a bar. Give it a fenced…

XyndoX/good-bad-ugly · 118 tokens

the-ugly

The Ugly — the mechanical executor of the good-bad-ugly workflow. Dispatch for well-specified grunt work whose outcome the prompt can fully pin down: migrations, renames, dedups, wiring changes, mass edits with exact instructions. Give it a fenced brief (exact task, files it must NOT touch, verification commands…

XyndoX/good-bad-ugly · 89 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens