Run Claude CLI slash commands directly from Raycast
Claude Code Commands is a Raycast extension that supercharges your Claude CLI workflow. Browse, search, and execute your Claude slash commands without leaving your keyboard.
Whether you have project-specific commands or global utilities, this extension discovers them all and puts them at your fingertips.
-
Instant Command Discovery — Automatically scans and loads commands from:
~/.claude/commands/(global commands){project}/.claude/commands/(project-specific)
-
Smart Search — Filter commands by name or description with fuzzy matching
-
Inline Arguments — Type
/review focus on authto pass arguments directly -
Frequency Tracking — Your most-used commands bubble to the top
-
Multi-Terminal Support — Works with your favorite terminal:
- Ghostty
- iTerm
- Terminal.app
- Warp
-
Project Switching — Quickly switch between projects with the dropdown selector
- Open Raycast
- Search for "Claude Code Commands"
- Click Install
# Clone the repository
git clone https://github.com/llch/claude-code-commands.git
cd claude-code-commands
# Install dependencies
npm install
# Build and import to Raycast
npm run dev- Raycast installed
- Claude CLI installed and configured
- Command files in
.claude/commands/directories
- Launch Raycast (
⌘ Spaceby default) - Type "Run Claude" or your configured hotkey
- Select a project from the dropdown
- Search or browse available commands
- Press
Enterto execute
- Run "Add Project" command (or
⌘ ⇧ Afrom the command list) - Select your project directory
- Optionally set a custom display name
| Shortcut | Action |
|---|---|
Enter |
Run command in terminal |
⌘ ⇧ C |
Copy command to clipboard |
⌘ O |
Open command file |
⌘ ⇧ A |
Add new project |
⌘ R |
Refresh command list |
Type arguments directly after the command name:
/review focus on error handling
/commit fix: resolve auth bug
Create .md files in your .claude/commands/ directory:
.claude/commands/
├── review.md → /review
├── commit.md → /commit
└── git/
├── status.md → /git:status
└── branch.md → /git:branch
The first non-empty line of each file becomes the command description.
- Open Raycast Preferences (
⌘ ,) - Navigate to Extensions → Claude Code Commands
- Select your preferred terminal application
- Framework: Raycast API
- Language: TypeScript
- UI: React
- File Scanning: fast-glob
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT License — see LICENSE for details.
Made with ❤️ for the Claude community
