Expand description
What the coding agents on this machine are configured with.
Five agents are known — Claude Code, Codex, Antigravity, Cursor, and Windsurf — and this module answers three questions about each: whether its CLI is installed, what MCP servers and skills it is configured with, and whether that setup looks broken. Everything here reads; nothing writes.
The agents are deliberately not handled uniformly, because they are
not uniform. Each stores its servers in a different file, in a different
format, under different rules for what a remote server’s transport is; the
differences are spelled out on [Reader] rather than smoothed away, since
smoothing them away is exactly how this drifts from what the agents do.
Structs§
- AddOutcome
- Agent
Config View - Agent
Status - Change
Preview - Change
Report - Doctor
Check - Doctor
Report - Ordered
Map - Pending
Change - One staged mutation, after the route has checked its shape.
- Remote
Server - Server
Spec - Skill
Entry - Snapshot
Outcome - Stdio
Server
Enums§
Constants§
- AGENTS
- The agents this knows about, in the order every answer reports them.
Functions§
- add_mcp
- Add or replace one MCP server.
- apply_
changes - Apply the batch, or refuse it whole.
- backup_
config_ file - Copy a file beside itself before something replaces it.
- backup_
skill_ directory - Move a skill’s directory into the backup store and return where it went.
- doctor
- The same two facts
statusandread_configsanswer, restated as checks: every agent’s CLI first, then every agent’s config file. - install_
skill_ destination - Where
install_user_skillwould put a skill of this name. - install_
user_ skill - Put a skill into an agent’s own user-scope skills directory, replacing whatever was installed under that name.
- move_
mcp_ scope - move_
skill_ scope - preview_
changes - What the batch would do, without doing any of it.
- read_
configs - Every agent’s MCP servers and skills.
cwdis the project directory that project scope is resolved against; absent, it is this process’s own. - remove_
mcp - snapshot_
agent - Copy an agent’s config aside without changing it.
- status
- Which agent CLIs are installed, in the fixed agent order.