Claude Code
Claude Code is the most complete integration. Its hooks report every edit, so its agents show files in use, hear about conflicts and get messages mid-turn.
Set it up
Install Coordigent once per machine. It wires Claude Code at user level, so every repo is covered with no files in the repo. Repos join your project on their own.
The install finds Claude Code when ~/.claude.json or ~/.claude exists, or claude is on your PATH. Install Claude Code later and it is wired on its own.
Restart any Claude Code agent that was already running, to pick up the tools.
Or install it as a plugin
Inside Claude Code:
/plugin marketplace add startupproj/coordigent-public
/plugin install coordigent@coordigentOr from a shell:
claude plugin install coordigent --marketplace startupproj/coordigent-publicThe plugin has the same hooks, the coordigent MCP server, and the status, message and handoff commands (/coordigent:coordigent-status and so on). The coordination rules travel as the MCP server's instructions. The plugin does not write a CLAUDE.md block or a skill.
- It runs
coordandcoord-mcpfrom yourPATH. Installcoordfirst, or run/coordigent:coordigent-setup, which installs it withnpx coordigentand connects the repo. - It can't add a status line.
coord install claude-codewrites that. Neither the plugin norcoord installwrites aCLAUDE.mdblock or a skill. - With the plugin installed, Coordigent stops writing Claude Code's MCP entry and hooks.
- Wired before you added the plugin? Every hook runs twice.
coord doctorsays so;coord doctor --fixremoves the extra copies.
What gets written
On this machine
One entry in ~/.claude.json, named coordigent:
{
"mcpServers": {
"coordigent": {
"type": "stdio",
"command": "/Users/you/.tower/bin/coord-mcp",
"args": [],
"env": {}
}
}
}The rest of the file stays. An existing coordigent entry is kept, or repaired if its binary no longer exists. An old tower entry that runs tower-mcp is deleted. No token is stored: coord-mcp reads your login from ~/.tower/config.json.
A new agent starts with memory from this checkout. With memory on, the session-start block is the block: notes from earlier agents, fenced, at most 2,000 characters; a could-not-load line when the daemon cannot answer in time. Older coord versions still get the context pack from the same hook, cut to what Claude Code shows in full.
Hooks in ~/.claude/settings.json (yours are kept):
SessionStart,Stop,UserPromptSubmit,SessionEnd,Notification.PreToolUse: blocking onEdit|Write|MultiEdit, to warn before a held file; async on all other tools.PostToolUseon edits, reads, shell commands and todos.
In the repo, with --repo-files
Nothing goes into a repo unless you ask. For teams that commit them, run coord connect --repo-files inside the repo. It writes:
.mcp.json: the samecoordigentserver, identical on every teammate's machine..claude/settings.json: hooks that report prompts, reads, edits and shell commands, warn before editing a held file, and save a handoff before Claude Code compacts. It sets the statusline tocoord status --oneline. Your hooks are kept..claude/commands/coordigent-status.md,coordigent-msg.mdandcoordigent-handoff.md: the/coordigent-status,/coordigent-msgand/coordigent-handoffslash commands.
The coordination rules are the MCP server's instructions. Coordigent does not write a CLAUDE.md block or .claude/skills/coordigent-context/SKILL.md. coord update removes an old copy when ~/.tower/managed-blocks.json shows it is still what Coordigent wrote.
The repo's .mcp.json finds coord-mcp through $HOME and names the repo:
{
"mcpServers": {
"coordigent": {
"type": "stdio",
"command": "sh",
"args": ["-c", "exec \"${TOWER_BIN_DIR:-$HOME/.tower/bin}/coord-mcp\" \"$@\"", "coord-mcp"],
"env": { "COORDIGENT_REPO": "your-org/your-repo" }
}
}
}A rules block or file you edited is left alone on the next run, and it says so. --force replaces it. A rerun also deletes .claude/skills/parallel-session-protocol/, a duplicate from an earlier version, if you never edited it.
Only for Claude Code
coord install claude-code --usercoord install claude-code writes the .mcp.json entry, slash commands, statusline and handoff hooks, without the rest of coord connect. It does not write a CLAUDE.md block or a skill. The hooks that report edits come from the install, at user level.
--user writes them under your home directory instead, so every repo gets the statusline and commands: ~/.claude.json, ~/.claude/settings.json, and the commands under ~/.claude/. Both print the matching claude mcp add command.
Update
coord updateGets the current coord and coord-mcp, refreshes capture hooks and restarts the daemon. Restart Claude Code to load the new coord-mcp.
Check it
coord doctorclaude mcp get coordigentcoord doctor shows claude-code with a ✓ and the config file it found (repo or user level), and a Hooks: line with the installed events, or none. A ✗ line names its fix.
In Claude Code, run /coordigent-status or ask the agent to call coordigent.status. Its row is marked (you).
What works and what degrades
Nothing important degrades. Claude Code supports MCP resources, prompts, elicitation, roots and tool-list updates. Sampling and resource subscriptions stay off; Claude Code does not document them.
- Files in use and conflicts. Hooks record each edit, so others see what this agent holds. It is warned before editing a file another agent holds. The edit is never blocked, unless the agent is a headless run Coordigent started, which waits until the file is free.
- Messages. Hooks deliver messages and conflicts to a running agent, no restart. They also arrive as a
⚠ COORD:banner on the nextcoordigent.*result.coordigent.message.inboxreads the rest. - Handoffs. With the repo files or
coord install claude-code, a hook saves a handoff before Claude Code compacts, for the next agent.
Remove
- This machine:
coord uninstall(--dry-runto preview). Removes the hooks, MCP entries and rules blocks it wrote; keeps your hand edits. - Only Claude Code:
coord uninstall claude-code, optionally with--only statusline,--only hooksor--only mcp. - The plugin:
/plugin uninstall coordigent@coordigentin Claude Code. - One repo:
coord unenrollthere. See Stop Coordigent in a repo.
By hand, delete the coordigent entry from ~/.claude.json and the repo's .mcp.json; the Coordigent hooks from ~/.claude/settings.json; the hooks and statusLine from the repo's .claude/settings.json; and .claude/commands/coordigent-*.md. An old .claude/coordigent-statusline.sh from an earlier install is removed by coord update when it is still unchanged. An old CLAUDE.md block or .claude/skills/coordigent-context/ from an earlier install can be deleted the same way. coord update removes one that is still unchanged.
Next
- Repos join on their own: how a repo joins your project.
- MCP tools: every
coordigent.*tool. - Files in use: what the hooks record.