Claude Code: how to use custom slash commands for your project

TL;DR AI
2 min readKey summary
Claude Code reads project command templates from .claude/commands as markdown files and exposes them as /project:NAME commands.
Any text after the command name is passed into the template as $ARGUMENTS for substitution.
You can commit .claude/commands to the repo to share commands across a team, or place files in ~/.claude/commands for global use.
Long command chains may hit Claude Code API rate limits; setting ANTHROPIC_BASE_URL to a proxy can remove the per-session cap.
