aim AGENTS.md

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

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/brianv1981/aim/agents-md
Clone the repo
git clone --depth 1 https://github.com/BrianV1981/aim

Made for: Codex, OpenCode.

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. 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 $0.02806 $0.02806
Opus 5 $0.01403 $0.01403
Sonnet 5 $0.00561 $0.00561
Haiku 4.5 $0.00281 $0.00281

Measured 3d ago against content hash 0741ffca64ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 21d ago), licensed MIT. It adds 2,806 tokens to every session, about $0.0140 per session on Opus 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.