cloakbrowser-fallback

cloakbrowser-fallback is a skill for Claude Code from afaraha8403/balakit. It costs 100 tokens per session (1,270 once invoked), scanned A, original, MIT.

A fallback browser workflow using a modified Chromium browser for sites that block ordinary automated browsing.

In plain words
What is it for?
It is for navigating blocked websites through Playwright, using a headless or headed browser when the built-in browser or Chrome DevTools cannot proceed.
Why use it?
It helps when bot-detection pages, access errors, or CAPTCHA challenges prevent a normal browser tool from loading a site.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit It is for navigating blocked websites through Playwright, using a headless or…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/afaraha8403/balakit/cloakbrowser-fallback
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add afaraha8403/balakit --skill cloakbrowser-fallback
Clone the repo
git clone --depth 1 https://github.com/afaraha8403/balakit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloakbrowser-fallback

README.md
[![agentmods](https://agentmods.dev/badge/skills/afaraha8403/balakit/cloakbrowser-fallback.svg)](https://agentmods.dev/skills/afaraha8403/balakit/cloakbrowser-fallback)
Your own site
<a href="https://agentmods.dev/skills/afaraha8403/balakit/cloakbrowser-fallback"><img src="https://agentmods.dev/badge/skills/afaraha8403/balakit/cloakbrowser-fallback.svg" alt="Measured on agentmods" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,270 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.01270
Opus 5 $0.00050 $0.00635
Sonnet 5 $0.00020 $0.00254
Haiku 4.5 $0.00010 $0.00127

Measured 6d ago against content hash 9d7fa2775c61, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

cloakbrowser-fallback scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/cloak_fetch.mjs, scripts/cloak_fetch.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/cloakbrowser-fallback/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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, but the browser is a custom-compiled Chromium binary, so detectors score it as a real human browser.

Already installed on this machine. Both languages share the same stealth binary at ~/.cloakbrowser/:

  • Python (global): pip package cloakbrowser.
  • JS (self-contained in this skill's scripts/): npm cloakbrowser + playwright-core.

Prefer Python by default. Use JS when the target codebase/repo is JS/TS or the user asks for it.

When to reach for this

Use as a fallback only — try the built-in browser tool or Chrome DevTools MCP first. Escalate to CloakBrowser when any of the triggers in the frontmatter when_to_use fire (403/429, Cloudflare/Turnstile/reCAPTCHA walls, empty/blocked response, explicit user ask).

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)

Read the full file on GitHub · 133 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 133 lines · 100 tokens per session scan A 9d7fa2775c61

Subscribe to this mod's changes

cloakbrowser-fallback is a skill published in the GitHub repository afaraha8403/balakit (1 stars, last pushed 9d ago), licensed MIT. It adds 100 tokens to every session and 1,270 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

playwright-cli

Automate browser interactions, test web pages and work with Playwright tests.

microsoft/playwright · 19 tokens

playwright-component-testing

Set up component testing with Playwright using a story gallery — scaffold stories and a gallery dev page driven by the built-in mount fixture, no dedicated component-testing runtime. Use when asked to test React or Vue components in isolation with Playwright, or to migrate off @playwright/experimental-ct-react / -vue.

microsoft/playwright · 69 tokens

scrapling-official

Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering. Use when asked to scrape, crawl, or extract data from websites; webfetch fails; the site has anti-bot protections; write Python code to…

D4Vinci/Scrapling · 80 tokens

agent-browser

Drive a real browser to inspect or interact with a web page or app — navigate, take screenshots, read console and network, fill simple forms — for verification tasks, not unattended automation.

paperclipai/paperclip · 40 tokens

dev-browser

Browser automation with persistent named pages via the dev-browser CLI. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, log into sites, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot"…

SawyerHood/dev-browser · 98 tokens

playwright-recording

Record browser interactions as video using Playwright. Use for capturing demo videos, app walkthroughs, and UI flows for Remotion videos. Triggers include recording a demo, capturing browser video, screen recording a website, or creating walkthrough footage.

digitalsamba/claude-code-video-toolkit · 53 tokens