repo is only-cli/oc, matching the npm name @only-cli/oc

With the package scoped, owner/repo and scope/name line up exactly:
github.com/only-cli/oc is npm @only-cli/oc is the oc command. The skill
installs with npx skills add only-cli/oc.
This commit is contained in:
only-cli
2026-08-18 09:39:09 -04:00
parent 0b8bfa2a7b
commit 6b11896336
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# Publishes to npm via OIDC trusted publishing: no token, no OTP prompt.
# One-time setup on npmjs.com after the package exists: package settings,
# Trusted Publisher, GitHub Actions, repository only-cli/only-cli, workflow
# Trusted Publisher, GitHub Actions, repository only-cli/oc, workflow
# file publish.yml. From then on, publishing a GitHub release ships to npm.
#
# Release channels map to npm dist-tags:
+3 -3
View File
@@ -5,8 +5,8 @@ Thanks for wanting to help. This is a small project with strong opinions, so thi
## Setup
```
git clone https://github.com/only-cli/only-cli
cd only-cli
git clone https://github.com/only-cli/oc
cd oc
npm install
npm test
```
@@ -41,7 +41,7 @@ Open an issue with the exact command, the output you got, and the output you exp
## Releasing (maintainer)
Publishing a GitHub release runs `.github/workflows/publish.yml`, which tests and publishes to npm through OIDC trusted publishing: no npm token stored anywhere, no one-time password, and npm attaches provenance automatically. The trusted publisher link (npm package settings, GitHub Actions, repo `only-cli/only-cli`, workflow `publish.yml`) has to be configured once on npmjs.com after the first manual publish, since npm only lets you attach a trusted publisher to a package that already exists.
Publishing a GitHub release runs `.github/workflows/publish.yml`, which tests and publishes to npm through OIDC trusted publishing: no npm token stored anywhere, no one-time password, and npm attaches provenance automatically. The trusted publisher link (npm package settings, GitHub Actions, repo `only-cli/oc`, workflow `publish.yml`) has to be configured once on npmjs.com after the first manual publish, since npm only lets you attach a trusted publisher to a package that already exists.
## Maintainer
+1 -1
View File
@@ -34,7 +34,7 @@ The fastest setup is one line in your agent's instructions file (CLAUDE.md, AGEN
Claude Code users can install the skill instead: copy `skills/only-cli/` into your project's `.claude/skills/` directory (or `~/.claude/skills/` to enable it everywhere). A skill costs almost no tokens until the agent actually invokes it, which fits how this whole project thinks. The same skill also installs through the [skills.sh](https://skills.sh) directory into Claude Code, Cursor, Codex, Copilot, and others:
```
npx skills add only-cli/only-cli
npx skills add only-cli/oc
```
No setup at all also works: `npx @only-cli/oc` runs without a global install, and the tool teaches its own command surface through `--help`, the `actions:` line at the bottom of every render, and error messages that name the next command to run.
+3 -3
View File
@@ -10,11 +10,11 @@ Key facts:
- Benchmarked at roughly 45x fewer tokens than reading raw HTML, with per-task numbers at https://github.com/only-cli/benchmarks
- Works on any mostly-static website; tuned shortcuts ship for Hacker News, Reddit, DuckDuckGo, and Bing
- Requests impersonate Chrome, so pages that block plain scripts often still work
- Claude Code skill included: `npx skills add only-cli/only-cli`
- Claude Code skill included: `npx skills add only-cli/oc`
- No JavaScript rendering yet and no login sessions yet (both on the roadmap)
## Docs
- [README](https://github.com/only-cli/only-cli/blob/main/README.md): install, agent setup, commands, supported websites, benchmarks
- [CONTRIBUTING](https://github.com/only-cli/only-cli/blob/main/CONTRIBUTING.md): design principles, adding site definitions
- [README](https://github.com/only-cli/oc/blob/main/README.md): install, agent setup, commands, supported websites, benchmarks
- [CONTRIBUTING](https://github.com/only-cli/oc/blob/main/CONTRIBUTING.md): design principles, adding site definitions
- [Benchmarks](https://github.com/only-cli/benchmarks): token usage, speed, and success rate against other ways agents read the web
+3 -3
View File
@@ -35,11 +35,11 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/only-cli/only-cli.git"
"url": "git+https://github.com/only-cli/oc.git"
},
"homepage": "https://github.com/only-cli/only-cli#readme",
"homepage": "https://github.com/only-cli/oc#readme",
"bugs": {
"url": "https://github.com/only-cli/only-cli/issues"
"url": "https://github.com/only-cli/oc/issues"
},
"dependencies": {
"linkedom": "^0.18.12",