cloak-fetch

cloak-fetch is a skill for Claude Code, Codex from Agents365-ai/cloakFetch. It costs 128 tokens per session (2,546 once invoked), scanned A, original, MIT.

A web-fetching fallback that uses a real Chromium browser when a site blocks ordinary automated requests. It is intended for pages protected by anti-bot checks or web application firewalls.

In plain words
What is it for?
Use it after a recent fetch fails with errors such as 403, 429, a JavaScript challenge, or an empty page caused by blocking.
Why use it?
It helps retrieve page content when normal HTTP tools return errors, empty pages, or browser challenges. The result is returned as readable Markdown.

Skill for Claude CodeCodex

Written for Claude Code and Codex: PostToolUse hook event, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Good fit Use it after a recent fetch fails with errors such as 403, 429, a JavaScript challenge, or an empty page caused by blocking.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agents365-ai/cloakfetch/cloak-fetch
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 Agents365-ai/cloakFetch --skill cloak-fetch
Clone the repo
git clone --depth 1 https://github.com/Agents365-ai/cloakFetch

Made for: Claude Code, Codex.

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 cloak-fetch

README.md
[![agentmods](https://agentmods.dev/badge/skills/agents365-ai/cloakfetch/cloak-fetch/github.svg)](https://agentmods.dev/skills/agents365-ai/cloakfetch/cloak-fetch)
Your own site
<a href="https://agentmods.dev/skills/agents365-ai/cloakfetch/cloak-fetch"><img src="https://agentmods.dev/badge/skills/agents365-ai/cloakfetch/cloak-fetch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloak-fetch

Your own site · 80×15
<a href="https://agentmods.dev/skills/agents365-ai/cloakfetch/cloak-fetch"><img src="https://agentmods.dev/badge/skills/agents365-ai/cloakfetch/cloak-fetch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,546 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00128 $0.02546
Opus 5 $0.00064 $0.01273
Sonnet 5 $0.00026 $0.00509
Haiku 4.5 $0.00013 $0.00255

Measured 10d ago against content hash 1fb5a455f6e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cloak-fetch scanned grade A with 1 finding 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 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (cloak_fetch.py, cloak_fetch.sh), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Use as a fallback when a web page won't load via WebFetch, curl, or any HTTP client because it's behind anti-bot protection — Cloudflare, DataDome, Akamai Bot Manager, PerimeterX/HUMAN, Imperva/Incapsula, F5
skills/cloak-fetch/SKILL.md · 156 lines

How it starts

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

cloak-fetch — bot-protection / WAF fetch fallback

When a normal HTTP fetcher fails because the target site uses bot protection or WAF screening, route the same URL through CloakBrowser (a real Chromium with anti-bot patches at the C++ level and a genuine TLS/JA3 fingerprint) and return clean markdown via trafilatura. The agent never has to tell the user "the page is unfetchable" — it can try this skill first.

The underlying engine doesn't care which vendor is blocking the request — Cloudflare, DataDome, Akamai, PerimeterX, Imperva, Distil, Kasada, AWS WAF, or a no-name WAF rule. They all eventually let a real browser through, and CloakBrowser is a real browser.

When to trigger

Use immediately after any of these symptoms from a recent fetch tool call:

Symptom in tool output Likely cause
HTTP 403, 403 Forbidden, HTTP 429 Bot protection or rate-limit block
Empty body / a few hundred bytes of nothing on a content-rich URL Silent WAF / TLS-fingerprint reject
Page rendered as a near-empty shell with a JS challenge script SPA-only page or anti-bot challenge
Resource was not loaded, net::ERR_HTTP2_PROTOCOL_ERROR Upstream blocked the fetch handshake
Access denied, Blocked, You don't have permission Generic WAF / bot detection

Vendor-specific signatures

If the failure string roughly matches one of these, it's a CloakBrowser case — don't waste another round-trip on a plain HTTP client:

Vendor Telltale strings / headers
Cloudflare Just a moment..., Enable JavaScript and cookies to continue, cf-ray: header, __cf_bm cookie, Attention Required! | Cloudflare, Sorry, you have been blocked
DataDome blocked by DataDome, <title>blocked</title>, dd-cookie / datadome cookie, <head>...captcha-delivery.com, geo-block style 403 with empty body
Akamai Bot Manager Access Denied with Reference #18. (long hex.epoch.hex) ID, <TITLE>Access Denied</TITLE> + Akamai <HTML><HEAD> boilerplate, Pragma: akamai-x-cache, akamai-bot-manager cookie
PerimeterX / HUMAN Please verify you are a human, Access to this page has been denied because we believe you are using automation tools, _px* cookies (_pxhd, _px3), <title>Human Verification</title>
Imperva / Incapsula Incapsula incident ID:, Request unsuccessful. Incapsula incident ID, _Incapsula_Resource, visid_incap_* cookie, X-Iinfo header
F5 / Distil Pardon Our Interruption, As you were browsing something about your browser made us think you were a bot, distil_r_captcha, D_RID cookie
Kasada <head> containing ips.js, x-kpsdk-cd / x-kpsdk-cr response headers, 429 with empty body + kasada reference
AWS WAF Request blocked + <aws-waf-token>, awswaf cookie, body referencing aws-waf-token
Sucuri Sucuri WebSite Firewall - Access Denied, <title>Sucuri WebSite Firewall - CloudProxy</title>, X-Sucuri-ID / X-Sucuri-Cache header, sucuri-cf-id cookie (very common on self-hosted WordPress)
reCAPTCHA / hCaptcha passive triggers Interstitial that displays without user interaction — page replaced with g-recaptcha/h-captcha div and no real content. (See "When NOT to trigger" for interactive checkbox/slider cases.)
TLS / JA3 fingerprint reject Connection drops, empty body, ERR_HTTP2_PROTOCOL_ERROR, SSL_ERROR_ZERO_RETURN on a site that loads fine in a normal browser

Read the full file on GitHub · 156 lines

Files

What ships with it

2 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. 10d ago First seen · 156 lines · 128 tokens per session scan A 1fb5a455f6e6

Subscribe to this mod's changes

cloak-fetch is a skill published in the GitHub repository Agents365-ai/cloakFetch (48 stars, last pushed 3mo ago), licensed MIT. It adds 128 tokens to every session and 2,546 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens