/remove-custom
Remove the active custom modules repository and all its installed artifacts.
Usage
/remove-customOnly one custom repo can be active at a time (the clone lives at a fixed path ~/.claude/custom/), so no URL argument is needed.
What It Does
- Removes installed skills — every
custom:-prefixed entry ininstalled.json.skills[]is deleted from~/.claude/skills/and untracked. - Removes installed MCP servers — every
custom:-prefixed entry ininstalled.json.mcp[]is removed from~/.claude.jsonand untracked. - Removes custom commands — every entry in
installed.json.command_overrides[]is deleted from~/.claude/commands/. If a base command of the same name exists in the claude-code-setup repo, the base version is restored. - Removes custom scripts — every entry in
installed.json.scripts[]is deleted from~/.claude/scripts/and untracked. - Deletes the git clone —
~/.claude/custom/is removed entirely. - Clears tracking fields —
custom_urlandcustom_versionare deleted frominstalled.json. - Rebuilds CLAUDE.md — removed modules disappear from the tables.
Output
Removing Custom Repo: git@company.com:team/claude-modules.git
✓ Removed skill: my-skill
✓ Removed MCP server: my-mcp
✓ Restored base command: catchup.md
✓ Removed script: helper.sh
✓ Removed /Users/you/.claude/custom
✓ Cleared custom_url and custom_version from installed.json
Rebuilding CLAUDE.md
✓ CLAUDE.md updated
Removal Complete
Removed:
- 1 skill(s)
- 1 MCP server(s)
- 1 command(s)
- 1 script(s)
⚠️ IMPORTANT: Restart Claude Code to deactivate removed MCP servers.CLI Equivalent
./install.sh --remove-customRelated
- /add-custom - Install custom modules for your team
- Customizing - Custom modules guide
- Module Management - All install/update/remove flags