ego lite is a browser built for people and AI agents to use at the same time, letting agents work with the user's existing tabs, logins, cookies, extensions, and bookmarks. It supports browser automation tasks for agents such as Codex and Claude Code, with agents working in separate Spaces while the user keeps control of their tabs. The catalogue entry provides the ego-browser skill for operating it.
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 citrolabs/ego-lite --skill ego-browsergit clone --depth 1 https://github.com/citrolabs/ego-liteWrote 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/citrolabs/ego-lite/ego-browser)<a href="https://agentmods.dev/skills/citrolabs/ego-lite/ego-browser"><img src="https://agentmods.dev/badge/skills/citrolabs/ego-lite/ego-browser/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/citrolabs/ego-lite/ego-browser"><img src="https://agentmods.dev/badge/skills/citrolabs/ego-lite/ego-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk warn
- NVIDIA SkillSpector pass
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.00210 | $0.04659 |
| Opus 5 | $0.00105 | $0.02329 |
| Sonnet 5 | $0.00042 | $0.00932 |
| Haiku 4.5 | $0.00021 | $0.00466 |
Grade A, and why
ego-browser 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ego-browser
ego-browser gives AI agents a CLI-accessible Node.js runtime, with built-in helpers — snapshotText, click, js, cdp, and more — that agents call directly inside JS scripts to observe pages, interact with UI, evaluate browser-side JavaScript, and drive a real browser for any web automation task.
For setup, install, or connection problems, read references/install.md.
Use the Bash tool to run all browser operations via ego-browser nodejs <<'EOF' ... EOF heredoc. Do not write code to a .js file first.
Quick start
ego-browser nodejs <<'EOF'
// Name the task space for the whole user task, then reuse that space across heredoc rounds.
const task = await useOrCreateTaskSpace('inspect example page')
cliLog('task space id: ' + task.id)
await openOrReuseTab('https://example.com', { wait: true, timeout: 20 })
cliLog(await snapshotText())
EOF
The heredoc body runs as a Node.js script that controls the selected ego-browser task space. All ego-browser helpers are preloaded into that script.
Common helpers
- Task spaces:
listTaskSpaces,useOrCreateTaskSpace,claimTaskSpace,handOffTaskSpace,takeOverTaskSpace,waitForAgentControl,completeTaskSpace - Navigation / state:
listTabs,openOrReuseTab,closeTab,gotoAndWait,currentTab,switchTab,gotoUrl,pageInfo,ensureRealTab - Observation:
snapshotText,captureScreenshot,drainEvents - Scroll / mouse:
scrollBy,scrollToBottomUntil,scroll,click,doubleClick,hover,dragMouse - Keyboard & input:
typeText,fillInput,pressKey,dispatchKey - File:
uploadFile - Wait:
wait,waitForLoad,waitForElement,waitForNetworkIdle - Fetch:
serverFetch,browserFetch - CDP / evaluate:
js,cdp - Output:
cliLog,help
Notes:
cliLog(value)— prints to the terminal; it is the only output mechanism inside a heredoc, and all final results must go through it.await pageInfo()— normally resolves to{ url, title, w, h, sx, sy, pw, ph }; if a native browser dialog is open, resolves to{ dialog: ... }instead because page JavaScript is blocked.- If
await pageInfo()resolves to{ dialog: ... }, handle the dialog withawait cdp('Page.handleJavaScriptDialog', { accept: true })oraccept: falsebefore running page JavaScript. await ensureRealTab()— switches to an existing non-internal page tab if needed and resolves to it; resolves tonullwhen none exists. It does not create a tab — useawait openOrReuseTab(...)for that.await closeTab(target?)— closes the given target id / tab object, or the current tab when omitted.await drainEvents()— consumes and returns the async event queue produced by the page (navigation events, network events, etc.).await serverFetch(url, options)— issues a request from Node and returns the response body.await browserFetch(url, options)— issues a request from the current browser page context and returns the response body.help(name)— prints usage for a given helper, e.g.cliLog(help('click')).
What ships with it
16 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.
- agents/openai.yaml 271 B
- assets/composer-icon.png 3.9 KB
- assets/logo.png 8.4 KB
- learnings/google/browser-tools/autocomplete.js 373 B runs code
- learnings/google/manifest.json 1.1 KB
- learnings/google/notes/overview.md 678 B
- learnings/google/tools/search-extract.js 1.1 KB runs code
- learnings/x-com/browser-tools/extract-post.js 458 B runs code
- learnings/x-com/manifest.json 1.4 KB
- learnings/x-com/notes/overview.md 777 B
- learnings/x-com/notes/timeline.md 651 B
- learnings/x-com/tools/search-users.js 978 B runs code
- learnings/x-com/tools/timeline.js 1.0 KB runs code
- references/install.md 3.1 KB
- references/video.md 1.0 KB
- scripts/install.sh 5.8 KB runs code
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.
- 9d ago First seen · 210 lines · 210 tokens per session scan A 5a758c339332
ego-browser is a skill published in the GitHub repository citrolabs/ego-lite (15,276 stars, last pushed yesterday), licensed MIT. It adds 210 tokens to every session and 4,659 once invoked, about $0.0011 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-30.
Other skills, from other repositories
actionbook-web-test
Run browser-based web tests against websites using Actionbook CLI. Activate when the user wants to test a website workflow, run smoke tests, verify a user flow, check if a web application works, run regression tests, or validate browser-based interactions. Supports test definition, execution, assertion, reporting, and…
active-research
Deep research and analysis tool. Generates comprehensive HTML reports on any topic, domain, paper, or technology. Enhanced with advanced browser automation — SPA handling, network idle wait, batch operations, stealth browsing, and intelligent page analysis. Use when user asks to research, analyze, investigate…
actionbook-scraper
Generate and verify web scraper scripts using Actionbook's verified selectors. Auto-validates generated scripts and fixes errors.
extract
Extract structured data from websites and produce an executable Playwright script plus extracted data. Use when the user wants to scrape, extract, pull, collect, or harvest data from any website — product listings, tables, search results, feeds, profiles, or any repeating content.
actionbook
Activate when the user needs to interact with any website — browser automation, web scraping, screenshots, form filling, UI testing, monitoring, or building AI agents. Provides pre-verified page actions with step-by-step instructions and tested selectors.
agent-browser
Automates browser interactions for form filling and web page interaction. Used by the request-website command to submit website indexing requests.