You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Locate the plugin: Read ~/.claude/claude-plugins/installed_plugins.json to find the plugin's install path
Find the command: Look for the command file at {installPath}/commands/{command-name}.md
Execute: Load and follow the command's instructions with any additional arguments
Examples
# Run the brainstorm command from superpowers plugin
/claude-plugin superpowers brainstorm "How can we improve error handling?"# Run the resolve-review-comments command from github plugin
/claude-plugin github resolve-review-comments 123
# Run the hello command from example-plugin
/claude-plugin example-plugin hello
Implementation
When this command is invoked:
Parse arguments:
First argument: plugin name (e.g., "superpowers", "github")
Second argument: command name (e.g., "brainstorm", "resolve-review-comments")
❌ Plugin '{plugin-name}' not installed.
Available plugins: {list from installed_plugins.json}
If command not found:
❌ Command '{command-name}' not found in plugin '{plugin-name}'.
Available commands: {list files in installPath/commands/}
If no arguments provided:
❌ Usage: /claude-plugin <plugin-name> <command-name> [args...]
To list installed plugins, use:
/claude-plugin list
To list commands in a plugin, use:
/claude-plugin <plugin-name> list
Special Commands
List all plugins
/claude-plugin list
Shows all installed plugins with their versions.
List commands in a plugin
/claude-plugin <plugin-name> list
Shows all available commands in the specified plugin.