agy-headless-bridge: Instructions file for Claude Code

CLAUDE.md

agy-headless-bridge CLAUDE.md is an instructions file for Claude Code from rhishi99/agy-headless-bridge. It costs 902 tokens per session, scanned A, original, MIT.

A set of instructions for work in the Antigravity project, including command formatting, memory handling, testing, delegation, and token use. It also requires certain tools and workflows for shell commands and evaluations.

In plain words
What is it for?
It is for guiding repository exploration, tests, memory updates, subagent use, and command execution.
Why use it?
It gives the agent consistent project rules and limits actions that could waste context or bypass the project's checks.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions subagents.

This is rhishi99/agy-headless-bridge's own configuration. It tells Claude Code how to work on agy-headless-bridge 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 agy-headless-bridge configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/rhishi99/agy-headless-bridge/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/rhishi99/agy-headless-bridge

Made for: Claude Code.

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 agy-headless-bridge CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rhishi99/agy-headless-bridge/claude-md/github.svg)](https://agentmods.dev/instructions/rhishi99/agy-headless-bridge/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/rhishi99/agy-headless-bridge/claude-md"><img src="https://agentmods.dev/badge/instructions/rhishi99/agy-headless-bridge/claude-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 agy-headless-bridge CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rhishi99/agy-headless-bridge/claude-md"><img src="https://agentmods.dev/badge/instructions/rhishi99/agy-headless-bridge/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 902 This file is loaded in full into every session.
When invoked 902 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.00902 $0.00902
Opus 5.5 $0.00361 $0.00361
Sonnet 5.5 $0.00180 $0.00180
Haiku 4.5 $0.00090 $0.00090

Measured 2d ago against content hash 7770f82d72c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agy-headless-bridge CLAUDE.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.

CLAUDE.md · 68 lines

How it starts

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

agy-headless-bridge — Developer & Agent Instructions

This repository provides the headless ConPTY bridge, direct JSON runner, and Model Context Protocol (MCP) server for Google's Antigravity CLI (agy).


Token Budget Discipline (MANDATORY)

Rhishi operates under strict token budget discipline across all repositories. Maximize work done per token:

  1. RTK Command Prefixing: rtk-prefix EVERY shell command — no exceptions (e.g., rtk git status, rtk pytest -q). Applies inside chained commands too.
  2. Terse, Dense Output: Keep responses concise and decision-dense. Avoid conversational filler or echoing back files verbatim.
  3. Batched Memory Reads: At session/task start, read auto-memory MEMORY.md + relevant obsidian-memory/ note BEFORE reading source code. Prefer targeted reads (rtk grep, line ranges) over whole-file dumps.
  4. Batched Memory Writes: Write memory/obsidian ONCE at task end (batched). Never write mid-session.
  5. Filtered Test & Lint Runs: Always use filtered runs (rtk pytest -q), never raw unfiltered dumps that pollute the context window.
  6. 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).

Development Workflow Rules (MANDATORY)

  1. Strict TDD (Test-Driven Development):
    • For any new function, endpoint, or behavior change: write a failing test first in tests/.
    • Run the test to observe failure (rtk pytest -q tests/test_<target>.py).
    • Implement the minimal code required to turn the test green.
    • Refactor cleanly while maintaining green tests.
    • No production code without a test that drove it.
  2. Ponytail Anti-Over-Engineering Protocol:
    • Smallest working diff wins. YAGNI (You Aren't Gonna Need It) is strictly enforced.
    • Never add unsolicited abstractions, speculative helper functions, or unnecessary configuration layers.
    • Ponytail mode governs design minimalism — it does NOT relax strict TDD.
  3. Honesty Over Optimism:
    • State plainly when a step (TDD, live validation, token rule) was NOT followed and why — never imply compliance you didn't achieve.
  4. End Every Response With Next Step:
    • Always conclude each turn with a concrete, actionable next step.

Read the full file on GitHub · 68 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. 2d ago Changed · +55 lines · +595 tokens per session 7770f82d72c3
  2. 2mo ago First seen · 13 lines · 307 tokens per session scan A 48699ead8e0e

Subscribe to this mod's changes

agy-headless-bridge CLAUDE.md is an instructions file published in the GitHub repository rhishi99/agy-headless-bridge (23 stars, last pushed yesterday), licensed MIT. It adds 902 tokens to every session, about $0.0036 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-09-28.

Related

agy-headless-bridge CLAUDE.md compared with instructions from other repositories

agy-headless-bridge CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agy-headless-bridge CLAUDE.mdrhishi99/agy-headless-bridgeInstructions file23yesterdayMITA902Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode