Skip to main content

Quick Install

One command writes the MCP config and skill files for your AI agent.

Requirements

  • Node.js ≥ 20
  • The target agent installed (Claude Code / Codex / Cursor, etc.)

Install command

npx @patton174/coco-agent-skills install --agent <target>

Values for --agent:

ValueTarget agentWhat gets written
claudeClaude Code.mcp.json + .claude/skills/coco-framework/SKILL.md
codexCodex CLI.codex/config.toml (appends an MCP block)
cursorCursor.cursor/mcp.json + .cursor/rules/coco-framework.mdc
genericGeneric agentsAGENTS.md (skill section)
allAll of the aboveEverything
Non-destructive writes

The installer only appends or creates — it never overwrites your existing config blocks. The Codex TOML block is appended idempotently.

Choosing a target directory

Writes go to the current directory by default. Use --target to point at a project root:

npx @patton174/coco-agent-skills install --agent cursor --target ./my-service

After installing

  • Claude Code: restart, and the coco MCP server loads with its 7 tools available.
  • Cursor: confirm the MCP server is enabled in settings.
  • Codex: .codex/config.toml is read on next launch.

The first call to a search tool downloads the local embedding model (q8 weights, ~95 MB); everything after that works offline.

Slow connection to huggingface.co

If the model download is slow or fails, point it at a mirror first:

export HF_ENDPOINT=https://hf-mirror.com

Next