{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "only-cli-oc--give-coding-agent-web-reading",
 "repo": "only-cli/oc",
 "repo_url": "https://github.com/only-cli/oc",
 "repo_slug": "only-cli-oc",
 "title": "Give a coding agent cheap web reading in one step",
 "page_title": "How to give a coding agent cheap web reading in one step with Oc",
 "summary": "Install the web-browsing skill and add one line to your agent instructions file.",
 "who": "A developer who uses Claude Code, Codex, or Cursor and wants the agent to read web pages without fetching raw HTML.",
 "problem": "Agents fetch raw HTML by default, which costs many tokens and clutters the working context.",
 "outcome": "An agent that runs Oc open for web content and reads the compact numbered view instead.",
 "steps": [
  "Run `npx skills add https://github.com/only-cli/oc --skill web-browsing-cli`",
  "Add this line to CLAUDE.md or AGENTS.md: When you need content from a web page, run `npx @only-cli/oc open <url>` instead of fetching raw HTML. (inferred, check the README)",
  "Run `npx @only-cli/oc --help` once so the agent learns the commands"
 ],
 "agent_prompt": "Use the only-cli/oc repo: after the skill and instructions line are in place, ask the agent to read a page using `npx @only-cli/oc open <url>`. Expect a numbered compact view with an actions line. Verify the agent used oc instead of a raw fetch.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says requests impersonate Chrome and can get past blocks, so check each target site's terms before reading pages at scale.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "javascript",
 "requirements": [
  "Node.js 20 or newer and npm",
  "A terminal the agent or you can run commands in",
  "Permission to install an npm package globally, or use npx instead"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "The npx commands download and run the package from npm each time, so pin a version or review the package before trusting it on sensitive machines."
  }
 ],
 "best": false,
 "score": 0.6,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/only-cli-oc/give-coding-agent-web-reading/",
 "md": "https://dedupedai.com/use-cases/only-cli-oc/give-coding-agent-web-reading/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/only-cli-oc--give-coding-agent-web-reading.json",
 "api_version": "v1"
}
