reins AGENTS.md

reins AGENTS.md is an instructions file for Codex, OpenCode from WellDunDun/reins. It costs 792 tokens per session, scanned A, original, MIT.

Repository instructions describing Reins, an open-source command-line tool for checking and improving how ready a project is for coding agents.

In plain words
What is it for?
Use them when modifying Reins documentation, workflows, architecture, the CLI, or its agent skill. They identify where scoring logic, commands, and documentation belong.
Why use it?
They keep the readiness-scoring engine separate from the agent-facing wrapper, reducing duplicated logic and preserving the project’s design.

Instructions file for CodexOpenCode

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

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/welldundun/reins/agents-md
Clone the repo
git clone --depth 1 https://github.com/WellDunDun/reins

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/welldundun/reins/agents-md.svg)](https://agentmods.dev/instructions/welldundun/reins/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/welldundun/reins/agents-md"><img src="https://agentmods.dev/badge/instructions/welldundun/reins/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 792 This file is loaded in full into every session.
When invoked 792 The same file — it is already loaded in full.
Security scan A 0 findings. 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.1 $0.00792 $0.00792
Opus 5 $0.00396 $0.00396
Sonnet 5 $0.00158 $0.00158
Haiku 4.5 $0.00079 $0.00079

Measured 5d ago against content hash 27b6f7d73d3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

reins 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 5d 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 · 70 lines

How it starts

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

AGENTS.md

Repository Overview

reins — Open-source CLI that operationalizes harness engineering. Scaffold, audit, evolve, and doctor any project's agent-readiness. Zero dependencies, Bun-powered.

Product Model (Must Keep Clear)

  • cli/reins is the product engine. It is the only source of truth for readiness scoring and JSON outputs.
  • skill/Reins is the control-plane wrapper for coding agents. It decides when/how to call CLI commands and how to parse results.
  • Humans steer outcomes. Agents execute the loop using Reins outputs.
  • Reins exists to transfer proven harness patterns into any repo so agents can become more autonomous and consistent over time.

When updating docs or workflows, preserve this separation explicitly. Do not duplicate scoring logic in the skill layer.

Architecture

See ARCHITECTURE.md for domain map, module structure, and dependency rules.

Documentation Map

Topic Location Status
Architecture ARCHITECTURE.md Current
CLI Source cli/reins/src/index.ts Current
CLI Modules cli/reins/src/lib/ Current
CLI Commands cli/reins/src/lib/commands/ Current
Audit Engine cli/reins/src/lib/audit/ Current
CLI Tests cli/reins/src/index.test.ts Current
Claude Skill skill/Reins/SKILL.md Current
Harness Methodology skill/Reins/HarnessMethodology.md Current
Skill Workflows skill/Reins/Workflows/ Current
Design Docs docs/design-docs/index.md Current
Core Beliefs docs/design-docs/core-beliefs.md Current
Ecosystem Positioning docs/design-docs/ecosystem-positioning.md Current
Product Specs docs/product-specs/index.md Current
Active Plans docs/exec-plans/active/ Current
Completed Plans docs/exec-plans/completed/ Current
Technical Debt docs/exec-plans/tech-debt-tracker.md Current
Risk Policy risk-policy.json Current
Golden Principles docs/golden-principles.md Current
CI Pipeline .github/workflows/ci.yml Current
Publish Pipeline .github/workflows/publish.yml Current
Version Bump Pipeline .github/workflows/auto-bump-cli-version.yml Current

Read the full file on GitHub · 70 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. 5d ago First seen · 70 lines · 792 tokens per session scan A 27b6f7d73d3f

Subscribe to this mod's changes

reins AGENTS.md is an instructions file published in the GitHub repository WellDunDun/reins (9 stars, last pushed 5mo ago), licensed MIT. It adds 792 tokens to every session, about $0.0040 per session on Opus 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.