Borrowing it
Nothing to install: this file belongs to rhishi99/agy-headless-bridge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rhishi99/agy-headless-bridge/main/AGENTS.mdgit clone --depth 1 https://github.com/rhishi99/agy-headless-bridgeWrote 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.
[](https://agentmods.dev/instructions/rhishi99/agy-headless-bridge/agents-md)<a href="https://agentmods.dev/instructions/rhishi99/agy-headless-bridge/agents-md"><img src="https://agentmods.dev/badge/instructions/rhishi99/agy-headless-bridge/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.
<a href="https://agentmods.dev/instructions/rhishi99/agy-headless-bridge/agents-md"><img src="https://agentmods.dev/badge/instructions/rhishi99/agy-headless-bridge/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01167 | $0.01167 |
| Opus 5.5 | $0.00467 | $0.00467 |
| Sonnet 5.5 | $0.00233 | $0.00233 |
| Haiku 4.5 | $0.00117 | $0.00117 |
Grade A, and why
agy-headless-bridge 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 2d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agy-headless-bridge — Multi-Agent Engineering Rules & Protocol
This document defines the operating rules for all AI coding agents (Claude Code, Antigravity/agy, Codex, and subagents) working in this repository.
1. Operating Rules & Core Invariants
- Repository Scope & Mission:
agy-headless-bridgeis the headless ConPTY bridge, direct JSON runner, and MCP server enabling headless automation of Google Antigravity CLI (agy). - Protected & Canonical Files:
src/agy_headless_bridge/: Core package. Keep public signatures and CLI contract backwards-compatible.server.json&.claude-plugin/: MCP and plugin manifests. Must stay synchronized on version bumps.CLAUDE.md&AGENTS.md: Update only when system workflows or rules evolve.
- End Every Turn With Next Step: State clearly what was done and provide a concrete, actionable next step.
- Validate Live Before Claiming Success: Always run test suites and verify output before asserting completion. Evidence before assertions always.
2. Token Budget Discipline (MANDATORY)
Rhishi operates with strict token budget discipline across projects. Maximize work done per token:
- RTK Command Prefixing:
rtk-prefix EVERY shell command — no exceptions (e.g.,rtk git status,rtk pytest -q). Applies inside chained commands too. - Terse, Dense Output: Keep responses concise and decision-dense. Avoid conversational filler or echoing back files verbatim.
- Batched Memory Reads: At session/task start, read auto-memory
MEMORY.md+ relevantobsidian-memory/note BEFORE reading source code. Prefer targeted reads (rtk grep, line ranges) over whole-file dumps. - Batched Memory Writes: Write memory/obsidian ONCE at task end (batched). Never write mid-session.
- Filtered Test & Lint Runs: Always use filtered runs (
rtk pytest -q), never raw unfiltered dumps that pollute the context window. - Subagent Delegation: Delegate broad multi-step exploration, heavy documentation scans, or isolated experiments to a subagent (
senior-software-architect, etc.) so the main thread context only processes the compressed result. Keep subagent count low (1–3 max).
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.
- 2d ago First seen · 80 lines · 1,167 tokens per session scan A d7807f2595bc
agy-headless-bridge AGENTS.md is an instructions file published in the GitHub repository rhishi99/agy-headless-bridge (23 stars, last pushed yesterday), licensed MIT. It adds 1,167 tokens to every session, about $0.0047 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-11-28.
agy-headless-bridge AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agy-headless-bridge AGENTS.mdrhishi99/agy-headless-bridge | Instructions file | 23 | yesterday | MIT | A | 1,167 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 289k | 2d ago | MIT | A | 4,393 | Codex, OpenCode |