wreckit: Instructions file for Codex

AGENTS.md

wreckit AGENTS.md is an instructions file for Codex, OpenCode from mikehostetler/wreckit. It costs 2,778 tokens per session, scanned B, original, MIT.

Guidelines for working on Wreckit, a command-line tool whose workflow can take work from research and planning through implementation and a pull request. They require checking the project's specifications and actual code before deciding what exists.

In plain words
What is it for?
Use them to implement Wreckit features from specifications, run its checks, and execute all or selected incomplete work items through the command line.
Why use it?
They reduce the risk of implementing a feature that already exists or contradicts the project's planned design. They also document the commands for building, testing, checking types, linting, and running work items.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Codex; mentions OpenCode.

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

Reuse

Borrowing it

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

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 wreckit AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mikehostetler/wreckit/agents-md"><img src="https://agentmods.dev/badge/instructions/mikehostetler/wreckit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,778 This file is loaded in full into every session.
When invoked 2,778 The same file — it is already loaded in full.
Security scan B 1 finding. 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.02778 $0.02778
Opus 5.5 $0.01111 $0.01111
Sonnet 5.5 $0.00556 $0.00556
Haiku 4.5 $0.00278 $0.00278

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

Security

Grade B, and why

wreckit AGENTS.md scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

4. `~/.claude/settings.json` `env` (Claude user settings)
AGENTS.md · 295 lines

How it starts

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

Wreckit Agent Guidelines

Specifications

IMPORTANT: Before implementing any feature, consult the specifications in specs/README.md.

  • Assume NOT implemented. Many specs describe planned features that may not yet exist in the codebase.
  • Check the codebase first. Before concluding something is or isn't implemented, search the actual code. Specs describe intent; code describes reality.
  • Use specs as guidance. When implementing a feature, follow the design patterns, types, and architecture defined in the relevant spec.
  • Spec index: specs/README.md lists all specifications organized by phase.

Commands

Building & Testing

Command Does
bun build Build the CLI
bun test Run all tests
bun test src/__tests__/foo.test.ts Run single test file
bun run typecheck Type check the codebase
bun run lint Lint the codebase

CLI Commands

Command Does
wreckit Run all incomplete items (research → plan → implement → PR)
wreckit next Run next incomplete item
wreckit run <id> Run single item through all phases (id: 1, 2, or 001-slug)
wreckit ideas < FILE Ingest ideas (create idea items)
wreckit learn Extract patterns and compile into reusable skills
wreckit status List all items + state
wreckit list List items (with optional --state filtering)
wreckit show <id> Show item details
wreckit init Initialize .wreckit/ in repo
wreckit doctor Validate items, fix broken state
wreckit rollback <id> Rollback a direct-merge item to pre-merge state
wreckit geneticist Recursive prompt self-optimization (evolution)

Phase Commands (debugging)

Command Transition
wreckit research <id> idea → researched
wreckit plan <id> researched → planned
wreckit implement <id> planned → implementing
wreckit pr <id> implementing → in_pr
wreckit complete <id> in_pr → done

Read the full file on GitHub · 295 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 · 295 lines · 2,778 tokens per session scan B c490a6b4a8b1

Subscribe to this mod's changes

wreckit AGENTS.md is an instructions file published in the GitHub repository mikehostetler/wreckit (129 stars, last pushed 6mo ago), licensed MIT. It adds 2,778 tokens to every session, about $0.0111 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

wreckit AGENTS.md compared with instructions from other repositories

wreckit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wreckit AGENTS.mdmikehostetler/wreckitInstructions file1296mo agoMITB2,778Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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