Patch Changes
- 6c71e4d: Handle malformed MCP config files gracefully during
ctx7 removeagent detection. Previously, an unparseable JSON config at any agent's well-known path (e.g. a hand-edited~/.claude.json) would crash the command with an unhandledSyntaxErrorbefore it could do anything. The detector now skips the offending file and logs a warning naming the path and parse error so the user can fix it, while detection continues for the remaining agents. - 4056850: Respect
CLAUDE_CONFIG_DIRenv var when resolving Claude Code's global config, rules, skills, and detection paths