- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add coco-research/coco --skill cli-anything -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add coco-research/coco --skill cli-anything -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add coco-research/coco --skill cli-anything -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add coco-research/coco --skill cli-anything -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/coco-research/coco/tree/HEAD/skills/cli-anything來自發布者
Turn any command-line tool into something an AI agent can call reliably and parse. The output is a thin, well-documented wrapper contract — never a reimplementation of the tool. Use the real tool; document how to drive it.
You have a CLI (your own, or a third-party binary) and you want an agent to invoke it predictably, read structured results, and recover from errors. This skill produces a SKILL.md wrapper that encodes that contract.
Enumerate the real surface before writing anything:
<tool> --help and <tool> <subcommand> --help for each subcommand.--help is thin, read the source or man page. Every claim in the wrapper must trace to observed behavior.--json machine-readable mode for every command an agent will call. Document the exact JSON keys the agent should read (one shape per command).{"error": "...", "code": N} if the tool supports it, otherwise the captured stderr) — never a bare stack trace.Standard structure so an agent can discover and drive the tool:
name, description (include natural trigger phrases).Commands — each command: purpose, exact invocation, args, and the result shape it returns.Examples — 2-4 real invocations with expected output.Errors — the exit-code/error contract from Step 3.Notes — auth, side effects, idempotency, network egress, prerequisites.--json shape parses.skills/coco-cli/SKILL.md is a wrapper produced with this pattern over the cocosuperintelligence command — note how it documents the (human-only) output contract honestly rather than inventing a JSON mode the tool lacks.
Wrap any command-line tool into a JSON-emitting agent skill. Use when you want to make a CLI reliably callable and parseable by an AI agent — introspect its --help, define a structured-output (--json)
---name: cli-anythingdescription: Wrap any command-line tool into a JSON-emitting agent skill. Use when you want to make a CLI reliably callable…---# skills/cli-anything/SKILL.md總覽
Wrap any command-line tool into a JSON-emitting agent skill. Use when you want to make a CLI reliably callable and parseable by an AI agent — introspect its --help, define a structured-output (--json) contract and a stable error contract, then generate a SKILL.md wrapper with verified examples. Triggers on "wrap this CLI", "make X agent-usable", "generate a skill for this command", "turn a tool into an agent skill".
常見問題
從發布者下載 skills/cli-anything/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/coco-research/coco。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。