Borrowing it
Nothing to install: this file belongs to zoharbabin/web-researcher-mcp. 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/zoharbabin/web-researcher-mcp/main/.claude/commands/rebuild-local.mdgit clone --depth 1 https://github.com/zoharbabin/web-researcher-mcpWrote 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/commands/zoharbabin/web-researcher-mcp/rebuild-local)<a href="https://agentmods.dev/commands/zoharbabin/web-researcher-mcp/rebuild-local"><img src="https://agentmods.dev/badge/commands/zoharbabin/web-researcher-mcp/rebuild-local/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/commands/zoharbabin/web-researcher-mcp/rebuild-local"><img src="https://agentmods.dev/badge/commands/zoharbabin/web-researcher-mcp/rebuild-local.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.00020 | $0.00315 |
| Opus 5 | $0.00010 | $0.00158 |
| Sonnet 5 | $0.00004 | $0.00063 |
| Haiku 4.5 | $0.00002 | $0.00032 |
Grade A, and why
rebuild-local 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 12d 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.
What it actually says
Run the deterministic local rebuild script and report its output verbatim. This does the whole clear-cache → rebuild → reinstall flow in one shell call with no further analysis or tool roundtrips.
Default (clear + build + install to every location the binary might be invoked from — the ~/.claude.json-configured path plus every distinct web-researcher-mcp found on $PATH):
!bash scripts/rebuild-local.sh $ARGUMENTS
After it finishes, state the installed version and every install path from the script output, and remind the user to restart their MCP client(s) to load the new binary. Do not run any additional commands unless the script reports an error.
Useful $ARGUMENTS to pass after /rebuild-local:
--no-install— build only, skip the install step--keep-build-cache— skipgo clean -cache(faster incremental build)--help— print the script's full usage/env-override referenceINSTALL_PATH=/some/path(env var, not an argument) — install to exactly that one path only, skipping auto-discovery of every other location
The script preserves personal data (sessions/, persist/) and only clears the response cache (*.cache + .version).
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.
- 12d ago First seen · 22 lines · 20 tokens per session scan A 330022075dd6
rebuild-local is a command published in the GitHub repository zoharbabin/web-researcher-mcp (57 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 315 once invoked, about $0.0001 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 commands, from other repositories
bmad-advanced-elicitation
Push the LLM to reconsider, refine, and improve its recent output. Use when user asks for deeper critique or mentions a known deeper critique method, e.g. socratic, first principles, pre-mortem, red team.
orchestrator
Bind this session as Ledger Orchestrator.
bmad-prfaq
Working Backwards PRFAQ challenge that stress-tests a product concept customer-first. Use when the user requests to 'create a PRFAQ', 'work backwards', or 'run the PRFAQ challenge'.
bmad-review-edge-case-hunter
Walk every branching path and boundary condition in content, report only unhandled edge cases. Orthogonal to adversarial review - method-driven not attitude-driven. Use when you need exhaustive edge-case analysis of code, specs, or diffs.
bmad-editorial-review-prose
Clinical copy-editor that reviews text for communication issues. Use when user says review for prose or improve the prose.
bmad-review-adversarial-general
Perform a Cynical Review and produce a findings report. Use when the user requests a critical review of something.