agentbro AGENTS.md

agentbro AGENTS.md is an instructions file for Codex, OpenCode from shirenchuang/agentbro. It costs 1,558 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for AgentBro, a macOS app that shows activity from AI coding tools in a floating overlay. They document the project structure and commands for development and testing.

In plain words
What is it for?
Understanding AgentBro’s architecture, running its development servers, checking Rust and TypeScript code, and running tests and builds.
Why use it?
They help an agent change the Rust and React code without missing the project’s required checks or delivery workflow.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/shirenchuang/agentbro/agents-md
Clone the repo
git clone --depth 1 https://github.com/shirenchuang/agentbro

Made for: 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 agentbro AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shirenchuang/agentbro/agents-md.svg)](https://agentmods.dev/instructions/shirenchuang/agentbro/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/shirenchuang/agentbro/agents-md"><img src="https://agentmods.dev/badge/instructions/shirenchuang/agentbro/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,558 This file is loaded in full into every session.
When invoked 1,558 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01558 $0.01558
Opus 5 $0.00779 $0.00779
Sonnet 5 $0.00312 $0.00312
Haiku 4.5 $0.00156 $0.00156

Measured 4d ago against content hash ecc36593f348, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agentbro 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 4d 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.

AGENTS.md · 98 lines

How it starts

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

AGENTS.md

Project guidance for AI coding agents (Codex / Cursor / Aider / GitHub Copilot / Gemini CLI / …). Claude Code users should also read .claude/CLAUDE.md for deeper detail.

What this is

AgentBro is a macOS-only Tauri app (Rust backend + React 19 / TypeScript frontend) that surfaces events from AI coding agents (Claude Code, Codex, Gemini CLI, Cursor, Copilot, etc.) into a floating "Dynamic Island" overlay.

Local commands

pnpm install                                              # one-time
pnpm dev                                                  # browser UI only at http://localhost:1423
pnpm tauri:dev                                            # full native app
pnpm lint                                                 # ESLint
pnpm test:run                                             # vitest (one-shot)
pnpm build                                                # tsc + vite build
cargo check --manifest-path src-tauri/Cargo.toml          # Rust quick check
cargo test  --manifest-path src-tauri/Cargo.toml          # Rust tests
cargo fmt   --manifest-path src-tauri/Cargo.toml          # Rust format
cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings

Before any PR, all of these must be green: pnpm lint, pnpm test:run, pnpm build, cargo check.

Mandatory GitHub delivery workflow

Use this workflow for every task that changes repository files, including bug fixes, features, refactors, tests, documentation, and configuration.

Pure questions, explanations, code review, read-only diagnosis, and research do not require an Issue or PR unless they turn into a repository change.

Before editing

  1. Confirm GitHub access with gh auth status and inspect the current branch and worktree.
  2. Search open Issues for the same scope. Reuse an existing Issue only when it describes the requested work; otherwise create a focused Issue with context, goal, acceptance criteria, and constraints.
  3. Start from the latest origin/dev on a dedicated branch named <agent>/issue-<number>-<slug> (for example, codex/issue-61-agent-github-workflow). Never implement on dev, main, or an unrelated task branch.
  4. If another task owns the current branch or worktree, preserve it and use a separate git worktree.
  5. Do not edit files until the Issue exists and its number is known.

Read the full file on GitHub · 98 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. 4d ago First seen · 98 lines · 1,558 tokens per session scan A ecc36593f348

Subscribe to this mod's changes

agentbro AGENTS.md is an instructions file published in the GitHub repository shirenchuang/agentbro (211 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,558 tokens to every session, about $0.0078 per session on Opus 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.