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.
npx agentmods add instructions/bex-co/bex/claude-mdgit clone --depth 1 https://github.com/bex-co/bexWrote 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/bex-co/bex/claude-md)<a href="https://agentmods.dev/instructions/bex-co/bex/claude-md"><img src="https://agentmods.dev/badge/instructions/bex-co/bex/claude-md.svg" alt="Measured on agentmods" 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 | $0.01797 | $0.01797 |
| Opus 5 | $0.00898 | $0.00898 |
| Sonnet 5 | $0.00359 | $0.00359 |
| Haiku 4.5 | $0.00180 | $0.00180 |
Grade A, and why
bex 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 today.
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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
bex is the open-source Render alternative — AI-native (ADR008). A Go Kubernetes operator reconciles App CRs (app.bex.co/v1alpha1, bex-system) into running services. All Go lives in lego/ (Latin legō, "I assemble") — one image, four workspace modules: types/ (CRD contract, leaf), operator/ (mechanism, DB-free manager), backend/ (bex-api on :8090 + SSH gateway), cli/ (Render CLI launcher, bex-cli/v* train). operator → types ← backend; cli imports none.
Repo map
lego/— all Go, self-contained (go.work,Dockerfile; contextlego/). README, workspace rules.lego/types/—App/DatabaseCRD typeslego/operator/— manager → Deployment/Service/Ingress; ownsconfig/+ codegen. operator guidelego/backend/— bex-api (REST/GraphQL/MCP + OpenFGA) + ssh-gateway. backend guidelego/cli/—bexCLI launcher (pinnedrender-oss/cli). README
dashboard/— TanStack Start + Apollo + shadcn, client of bex-api GraphQL. dashboard guideinfra/— day-0: Terraform + Cluster API (local-capd⇄hetzner-caph)deploy/gitops/— day-1: Argo CD platform infra (not user deploys)examples/—whoami-app.yaml,hello-go/scripts/— cluster helpers (mock-cluster.sh,app-apply.sh,deploy-sample.sh)docs/— one file per topic. Full catalog in docs/CLAUDE.md.pm/— internal PM board (may be stale). Conventions in .pm/CLAUDE.md
Commands
All make targets live in lego/operator/; see lego/CLAUDE.md for workspace Go-version split + codegen. CI gates:
make test(operator, fromlego/operator/) — CRD/RBAC codegen + envtestcd lego/backend && go test ./...— backend (real Postgres + OpenFGA in CI)make lint(all four modules) — golangci-lint + whole-program dead-code analysis; depguard guards theidconventioncd lego/cli && go test ./...— CLI launcher
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.
- today Changed · +7 tokens per session 8a5dfc4b5c7f
- 4d ago First seen · 73 lines · 1,790 tokens per session scan A af1a22a65604
bex CLAUDE.md is an instructions file published in the GitHub repository bex-co/bex (420 stars, last pushed today), licensed Apache-2.0. It adds 1,797 tokens to every session, about $0.0090 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.
Other instructions, from other repositories
mariadb-operator AGENTS.md
AGENTS.md instructions for mariadb-operator/mariadb-operator, covering agents.md, project overview, simplicity, crds and repository structure.
openclaw-operator CLAUDE.md
Claude Code instructions for paperclipinc/openclaw-operator, covering claude.md — openclaw kubernetes operator, project overview, commands, architecture and reconciliation rules.
kubara AGENTS.md
AGENTS.md instructions for kubara-io/kubara, covering ai agent context, scope, product intent (stable), truth hierarchy and reference map.
home-ops AGENTS.md
AGENTS.md instructions for gavinmcfall/home-ops, covering ai assistant configuration, 📚 documentation location, 📖 read first, ⚠️ critical invariants and capsule: gitopsreconciliation.
home-ops copilot-instructions.md
Instructions for GitHub Copilot when working with this homelab repository.
AIMA AGENTS.md
Instructions for Approaching-AI/AIMA, covering aima — development guide, what is this, release flow & version management, version taxonomy and product tag rules.