Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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

  1. Build once per change (debug, both workspaces). Point CARGO_TARGET_DIR at 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 steps
    

    Every later command finds the binaries through the same CARGO_TARGET_DIR, so export it for the session.

  2. 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 runtime finds one (SIGNING_PROGRAM, node on PATH) or fetches Node 25 from nodejs.org, checked against its SHASUMS256.txt, into ~/.local/state/unbrowse-verify/runtime.

  3. Start.

    $V start --port 17810                              # --dry-run prints the plan
    

    Ready means the script saw /v1/health answer and minted an agent key; start returns "ok": true with the pid, or "ok": false with the script's stderr. A Chrome is found on PATH, in the Playwright cache, or in CHROME; with none, the node downloads Chrome for Testing first (slower start). Switches of scratch-node.sh pass through: --env SECOND_WALK=1, --env SENT_LOG=1, --env ONE_ASK=1; --headed lets the browser open a window for a door that refuses headless browsers: a walk that answers outcome: refused with why naming 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, XAUTHORITY are 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

Полный SKILL.md на GitHub

Установить verify-unbrowse в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/features/README.mdreferences/features/cli.mdreferences/features/mcp-tools.mdreferences/features/routes.mdreferences/features/sdk.mdreferences/features/telemetry.mdreferences/features/vault-and-payments.mdreferences/features/window.mdscripts/test_unbrowse_verify.pyscripts/unbrowse-verify

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить verify-unbrowse с