remove-sub — Claude Code command: what it does, how to install
remove-sub is a Claude Code command for managing skill-event subscriptions by scope: remove project triggers, disable global ones for a project, or restore them.
no license ★ 2,003 updated 2026-07-26
.claude/commands/remove-sub.mdWhat remove-sub does
The command starts by listing current subscriptions through the skill-bus CLI with python3, then groups them by insert. After you choose an insert, it offers actions that match its scope: remove project subscriptions, disable global triggers for the current project, or restore triggers disabled earlier.
It can also delete a project-scoped insert together with its subscriptions. A global insert cannot be deleted through this command; it points you to ~/.claude/skill-bus.json or offers project-level disabling instead. The command displays the resulting subscription state after the change.
What it helps with
- list current skill-event subscriptions
- remove a project-scoped trigger
- disable a global subscription for one project
- restore a disabled trigger
- delete an insert and its subscriptions
Example prompts for the agent
- Run
/remove-suband show the subscriptions for the target insert. - Disable this insert’s global trigger for the current project.
- Remove the selected project subscription and show the final state.
How to install remove-sub
Manually: put the files in place
.claude/commands/remove-sub.mdCall it with /remove-sub. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/remove-sub.mdCall it with /prompts:remove-sub. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/remove-sub.prompt.mdManually: put the files in place
.gemini/commands/remove-sub.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about remove-sub
How do I install remove-sub in Claude Code?
Copy the file to .claude/commands/remove-sub.md.
What does remove-sub do?
It lists skill-event subscriptions and lets you remove project triggers, disable global triggers for the current project, or restore disabled ones.
Can remove-sub delete a global insert?
No. Edit ~/.claude/skill-bus.json for that, or use the command to disable all of the insert’s subscriptions in the current project.