Mark Cli maintains oc through the only-cli developer account. The command-line tool turns web pages into compact text and numbered links, giving coding agents a smaller interface to read and navigate.[1][2]
Start with Turning websites into micro CLIs for Claude Code to save on tokens →Links
only-cli websiteBackground
In September 2026, Mark Cli reviewed a contribution adding session-listing and removal commands. The maintainer pushed follow-up changes so cookie-only sessions appeared in the list and failed removals were not reported as successes. This work concerns the state a browsing agent leaves behind between requests.[3]
Contributions
oc converts a fetched page into a bounded text view with numbered links and regions. An agent names those numbers to follow a link, read a region or request the next part. Stored page state avoids refetching for each follow-up. The documentation distinguishes mostly static pages from JavaScript-only pages and bot challenges; form filling remains listed as planned.[2]
Ideas
The only-cli site argues that an agent needs stable handles, explicit possible actions and a predictable reading budget. Its essay recommends server-rendered content, meaningful headings and named controls. Those structures help a text extractor identify the page’s purpose without treating layout instructions and repeated navigation as the answer. The argument is published on the project site; it is not an independent measurement of every browsing task.[4]
Tools, writing & talks
Writing, research & talks
Start here
A command-line browser that presents pages as compact text with numbered links and readable regions.
Begin with the README’s open, do and read commands on a public documentation page. You need Node.js and a terminal. Compare the numbered text with the original page; use a browser for unsupported interactions.
Creator and maintainer account[2]Original source- HTML is the wrong input format for an AI agentonly-cli.com
The project’s argument for stable handles, meaningful page structure and explicit reading budgets.
Published on the maintained project site[4]