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 agentmods add commands/wingedguardian/genesis-agi/activate-browsergit clone --depth 1 https://github.com/WingedGuardian/GENesis-AGIWrote 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/commands/wingedguardian/genesis-agi/activate-browser)<a href="https://agentmods.dev/commands/wingedguardian/genesis-agi/activate-browser"><img src="https://agentmods.dev/badge/commands/wingedguardian/genesis-agi/activate-browser.svg" alt="Measured on agentmods" 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 | $0.00026 | $0.00503 |
| Opus 5 | $0.00013 | $0.00251 |
| Sonnet 5 | $0.00005 | $0.00101 |
| Haiku 4.5 | $0.00003 | $0.00050 |
Grade B, and why
activate-browser scanned grade B 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 4d 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.
Reads MCP configurationmediumAgent snooping
mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.
`.mcp.json` and restart the session. This reclaims ~17k tokens of context What it actually says
Activate Browser (On-Demand MCP)
Add Chrome DevTools MCP to .mcp.json for sessions that need full browser
capabilities beyond the built-in genesis-health browser tools.
When to Use
- You need network request inspection or console access
- You need Lighthouse audits or performance tracing
- You need to connect to a remote Chrome instance (user's browser)
- The built-in
browser_navigate/browser_clicktools aren't sufficient
Activation
Add this entry to ~/genesis/.mcp.json under mcpServers:
"chrome-devtools": {
"command": "npx",
"args": [
"[email protected]",
"--headless",
"--executablePath", "/usr/bin/google-chrome",
"--userDataDir", "${HOME}/.genesis/browser-profile",
"--no-sandbox"
]
}
Then restart the CC session to pick up the new MCP server.
Remote Browser (CDP-over-SSH)
To connect to the user's real Chrome:
- User launches Chrome with
--remote-debugging-port=9222 - Set up SSH tunnel:
ssh -N -L 9222:localhost:9222 user@host - Replace the config above with:
"chrome-devtools-remote": {
"command": "npx",
"args": [
"[email protected]",
"--browserUrl", "http://127.0.0.1:9222"
]
}
Deactivation
When done with heavy browser work, remove the chrome-devtools entry from
.mcp.json and restart the session. This reclaims ~17k tokens of context
budget that the 29 Chrome DevTools MCP tools consume.
Token Cost
| Mode | Tools | Context Cost |
|---|---|---|
| Genesis browser tools (always on) | 8 | ~800 chars |
| + Chrome DevTools MCP | +29 | ~17,000 chars |
| + Playwright MCP | +27 | ~13,700 chars |
Only activate external MCP servers when you need their specific capabilities.
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.
- 4d ago First seen · 70 lines · 26 tokens per session scan B 22197ad3ab56
activate-browser is a command published in the GitHub repository WingedGuardian/GENesis-AGI (93 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 503 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
act
Live agentic desktop + browser control via OAuth (no API key).
e2e
使用 Playwright 对 Web UI 进行端到端测试(支持视频录制、Trace 录制、控制台/网络日志捕获).
auto-browse
Auto-browse — learn, optimize, and graduate browser operations or web data-mining workflows.
research-perplexity
Run a deep research query using Perplexity's /research mode via Playwright browser automation. This is an alternative to /export-to-council that uses Perplexity's dedicated research mode instead of multi-model council.
review
Compare a reference design against an implementation. Accepts Figma URL, image file, or browser URL as reference.
music-suno-prompt
Grounded Suno prompt synthesis from local knowledge corpus + persona canon + label canon. No vibes-prompting.