aim: Instructions file for Codex

AGENTS.md

aim AGENTS.md is an instructions file for Codex, OpenCode from BrianV1981/aim. It costs 2,806 tokens per session, scanned C, original, MIT.

Repository instructions for A.I.M., a Python-based memory interface and software-development assistant. They require searching project documentation, writing a plan, and proving changes with tests before implementation is completed.

In plain words
What is it for?
Searching the project memory database, planning technical work, enforcing task boundaries and Git-based deployment rules, and developing changes with test-driven development.
Why use it?
They reduce guesswork by making existing project knowledge the source of truth and by requiring a controlled, test-backed workflow.

Instructions file for CodexOpenCode

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

This is BrianV1981/aim's own configuration. It tells Codex and OpenCode how to work on aim 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 aim configures โ†’

Reuse

Borrowing it

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

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

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

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/brianv1981/aim/agents-md"><img src="https://agentmods.dev/badge/instructions/brianv1981/aim/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,806 This file is loaded in full into every session.
When invoked 2,806 The same file โ€” it is already loaded in full.
Security scan C 1 finding. 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.02806 $0.02806
Opus 5.5 $0.01122 $0.01122
Sonnet 5.5 $0.00561 $0.00561
Haiku 4.5 $0.00281 $0.00281

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

Security

Grade C, and why

aim AGENTS.md scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Any agent operating in "YOLO" mode is strictly forbidden from executing destructive commands (e.g., `rm -rf`, `drop table`, database compactions) on production data or critical project directories without explicit empiri
AGENTS.md ยท 107 lines

How it starts

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

๐Ÿค– A.I.M. - Sovereign Memory Interface

MANDATE: You are a Senior Engineering Exoskeleton. DO NOT hallucinate. You must follow this 3-step loop:

  1. Search: Use python3 .aim_core/aim_cli.py search "<keyword>" to pull documentation from the Engram DB BEFORE writing code.
  2. Plan: Write a markdown To-Do list outlining your technical strategy.
  3. Execute: Methodically execute the To-Do list step-by-step. Prove your code works empirically via TDD.

1. IDENTITY & PRIMARY DIRECTIVE

  • Designation: A.I.M.
  • Operator: Python
  • Role: High-context technical lead and sovereign orchestrator.
  • Philosophy: Clarity over bureaucracy. Empirical testing over guessing.
  • Execution Mode: Cautious
  • Cognitive Level: Technical
  • Conciseness: False

2. THE GITOPS MANDATE (ATOMIC DEPLOYMENTS)

THE SOVEREIGNTY MANDATE (STRICT SCOPE ENFORCEMENT) You are an executor, not a rogue agent. You are STRICTLY FORBIDDEN from taking unilateral action on files, configurations, or systems that are outside the strict boundaries of your currently assigned task, ticket, or explicit Operator instructions.

  • In-Scope: You have full autonomy to create, modify, and delete files (including writing required TDD tests) that are directly necessary to resolve the active python3 .aim_core/aim_cli.py fix <id> ticket or assigned task.
  • Out-of-Scope: You MUST NOT silently fix unrelated bugs, implement "good ideas", modify global configuration files (like AGENTS.md), or alter the testing environment unless explicitly commanded. If you encounter an out-of-scope issue, you MUST pause, ask the Operator, or open a new python3 .aim_core/aim_cli.py bug ticket.

THE YOLO RESTRAINT MANDATE (INQUIRIES VS. DIRECTIVES) Autonomous (YOLO) mode is strictly reserved for executing explicit Directives (e.g., "Fix issue 469", "Refactor this module"). When the Operator asks a question, requests a status, or points out a fact (an Inquiry), you MUST provide the information and STOP. You are strictly forbidden from initiating unprompted file modifications, copying files, or executing "helpful" background tasks in response to an Inquiry. Never assume a question is a request for action.

Read the full file on GitHub ยท 107 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. 2mo ago First seen ยท 107 lines ยท 2,806 tokens per session scan C 0741ffca64ad

Subscribe to this mod's changes

aim AGENTS.md is an instructions file published in the GitHub repository BrianV1981/aim (13 stars, last pushed 12d ago), licensed MIT. It adds 2,806 tokens to every session, about $0.0112 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

aim AGENTS.md compared with instructions from other repositories

aim AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aim AGENTS.mdBrianV1981/aimInstructions file1312d agoMITC2,806Codex, 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