Command Palette

Search for a command to run...

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

obscura

БесплатноЗапускает вложенные скриптыНе проверен

Use when scraping or automating pages with obscura.

bevisyот bevisy172 установки в других каталогах

Об этом скилле

Obscura

Single-binary Rust headless browser: real V8 JavaScript, a CDP server, ~20–35 MB RSS, no Chrome and no Node. Exposes a CLI (fetch, scrape, serve, mcp) and a 38-tool MCP server.

Verified against obscura 0.2.6 (macOS arm64, Homebrew build) on 2026-11-13 — every command here was run. Re-run scripts/smoke.sh after an upgrade. Any guide written for 0.1.x is wrong about the SSRF guard, the --dump values, and MCP.

Choose the surface

Job Command
One page, one value obscura fetch URL --eval "document.title"
One page, whole output obscura fetch URL --dump text (also html, links, markdown, assets, cookies)
Raw bytes or an API response obscura fetch URL --dump original — skips the browser layer, binary safe
Many URLs, one extractor obscura scrape URL... --concurrency 20 --eval "..."
Many raw URLs from a file obscura fetch --file - < urls.txt — one status line per URL
Stateful flow handed to an agent obscura mcp — 38 browser_* tools
Your own Puppeteer/Playwright script obscura serve, then connect over CDP

Install and verify

brew install obscura                 # builds from source: needs Rust, ~5 min
obscura fetch https://example.com --eval "document.title"   # → Example Domain

Stealth builds ship as obscura-<arch>-<os>-stealth.tar.gz release assets. The Homebrew formula runs cargo install without --features stealth, so on a brew binary --stealth only does the JS-side fingerprint work — no TLS impersonation, no tracker blocklist. Take the -stealth asset when either matters.

fetch

obscura fetch https://example.com --eval "document.title"
obscura fetch https://news.ycombinator.com --dump text
obscura fetch https://example.com --dump links
obscura fetch https://api.github.com/repos/OWNER/REPO --dump original | jq .id
obscura fetch https://app.example.com --eval "JSON.stringify({t:document.title,rows:document.querySelectorAll('tr').length})"

Flags worth knowing (full list: references/cli.md):

Flag Default Notes
--dump html html, text, links, markdown, original, assets, cookies
--eval — runs after load; JSON.stringify(...) for structured output
--wait-until load load, domcontentloaded, networkidle0
--wait adaptive, 5 s cap settle delay after load
--timeout 30 s navigation timeout
--selector — wait for a selector before dumping (see pitfalls)
-s / -o — screenshot to PNG / write output to file
--storage-dir — profile dir: cookies + localStorage survive runs
--proxy — http://user:pass@host:port, socks5://host:port
--stealth off fingerprint hardening (build-dependent, see above)
--obey-robots off respect robots.txt
--allow-private-network off required for localhost / RFC1918 targets
-q off quiet: banner and progress off

stdout carries only the result; progress goes to stderr, so pipes stay clean (obscura scrape ... | jq works).

scrape

obscura scrape https://example.com https://example.org \
  --concurrency 20 --eval "document.title" --format json | jq -c '.results[]'
  • --concurrency default 10, --timeout default 60 s, --format json|text.
  • json: {total_urls, concurrency, total_time_ms, avg_time_ms, results:[{url, title, eval, time_ms, worker}]}
  • text: one <ms>\t<url>\t<value> line per URL.

scrape extracts values; fetch --file only reports per-URL status and byte counts.

scrape fans work out to obscura-worker processes and finds them in the same directory as the obscura binary. Homebrew and the release tarballs ship both; an install that copies only obscura makes scrape print nothing and exit 0.

MCP server

obscura mcp                                             # stdio: Hermes, Claude Code, Codex
obscura mcp --http --port 3000                          # POST /mcp, MCP protocol 2024-11-05
OBSCURA_MCP_TOKEN=$(openssl rand -hex 32) obscura mcp --http --host 0.0.0.0 --port 3000
hermes mcp add obscura -- obscura mcp                   # Hermes
claude mcp add obscura /path/to/obscura mcp             # Claude Code

38 tools, all browser_*: navigate, snapshot, click, fill, type, press_key, select_option, evaluate, wait_for, wait_for_text, wait_for_function, markdown, links, interactive_elements, extract (CSS schema → JSON), detect_forms, fill_form, scroll, get_attribute, count, search, network_requests, console_messages, tab_new/list/switch/ close, get/set/clear_cookies, storage_state, set_storage_state, screenshot, pdf, back, forward, reload, close. Parameter names: references/mcp-tools.md.

Targeting localhost through MCP needs --allow-private-network, same as the CLI.

serve (CDP)

obscura serve --port 9222                # /json/version: Chrome/145.0.0.0, protocol 1.3

Both verified end to end

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

Установить obscura в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл obscura?

Use when scraping or automating pages with obscura.

Как установить скилл obscura?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл obscura запускает скрипты?

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

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

Сравнить obscura с