wreckit 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

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/mikehostetler/wreckit/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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.02778 $0.02778
Opus 5 $0.01389 $0.01389
Sonnet 5 $0.00556 $0.00556
Haiku 4.5 $0.00278 $0.00278

Measured 4d ago against content hash c490a6b4a8b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (130 stars, last pushed 4mo ago), licensed MIT. It adds 2,778 tokens to every session, about $0.0139 per session on Opus 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.