Switch language한국어
Back to the list

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

TL;DR AI

Key summary

2 min read
  1. Claude Code reads project command templates from .claude/commands as markdown files and exposes them as /project:NAME commands.

  2. Any text after the command name is passed into the template as $ARGUMENTS for substitution.

  3. You can commit .claude/commands to the repo to share commands across a team, or place files in ~/.claude/commands for global use.

  4. Long command chains may hit Claude Code API rate limits; setting ANTHROPIC_BASE_URL to a proxy can remove the per-session cap.

Read the original