AIPass: Instructions file for Claude Code

AGENTS.md

AIPass AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from AIOSAI/AIPass. It costs 502 tokens per session, scanned A, original, MIT.

Startup and operating instructions for AIPass, a framework where autonomous AI agents work in branches and can assign tasks to temporary sub-agents.

In plain words
What is it for?
Reading project status files, refreshing the dashboard, checking pending work, using drone commands, and recording important memories.
Why use it?
They define the required startup checks, status refresh process, operation commands, and memory updates so the agent follows the project's workflow.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PreCompact hook event, but also the file is AGENTS.md. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

This is AIOSAI/AIPass's own configuration. It tells Claude Code, Codex and OpenCode how to work on AIPass 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 AIPass configures →

Reuse

Borrowing it

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

Made for: Claude Code, 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 AIPass AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aiosai/aipass/agents-md"><img src="https://agentmods.dev/badge/instructions/aiosai/aipass/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 502 This file is loaded in full into every session.
When invoked 502 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.00502 $0.00502
Opus 5.5 $0.00201 $0.00201
Sonnet 5.5 $0.00100 $0.00100
Haiku 4.5 $0.00050 $0.00050

Measured yesterday against content hash 8b2c4882dbf1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

AIPass 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 yesterday.

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 · 25 lines

What it actually says

AIPass

Multi-agent framework. Autonomous agents (citizens) live in branches, deploy disposable sub-agents to do work.

User: user

Startup protocol

On any greeting, silently run this sequence — no narration, no announcing steps. Just do it and respond with the status.

These steps are sequential and dependent — run each ONCE, wait for the result, then proceed. Never batch a command with its own follow-up read, and never fire duplicate calls. If output looks blank, wait — don't retry.

  • Read, one file per call, never concatenated: .trinity/passport.json, .trinity/local.json, .trinity/observations.json. A "persisted output" notice means you batched: read the originals one per call, never the persisted file.
  • Never read your README.md at startup — it is the face for strangers. Your inventory is drone @<self> (live) and drone @<self> --help.
  • Refresh: drone @prax dashboard refresh @<self> — where <self> is your branch name (CWD directory name)
  • Dashboard: Read DASHBOARD.local.json — act on what needs attention (new mail → check inbox, active plans → note them). This is your single status glance.

Use drone commands for all operations. Never raw git, gh, file access, or python -m when drone provides it.

Memories

Update .trinity/ at natural breakpoints, after milestones, and on /memo (Claude Code) or $memo (Codex).

Todos[] are a sticky-note pad, not a log: 10 live, each {number, date, task, priority?}, the task one line under 100 chars ("Check on seedgo's errors in logs"), no status field — the story lives in plans and sessions. Delete each todo the moment it's done. The oldest roll off by number to .backup/todo/<branch>/backlog.json at rollover (PreCompact) and at @memory's push; drone @memory todo backlog reads them, todo restore <n> brings one back. Rolling never closes anything, so reconcile on load: remove what is finished so it never resurfaces as open. A truncated .trinity read is a signal, not noise — say so first, then measure the file.

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. yesterday Changed · +12 tokens per session 8b2c4882dbf1
  2. 6d ago Changed · +4 lines · +240 tokens per session e29ff092cef1
  3. 1mo ago First seen · 21 lines · 250 tokens per session scan A a8a43de12ab6

Subscribe to this mod's changes

AIPass AGENTS.md is an instructions file published in the GitHub repository AIOSAI/AIPass (306 stars, last pushed yesterday), licensed MIT. It adds 502 tokens to every session, about $0.0020 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-30.

Related

Other instructions, from other repositories