the-loop: Instructions file for Codex

AGENTS.md

the-loop AGENTS.md is an instructions file for Codex, OpenCode from MadaraUchiha-314/the-loop. It costs 205 tokens per session, scanned A, original, MIT.

Repository instructions for working on the-loop, a project that builds and uses its own work system. They tell agents which configuration and skill files to read, how to follow selected work graphs, and where to record verification evidence.

In plain words
What is it for?
Use them to guide work items, record verification evidence, update capability documentation, and use the project's ticket, comment, question, and pull-request actions.
Why use it?
They keep implementation work consistent with the project's process and preserve evidence that the work was checked.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 the-loop AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/madarauchiha-314/the-loop/agents-md"><img src="https://agentmods.dev/badge/instructions/madarauchiha-314/the-loop/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 205 This file is loaded in full into every session.
When invoked 205 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.00205 $0.00205
Opus 5.5 $0.00082 $0.00082
Sonnet 5.5 $0.00041 $0.00041
Haiku 4.5 $0.00020 $0.00020

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

Security

Grade A, and why

the-loop 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 13d 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 · 14 lines

What it actually says

Working in the-loop

Read .the-loop/harness-config.yaml, skills/the-loop/SKILL.md, and the relevant skill references before implementing a work item. This repository builds and uses the-loop. Follow the work item's selected graph, record verification evidence under docs/specs/<id>/evidence/, and update affected capability docs with code. Use the-loop's ticket, comment, ask and PR verbs when available. Explicit user instructions and the work item's frozen selections govern scope and approvals.

Prompts and strings (issue-540). Text the CLI sends to an agent goes in a Markdown file under cli/the_loop/prompts/, read with the_loop.prompts; never a Python string literal. A human-facing message the-loop posts goes in cli/the_loop/strings/en.json, read with the_loop.strings.t. See docs/capabilities/prompts-and-strings.md.

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. 13d ago Changed · +5 lines · +99 tokens per session bbe8cea6d5e4
  2. 2mo ago First seen · 9 lines · 106 tokens per session scan A a0fb8ad8509d

Subscribe to this mod's changes

the-loop AGENTS.md is an instructions file published in the GitHub repository MadaraUchiha-314/the-loop (8 stars, last pushed 2d ago), licensed MIT. It adds 205 tokens to every session, about $0.0008 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-10-03.

Related

the-loop AGENTS.md compared with instructions from other repositories

the-loop AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
the-loop AGENTS.mdMadaraUchiha-314/the-loopInstructions file82d agoMITA205Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot