From f6241e1dae4edca2215c3b32e8f1aeb5bf23719b Mon Sep 17 00:00:00 2001 From: ATou <11880502+atou42@users.noreply.github.com> Date: Sun, 22 Nov 2026 09:54:18 +0800 Subject: [PATCH] docs(skills): document npx skills add netaart/cohub for local agents --- README.md | 6 ++++++ README.zh-CN.md | 6 ++++++ docs/product/en/developers/cli.md | 6 ++++++ docs/product/zh/developers/cli.md | 6 ++++++ packages/cli/README.md | 6 ++++++ skills/cohub/SKILL.md | 6 +++--- 6 files changed, 33 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b92ad8e32..56ca61c1d 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,12 @@ npm install -g @neta-art/cohub-cli cohub auth login ``` +**Agent skills** (Antigravity, Claude Code, Codex, Cursor, etc.) — + +```bash +npx skills add netaart/cohub +``` + **Self-host** — see [docs/self-hosting.md](docs/self-hosting.md). ## Docs diff --git a/README.zh-CN.md b/README.zh-CN.md index e908331a7..61c60a5dc 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -44,6 +44,12 @@ npm install -g @neta-art/cohub-cli cohub auth login ``` +**Agent Skills**(Antigravity、Claude Code、Codex、Cursor 等)— + +```bash +npx skills add netaart/cohub +``` + **Self-host** — 见 [docs/self-hosting.md](docs/self-hosting.md)。 ## Docs diff --git a/docs/product/en/developers/cli.md b/docs/product/en/developers/cli.md index 344419306..9e2f5cae2 100644 --- a/docs/product/en/developers/cli.md +++ b/docs/product/en/developers/cli.md @@ -14,6 +14,12 @@ npm install -g @neta-art/cohub-cli cohub --help ``` +Install the official Cohub skills for local coding agents (Antigravity, Claude Code, Codex, Cursor, etc.): + +```bash +npx skills add netaart/cohub +``` + ## Sign in ```bash diff --git a/docs/product/zh/developers/cli.md b/docs/product/zh/developers/cli.md index 10bc2d5a0..a9bb62e44 100644 --- a/docs/product/zh/developers/cli.md +++ b/docs/product/zh/developers/cli.md @@ -14,6 +14,12 @@ npm install -g @neta-art/cohub-cli cohub --help ``` +为本机 Agent(Antigravity、Claude Code、Codex、Cursor 等)安装官方 Cohub Skills: + +```bash +npx skills add netaart/cohub +``` + ## 登录 ```bash diff --git a/packages/cli/README.md b/packages/cli/README.md index 0d326b087..e977679c4 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -9,6 +9,12 @@ npm install -g @neta-art/cohub-cli cohub --help ``` +To install the official Cohub skills (`cohub`, `cohub-apps`, `cohub-board`, `cohub-generate`, `public-files`) for local agents such as Antigravity, Claude Code, Codex, or Cursor: + +```bash +npx skills add netaart/cohub +``` + ## Sign in For normal use outside Cohub Sandbox, sign in once: diff --git a/skills/cohub/SKILL.md b/skills/cohub/SKILL.md index 42c08edfc..1d3414f30 100644 --- a/skills/cohub/SKILL.md +++ b/skills/cohub/SKILL.md @@ -5,7 +5,7 @@ description: Work with Cohub spaces, chats, files, saves, labels, search, tasks, # Cohub -Use the Cohub CLI for platform operations, and use file tools for normal file work. +Use the Cohub CLI for platform operations, and use file tools for normal file work inside a Cohub Sandbox. Outside a Cohub Sandbox (local agents such as Antigravity, Claude Code, Codex, or Cursor), use `cohub spaces files` and `cohub run` to work with cloud Spaces instead of browsing `cohub.live` in a browser. Prefer simple, explicit commands. Use `--json` when reading output for decisions, extracting IDs, or chaining commands. @@ -47,13 +47,13 @@ COHUB_SPACE_ID COHUB_SESSION_ID ``` -Use them as defaults when the user has not specified a target. +Use them as defaults when set (such as inside a Cohub Sandbox). ```bash env | grep '^COHUB_' ``` -Do not guess IDs. If no target is available and the command cannot infer context, ask the user. +Outside a Cohub Sandbox, these variables are usually unset: pass `-s ` explicitly or run inside a directory bound with `cohub runtime up`, and verify sign-in with `cohub auth whoami --json` if needed. Do not guess IDs. If no target is available and the command cannot infer context, ask the user. ## Chats and Prompts