reactive-resume
reactive-resume
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
PROJECT TOPICS
PROJECT README
Let Claude Code search and read the web through your own servers instead of its built-in web tools.
Stealth Search sends searches to your SearXNG and page reads to your Crawl4AI, or to your Browserless if you prefer it or want a backup. Claude gets clean Markdown from fully rendered pages, including JavaScript-heavy docs, and cites the sources it used.
[!IMPORTANT] You must run SearXNG and Crawl4AI yourself. This plugin includes no search engine or crawler and calls no hosted service. It only connects Claude Code to a SearXNG instance and a Crawl4AI server that you already run, on your machine, your LAN or your own server. A Browserless server is optional and can stand in for Crawl4AI. Without a search server and a page reader, the plugin does nothing useful.
WebSearch and WebFetch are blocked while the plugin is on. If one of your servers is down, you get a clear error, not a quiet switch to a public API. The only switch is to your own Browserless, if you set one up, and every switch shows up in the output.For Claude Code, there is no MCP server, extra API key or dependency to install. Everything runs on Bun.
| You need | What it's for |
|---|---|
Your own SearXNG, with JSON output enabled (search.formats includes json) |
Finding pages |
Your own Crawl4AI server (0.9.5 compatible API: /crawl, /crawl/stream, /md, /llm) and its API token |
Opening and rendering pages |
Optional: your own Browserless (v2, /function), with or without a token |
Fallback or replacement page reader |
Bun on your PATH |
Running the plugin |
| Claude Code 2.1.319 or newer | Loading the plugin |
Both servers must be reachable from the machine where Claude Code runs.
Get the plugin:
git clone https://github.com/kolezka/claude-stealth-search-plugin.git
cd claude-stealth-search-plugin
Point it at your servers. Edit the two URLs in config.example.sh, or export them yourself:
export SEARXNG_URL='http://searxng.example.lan'
export CRAWL4AI_API_URL='http://crawl4ai.example.lan:11235'
Start Claude Code with the plugin. You type the token in, so it never lands in your shell history or a file:
source ./config.example.sh
printf 'Crawl4AI token: '; read -r -s CRAWL4AI_API_TOKEN; printf '\n'
export CRAWL4AI_API_TOKEN
claude --plugin-dir "$PWD"
--plugin-dir turns the plugin on for that session only. Nothing is installed globally. Start Claude without the flag and it's off again.
Keep the token out of config.example.sh, CLAUDE.md, .env files and anything you commit. It's the password to your own Crawl4AI server.
The same tree also runs in DeepSeek Harness (DSH). The dsh/ directory holds a small adapter built on claude-plugins-dsh. It loads the crawl skill and both hooks, so DSH's web_search and web_fetch are blocked the same way. Claude Code never reads dsh/.
Install the adapter's pinned runtime dependency first. Export the same three variables in the shell that starts DSH, then add the adapter through DSH's plugin manager:
(cd dsh && bun install --frozen-lockfile)
dsh plugin --profile web add "file:$PWD/dsh"
After installing the dependency, you can instead turn it on for every profile with a row in ~/.dsh/cordis.patch.yml:
- insert:
- id: claude-compat-stealth-search
name: "file:///abs/path/to/claude-stealth-search-plugin/dsh/index.js"
In DSH the skill is called crawl, not stealth-search:crawl. Hooks need bun on the PATH and a POSIX shell.
Ask Claude to look something up and it will use your servers. You can also call the skill directly:
/crawl What changed in the latest Python release? Cite sources.
/crawl Read https://developer.apple.com/design/human-interface-guidelines/buttons
/crawl Collect up to 5 pages from the Apple HIG and summarise the navigation guidance.
If another plugin already uses /crawl, use the full name /stealth-search:crawl.
curl. A plugin that needs a specific web provider may clash with it, so turn this one on only when you want this setup.Claude calls a small CLI for you, and you can run it yourself:
bun scripts/web.ts search 'self-hosted search engines' --limit 5
bun scripts/web.ts fetch 'https://example.com/docs/page' --css-selector main
bun scripts/web.ts research 'self-hosted search engines' --limit 3
bun scripts/web.ts crawl 'https://example.com/docs/' --max-pages 5 --max-depth 1
bun scripts/web.ts fetch 'https://example.com/app' --endpoint stream
bun scripts/web.ts fetch 'https://example.com/docs/page' --endpoint md --filter bm25 --query 'install'
bun scripts/web.ts ask 'https://example.com/docs/page' 'Which versions are supported?'
search needs only SEARXNG_URL. fetch and crawl need a page reader (see below). ask needs CRAWL4AI_API_URL and CRAWL4AI_API_TOKEN. research needs SearXNG and a reader. Run bun scripts/web.ts --help for every option.
--endpoint picks the Crawl4AI API that reads the page: crawl (batch, default), stream (/crawl/stream) or md (/md, with --filter fit|raw|bm25|llm and --query). md returns no title or links, so crawl accepts only crawl and stream. ask uses /llm, which needs an LLM provider configured on the Crawl4AI server; without one the server returns HTTP 500 and the command fails. An empty Markdown body or answer is reported as empty_content, never as a page.
crawl and stream always ask for a stealth browser: playwright-stealth, a 1920x1080 viewport, and a fresh user agent. The server rejects simulate_user, override_navigator and magic from API clients, so those stay on the server config. /md and /llm cannot take a browser config. A failed read puts status_code and error_message on error when the server sent them.
Browserless reads pages through its /function API: Chrome loads the page and turns it into Markdown with title and links. Set it up next to Crawl4AI:
export BROWSERLESS_API_URL='http://browserless.example.lan:3000'
export BROWSERLESS_API_TOKEN=... # only if your Browserless needs one
export STEALTH_SEARCH_READER=auto # auto (default), crawl4ai or browserless
| Reader | What happens |
|---|---|
auto |
Crawl4AI reads. If BROWSERLESS_API_URL is set and Crawl4AI fails, Browserless reads instead. Without BROWSERLESS_API_URL it behaves exactly like crawl4ai. |
crawl4ai |
Only Crawl4AI. Never falls back. |
browserless |
Only Browserless. Crawl4AI settings are not needed. |
--reader on fetch, research and crawl overrides STEALTH_SEARCH_READER for one command. Each page has a reader field. Each switch adds a line to warnings with the Crawl4AI error. If Crawl4AI is unreachable, misconfigured or returns an HTTP error, the rest of that command goes straight to Browserless. If only one page fails, the next page tries Crawl4AI again. If Browserless fails too, the error includes the Crawl4AI failure in fallback_from. An out-of-scope redirect during a crawl never triggers a fallback.
Browserless supports --css-selector and --wait-for (css:SELECTOR or js:EXPRESSION) but not --endpoint stream|md, --filter or --query. ask always uses Crawl4AI.
Every command prints JSON. Success has "ok": true. A failure has "ok": false and an error object, and exits with code 1. Bad arguments exit with code 2.
complete: false and a warning. If a crawl fails partway, the error output still includes the pages collected so far.warnings. Zero results while engines are failing is an error, not "nothing found".bun install # TypeScript and Bun types, for the type check only
(cd dsh && bun install --frozen-lockfile) # DSH adapter tests
bun test
bun run typecheck
claude plugin validate --strict --json .
Tests run against a local HTTP fixture with a fake token. Passing tests show the hooks and CLI behave correctly. They don't show that a live Claude session picks this route, so check that by hand.
tests/browserless-live.test.ts checks the Browserless Markdown converter in a real browser. It is skipped unless you point it at a Browserless that can reach your machine:
docker run -d --rm -p 127.0.0.1:3000:3000 ghcr.io/browserless/chromium
BROWSERLESS_E2E_URL=http://127.0.0.1:3000 bun test tests/browserless-live.test.ts
Set BROWSERLESS_E2E_HOST if the browser can't reach this machine as host.docker.internal, and BROWSERLESS_API_TOKEN if your Browserless needs one.
The adapter imports the published claude-plugin-dsh runtime directly. After changing its pinned dependency, run bun install in dsh/ and commit the updated dsh/bun.lock. To inspect the adapter after installing its dependencies:
bun x claude-plugin-dsh@0.2.1 inspect "$PWD"
Unofficial plugin. Not affiliated with Anthropic, SearXNG or Crawl4AI.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: self-hosted。