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.
npx skills add abel30567/fermi-mcp --skill browser-auth-spagit clone --depth 1 https://github.com/abel30567/fermi-mcpWrote 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.
[](https://agentmods.dev/skills/abel30567/fermi-mcp/browser-auth-spa)<a href="https://agentmods.dev/skills/abel30567/fermi-mcp/browser-auth-spa"><img src="https://agentmods.dev/badge/skills/abel30567/fermi-mcp/browser-auth-spa/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.
<a href="https://agentmods.dev/skills/abel30567/fermi-mcp/browser-auth-spa"><img src="https://agentmods.dev/badge/skills/abel30567/fermi-mcp/browser-auth-spa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.00552 |
| Opus 5 | $0.00015 | $0.00276 |
| Sonnet 5 | $0.00006 | $0.00110 |
| Haiku 4.5 | $0.00003 | $0.00055 |
Grade A, and why
browser-auth-spa 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 8d ago.
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.
What it actually says
SPA browser auth via token injection
Programmatic login without typing credentials, proven on AWS Skill Builder (issue #19, commits e5eb4463 + 18956a9d).
Core rule: localStorage AND cookies, simultaneously
SPAs that use Cognito (and similar) check BOTH stores. Setting only
localStorage fails — the app bounces to login on reload. Inject the same token
set into localStorage and document.cookie in one evaluate script, then
reload and wait (~20s) for SPA hydration.
Procedure
browser_session_launch, navigate to the app origin (cookies must be set on the right origin), accept any consent banner.- Run an
evaluateaction whose script contains{{secret:NAME}}placeholders — Fermi resolves them server-side (and audits the resolution) before the script reaches the page. The secret must listbrowser_actionin its allowed_capabilities and the page host in allowed_hosts. - In the script: refresh tokens via the provider's CORS-enabled endpoint
(e.g. Cognito
InitiateAuthwithREFRESH_TOKEN_AUTHworks from browser JS), then write localStorage keys (LastAuthUser, idToken, accessToken, refreshToken, clockDrift) AND matching document.cookie entries. - Reload the same URL, wait for hydration, verify with
browser_extract(check you are NOT on the login page before declaring success). setCookiesactions also resolve{{secret:...}}in cookie values when a raw cookie header is all you need.
Known limits — when to escalate
- Google login is blocked by bot detection on headless Chromium. Not viable.
- Cloudflare Turnstile and similar bot checks cannot be solved in the cloud
browser. Escalate to the Local Agent (fermi issue #16) or ask the owner to
complete the challenge via
browser_session_request_human. - OAuth-callback-only cookies (e.g. aws-token-a-c) usually are NOT required for SPA auth — test without them first.
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.
- 8d ago First seen · 41 lines · 31 tokens per session scan A de6c5f29ea63
browser-auth-spa is a skill published in the GitHub repository abel30567/fermi-mcp (1 stars, last pushed 12d ago), licensed MIT. It adds 31 tokens to every session and 552 once invoked, about $0.0002 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.
Other skills, from other repositories
camofox-browser
Anti-detection browser automation for AI agents. Use when the user needs stealth web browsing, undetectable scraping, fingerprint spoofing, proxy rotation, or privacy-focused browser automation. Triggers include "stealth scrape", "anti-detection", "bypass fingerprinting", "camofox", "camoufox", "undetectable browser"…
playwright-bot-bypass
This skill should be used when the user asks to "bypass bot detection", "avoid CAPTCHA", "stealth browser automation", "undetected playwright", "bypass Google bot check", "rebrowser-playwright", or needs to automate websites that detect and block bots.
camofox-cli
CamoFox CLI — 50 commands for anti-detection browser automation from the terminal. Use when the user needs CLI reference for camofox commands, terminal-based browser control, or a quick lookup of command syntax. Triggers include "camofox command", "CLI reference", "terminal browser", or any request for camofox…
skill
Anti-detection browser automation MCP skill for OpenClaw agents with 47 tools for navigation, interaction, observation, extraction, downloads, profiles, sessions, and stealth web search.
stealth-browser
Anti-detection behavioral rules for stealth browser automation.
Reddit automation with CamoFox CLI — login, browse, post, comment, reply with anti-detection. Use when the user needs to automate Reddit interactions, post to subreddits, comment on threads, or browse Reddit programmatically. Triggers include "reddit", "post to reddit", "reddit comment", "reddit automation", or any…