obscura
Skill by h4ckf0r0day
Operates and validates Obscura, a lightweight Rust headless browser with embedded V8 and stealth features. It is for automation work that runs against fixtures or real sites, and for diagnosing rendering and transport failures.
Install obscura
Built from the published package, never by AI.
git clone --depth 1 https://github.com/h4ckf0r0day/obscura /tmp/obscura && mkdir -p ~/.claude/skills && cp -r /tmp/obscura/skills/obscura ~/.claude/skills/obscuraRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/h4ckf0r0day/obscura /tmp/obscura && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/obscura/skills/obscura ~/.gemini/antigravity-cli/skills/obscuraAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill teaches an AI assistant how to run and check Obscura, a Rust headless browser that embeds V8 and owns its own DOM and rendering pipeline. It exposes Chrome DevTools Protocol workflows without launching Chromium. The source describes choosing build variants with or without rendering and stealth, then using the CLI, CDP, or MCP for fetching pages, evaluating JavaScript, and taking screenshots.
The stealth build adds a consistent browser fingerprint across TLS, HTTP headers, user agent, navigator, and WebGL surfaces. It also masks navigator.webdriver and blocks a built-in tracker-domain list. The guidance covers visual validation with deterministic fixtures, resource and geometry diagnosis, and matching capture settings across engines. It is aimed at developers and QA engineers who automate browsers or compare rendering output.
Written from the project's SKILL.md and checked against it.
What it can do
- Page fetch and captureLoads a URL, dumps text, evaluates JavaScript, and writes a PNG screenshot.
- Stealth browsingApplies a consistent browser fingerprint and masks navigator.webdriver when built with stealth.
- Tracker blockingBlocks the built-in tracker-domain list in the stealth build.
- CDP automationServes Chrome DevTools Protocol for Puppeteer-core or Playwright connectOverCDP clients.
- ScreencastingUses Page.startScreencast over raw CDP, with each frame acknowledged by the client.
- PDF exportProduces raster-backed PDF output through page.pdf or Page.printToPDF.
- MCP browser interactionRuns over stdio or HTTP, with browser_screenshot and browser_pdf in render builds.
- Visual validationCompares engine output with matched viewport, scroll, and settle settings against fixtures.
- Web extractionUses scrape for many URLs when one screenshot per URL is not needed.
What you need
- Rust toolchain and Cargo for building from a source checkout
- Docker, if using the published Docker images
- Node.js with puppeteer-core or Playwright for CDP clients
Try asking
- Fetch example.com with stealth on and save a screenshot to page.png
- Start an Obscura CDP server on port 9222 and connect Puppeteer to it
- Export a page to PDF with landscape orientation and a page range
Good to know
- PDF output has no selectable text, tagged PDF, outlines, or headers and footers.
- MCP does not stream screencast frames; use CDP for screencasting.
- The CLI screenshot path accepts one URL and writes PNG only.
- Stealth runtime flag needs a render,stealth build for the wreq/BoringSSL transport.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/obscura/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to obscura
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
obscura: common questions
Does Obscura replace Chromium for every page?
No. The source says Obscura is not a bundled Chrome build, and long-tail CSS, service workers, some Web APIs, and GPU effects can differ from Chromium.
Why does a local http://127.0.0.1 fetch fail?
Loopback and private addresses are blocked by default. The source says the global --allow-private-network flag unblocks loopback, RFC1918 and link-local addresses.
How do I control the wait before a screenshot?
An omitted --wait uses adaptive settling capped at five seconds, while an explicit --wait N is a fixed delay of N seconds.
How do I install obscura?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is obscura free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is obscura safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to obscura?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
