unitares: Instructions file for Claude Code

AGENTS.md

unitares AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from cirwel/unitares. It costs 10,433 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for unitares, including how Codex should work in the project and how its shared rules stay aligned with CLAUDE.md. They also document state updates, lifecycle hooks, and continuity data.

In plain words
What is it for?
Use them when working on unitares, its Codex integration, slash commands, local continuity cache, state synchronization, or development checks for shared instructions.
Why use it?
They explain which automated signals represent real agent check-ins and which are only audit records. This helps agents avoid treating every hook event as meaningful state.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PostToolUse hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cirwel/unitares/agents-md"><img src="https://agentmods.dev/badge/instructions/cirwel/unitares/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10,433 This file is loaded in full into every session.
When invoked 10,433 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.10433 $0.10433
Opus 5.5 $0.04173 $0.04173
Sonnet 5.5 $0.02087 $0.02087
Haiku 4.5 $0.01043 $0.01043

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

Security

Grade A, and why

unitares 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 · 444 lines

How it starts

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

AGENTS.md — unitares

Bootstrap for Codex (and other non-Claude) sessions in this repo. This file is the machine-facing Codex bootstrap. Content below the SHARED CONTRACT markers is kept byte-identical with CLAUDE.md — CI (scripts/dev/check-shared-contract.sh) enforces parity. Edit shared rules in both files; edit the Codex preamble here only.

For the human-facing Codex quickstart, see docs/guides/CODEX_START.md.

The installable Codex/Claude adapter bundle is canonical in the companion unitares-governance-plugin repo. This file only governs how Codex should behave while working directly inside the unitares server repo.

Codex-specific wiring

Codex exposes synchronous lifecycle hooks, but they do not imply a continuously running agent. Agent-authored state writing is sparse and has no fixed turn cadence: call sync_state only at a meaningful milestone when you also hold a judgment the substrate cannot infer. The plugin's Stop hook may add one automatic substrate_interpretation after the turn; that is not an agent-authored check-in. Lazy onboarding can also write a synthetic bootstrap row; initialization is not a real check-in. PostToolUse receipts and optional hook-parent heartbeats are audit evidence only — never agent runtime, progress, or EISV. Do not manufacture per-tool or per-edit check-ins.

Slash commands (commands/*.md)

  • /governance-start — onboard or resume; refreshes local continuity state
  • /checkin — an agent-authored judgment at a meaningful milestone
  • /diagnose — identity, state, and operator diagnostics
  • /dialectic — structured review
  • /closeout — final workspace hygiene check; reports dirty files, Git delivery state (local vs pushed/merged), and repo-rooted processes; can stash/stop when cleanup is requested

Raw tool flow when slash commands are unavailable: start_session(force_new=true, parent_agent_id=<prior uuid ONLY when handing off from an exited predecessor>, spawn_reason="explicit") → save agent_uuid + client_session_id → sync_state(response_text, complexity, client_session_id=...) only at a meaningful milestone when you also hold a judgment the substrate cannot infer → check_working_state() for read-only checks → health_check() only if system health is suspect. Canonical/raw equivalents are onboard(...), process_agent_update(...), and get_governance_metrics(...).

Read the full file on GitHub · 444 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. yesterday Changed · +4 lines · +47 tokens per session 4fe58f89e351
  2. 2d ago Changed · +64 tokens per session 4ed5cf593608
  3. 4d ago Changed · +7 lines · +127 tokens per session 5837677afbaa
  4. 12d ago Changed · +93 tokens per session c3504ca7866a
  5. 14d ago Changed · +2 lines · +42 tokens per session d27b23cb878c
  6. 15d ago Changed · +36 tokens per session b49ad02ec7e4
  7. 16d ago Changed · -26 tokens per session 0bdf86850eac
  8. 18d ago Changed · +9 lines · +213 tokens per session 0348d8e30e95
  9. 19d ago Changed · +1 lines · +184 tokens per session 50f3c9a8c75d
  10. 22d ago First seen · 421 lines · 9,653 tokens per session scan A 4c93aa93adfd

Subscribe to this mod's changes

unitares AGENTS.md is an instructions file published in the GitHub repository cirwel/unitares (6 stars, last pushed today), licensed Apache-2.0. It adds 10,433 tokens to every session, about $0.0417 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-31.

Related

unitares AGENTS.md compared with instructions from other repositories

unitares AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unitares AGENTS.mdcirwel/unitaresInstructions file6todayApache-2.0A10,433Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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