- name
SKILL.md
O arquivo da skill permanece no repositório do publicador.
Cole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add coco-research/coco --skill cli-anything -a cursor -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add coco-research/coco --skill cli-anything -a claude-code -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add coco-research/coco --skill cli-anything -a codex -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add coco-research/coco --skill cli-anything -a grok -yEnvie a mensagem copiada em um chat do Grok Bot. O Bot busca este SKILL.md no GitHub e o adiciona às skills que todos os seus Bots compartilham.
Install this skill: https://github.com/coco-research/coco/tree/HEAD/skills/cli-anythingDo publicador
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.mdVisão geral
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".
Perguntas frequentes
Baixe skills/cli-anything/SKILL.md do publicador ou copie o caminho e abra o repositório. O PlugMCP lista a skill e não hospeda o arquivo.
O publicador o mantém em https://github.com/coco-research/coco.
Claude, Cursor, Codex e Grok Build conseguem ler um SKILL.md que você adiciona a partir do repositório do publicador. O Grok Bot o instala quando você envia em um chat o link da pasta da skill no GitHub.