web-browsing-cli

web-browsing-cli is a skill for Claude Code from only-cli/oc. It costs 43 tokens per session (2,150 once invoked), scanned A, original, MIT.

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 Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the only-cli plugin — 1 skill shipped together

Good fit Use it to open URLs, inspect links, search within pages, read sections, and extract cleaned page text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/only-cli/oc/web-browsing-cli
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.

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.

Or install only-cli, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for web-browsing-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/only-cli/oc/web-browsing-cli/github.svg)](https://agentmods.dev/skills/only-cli/oc/web-browsing-cli)
Your own site
<a href="https://agentmods.dev/skills/only-cli/oc/web-browsing-cli"><img src="https://agentmods.dev/badge/skills/only-cli/oc/web-browsing-cli/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.

agentmods 80×15 button for web-browsing-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/only-cli/oc/web-browsing-cli"><img src="https://agentmods.dev/badge/skills/only-cli/oc/web-browsing-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,150 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00043 $0.02150
Opus 5.5 $0.00017 $0.00860
Sonnet 5.5 $0.00009 $0.00430
Haiku 4.5 $0.00004 $0.00215

Measured 20d ago against content hash cee9f1706bb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 20d 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 · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 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
npx --yes @only-cli/[email protected] session ls       list saved sessions (name, url, title)
npx --yes @only-cli/[email protected] session rm [name] forget a saved session: page and cookies

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, npm, pip, cargo, gem, docker. Name one by short name, bare name, or domain. 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. Reddit reads through its Atom feeds: a reddit.com page URL given to open meets a login wall or a 403, so use oc reddit post <id> or add /.rss to the URL, and keep Reddit calls under about ten a minute or the site answers 429.

Read the full file on GitHub · 115 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. 20d ago Changed cee9f1706bb3
  2. 22d ago Changed 186787fab15a
  3. 27d ago Changed e052ab0ee4a1
  4. 29d ago Changed eba15be0d2cb
  5. 1mo ago Changed · +15 lines 50a2e0cca2e2
  6. 1mo ago Changed b20b2798f522
  7. 1mo ago Changed 1f3cc7f0457e
  8. 1mo 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 (542 stars, last pushed 3d ago), licensed MIT. It adds 43 tokens to every session and 2,150 once invoked, about $0.0002 per session on Opus 5.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

opencli-autofix

Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.

jackwener/OpenCLI · 61 tokens

opencli-browser

Drive Chrome with OpenCLI to inspect pages, interact with logged-in sites, capture API evidence, and manage native tabs, groups and windows. For reusable adapters, see opencli-adapter-author.

jackwener/OpenCLI · 43 tokens

opencli-adapter-author

Build or improve an OpenCLI JS adapter using observed site behavior, existing adapters and browser API evidence. For ad-hoc browser interaction, see opencli-browser.

jackwener/OpenCLI · 38 tokens

webcmd-browser

Use when a live browser task requires Playwright interaction, authenticated handoff, visible UI verification, or ad-hoc page inspection.

agentrhq/webcmd · 30 tokens

ketch

Research skill for ketch — a fast stateless CLI for web search, OSS code search, curated library docs, page scraping, and site crawling; an optional MCP server exists for operators who want it, but the CLI is the primary interface. Use when a question needs live sources: 'research X', 'what are people saying about Y'…

1broseidon/ketch · 148 tokens

surf

Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.

nicobailon/surf-cli · 60 tokens