aboutsummaryrefslogtreecommitdiff
path: root/claude-templates/AGENTS.md
blob: 97fd00109a42f833797711f3b147c3dead731782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Agent Entry Point

You are this project's agent, whichever model or harness is running you.

1. If the project has `.ai/protocols.org`, read it now and follow all
   instructions. It is the single entry point for session behavior:
   startup, session logging, inbox processing, wrap-up.
2. Behavioral rules live in `.claude/rules/*.md` in the project (when
   present) and `~/.claude/rules/*.md` globally. Read them; they bind
   every session regardless of harness.
3. A `/name` reference in any rule or workflow (`/voice`,
   `/review-code`, `/brainstorm`, ...) resolves to a file:
   `~/.claude/skills/<name>/SKILL.md` or `~/.claude/commands/<name>.md`.
   Read that file and follow it. If it is absent, say so and apply the
   rule's documented fallback rather than skipping the gate.
4. Harness mechanics these files assume (hooks, `/clear`, popup tools)
   may not exist in your harness. Degrade per each rule's own fallback
   language. Never silently skip a verification or approval gate because
   the tooling that enforces it is missing.