DEDUPED Hot AI repos, turned into use cases Get 5 a day

What you can do with Oc

A command line tool that turns websites into compact, numbered text views so AI agents can read and act on web pages with few tokens.

Trended earlier

Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk.

Authorization notice. This tool is dual-use. Only use it on software, sites and systems you own or have explicit permission to test, and follow the relevant licenses and terms of service.

5 use cases

  • Check a package's version, license, and deps cheaply

    Get an npm package's version, license, engines, and dependencies in about 70 tokens.

    View prompt
    Use the only-cli/oc repo: run `oc npm pkg <package>` for the target package name. Expect a short block with version, license, engines, and dependencies. Verify that the package name in the output matches the target before using the data.
  • Find a Python function's docs by exact name

    Search the Python docs index and jump straight to the anchor for a named symbol.

    View prompt
    Use the only-cli/oc repo: run `oc py search <symbol>` with the target symbol name. Expect a numbered list of Python docs results, with an exact match linking to its anchor. Verify that the top result names the symbol you asked for before quoting it.
  • Look up security advisories for a dependency

    Query the OSV database for a GHSA, CVE, or ecosystem id and read a compact result.

    View prompt
    Use the only-cli/oc repo: run `oc osv vuln <advisory-id>` with the id from the dependency alert. Expect a compact advisory view with the affected package and versions. Verify the id in the output matches the alert before acting on it.
  • Skim Hacker News top stories in a few hundred tokens

    Open the Hacker News front page as a numbered list and drill into one story.

    View prompt
    Use the only-cli/oc repo: run `oc hn top` to list current top stories. Expect a numbered list of headlines. Verify the list has entries before picking one to open with `oc do <n>`.
  • Give a coding agent cheap web reading in one step

    Install the web-browsing skill and add one line to your agent instructions file.

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

How to use Oc

  1. Check you have what it needs: 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.
  2. Open only-cli/oc on GitHub and read the README and license.
  3. Run npm install -g @only-cli/oc
  4. Run oc npm pkg react (replace react with your package name)
  5. If you need every field, run oc raw

These steps come from our top use case, Check a package's version, license, and deps cheaply, which also has a copy-paste agent prompt.

Oc alternatives · Best AI repos for Research

About this repo

  • Who it is forDevelopers and AI agent operators who want coding agents to read web pages, docs, and package data without spending tens of thousands of tokens on raw HTML.
  • Why it is hot
  • LanguageJavaScript
  • Sourcegithub.com/only-cli/oc · Back to Hot repos

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
Maintain Oc? Add the Featured on Deduped badge

Paste this into your README:

[![Featured on Deduped](https://dedupedai.com/badge/only-cli-oc.svg)](https://dedupedai.com/use-cases/only-cli-oc/?ref=badge)

More badge styles and HTML

Questions about Oc

What is Oc?

A command line tool that turns websites into compact, numbered text views so AI agents can read and act on web pages with few tokens. It is an open-source project on GitHub: https://github.com/only-cli/oc.

Who is Oc for?

Developers and AI agent operators who want coding agents to read web pages, docs, and package data without spending tens of thousands of tokens on raw HTML.

What can I do with Oc?

5 use cases so far, for example: Check a package's version, license, and deps cheaply; Find a Python function's docs by exact name; Look up security advisories for a dependency. Each has steps and a copy-paste agent prompt.

What do I need to run Oc?

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.

What are alternatives to Oc?

Other hot AI repos in Research: Scientific Agent Skills, Speaker Mem R1, DSH Council, Evo Bot, AI Engineering Course.

Is Oc safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.