sbproxy: Instructions file for Claude Code

CLAUDE.md

sbproxy CLAUDE.md is an instructions file for Claude Code from soapbucket/sbproxy. It costs 11,596 tokens per session, scanned A, a copy of sbproxy AGENTS.md, Apache-2.0.

A set of project instructions for developing sbproxy, a Rust workspace containing multiple related packages. It lists repository checks and warnings about common validation and editing mistakes.

In plain words
What is it for?
Use it when editing sbproxy, running pre-commit checks, adding changelog fragments, checking operator URLs, or validating generated changes.
Why use it?
It helps coding agents follow the project's CI requirements and avoid changes that appear valid locally but fail automated checks or alter the wrong document section.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is soapbucket/sbproxy's own configuration. It tells Claude Code 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/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/soapbucket/sbproxy

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/soapbucket/sbproxy/claude-md"><img src="https://agentmods.dev/badge/instructions/soapbucket/sbproxy/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11,596 This file is loaded in full into every session.
When invoked 11,596 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 88% copy Near-identical to another mod 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.11596 $0.11596
Opus 5.5 $0.04638 $0.04638
Sonnet 5.5 $0.02319 $0.02319
Haiku 4.5 $0.01160 $0.01160

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

Security

Grade A, and why

sbproxy CLAUDE.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

This is a copy

88% identical to sbproxy AGENTS.md — 132 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 905 lines

How it starts

The opening of the file, as written. The whole thing — 905 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
Operator URLs at log lines bash scripts/check-log-url-ratchet.sh
AI dispatch stack budget bash scripts/check-stack-budget-ratchet.sh
Attribute placement python3 scripts/check-attribute-placement.py --check
Attribute theft (diff-scoped) python3 scripts/check-attribute-theft.py --check
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
Durable file modes bash scripts/check-durable-file-modes.sh
Secret-bearing Debug registry bash scripts/check-secret-debug-registry.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 · 905 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 065571d581de
  2. 2mo ago Changed · +80 lines · +1,231 tokens per session 32e420668800
  3. 2mo ago Changed · +2 lines · +43 tokens per session d775cfa8b039
  4. 2mo ago First seen · 814 lines · 10,201 tokens per session scan A c3631cb7790c

Subscribe to this mod's changes

sbproxy CLAUDE.md is an instructions file published in the GitHub repository soapbucket/sbproxy (54 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 11,596 tokens to every session, about $0.0464 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 88% identical to sbproxy AGENTS.md, differing in 132 lines, and is treated as a copy.

Related

sbproxy CLAUDE.md compared with instructions from other repositories

sbproxy CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sbproxy CLAUDE.mdsoapbucket/sbproxyInstructions file541mo agoApache-2.0A11,596Claude Code
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