clean-room-skill: Instructions file for Codex

AGENTS.md

clean-room-skill AGENTS.md is an instructions file for Codex, OpenCode from whit3rabbit/clean-room-skill. It costs 4,731 tokens per session, scanned A, original, MIT.

Repository instructions and a command-line installer for adding clean-room skills, agents, hooks, schemas, examples, and optional verification templates to several coding-agent tools.

In plain words
What is it for?
Use it to install the clean-room components, run the inner-loop runner, check repository facts, and run the full local verifier.
Why use it?
It gives contributors a shared guide to the repository, its commands, supported runtimes, and verification rules, reducing setup and process mistakes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions subagents; mentions Claude Code.

This is whit3rabbit/clean-room-skill's own configuration. It tells Codex and OpenCode how to work on clean-room-skill 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 clean-room-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to whit3rabbit/clean-room-skill. 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/whit3rabbit/clean-room-skill/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/whit3rabbit/clean-room-skill

Made for: Codex, OpenCode.

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 clean-room-skill AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/whit3rabbit/clean-room-skill/agents-md/github.svg)](https://agentmods.dev/instructions/whit3rabbit/clean-room-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/whit3rabbit/clean-room-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/whit3rabbit/clean-room-skill/agents-md/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 clean-room-skill AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/whit3rabbit/clean-room-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/whit3rabbit/clean-room-skill/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,731 This file is loaded in full into every session.
When invoked 4,731 The same file — it is already loaded in full.
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.04731 $0.04731
Opus 5.5 $0.01892 $0.01892
Sonnet 5.5 $0.00946 $0.00946
Haiku 4.5 $0.00473 $0.00473

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

Security

Grade A, and why

clean-room-skill AGENTS.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 2mo 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.

AGENTS.md · 219 lines

How it starts

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

Clean Room Repo Guide

Repo Quick Facts

  • npm package: clean-room-skill.
  • CLI entrypoint: bin/install.js.
  • Executable inner-loop runner: clean-room-skill run.
  • Full local verifier: bin/verify.sh.
  • Node requirement: >=22.
  • CI runs Node 24 with Python 3.12 on macOS.
  • This repo installs clean-room skills, role agents, hooks, schemas, examples, and optional verification templates for multiple agent runtimes.
  • Installer runtime flags: Codex, Claude Code, Antigravity, Gemini CLI, OpenCode, Kilo, Cursor, GitHub Copilot, Windsurf, Augment, Trae, Qwen Code, Hermes Agent, and CodeBuddy.
  • Hook registration is verified for Codex, Claude Code, and OpenCode. Other runtime layouts are best-effort installs unless code and tests prove otherwise.
  • Dynamic workflows (workflows/*.js -> .claude/workflows/) are Claude Code only and local-scope only, installed alongside their /clean-room:<name> front-door command wrapper. No other runtime ships a Workflow() engine; global installs stay hooks-only, so a triggerless global workflow is never shipped.
  • The workflow creates clean behavioral spec packages and clean implementation outputs. It does not generate replacement code directly from source.
  • Full docs: README.md, docs/ARCHITECTURE.md, and docs/REFERENCE.md.

Repo Map

  • bin/: installer CLI and local verification script.
  • lib/: installer helpers, TUI, hook config helpers, runtime layout logic, preflight helpers, doctor checks, and inner-loop runner.
  • skills/: skill entrypoints, schemas, references, source and visual index scripts, and example spec packages.
  • agents/: Claude role-agent prompts.
  • examples/codex/: Codex role-agent templates.
  • hooks/: Python guardrail hooks.
  • templates/docker/: optional Agent 3 verification images and example verification command policies.
  • tests/: Node tests, JSON Schema fixtures, schema parity fixtures, and validation helper.
  • .github/workflows/: CI and npm publish workflows.
  • .agents/plugins/marketplace.json: Codex repo marketplace.
  • .agents/skills/synrepo/: repo-bundled synrepo skill metadata.
  • .codex/: repo-local Codex config and hook config used for this workspace.
  • .claude-plugin/marketplace.json: Claude Code marketplace.
  • plugin.json, .codex-plugin/plugin.json, and .claude-plugin/plugin.json: runtime-specific plugin manifests.

Read the full file on GitHub · 219 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. 2mo ago First seen · 219 lines · 4,731 tokens per session scan A ca3e43636fd7

Subscribe to this mod's changes

clean-room-skill AGENTS.md is an instructions file published in the GitHub repository whit3rabbit/clean-room-skill (19 stars, last pushed 23d ago), licensed MIT. It adds 4,731 tokens to every session, about $0.0189 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-31.

Related

clean-room-skill AGENTS.md compared with instructions from other repositories

clean-room-skill AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clean-room-skill AGENTS.mdwhit3rabbit/clean-room-skillInstructions file1923d agoMITA4,731Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode