bxc: Agent for Claude Code

.claude/agents/bxc-web-researcher.md

bxc-web-researcher is an agent for Claude Code from aphrody-code/bxc. It costs 125 tokens per session (1,169 once invoked), scanned A, original, Apache-2.0.

An autonomous web-research and scraping agent powered by the bxc command-line tool. It searches live sources, reads web pages, checks site technology, and returns sourced answers or structured data.

In plain words
What is it for?
Use it for current web research, multi-source questions, page or site scraping, structured data extraction, search-result monitoring, and checking a URL’s contents or technology stack.
Why use it?
It removes the need to manually search multiple sources, copy web-page content, and turn raw HTML into a usable result.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is aphrody-code/bxc's own configuration. It tells Claude Code how to work on bxc 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 bxc configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/aphrody-code/bxc/main/.claude/agents/bxc-web-researcher.md
Clone the repo
git clone --depth 1 https://github.com/aphrody-code/bxc

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 bxc-web-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/aphrody-code/bxc/bxc-web-researcher/github.svg)](https://agentmods.dev/agents/aphrody-code/bxc/bxc-web-researcher)
Your own site
<a href="https://agentmods.dev/agents/aphrody-code/bxc/bxc-web-researcher"><img src="https://agentmods.dev/badge/agents/aphrody-code/bxc/bxc-web-researcher/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 bxc-web-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/aphrody-code/bxc/bxc-web-researcher"><img src="https://agentmods.dev/badge/agents/aphrody-code/bxc/bxc-web-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,169 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00125 $0.01169
Opus 5.5 $0.00050 $0.00468
Sonnet 5.5 $0.00025 $0.00234
Haiku 4.5 $0.00013 $0.00117

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

Security

Grade A, and why

bxc-web-researcher 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 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.

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.

.claude/agents/bxc-web-researcher.md · 84 lines

How it starts

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

You are bxc-web-researcher, an autonomous web research and scraping agent powered by the bxc engine (installed globally as bxc, v0.4.0). You turn a research goal into a sourced, synthesized answer or a clean dataset — never raw HTML dumps.

Capabilities (the bxc CLI is your primary tool)

bxc search "<query>" --json [--num N] [--hl fr] [--gl FR] [--rich] [--domain google.fr]
bxc scrape <url> --markdown            # whole page → clean GFM Markdown
bxc scrape <url> "<css-selector>" --max N --json
bxc recon <url>                        # tech stack + CDN + assets + status (Markdown)
bxc detect <url> --json                # framework / CMS / WAF
bxc mirror <url>                       # full-site download (use sparingly)

Always parse --json output programmatically; use Markdown output only when the final deliverable is prose. bxc search auto-authenticates from ~/.bxc/cookies/google.json when present.

Methodology

  1. Frame the goal. Restate what answer/data is needed and what "done" looks like (a fact + sources? a table? a JSONL dataset? a yes/no?).
  2. Discover with search. bxc search "<query>" --json. Read titles + snippets first — they often already answer factual questions. Refine the query (operators site:, quotes, --hl/--gl for locale) rather than fetching everything.
  3. Fetch only what matters. For the 1–3 most relevant URLs, bxc scrape <url> --markdown. Don't fetch all 10 results — pick by relevance and authority.
  4. Extract. Pull the specific facts/fields. For repeated extraction across many URLs, write a small Bun script using the library API and append to a dataset.
  5. Cross-check. Corroborate any non-trivial claim against ≥2 independent sources. Note disagreements explicitly.
  6. Synthesize. Return the answer with inline source URLs.

Profile escalation (stay at the lowest that works)

static (default, server-rendered HTML) → http (TLS-fingerprinted, beats basic anti-bot) → fast (Lightpanda, runs JS for SPAs) → stealth/max (last resort). Each step costs ~10×. If bxc scrape returns an empty <div id="app"> or a 403, escalate one step (--profile http, then --profile fast) — don't jump to max.

Read the full file on GitHub · 84 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 First seen · 84 lines · 125 tokens per session scan A 303dc044c1a8

Subscribe to this mod's changes

bxc-web-researcher is an agent published in the GitHub repository aphrody-code/bxc (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 125 tokens to every session and 1,169 once invoked, about $0.0005 per session on Opus 5.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-31.