Skip to content
Development
Command

/remove-custom

Remove the active custom module repository and all its installed artifacts (skills, MCP servers, command overrides, scripts) from claude-code-setup.

From plugin
claude-code-setup
5711 skills11 commands1 hook
$ npx -y skills add b33eep/claude-code-setup --agent claude-code

Command definition

remove-custom.md

Remove Custom Modules

Remove the active custom module repository and all its installed artifacts (skills, MCP servers, command overrides, scripts) from claude-code-setup.

Zero residue: deletes the git clone at `~/.claude/custom/`, every installed copy, and every tracking entry; restores base versions for commands that overrode a base command.

Only one custom repo can be active at a time, so no URL argument is needed.

Usage

/remove-custom

Tasks

1. **Check installation state**

  • If `~/.claude/installed.json` doesn't exist → output the "no installation"

message and stop.

  • If `installed.json` has no `custom_url` AND `~/.claude/custom/` doesn't

exist → output the "nothing to remove" message and stop.

2. **Execute removal** (1 Bash call)

Clone the latest claude-code-setup, run `--remove-custom`, then clean up:

   temp=$(mktemp -d /tmp/claude-setup-XXXXXX) && \
   git clone --depth 1 https://github.com/b33eep/claude-code-setup.git "$temp" 2>/dev/null && \
   cd "$temp" && ./install.sh --remove-custom ; rm -rf "$temp"

The script handles:

  • Removing every `custom:` skill from `~/.claude/skills/` and `installed.json`
  • Removing every `custom:` MCP server from `~/.claude.json` and `installed.json`
  • Deleting every custom command override; restoring base versions when a

base command exists in the claude-code-setup repo

  • Deleting every custom script from `~/.claude/scripts/`
  • Deleting `~/.claude/custom/` (the git clone)
  • Clearing `custom_url` and `custom_version` from `installed.json`
  • Rebuilding `~/.claude/CLAUDE.md`

3. **Report**

  • Relay the counts printed by `install.sh`.
  • If MCP servers were removed, remind the user to restart Claude Code.

Output

Success:

Removed custom repo: <url>

  - N skill(s)
  - M MCP server(s)
  - K command(s) (base versions restored where available)
  - L script(s)
  - ~/.claude/custom/
  - custom_url, custom_version

CLAUDE.md rebuilt.

IMPORTANT: Restart Claude Code to deactivate removed MCP servers.

Nothing to remove:

No custom repo registered (~/.claude/installed.json has no custom_url, and
~/.claude/custom/ does not exist). Nothing to remove.

No installation:

claude-code-setup is not installed. Nothing to remove.

Network error (clone failed):

Unable to reach GitHub.

Manual removal:
  cd /path/to/claude-code-setup
  ./install.sh --remove-custom
Read more
@b33eep
Ships withclaude-code-setup

This project is archived and no longer maintained. Claude Code Setup has not been developed for a while. Its concepts now live on in our own Claude Code plugins.

Stars on GitHub

Momentum

stars in total
57
Star history of b33eep/claude-code-setup on GitHub, a chart by star-history.com

Other commands on claude-code-setup.

delegate

delegate

Command

Spawn a teammate to work on a separate task independently. You continue your own work and get notified when the teammate finishes.

design

design

Command

A structured way to plan complex features before implementing. Works through: Problem → Options → Solution → Stories → Finalize.

do-review

do-review

Command

Trigger a code review on your recent changes using the comprehensive-review plugin. This is Step 3 in the Development Flow —…

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command