Codex-Workflows CLAUDE.md

Project instructions for a Codex plugin repository, including its folder structure, commands, generated files, workflow checks, and release rules. A plugin is an add-on that extends what Codex can do.

In plain words
What is it for?
Use them when developing, validating, testing, packaging, or distributing the Codex-Workflows plugin.
Why use it?
They give coding agents the repository-specific rules needed to change source files safely and keep generated plugin files, tests, and marketplace metadata consistent.

Instructions file

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 instructions/robzilla1738/codex-workflows/claude-md
Clone the repo
git clone --depth 1 https://github.com/robzilla1738/Codex-Workflows
Per session 524 This file is loaded in full into every session.
When invoked 524 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 95% 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.00524 $0.00524
Opus 5 $0.00262 $0.00262
Sonnet 5 $0.00105 $0.00105
Haiku 4.5 $0.00052 $0.00052

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

Security

Grade A, and why

Codex-Workflows CLAUDE.md 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 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.

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.

Origin

This is a copy

95% identical to Codex-Workflows AGENTS.md — 2 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.

CLAUDE.md · 65 lines

How it starts

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

Claude instructions

This repo builds a Codex plugin, not a one-off demo. Treat generated artifacts, plugin metadata, and install docs as part of the product.

Project shape

  • Source packages live under packages/.
  • Built-in workflow templates live under workflows/.
  • The installed plugin bundle is generated under plugins/codex-workflows/.
  • Codex skill instructions live under skills/codex-workflows/SKILL.md.
  • The repo marketplace is .agents/plugins/marketplace.json.

Do not edit plugins/codex-workflows/dist/* directly. Change source files, then run pnpm validate:plugin.

Commands

Use these before handing work back:

pnpm typecheck
pnpm test
pnpm validate:plugin

For a fast workflow smoke:

node plugins/codex-workflows/dist/cli.js validate workflows/bug-sweep.workflow.js --cwd /tmp
node plugins/codex-workflows/dist/cli.js run workflows/bug-sweep.workflow.js --cwd /tmp --adapter simulate --no-watch

For MCP smoke testing, start the generated server from plugins/codex-workflows and call workflow_validate.

Distribution rules

  • Keep install docs pointed at robzilla1738/Codex-Workflows.
  • Keep plugin names stable: marketplace codex-workflows, plugin codex-workflows.
  • Keep the plugin bundle self-contained. Users should not need to run pnpm after installing from GitHub.
  • Do not leave /Users/... paths, local cache paths, or machine-specific binaries in the plugin bundle.
  • If package versions change, regenerate the plugin and commit the generated bundle.

Runtime rules

  • Workflow scripts are declarative. They define phases and worker prompts.
  • Workflow scripts must not get direct filesystem, shell, network, process, or Node built-in access.
  • Bug-finding workflows should default to read-only workers.
  • Model overrides from the caller beat workflow defaults.
  • Default durable run state belongs under Codex home so read-only runs do not dirty target repos. Project-local .codex-workflows/runs/<run-id>/ is opt-in and legacy-readable.

Read the full file on GitHub · 65 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 · 65 lines · 524 tokens per session scan A beee89ab2871

Subscribe to this mod's changes

Codex-Workflows CLAUDE.md is an instructions file published in the GitHub repository robzilla1738/Codex-Workflows (63 stars, last pushed 2mo ago), licensed MIT. It adds 524 tokens to every session, about $0.0026 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to Codex-Workflows AGENTS.md, differing in 2 lines, and is treated as a copy.

Related

Other instructions, from other repositories

swarm-pi-code-plugin CLAUDE.md

Instructions for JiaWeiXie/swarm-pi-code-plugin: This repository treats documentation as part of the product change. Preserve unrelated dirty worktree changes and do not reset, stash, discard, commit, push, or install external tooling without explicit scope.

JiaWeiXie/swarm-pi-code-plugin · 447 tokens

swarm-pi-code-plugin AGENTS.md

Instructions for JiaWeiXie/swarm-pi-code-plugin, a project described as: connects Claude Code and Codex to a bounded Pi coding worker for repository-grounded analysis, planning, review, and implementation. It is designed for teams that want a second coding-agent perspective without giving that worker unrestricted…

JiaWeiXie/swarm-pi-code-plugin · 4 tokens

research-os AGENTS.md

Instructions for lxinfei5/research-os, covering researchos — constitution, §0 what this is, §1 directory discipline, §2 half-life (innovation 1) — memory design and §3 behavior pillars (innovations 2–5).

lxinfei5/research-os · 1,143 tokens

arc AGENTS.md

Instructions for howells/arc, covering arc, shape, gotchas, editing constraints and search order.

howells/arc · 1,113 tokens

AI-System-Design-Consultant CLAUDE.md

Instructions for deepanshu2711/AI-System-Design-Consultant, covering claude.md, what this is, running it, load-bearing typos — do not "fix" these paths and agent node pattern.

deepanshu2711/AI-System-Design-Consultant · 674 tokens

agent-eve CLAUDE.md

Instructions for shehryarsaroya/agent-eve, covering claude.md — agent eve (né the compact, then agent transfer), 0. 🚨 hard rules, 1. what this is, 2. doc map and 3. state of play (2026-07-26).

shehryarsaroya/agent-eve · 9,010 tokens