cloakbrowser-fallback
Skill1 starsChanged 13 days agoMITView on GitHub
Stealth browser fallback using CloakBrowser (custom-compiled Chromium with C++ source-level fingerprint patches). Use when the built-in browser tool or Chrome DevTools fails due to bot detection, Cloudflare/Turnstile walls, reCAPTCHA, 403/429/"access denied"/"are you human" interstitials, or empty/ blocked responses. Also use when the user asks for "cloakbrowser", "stealth browser", or to bypass a block.
- Installs packages
In this repository95 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/changelog.mdcCursor rule
- .cursor/rules/seo-ai-search.mdcCursor rule
- agent-readySkill
- authoring-skills-and-rulesSkill
- blinded-evalSkill
- cloakbrowser-fallbackSkill
- deep-deliberationSkill
- design-rationaleSkill
- dissectSkill
- documentation-writerSkill
- everything-seoSkill
- executeSkill
- inceptionSkill
- kit-workflowsSkill
- marketing-psychologySkill
- media-genSkill
- notebooklmSkill
- proving-change-safetySkill
- release-deploySkill
- seo-auditSkill
- startup-marketing-brainSkill
- subsystem-walkthroughSkill
- trlSkill
- ui-craftSkill
- verify-appSkill
- agent-readySkill
- authoring-skills-and-rulesSkill
- blinded-evalSkill
- cloakbrowser-fallbackSkill
- deep-deliberationSkill
- design-rationaleSkill
- dissectSkill
- documentation-writerSkill
- everything-seoSkill
- executeSkill
- inceptionSkill
- kit-workflowsSkill
- marketing-psychologySkill
- media-genSkill
- notebooklmSkill
- proving-change-safetySkill
- release-deploySkill
- seo-auditSkill
- startup-marketing-brainSkill
- subsystem-walkthroughSkill
- trlSkill
- ui-craftSkill
- verify-appSkill
- agent-readySkill
- authoring-skills-and-rulesSkill
- blinded-evalSkill
- deep-deliberationSkill
- design-rationaleSkill
- dissectSkill
- documentation-writerSkill
- everything-seoSkill
- executeSkill
- inceptionSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Use as a fallback only — try the built-in browser tool or Chrome DevTools MCP first.
- Very specific: line 40
Headless failover pattern: start headless. If a Turnstile managed challenge appears, re-run with --headed — it clears with one click after …
- Distinctive: line 47
Run the helper — it prints final URL, title, and page text, and saves a screenshot.
- Distinctive: line 109
Don't use this to defeat paywalls/auth or violate a site's terms — it's for reaching content blocked by overzealous bot detection during …
- Very specific: line 120
If a run fails with "binary not found", run python -m cloakbrowser install first.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CloakBrowser Fallback
Leading words: stealth browser, fallback, humanize, bot detection, Turnstile, headless failover, real Chromium binary.
Stealth Chromium for navigating sites that block ordinary automation. Drop-in
Playwright API, backed by a custom-compiled Chromium binary (~/.cloakbrowser/)
so bot detectors score it as a real browser.
One-time dependencies (verify before first run)
- Python (recommended default):
pip install cloakbrowser - Node.js (self-contained in this skill's
scripts/folder):cd <skill-dir>/scripts && npm ci
Both share the stealth Chromium binary downloaded on first launch to ~/.cloakbrowser/. Prefer Python unless the target repo is JS/TS-only or Python is unavailable.
When to reach for this
Use as a fallback only — try the built-in browser tool or Chrome DevTools MCP first. Escalate to CloakBrowser on 403/429 responses, Cloudflare/Turnstile/reCAPTCHA interstitials, blank bot-blocked responses, or an explicit user request. Do not use it to bypass paywalls, login walls, or image CAPTCHAs.
Headless failover pattern: start headless. If a Turnstile managed
challenge appears, re-run with --headed — it clears with one click after the
page settles. If an image CAPTCHA appears, stop and report to the user —
CloakBrowser does not solve image CAPTCHAs.
Quick start (one-shot fetch)
Run the helper — it prints final URL, title, and page text, and saves a screenshot.
Python:
python scripts/cloak_fetch.py "https://protected-site.com"JS (run from this skill's scripts/ dir so node_modules resolves):
node scripts/cloak_fetch.mjs "https://protected-site.com"Both accept the same flags:
--headed— show the window. Needed for Turnstile managed challenges (resolves with a single click).--screenshot path.png— where to save the screenshot (default:cloak_shot.png).--html path.html— also dump raw HTML.--wait 5000— extra ms to wait after load for JS challenges to clear.
Inline usage (when you need custom interaction)
Python (sync API):
from cloakbrowser import launch
browser = launch(headless=True, humanize=True) # humanize=True → human-like mouse/keyboard
page = browser.new_page()
page.goto("https://protected-site.com", wait_until="domcontentloaded")
page.wait_for_timeout(4000) # let JS challenges clear
print(page.title())
page.screenshot(path="cloak_shot.png", full_page=True)
html = page.content()
browser.close()JS (async API):
import { launch } from "cloakbrowser";
const browser = await launch({ headless: true, humanize: true });
const page = await browser.newPage();
await page.goto("https://protected-site.com", { waitUntil: "domcontentloaded" });
await page.waitForTimeout(4000);
console.log(await page.title());
await page.screenshot({ path: "cloak_shot.png", fullPage: true });
const html = await page.content();
await browser.close();Everything else is standard Playwright (click, fill, locator, etc.) — same API you already know.
Decision notes
- Turnstile non-interactive → works headless, auto-resolves.
- Turnstile managed → use
--headed; it clears with one click after the page settles (the headless-failover pattern from above). - CloakBrowser does not solve image CAPTCHAs and has no built-in proxy rotation. If a site demands an image CAPTCHA, report that to the user rather than looping.
- Don't use this to defeat paywalls/auth or violate a site's terms — it's for reaching content blocked by overzealous bot detection during legitimate work.
Verifying / maintaining the binary
python -m cloakbrowser info # version, path, platform
python -m cloakbrowser install # download binary if missing (~535 MB, one-time)
python -m cloakbrowser update # pull a newer stealth ChromiumIf a run fails with "binary not found", run python -m cloakbrowser install first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

