Skip to main content
command CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/remove-sub.md
Open on GitHub

What 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-sub and 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.md

Call it with /remove-sub. For all projects use ~/.claude/commands/

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.

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →

From the same set68

The whole set →
setup setup configures the connect-apps plugin so Claude Code can trigger actions in external services like Gmail, Slack, and GitHub through Composio. CX Codex +1 ★ 2,003repo stars report report is a Claude Code command that shows skill-bus subscription matches, condition skips, and skills without subscriptions to help find coverage gaps. CX Codex +1 ★ 2,003repo stars complete A signal command: Claude runs it by itself once a skill with "when": "complete" subscriptions has finished, and a hook starts the next steps in the chain. CX Codex +1 ★ 2,003repo stars reflecting-on-sessions reflecting-on-sessions inspects skill-bus telemetry across task transitions to surface unhandled skill calls and rule gaps. CX Codex +1 ★ 2,003repo stars audit-project-github The audit-project-github command for Claude Code turns deferred /audit-project findings into GitHub issues via gh, keeping security findings out of the public tracker. It requires git and authenticated gh. CX Codex +1 ★ 2,003repo stars edit-insert edit-insert modifies stored text content and trigger conditions for skill-bus inserts. Useful when you need to update prompt context across all connected subscriptions. CX Codex +1 ★ 2,003repo stars ship-error-handling The ship-error-handling command documents how to recover /ship from CI failures, merge conflicts, deployment errors, and other shipping problems. CX Codex +1 ★ 2,003repo stars backend-architect backend-architect — a subagent for designing APIs, server-side logic, databases, and scalable backend systems. CX Codex ★ 2,003repo stars

Project sponsors

Companies that keep this analytics open