coco-cli
Install, update, version-check, or uninstall the Coco open-core AI workflow framework via bin/coco.js. Use when setting up Coco on a machine, checking out the pinned release tag into an existing clone, checking the installed version, or removing it. npx cocosuperintelligence is the published path (clones the pin and installs). Triggers on "install coco", "update coco", "set up coco", "coco cli", "uninstall coco".
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-11
- Stars
- ★ 631
- Forks
- 15
01 前言 Front Matter
- name
- coco-cli
- domain
- meta
- description
- Install, update, version-check, or uninstall the Coco open-core AI workflow framework via bin/coco.js. Use when setting up Coco on a machine, checking out the pinned release tag into an existing clone, checking the installed version, or removing it. npx cocosuperintelligence is the published path (clones the pin and installs). Triggers on "install coco", "update coco", "set up coco", "coco cli", "uninstall coco".
03 SKILL.md 正文
<!-- Wrapper generated with the cli-anything skill. Methodology: HKUDS/CLI-Anything (https://github.com/HKUDS/CLI-Anything) — Apache-2.0. -->
coco-cli — manage the Coco framework
Thin agent wrapper over bin/coco.js (package name cocosuperintelligence).
Drives the real CLI; does not reimplement it.
npx cocosuperintelligence is the published path: it clones the pinned
release tag and runs install. From a clone, invoke node bin/coco.js.
install / update check out the release tag matching package.json
(v1.5.0 today), not floating main.
Commands
| Command | Purpose | Invocation |
|---|---|---|
| (default) | clone + install, auto-detecting the adapter | node bin/coco.js |
install |
clone + install with explicit flags | node bin/coco.js install [flags] |
update |
check out the pinned release tag | node bin/coco.js update [dir] |
uninstall |
remove symlinks + the clone | node bin/coco.js uninstall [dir] |
version |
print version + check for updates | node bin/coco.js version |
--help |
print usage | node bin/coco.js --help |
Install flags (passed through to install.sh)
--adapter <name>— one ofclaude-code|cursor|grok|codex|generic--systems <list>— comma-separated, e.g.gsd,brain--dry-run— preview only, no writes
Examples
- Install for Cursor:
node bin/coco.js install --adapter cursor - Install for Grok:
node bin/coco.js install --adapter grok - Selective systems:
node bin/coco.js install --systems gsd,brain --adapter claude-code - Preview without writing:
node bin/coco.js install --dry-run - Update an existing clone:
node bin/coco.js update
Output contract
This CLI is human-output-oriented; it has no native --json mode. For agent use:
- Treat exit code 0 = success, non-zero = failure.
versionprintscocosuperintelligence vX.Y.Zplus an update hint — parse thevX.Y.Ztoken.- Capture stdout/stderr and branch on the exit code; do not assume machine-readable JSON.
Errors
- A non-zero exit means an underlying git or
install.shstep failed — surface the captured stdout + stderr to the user. - Update checks contact
github.comonly; on network failure the version check degrades quietly and the command still runs.
Notes
- Side effects:
installclones the pinned release tag and creates symlinks;uninstallremoves them.install/updatere-fetch, so they are not no-ops. Branch checkouts stillgit pull --ff-onlyand are not force-moved onto an older pin. - Network egress:
github.comonly. No telemetry. Disable update checks withCOCO_NO_UPDATE_CHECK=1. - Prerequisites:
node/npx,git, andbash.npx cocosuperintelligenceis the published path (clones the pin and installs).
04 同仓库更多 Skills
trading-super-intelligence
Trading Super Intelligence Team. Named real-world personas across 8 cells. Built local-first (LM Studio) and validator-gated. Illustrative composites; see DISCLAIMER.md.
strategy-super-intelligence
Strategy Super Intelligence Team. Named real-world personas across 7 cells. Built local-first (LM Studio) and validator-gated. Illustrative composites; see DISCLAIMER.md.
risk-compliance-super-intelligence
Risk & Compliance (GRC) Super Intelligence Team. Named real-world personas across 7 cells. Built local-first (LM Studio) and validator-gated. Illustrative composites; see DISCLAIMER.md.
product-design-super-intelligence
Your product + design brain trust and decision partner. Named personas across 8 cells spanning product strategy, discovery/research, growth/metrics, design foundations/usability, design leadership/craft, UX/content, design systems, and a…
legal-ip-super-intelligence
Your legal, IP, and regulatory brain trust. 31 named personas across 7 cells covering patent strategy, tech licensing, regulatory litigation, AI governance, open-source compliance, privacy law, and antitrust.
healthcare-life-sciences-super-intelligence
Your healthcare and life sciences brain trust. 25 named personas across 7 cells covering drug discovery, medtech, biotech strategy, health policy, genomics, clinical trials, and healthcare economics.