Docs/Optional skills and MCP
#

Optional skills and MCP

Optional: skills, and MCP if the human prefers it

Optional. The CLI is enough: nothing in this setup needs skills or the MCP server. Only the agent driving this setup gets either, and only what the human agrees to; never install into other coding agents on the machine, and never use cofactor install --all-detected (it registers MCP and installs skills in every agent on the machine).

Skills (recommend, then ask per skill)

  1. Run cofactor skill list: it prints each skill's name and a description of what it does. Read them (there is no command that prints a skill's full text).
  2. From what you learned about the app and the human's setup in this session, pick the skills worth having and note one line on why each helps them (for example cofactor-write-test if they will write tests, cofactor-debug-run if runs will fail and need root-causing). Leave out the rest.
  3. Ask the human about each skill you recommend, with that line: "Install <name>? <why>". You may put the questions in one message, but each skill gets its own yes or no. Install only the ones they say yes to; never bulk-install.
bash
cofactor skill install <name>    # skills only, never MCP; detects your agent (--agent claude|codex|copilot|cursor|opencode to name it, --personal for your own skills directory)

Never pass --force: a name held by another skill is the human's own, so leave it and say so in the report. If an install fails, carry on and mention it. Skills already installed need no question.

MCP (ask once)

Ask: "Do you prefer Cofactor through MCP or the CLI?" The CLI is the default and nothing in setup needs MCP, so on "CLI", no answer or any doubt, do nothing. Only on "MCP", register the server for your own agent, MCP only (no skills): cofactor install --target <id>, where <id> is claude-code, codex, cursor, opencode, copilot, windsurf or claude-desktop. Some agents (for example Claude Desktop) need a restart before the server is active. If you are not sure which <id> you are, say so and ask the human to name it.

Next: cofactor setup guide report