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?
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!
Here’s an easy guide for ya nerds.
Stop hand-coding slash commands — grab this one file and let Claude make any command for you.
Repo: https://github.com/artemgetmann/claude-slash-commands
Step 1 — Get the files Inside you’ll find:
add-command.md — the magic one. Lets Claude build any other command you want.
askgpt5-web-search.md — GPT-5 with browsing.
system-prompt-editor.md — edit your CLAUDE.md in context.
Step 2 — Install the one that matters Copy add-command.md to:
Global: ~/.claude/commands/
Project: <your-project>/.claude/commands/
Step 3 — Use it
/add-command "my-new-command" "what it should do"
Claude generates the .md file for your new slash command. Done.
Why this matters Once you have /add-command, you can describe what you want and Claude makes it — zero syntax memorization, zero setup headaches.
P.S. The GPT-5 command in there is especially useful.