Bot-resistant stealth browser, AES-256 credential vault, layout sensor, and self-improving behaviour patterns. Available as MCP tools in Claude Desktop and as SDK methods.
Requires Playwright: most Cloak tools use a headless Chromium browser. Install with npm install playwright && npx playwright install chromium.
cloak_diff.llms.txt first. If the site publishes an LLM-friendly text file, uses that directly (faster, cleaner). Falls back to stealth browser if not found.cloak_fetch at least twice to build history. Useful for monitoring pages for updates without re-reading everything.// Fetch and monitor a page for changes
const r = await cloak.cloak_fetch('https://example.com');
console.log(r.text); // clean text
console.log(r.tokensSaved); // e.g. 42000
// Next day — see what changed
const diff = await cloak.cloak_diff('https://example.com');
console.log(diff.changes); // only what's new// Store a credential
cloak.cloak_passport('openai-key', 'sk-proj-...');
// Read it back
const key = cloak.cloak_passport('openai-key');
// In MCP (Claude Desktop):
// "Store my API key in the vault as 'openai-key'"
// "Read 'openai-key' from the vault"Persistent browser fingerprint profiles. Each identity has a unique user agent, WebGL noise, canvas fingerprint, timezone, language, and cookie storage. Cookies and visit history persist across sessions.
Defeat behavioural fingerprinting on Cloudflare, reCAPTCHA v3, and DataDome. Warmup primes trust scores before navigation; behaviour injection simulates human mouse and scroll patterns during a session.
cloak_fetch on aggressively protected sites.Self-improving behaviour pattern library. Patterns are scored on win/loss rates and promoted or pruned automatically. Elite patterns are used preferentially on protected sites.
cloak_pattern_stats | Show tier breakdown, win/loss rates, and total sessions recorded across all patterns. |
cloak_pattern_list | List all patterns with score, tier (elite/active/probation), wins, and losses. Filter by tier. |
cloak_pattern_prune | Force prune — removes stale, low-scoring, and aged-out patterns immediately. |
cloak_pattern_seed | Seed the store with built-in patterns. Only runs if the store is empty. |
cloak_load_pattern | Load a custom pattern recorded with the browser recorder snippet. Pass the JSON string from the recorder. |
cloak_behaviour_stats | List all available behaviour patterns and categories currently loaded. |
Compress your memory database's vector storage by up to 10x using 3-bit quantisation. Less than 1% similarity loss in practice.
cloak_detect_captcha | Navigate to a URL and detect if a CAPTCHA is present. Returns type (hcaptcha, recaptcha-v2, recaptcha-v3) and site key. |
cloak_solve_captcha | Detect and solve any CAPTCHA using vision AI (Claude or GPT-4o). Injects the solution token automatically. Set ANTHROPIC_API_KEY or use provider: "openai". |
Note: CAPTCHA solving uses your Claude or OpenAI API key for vision inference. Set ANTHROPIC_API_KEY in your environment. The key is never stored — it's used for a single inference call per CAPTCHA.
const cloak = require('vektor-slipstream/cloak');
// Fetch
const { text, tokensSaved } = await cloak.cloak_fetch('https://example.com');
// Vault
cloak.cloak_passport('my-key', 'secret-value'); // write
const val = cloak.cloak_passport('my-key'); // read
// Identity
const { CloakIdentity } = cloak;
const id = CloakIdentity.create('researcher-1');
id.save();
// TurboQuant
const stats = cloak.turboQuant.compressionStats(384);