verify-unbrowse
БесплатноЗапускает вложенные скриптыНе проверенProve a change to the Unbrowse node (unbrowse-core) works by running it. Builds the node from this checkout, starts a scratch node on its own port and home…
от unbrowse-ai★ 954 звезды на GitHubОб этом скилле
verify-unbrowse
scripts/unbrowse-verify drives a scratch node built from this checkout. Every command prints one JSON object,
exits 0 on success and 1 on failure with error and fix fields. unbrowse-verify --help and
unbrowse-verify <command> --help describe every flag.
V=skills/verify-unbrowse/scripts/unbrowse-verify # from the repository root
What a scratch node is: test-banks/popular-sites/scratch-node.sh under the hood. It gets its own home
(/tmp/ubv-<port>/home/node), its own temp folder and none of your shell's environment. It runs headless, on a devnet
with no fork (Anvil on <port>+1), with telemetry, bug reports, sharing and the peer network off, and it takes a
plain bearer agent token. It never uses port 7788 or ~/.unbrowse; the CLI refuses 7788 outright.
Launch
Build once per change (debug, both workspaces). Point
CARGO_TARGET_DIRat a disk with room: a debug build of the node and the browser program takes about 6 GB.CARGO_TARGET_DIR=/path/with/room $V build # --dry-run prints the stepsEvery later command finds the binaries through the same
CARGO_TARGET_DIR, so export it for the session.A page-code runtime, once. The scratch node runs a page's signing code only in Node 25 or later, whose permission model denies the network.
$V runtimefinds one (SIGNING_PROGRAM,nodeonPATH) or fetches Node 25 from nodejs.org, checked against itsSHASUMS256.txt, into~/.local/state/unbrowse-verify/runtime.Start.
$V start --port 17810 # --dry-run prints the planReady means the script saw
/v1/healthanswer and minted an agent key;startreturns"ok": truewith the pid, or"ok": falsewith the script's stderr. A Chrome is found onPATH, in the Playwright cache, or inCHROME; with none, the node downloads Chrome for Testing first (slower start). Switches ofscratch-node.shpass through:--env SECOND_WALK=1,--env SENT_LOG=1,--env ONE_ASK=1;--headedlets the browser open a window for a door that refuses headless browsers: a walk that answersoutcome: refusedwithwhynaming a refused mint and "only a window could ask again" is that case. On Linux the window opens on the caller's display (DISPLAY,WAYLAND_DISPLAY,XAUTHORITYare passed only with--headed). Clean up and start again with--headed; never count the headless refusal as a pass, and say which mode answered.
Doctor
Run it first, and whenever anything looks off. Read-only.
$V doctor --port 17810
It passes ("pass": true, exit 0) only when every check holds: the node was started by this tool; the process is
alive and is the built unbrowse-node; the port's listener is that process; its UNBROWSE_HOME is the scratch home;
/v1/health says alive; GET /v1/whoami accepts the agent token; and the node was started at this checkout's
HEAD. health.checks shows the chain, keys and network lines; owner_node says the owner's node was left alone.
ready is reported but doesn't fail the doctor; a scratch node off the network reads ready: true with the chain "not needed". A process_is_built_node
failure ending "rebuilt since start" means the binary changed under the node: restart before trusting an answer.
Drive
The agent is the caller (AGENTS.md, "Testing against sites"): one site at a time, one call at a time, decide the next call from the last answer, and read the data before judging it.
# Ask for a goal on a page: the unbrowse_do primitive. Put the search term in the URL's query.
$V do --port 17810 --url 'https://hn.algolia.com/?q=rust' --goal 'search stories'
# A second value through the same route, by its input name (route.inputs in the evidence):
$V do --port 17810 --url 'https://hn.algolia.com/?q=zig' --goal 'search stories'
$V api GET /v1/whoami # any agent API route, with the agent token
$V api GET '/v1/routes?q=hn' # unbrowse_search
$V api POST /v1/routes/<route_id>/call --body '{"inputs":{"q":"rust"}}'
$V api GET /v1/routes/<route_id>/inspect
$V mcp --list # the MCP tools the node serves at /mcp
$V mcp unbrowse_whoami
$V mcp unbrowse_do --args '{"goal":"search stories","url":"https://hn.algolia.com/?q=rust"}'
$V unb -- whoami # the built `unb`, pointed at the scratch node
$V node -- vault list # the built `unbrowse-node`, on the scratch home
$V owner chain_status # an owner command (agent-api.json's `owner[].command`)
$V owner node_info
$V logs --lines 60 --grep 'learn|route' # node.log; --guard for refused windows and clicks
do prints how (called, learned, network, browse), ok, route_id, answer (the reply's
result.data), fields_more, `not
Установить verify-unbrowse в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл verify-unbrowse?
Prove a change to the Unbrowse node (unbrowse-core) works by running it. Builds the node from this checkout, starts a scratch node on its own port and home that never touches the owner's node on 7788, checks it with a doctor, asks it for a goal on a real page the way an agent does (unbrowse_do, the agent API, MCP tools, unb, owner commands), shows its logs, and cleans up while keeping the evidence. Use before saying an Unbrowse change works, when a reviewer asks for proof, or when a site's answer must be read on a build of this branch.
Как установить скилл verify-unbrowse?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл verify-unbrowse запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic