sbproxy: Instructions file for Codex

AGENTS.md

sbproxy AGENTS.md is an instructions file for Codex, OpenCode from soapbucket/sbproxy. It costs 10,180 tokens per session, scanned A, original, Apache-2.0.

A set of project instructions for developing and releasing sbproxy, a Rust workspace containing multiple related packages. It documents required checks, changelog handling, and how pushing code ships it.

In plain words
What is it for?
Use it when editing sbproxy, preparing commits, adding changelog fragments, running the project gate, or pushing a release.
Why use it?
It gives coding agents the repository rules and the exact checks needed before a change can pass CI, the automated build-and-test system.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is soapbucket/sbproxy's own configuration. It tells Codex and OpenCode how to work on sbproxy 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 sbproxy configures →

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/soapbucket/sbproxy/agents-md"><img src="https://agentmods.dev/badge/instructions/soapbucket/sbproxy/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10,180 This file is loaded in full into every session.
When invoked 10,180 The same file — it is already loaded in full.
Security scan A 1 finding. 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.10180 $0.10180
Opus 5.5 $0.04072 $0.04072
Sonnet 5.5 $0.02036 $0.02036
Haiku 4.5 $0.01018 $0.01018

Measured 1mo ago against content hash 339cf6bf2244, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sbproxy AGENTS.md scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

conformance/ - vendored curl-and-bash conformance suite
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 797 lines

How it starts

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

sbproxy (Rust workspace)

Last modified: 2026-09-08

The active implementation of sbproxy. Cargo workspace with ~20 crates under crates/, an e2e suite under e2e/, examples under examples/, and an internal observability/cache/AI/security stack.

Pre-commit checks

Before committing any change, run all checks. Each one corresponds to a required CI gate; if any fails locally, CI will fail too. The table is ordered the way scripts/check.sh runs them, cheapest first, so a failure that takes seconds to find is not discovered behind a ten-minute build.

Check Command
Tracker placeholders grep -rn 'WOR-XXX' crates/ --include='*.rs' --include='*.toml' (any hit fails)
pub-item ratchet bash scripts/check-pub-item-ratchet.sh
unwrap/expect/panic ratchet bash scripts/check-unwrap-ratchet.sh
AI dispatch stack budget bash scripts/check-stack-budget-ratchet.sh
Spec citations bash scripts/check-spec-citations.sh
Env mutation bash scripts/check-env-mutation.sh
expect_err on non-Debug types bash scripts/check-expect-err-non-debug.sh
NOTICE (Apache-2.0-only) bash scripts/check-notice.sh
Doc drift bash scripts/check-doc-drift.sh
Tapes + GIF wiring make tapes-check
Doc configs python3 scripts/sync-doc-configs.py --check
Documented output python3 scripts/check-doc-captures.py --check --stackless-only
Review-evidence parser python3 scripts/check-review-evidence.py --self-test
Changelog fragments python3 scripts/changelog-fragments.py --check
Installer sh scripts/tests/install_verify.sh
Format cargo fmt --all -- --check
Nested lockfiles bash scripts/check-nested-lockfiles.sh
Supply chain (crates) cargo deny --all-features check
Supply chain (npm) cd ui && npm audit --package-lock-only --audit-level=high
UI cd ui && npm ci && npm run typecheck && npm run test -- --run
Build cargo build --workspace --exclude sbproxy-e2e --locked
Test cargo nextest run --workspace --exclude sbproxy-e2e --locked --profile ci
Observability budgets cargo test --workspace --locked --test cardinality, then the same for --test metrics_per_agent and --test redaction
Doctest cargo test --workspace --exclude sbproxy-e2e --locked --doc
Clippy cargo clippy --workspace --all-targets -- -D warnings
Docs RUSTDOCFLAGS="-D warnings -D missing_docs" cargo doc --workspace --no-deps --locked
Docs (private items) RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --locked --document-private-items
Payment features (on by default) bash scripts/check.sh; SBPROXY_CHECK_PAYMENTS=0 skips it

Read the full file on GitHub · 797 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. 1mo ago Changed · +9 lines · +121 tokens per session 339cf6bf2244
  2. 2mo ago Changed · +80 lines · +1,243 tokens per session a8a2384622bb
  3. 2mo ago Changed · +2 lines · +43 tokens per session 406957e4cd5b
  4. 2mo ago First seen · 706 lines · 8,773 tokens per session scan A ed47d0038206

Subscribe to this mod's changes

sbproxy AGENTS.md is an instructions file published in the GitHub repository soapbucket/sbproxy (54 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 10,180 tokens to every session, about $0.0407 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

sbproxy AGENTS.md compared with instructions from other repositories

sbproxy AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sbproxy AGENTS.mdsoapbucket/sbproxyInstructions file541mo agoApache-2.0A10,180Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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