fettle: Instructions file for Codex

AGENTS.md

fettle AGENTS.md is an instructions file for Codex, OpenCode from MilindGaharwar/fettle. It costs 250 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Fettle, a software project, covering mutation testing and how to prove that work is complete. Mutation testing changes code in controlled ways to check whether tests catch the changes.

In plain words
What is it for?
Use it when running mutation tests, checking cached results, validating completion criteria, and preparing evidence that a milestone is actually complete.
Why use it?
It prevents completion claims based on missing, stale, or misleading evidence and defines how verification results should be trusted.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/milindgaharwar/fettle/agents-md"><img src="https://agentmods.dev/badge/instructions/milindgaharwar/fettle/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 250 This file is loaded in full into every session.
When invoked 250 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.00250 $0.00250
Opus 5.5 $0.00100 $0.00100
Sonnet 5.5 $0.00050 $0.00050
Haiku 4.5 $0.00025 $0.00025

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

Security

Grade A, and why

fettle 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 · 28 lines

What it actually says

Repository Agent Instructions

Before adding behavior, use the goal-to-mechanism table in docs/behavior-map.md to select the owning extension seam and its required evidence path.

Mutation Evidence

  • Treat full mutation runs as held-out verification, not an iteration loop.
  • Use fixtures, then preflight, then narrow replay, then a full run.
  • Trust canonical fingerprints, not run-local mutmut numeric IDs.
  • Reuse caches only when their complete compatibility identity validates.
  • Run independent authoritative calibrations sequentially and never share their terminal outcomes.
  • Preserve missing, malformed, partial, stale, or conflicting evidence as a non-pass. See docs/mutation-quality-playbook.md before changing mutation behavior.

Completion Evidence

  • Derive completion from every required criterion; do not infer it from overall implementation status or prose checkboxes.
  • A timeout may confirm a timeout-handling criterion, but it never confirms a required success criterion.
  • Treat missing, malformed, stale, skipped, blocked, contradictory, or indeterminate completion evidence as non-pass.
  • Run fettle completion validate before claiming a milestone complete.
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 Changed · +4 lines · +41 tokens per session fe592e6b2b15
  2. 3mo ago First seen · 24 lines · 209 tokens per session scan A bedd299a3aa0

Subscribe to this mod's changes

fettle AGENTS.md is an instructions file published in the GitHub repository MilindGaharwar/fettle (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 250 tokens to every session, about $0.0010 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

fettle AGENTS.md compared with instructions from other repositories

fettle AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fettle AGENTS.mdMilindGaharwar/fettleInstructions file4yesterdayApache-2.0A250Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot