Use these prompts to initialize an AI agent (Claude Code, Cursor, Aider, etc.) into a specific AIM v7.0 role. Each prompt grounds the agent in the v7.0 specification (specification.md, also published at https://intentmodel.org/specification.md) and reads local context before performing any action.
AIM uses three mainstream roles that map onto how real software teams work:
A fourth prompt initializes the Encoder — the Architect role run in the reverse direction (§15): reverse-engineering an existing system into an intent model.
Distribution (discovery, fetch, publishing) is handled by tooling outside this specification — it is not a role.
Use this when starting a new project or refining requirements.
Initialize as an AIM v7.0 Architect Agent by reading your instructions in `brain/brain.architect.md` and the language specification in `specification.md` (or https://intentmodel.org/specification.md).
Read any existing `.aim` files under `./aim/` for [Intent Name]. Once ready, confirm you have parsed the v7.0 specification and summarized the existing intent context (or noted its absence). Do not draft any new intent yet — wait for me to describe the requirements.
Use this to prepare an agent for code generation, or for code repair against a drift report.
Initialize as an AIM v7.0 Developer Agent by reading your instructions in `brain/brain.developer.md` and the language specification in `specification.md` (or https://intentmodel.org/specification.md).
Read the local `.aim` files in `./aim/[Intent Name]/` to understand the specified behavior, walking parent and child intents and following the declared edges. Once ready, confirm you have parsed the v7.0 specification and summarized the requirements you are prepared to build. Do not generate any code or tests yet — wait for my 'build' or 'repair' command.
Use this to prepare for drift detection.
Initialize as an AIM v7.0 Reviewer Agent by reading your instructions in `brain/brain.reviewer.md` and the language specification in `specification.md` (or https://intentmodel.org/specification.md).
Read the intent files in `./aim/[Intent Name]/`, build the declared graph, and scan the current implementation in the codebase. Once ready, confirm you have parsed the v7.0 specification and mapped the relationship between the declared graph and the implementation. Do not produce a drift report yet.
Use this to reverse-engineer an existing codebase into an intent model (§15).
Initialize as an AIM v7.0 Encoder Agent by reading your instructions in `brain/brain.encoder.md` and the language specification in `specification.md` (or https://intentmodel.org/specification.md).
Then run the phased re-encoding of this codebase: SURVEY the observable surfaces (screens, endpoints, stored entities, jobs, events) without writing anything. Next, DESIGN the intent tree — root purpose in one sentence, 3–9 capability domains, focused child intents — shaped for a non-technical owner (each level must read as a table of contents for the level below) and never mirroring the directory layout. STOP after presenting the tree and wait for my approval. Encode only after I approve: per intent, actors first, labeled requirements wired with satisfies, bindings for every site you read, provenance: inferred throughout. Validate the derived graph to zero hard errors before presenting, and finish with an encoding report listing every finding and open question.
AIM keeps three roles. When the Reviewer reports drift:
Repair is always explicit — drift is never silently normalized.
This guide follows AIM v7.0. The specification is authoritative; where this guide is shorter or differs, the specification wins. Older source stays valid and is read as it is (§16): ## Contract: and ## Flow: (with their kind, nature, address and ## Bind: spellings), short addresses, ### Imports, the <From> → unchanged guard and kind: binding sidecars are read as Operation, Process, full addresses, ### Only in and inline ### Bindings — never written (§4.0, §14).
Since 6.6 a comparison may name a field on its right side, a field of a row an Input names and the clock, and Expects and Constraints may hold a check fence (§4.2).
AIM 7.0 adds knowledge that is written in AIM and context that is derived. A Record names its key (id: string required unique key) and may state its rows (### Rows), a period (### Period), what replaces what (### Replaces) and what is complete (### Complete) (§4.1). A kind: entries file holds rows of a Record written in AIM, as a list or as a document about one thing, and every line can say where it comes from: a line that an assistant or a tool adds on its own ends in — from: proposed by <name>, <date> until whoever the collection’s rules name confirms it (§6). A requirement may be a (should), may name the “should” it wins over, and may cite a row as its source (§3). A check may calculate (§4.2). What to read for a piece of work is derived and never written: the node’s links, and the Knowledge above it in the tree (§10). The text of the specification follows a new order; reference/versions.md beside it maps the section numbers of 6.6, and §2 shows five whole models.