AgentLoop: Instructions file for Codex

AGENTS.md

AgentLoop AGENTS.md is an instructions file for Codex, OpenCode from ciroaurelio22/AgentLoop. It costs 421 tokens per session, scanned A, original, MIT.

Repository instructions for coding agents working on AgentLoop, a software project whose releases use a version file. They require updating that version before pushing changes.

In plain words
What is it for?
Use them when making changes, choosing a semantic-version bump, checking the release checklist, and preparing a push to GitHub.
Why use it?
They prevent changes from being pushed without a matching release version, which would break the project's update checks.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ciroaurelio22/agentloop/agents-md"><img src="https://agentmods.dev/badge/instructions/ciroaurelio22/agentloop/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 421 This file is loaded in full into every session.
When invoked 421 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.00421 $0.00421
Opus 5.5 $0.00168 $0.00168
Sonnet 5.5 $0.00084 $0.00084
Haiku 4.5 $0.00042 $0.00042

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

Security

Grade A, and why

AgentLoop 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 · 35 lines

What it actually says

Agent Loop — instructions for coding agents

This file applies to any agent working in this repository (Cursor, Claude Code, Codex, etc.).

Before every push

You must bump the root VERSION file before pushing to GitHub.

The kit uses VERSION as the release identifier: installs copy it to .agent-loop/kit-version, and agent-update-check compares it with the remote file on GitHub.

How to bump

  1. Read the current value in VERSION (single line, semver, e.g. 0.1.0).
  2. Increment it before git push:
    • Patch (0.1.0 → 0.1.1): default for bug fixes, GUI tweaks, docs, and most kit changes.
    • Minor (0.1.0 → 0.2.0): new features or behavior changes that are backward compatible.
    • Major (0.1.0 → 1.0.0): breaking changes to install layout, CLI contract, or queue/task format.
  3. Write only the new version string in VERSION (no v prefix, no extra lines).
  4. Include VERSION in the same commit you push, or in a dedicated release commit immediately before push.

Do not push without a version bump

If the branch has user-facing or kit changes that will land on master, do not push until VERSION is updated. Skipping this breaks update notifications for downstream repos.

Quick checklist

  • Changes committed
  • VERSION incremented
  • git push (only when the user asked to push)
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 · 35 lines · 421 tokens per session scan A 63fc8ebdd2be

Subscribe to this mod's changes

AgentLoop AGENTS.md is an instructions file published in the GitHub repository ciroaurelio22/AgentLoop (10 stars, last pushed 4mo ago), licensed MIT. It adds 421 tokens to every session, about $0.0017 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

AgentLoop AGENTS.md compared with instructions from other repositories

AgentLoop AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AgentLoop AGENTS.mdciroaurelio22/AgentLoopInstructions file104mo agoMITA421Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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