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/aphrody-code/bxc/claude-mdgit clone --depth 1 https://github.com/aphrody-code/bxcWhat 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.04785 | $0.04785 |
| Opus 5 | $0.02393 | $0.02393 |
| Sonnet 5 | $0.00957 | $0.00957 |
| Haiku 4.5 | $0.00479 | $0.00479 |
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 yesterday.
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 — 224 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.
- yesterday 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 (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,785 tokens to every session, about $0.0239 per session on Opus 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
obscura AGENTS.md
Instructions for h4ckf0r0day/obscura, covering agents.md, build, rendering and stealth, no rendering, with rustls or stealth and test.
browser-harness CLAUDE.md
Instructions for browser-use/browser-harness, a project described as: Browser Harness | Self-healing harness that enables LLMs to complete any task.
terminal AGENTS.md
Instructions for browser-use/terminal, covering agent notes, rust rewrite verification loop and terminal ui testing standard.
rustwright AGENTS.md
Instructions for Skyvern-AI/rustwright, covering repository instructions, public boundary, pull-request review, local verification and browser launches.
Uni-CLI AGENTS.md
Instructions for olo-dot-io/Uni-CLI, covering uni-cli, agent routing rule, always-on writing rule, what you can do and web (183+ sites).
core AGENTS.md
Instructions for TideSurf/core, covering tidesurf agent guide, project, architecture, commands and website design.