web-browsing-cli

A command-line tool for reading web pages as compact text. It can open pages, follow links, find text, and extract page content.

In plain words
What is it for?
Use it to open URLs, inspect links, search within pages, read sections, and extract cleaned page text.
Why use it?
It reduces the amount of webpage markup an AI agent must process when checking sites or reading online information.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/only-cli/oc/web-browsing-cli
Any agent
npx skills add only-cli/oc --skill web-browsing-cli
Clone the repo
git clone --depth 1 https://github.com/only-cli/oc

Made for: Claude Code, Codex.

Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,892 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00043 $0.01892
Opus 5 $0.00022 $0.00946
Sonnet 5 $0.00009 $0.00378
Haiku 4.5 $0.00004 $0.00189

Measured 2d ago against content hash 9a05f1dd4706, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

web-browsing-cli 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 2d 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.

skills/web-browsing-cli/SKILL.md · 100 lines

How it starts

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

only-cli

Renders a web page as a compact, numbered terminal view instead of raw HTML. A typical page is under 500 tokens.

npx --yes @only-cli/[email protected] open <url>     compact view, numbered elements
npx --yes @only-cli/[email protected] do <n>         follow link [n], or read it if [n] is text
npx --yes @only-cli/[email protected] find <query>   where a string appears, or that place itself
                                            when only one matches
npx --yes @only-cli/[email protected] next           next ~500 tokens of the page already open
npx --yes @only-cli/[email protected] read <n>       full text of region [n]
npx --yes @only-cli/[email protected] raw [url]      whole page as markdown (--html for cleaned HTML)
npx --yes @only-cli/[email protected] login            seed cookies (--cookie, --domain, --expires)
npx --yes @only-cli/[email protected] logout [session] forget a session: cookies and saved page

None of these except open/do/raw <url> fetch anything; they replay the page open already saved.

Site shortcuts

oc <site> <verb> [args] resolves to a URL and then behaves exactly like open on it, so it costs the same and reads the same. It saves guessing a URL shape and, on a few sites, points at the feed or public API that answers without a login. search on py, node, and ruby ranks the docs' own index locally, and on mdn asks the site's API; each prints a normal numbered result page.

oc hn top                      oc reddit sub ClaudeAI          oc gh repo only-cli oc
oc wiki article Eiffel Tower   oc wiki search anthropic        oc wiki lang de Berlin
oc ddg search claude code      oc so question 231767           oc learn doc azure/aks/what-is-aks
oc py library json             oc mdn js Array/map             oc node api fs

Sites: hn, reddit, gh, x, linkedin, ddg, bing, so, yahoo, yt, aws, gcp, learn, wiki, py, mdn, node, ruby, go, rust, java, php, cpp, ts. Name one by short name, bare name, or domain (oc hn, oc ycombinator, oc news.ycombinator.com). The last argument takes every word after it, so a query or title needs no quoting. oc sites lists every site with its verbs, which is cheaper than guessing one.

Read the full file on GitHub · 100 lines

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. 2d ago First seen · 100 lines · 43 tokens per session scan A 9a05f1dd4706

Subscribe to this mod's changes

web-browsing-cli is a skill published in the GitHub repository only-cli/oc (411 stars, last pushed 6d ago), licensed MIT. It adds 43 tokens to every session and 1,892 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-30.

Related

Other skills, from other repositories

opensteer

Direct browser control via CDP. Use when the user wants to automate, inspect, scrape, test, or interact with web pages.

steerlabs/opensteer · 31 tokens

website-explorer

通过用户行为发现网站能力,学习 API 并沉淀自动化流程.

EndymionLee/PilotBrowseMCP · 21 tokens

CBrowser

Cognitive Browser — AI browser automation that simulates real user cognition. 122 MCP tools, 21 personas, 25 cognitive traits, constitutional safety, cognitive journeys with LLM-free trace replay, screen capture to GIF/WebP/WebM with an AI-readable frame manifest (v18.69.3). USE WHEN browser automation OR cognitive…

alexandriashai/cbrowser · 142 tokens

familiar

Use when you specifically need to drive the user's own everyday Google Chrome on macOS via AppleScript (Apple Events) — not a fresh headless/automated browser, and not the DevTools Protocol or Playwright. Especially for pages behind bot/WAF defenses that block automated browsers, since this is the real signed-in…

dominion525/familiar · 111 tokens

neo

Browse websites, read web pages, interact with web apps, call website APIs, and automate web tasks. Use Neo when: user asks to check a website, read a web page, post on social media (Twitter/X), interact with any web app, look up information on a specific site, scrape data from websites, automate browser tasks, or…

4ier/neo · 122 tokens

brand-asset-retrieval

Professional retrieval of corporate brand assets from URLs. Use this skill to automatically identify and extract high-resolution logos, favicons, and primary brand colors from a website to ensure consistency in generated deliverables.

ToniIAPro73/anclora-agent-skills · 46 tokens