ai-agent-project-template: Instructions file for Codex

AGENTS.md

ai-agent-project-template AGENTS.md is an instructions file for Codex, OpenCode from rumotion/ai-agent-project-template. It costs 1,346 tokens per session, scanned A, original, MIT.

A repository instruction set that tells coding agents how to initialize and navigate the rumotion/ai-agent-project-template. AGENTS.md is a project file used to record instructions for AI coding tools.

In plain words
What is it for?
Use it to guide startup, resuming work, switching models, keeping context small, and locating project-specific instructions.
Why use it?
It gives different coding assistants one shared starting procedure and points them to the right project memory and handoff files.

Instructions file for CodexOpenCode

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

This is rumotion/ai-agent-project-template's own configuration. It tells Codex and OpenCode how to work on ai-agent-project-template 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 ai-agent-project-template configures →

Reuse

Borrowing it

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

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 ai-agent-project-template AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rumotion/ai-agent-project-template/agents-md"><img src="https://agentmods.dev/badge/instructions/rumotion/ai-agent-project-template/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,346 This file is loaded in full into every session.
When invoked 1,346 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.01346 $0.01346
Opus 5.5 $0.00538 $0.00538
Sonnet 5.5 $0.00269 $0.00269
Haiku 4.5 $0.00135 $0.00135

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

Security

Grade A, and why

ai-agent-project-template 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 7d 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 · 89 lines

How it starts

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

AGENTS.md — Canonical Agent Instructions

Canonical instructions for all agents in this repo. Client adapters point here.

Startup path — keep context small

  1. Read this file.
  2. Read memory-bank/startup.md.
  3. If resuming work or switching models, also read memory-bank/handoff.md.
  4. Read memory-bank/00-index.md only to choose additional files.
  5. Load source/docs/workflows/skills only when the task requires them.

Reserve most context for the actual project, not template instructions.

Cross-model continuity

All clients share memory-bank/handoff.md: update on pause/switch, read on resume. Routing: memory-bank/model-routing.md.

Initialization modes

FAST_INIT (default)

Follow the startup path above. Read present stack manifests/configs (package.json, pyproject.toml, requirements.txt, go.mod, Cargo.toml, tsconfig.json, vite.config.*, next.config.*).

  • Do not read by default: README.md, docs/, workflows/, skills, references/, assets/, .mcp/, validator scripts.
  • Update only: memory-bank/startup.md, memory-bank/handoff.md, memory-bank/projectbrief.md, memory-bank/activeContext.md, memory-bank/progress.md, memory-bank/techContext.md.
  • Keep unknowns as TBD. Do not run full-repo audits. Minimize turns and narration.

DEEP_AUDIT (explicit only)

Use when the user asks for full template review, publishing readiness, architecture audit, or broad cleanup. Read deeper docs/workflows/skills/scripts as needed; document findings; propose focused changes.

Escalation rule

Start in FAST_INIT. Escalate only when required facts cannot be verified from allowed files, or the user explicitly asks.

Core rules

Repository boundaries — read before any git command

  • This project is local-only until human says otherwise in current conversation. Check git remote -v before any git work. If origin points to the template repo, detach: python scripts/detach-remote.py. Local commits encouraged; transmission forbidden.
  • Never push, publish, or sync without explicit instruction. No git push, remote branch, PR, issue, or tag push. Never run git push --force --mirror.
  • One project, one repository. Never share a repo between projects. Humans create dedicated repos for hosting (Vercel, Cloudflare, Netlify).
  • Confidential material never enters a repository that is or was public. Removing later does not work (commits retrievable, forks share objects).
  • .gitignore is not a security control. Verify with git status --ignored --short and git ls-files.

Read the full file on GitHub · 89 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. 7d ago Changed · +1 lines · +48 tokens per session a64abceee1b4
  2. 10d ago Changed · -12 lines · -198 tokens per session 4ac98c5adb91
  3. 1mo ago Changed · -2 lines · +63 tokens per session acef90f2b0ab
  4. 2mo ago First seen · 102 lines · 1,433 tokens per session scan A 236e9eb52f54

Subscribe to this mod's changes

ai-agent-project-template AGENTS.md is an instructions file published in the GitHub repository rumotion/ai-agent-project-template (1 stars, last pushed 6d ago), licensed MIT. It adds 1,346 tokens to every session, about $0.0054 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

ai-agent-project-template AGENTS.md compared with instructions from other repositories

ai-agent-project-template AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-agent-project-template AGENTS.mdrumotion/ai-agent-project-templateInstructions file16d agoMITA1,346Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,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