Claude Code can invoke your custom slash commands
Best Custom Slash Commands for Claude Code?
Claude Command Suite - https://github.com/qdhenry/Claude-Command-Suite
I created a collection of professional slash commands for Anthropic's Claude Code to streamline software development tasks. I hope others find it useful! These commands are inspired by Anthropic's Claude code best practices (htt
Slash command manager for Claude Code
Videos
Anthropic just released Claude Code v1.0.123.
Which added "Added SlashCommand tool, which enables Claude to invoke your slash commands."
This update fundamentally changes the role of custom slash commands:
Before: A user had to manually type /my-command to execute a pre-defined prompt. It was a one-way interaction: User → Slash Command.
Now: The Claude agent can decide, as part of its reasoning process, that the best way to accomplish a task is to use the SlashCommand tool to run /my-command. The interaction is now: Claude (AI Agent) → SlashCommand Tool → /my-command.
Overall, the SlashCommand tool is a pivotal feature that elevates custom slash commands from simple user conveniences to a powerful, reusable API for the AI agent itself. It enables more robust, reliable, and complex automation within the Claude Code environment.
Discuss!
What custom slash commands are you using?
I've only added one so far which is /build that will:
Build the project and fix any errors you encounter. Once the build is successful, please commit all changes and push the current branch.
It's great for fixing type and linting errors. Any other good ones?