Borrowing it
Nothing to install: this file belongs to aphrody-code/bxc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/aphrody-code/bxc/main/CLAUDE.mdgit clone --depth 1 https://github.com/aphrody-code/bxcWrote 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/aphrody-code/bxc/claude-md)<a href="https://agentmods.dev/instructions/aphrody-code/bxc/claude-md"><img src="https://agentmods.dev/badge/instructions/aphrody-code/bxc/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.
<a href="https://agentmods.dev/instructions/aphrody-code/bxc/claude-md"><img src="https://agentmods.dev/badge/instructions/aphrody-code/bxc/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.07435 | $0.07435 |
| Opus 5.5 | $0.02974 | $0.02974 |
| Sonnet 5.5 | $0.01487 | $0.01487 |
| Haiku 4.5 | $0.00743 | $0.00743 |
Grade B, and why
bxc CLAUDE.md scanned grade B 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo install -m755 dist/standalone/bxc-linux-x64 /usr/local/bin/bxc # deploy binaire seul How it starts
The opening of the file, as written. The whole thing — 353 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — bxc
Contexte général partagé avec Gemini : voir
GEMINI.md.
Mémoire agy VPS :~/.gemini/antigravity-cli/MEMORY.md· deploy :DEPLOY.md. Ce fichier liste ce qui est spécifique à Claude Code ou ce qu'il faut rappeler systématiquement.
bxc — moteur de navigation "Zero-Spawn" pour agents IA. Bun runtime + Rust V8
bindings + historique Zig DOM. Publié sur GitHub Packages comme
@aphrody/bxc (repo aphrody-code/bxc), consommé par rpb-challonge (vps).
Objectif directeur (depuis 2026-08-27)
Protection des informations personnelles, confidentialité, anonymat en ligne. Le moteur de navigation est le moyen, plus la fin. Évaluer toute feature à l'aune de « est-ce que ça réduit l'exposition de l'utilisateur ? ».
- Noyau commun :
src/privacy/pii.ts(export@aphrody/bxc/privacy) — détection + caviardage des données identifiantes. Tout ce qui doit reconnaître une donnée perso passe par là, comme les deux purges X partagentpurge-engine.ts. Précision > rappel : ce qui se valide est validé (Luhn, IBAN mod-97, clé NIR) ;sirenest hors des types par défaut (9 chiffres sur 10 passent Luhn). Pseudonymisation HMAC à sel obligatoire — refuser plutôt que dégrader en hash nu. Tests :test/privacy/pii.test.ts. - Briques existantes qui servent déjà l'objectif : purges X (minimisation
des données publiées),
src/profiles/fingerprint.ts+ghost/(empreinte de navigation),src/cookies/(cloisonnement des sessions).
Rappels critiques
- Test scope :
bun test test/ packages/ src/— jamais sans path, sinon bun walkvendor/(mcp-sdk) et meurt. - Nommage : tout identifiant/ref code/docs/binaires doit être
bxc*. Le rebrand est terminé — ne réintroduire aucun ancien nommage de projet. packages/api: entry réel =src/index.ts(Elysia.listen()), PAS leindex.tsracine (stubbun init). Cf.packages/api/CLAUDE.md.- Docs x/xai :
packages/x/README.md(complete: features, algo ranking from x-algorithm, X+Grok synergy, usage, CLI, MCP, prod notes).packages/xai/README.md(complete & lisible: TOC, auth/SuperGrok, high-level Chat API with full examples for createChat/append/sample/stream/executeToolCalls/sampleStructured, XTools + tool defs + injectable for tests, native integration loops, quick ref, prod notes, contributing). See packages/xai/examples/grok-x-agent.ts for runnable native X + Grok example (docs item 7).- Purges autonomes : noyau partage
packages/x/src/services/purge-engine.ts(RateGovernor, taxonomie d'erreurs,runMutationQueue,readWithBackoff). Trois freins independants (jitter 4-11 s, 45 / fenetre 15 min, 400 / 24 h) + headersx-rate-limit-*, journaux reprenables 0600 sous~/.aphrody/. Un fix dans le noyau vaut pour les deux.unfollow.ts(purgeFollowing) — vide les abonnements, non-mutuels d'abord. CLIbxc x unfollow, MCPbxc_x_unfollow_purge, journalx-unfollow-<handle>.json.purge-tweets.ts(purgeTweets) — supprime tweets/reponses/medias sous un seuil de likes, moins likes d'abord ; parcourt les 3 timelines (aucune n'est un sur-ensemble des autres) ; retweets hors scope par defaut (leurs likes ne sont pas les tiens). CLIbxc x purge-tweets, MCPbxc_x_purge_tweets, journalx-purge-tweets-<handle>.json. Les deux : dry-run par defaut,--yespour executer. Exploitation VPS : daemonsbxc-x-unfollow.service/bxc-x-purge-tweets.service(auto-retry ; code de sortie 77 = credentials rejetes →RestartPreventExitStatus, 130 = arret propre →SuccessExitStatus) + watchdog communscripts/x-purge-doctor.sh. Tests :packages/x/unfollow.test.ts(41) +packages/x/purge-tweets.test.ts(40), horloge injectee, aucun appel live.
- Root README.md table and sections link to them.
- Keep in sync with code changes (new Chat methods, XTools, etc.). Tests: see
packages/x/index.test.ts,packages/x/unfollow.test.ts,packages/x/purge-tweets.test.tsetpackages/xai/index.test.ts(118 pass + 2 live-skipped = 120 total across packages; covers Chat full surface + stream/toolDeltas/execute/sampleStructured, XTools injectable+auto-dispatch+defs, algo rank full (filters/scoring/diversity), cross synergy with mock XClient, no live by default). - Sub-docs: packages/x/docs/ (COVERAGE.md updated with algo/tests notes, X_PRO.md, etc.).
packages/xai(avecpackages/x): client xAI/Grok natif. Toujours étendre createChat pour features Python SDK (reasoning_effort, search_parameters, structured zod/simple), XTools pour actions x (tweets/news/whoami+), améliorer erreurs Chat, tests unit tool-calling, compat SUPER_GROK_TOKEN. Mettre à jour README + CLAUDE. Focus combo Grok+X production agents. Vérif: bun test packages/xai/ + typecheck + lint (scoped, no live).- Services longs testables : injecter
now/sleep/randomdans les options (cf.packages/x/src/services/purge-engine.ts) → budgets, fenêtres glissantes et backoff se testent sur horloge factice, sans attente réelle. - MCP server :
src/mcp/server.ts(bxc-native-mcp, version = const en haut du fichier). Build :bun run build:mcp→dist/standalone/bxc-mcp. Manifest Gemini =gemini-extension.json(pointe sur/usr/local/bin/bxc-mcp).
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.
- 1mo ago Changed · +129 lines · +2,650 tokens per session 0d54093666d2
- 1mo ago First seen · 224 lines · 4,785 tokens per session scan B 8ba71cf508bc
bxc CLAUDE.md is an instructions file published in the GitHub repository aphrody-code/bxc (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 7,435 tokens to every session, about $0.0297 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.