only-cli
A CLI that turns any website into compact, token-efficient text for AI agents to browse, cutting the tokens needed to navigate the web by a large margin compared to raw HTML.
🔗 Visit only-cliDescription
When an AI agent "browses the web," it often has to read raw HTML, which is bulky and burns through the token budget fast — a single page can cost thousands of tokens before the agent even acts on it. only-cli's `oc` distills pages into compact, numbered-action text instead, so agents spend tokens on decisions, not markup.
Benchmarked at roughly 1,936 tokens for 6 pages of browsing, `oc` provides commands like open, do, find, read, next, raw, fill, and submit, capping each page's rendering at 500 tokens. It works with Claude, Cursor, and Copilot-style agents, includes site-specific shortcuts for major platforms (Hacker News, Reddit, GitHub, X, LinkedIn, Stack Overflow, DuckDuckGo, Bing), handles JavaScript-heavy sites, and uses browser impersonation to get past common automated-traffic blocks. It's MIT-licensed, installed via npx or npm (@only-cli/oc), and requires Node 20+.
💬 Our review
The short version: `oc`'s pitch — dramatically cut the token cost of AI web browsing — addresses a real, measurable pain point for anyone running agents that browse the web at scale, and the benchmark numbers (under 2,000 tokens for 6 pages) back it up.
It's not really competing with Claude Code's built-in WebFetch/WebSearch or Cursor's web browsing so much as replacing the underlying rendering step those tools rely on — you could plug `oc` in wherever an agent currently parses raw HTML. The main risk with any tool that impersonates browsers to bypass blocks is that sites may adapt their anti-bot measures over time, so its effectiveness could vary site by site. At 231 stars and active weekly development (v0.2 shipped mid-August 2026), it's a young but clearly useful utility; worth adopting if you're running agents that hit a lot of pages and care about token cost, unnecessary if your agent's web use is occasional.
💰 Pricing
📊 Global score
🤖 AI-enriched data
Gratuit et open source (licence MIT), installable via npx ou npm (@only-cli/oc).
Pros
Réduit drastiquement le coût en tokens de la navigation web par un agent (~1936 tokens pour 6 pages)
Raccourcis dédiés pour les grandes plateformes (HN, Reddit, GitHub, X, LinkedIn...)
Gère les sites riches en JavaScript et contourne les blocages automatisés
Installation zéro-config via npx, open source (MIT)
Cons
Efficacité du contournement de blocage pouvant varier selon les sites et leur évolution
Projet jeune (231 étoiles), développement encore rapide
Nécessite Node.js 20+
