clodex-build

clodex-build is a skill for Claude Code, Codex from jdpalumbo2/workbench. It costs 60 tokens per session (13,422 once invoked), scanned B, original, MIT.

A build-stage guide for turning an approved software plan into small, reviewed commits.

In plain words
What is it for?
Implementing planned batches, checking their tests, recording plan amendments, and keeping release work separate.
Why use it?
It records what each batch may change, whether the change was reviewed, and which commit contains it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex.

Good fit Implementing planned batches, checking their tests, recording plan amendments, and keeping release work separate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jdpalumbo2/workbench/clodex-build
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.

Any agent
npx skills add jdpalumbo2/workbench --skill clodex-build
Clone the repo
git clone --depth 1 https://github.com/jdpalumbo2/workbench

Made for: Claude Code, Codex.

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 clodex-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/jdpalumbo2/workbench/clodex-build/github.svg)](https://agentmods.dev/skills/jdpalumbo2/workbench/clodex-build)
Your own site
<a href="https://agentmods.dev/skills/jdpalumbo2/workbench/clodex-build"><img src="https://agentmods.dev/badge/skills/jdpalumbo2/workbench/clodex-build/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 clodex-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/jdpalumbo2/workbench/clodex-build"><img src="https://agentmods.dev/badge/skills/jdpalumbo2/workbench/clodex-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 13,422 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00060 $0.13422
Opus 5.5 $0.00024 $0.05369
Sonnet 5.5 $0.00012 $0.02684
Haiku 4.5 $0.00006 $0.01342

Measured 14d ago against content hash fd599247dd3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

clodex-build scanned grade B with 2 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 14d 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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

never stage them, never revert them, never mention them in a contract except as

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

snap = json.loads(subprocess.check_output(["python3", sys.argv[1], "rebuild", sys.argv[2]]))
skills/clodex-build/SKILL.md · 1,022 lines

How it starts

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

clodex-build — small batches, an explicit contract, a reviewed delta

Overview

This stage turns an approved plan into commits. It owes the run one thing per batch, and all of it is fact in the event log rather than claim in a transcript:

Fact Event In the manifest
what this batch may touch batch:opened batches[].owned_paths
the delta was reviewed, and the verdict batch:reviewed batches[].delta_review
the commit it landed in batch:committed batches[].commit

Plus, when an assumption breaks mid-flight, a plan amendment — never silent drift.

Where this stage ends. You prove each batch against its own test expectations: the profile's test command green, plus your review of the delta. You do not run the plan's declared evidence classes, record verification:evidence, or decide anything about verification debt — that is clodex-verify. You do not write the changelog, bump the version, tag, push, or deploy — that is clodex-ship, and §2 makes those files forbidden to you.

You arrive here from clodex (which owns preflight, the profile, and the run directory) or from clodex-plan (which owns the plan, its owned paths, and its approval). If you were invoked without an absolute run directory, stop and invoke clodex — do not go looking for a run yourself.


0. Paths and commands

CLODEX_HOME="${CLODEX_HOME:-$HOME/.claude/skills/clodex}"   # the router's dir, not this one
STATE="$CLODEX_HOME/state/clodex_state.py"
RUNNER="$CLODEX_HOME/runner/run-codex.sh"
RUN_DIR="<the absolute run dir you were handed>"
SNAP="$(python3 "$STATE" rebuild "$RUN_DIR")"
REPO="$(printf '%s' "$SNAP" | python3 -c 'import json,sys;print(json.load(sys.stdin)["repo"])')"
PLAN="$(printf '%s' "$SNAP" | python3 -c 'import json,sys;print(json.load(sys.stdin)["plan"]["path"] or "")')"
LANE="$(printf '%s' "$SNAP" | python3 -c 'import json,sys;l=json.load(sys.stdin).get("lane") or "standard";print("standard" if l=="feature" else l)')"   # a pre-0.6 run (feature) takes the standard table
cd "$REPO"
PROFILE="$REPO/.clodex/profile.json"

Read the full file on GitHub · 1,022 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 14d ago Changed · -42 lines scan D → B fd599247dd3e
  2. 1mo ago Changed · +5 lines a698f6d9fcf9
  3. 1mo ago First seen · 1,059 lines · 60 tokens per session scan D 6333c3c88422

Subscribe to this mod's changes

clodex-build is a skill published in the GitHub repository jdpalumbo2/workbench (1 stars, last pushed 15d ago), licensed MIT. It adds 60 tokens to every session and 13,422 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (subtle steering, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.