Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code Commands

Run Claude CLI slash commands directly from Raycast

Raycast Store MIT License macOS

Claude Code Commands Screenshot


Overview

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.

Features

  • 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 auth to 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

Installation

From Raycast Store

  1. Open Raycast
  2. Search for "Claude Code Commands"
  3. Click Install

Manual Installation

# 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

Prerequisites

  • Raycast installed
  • Claude CLI installed and configured
  • Command files in .claude/commands/ directories

Usage

Quick Start

  1. Launch Raycast (⌘ Space by default)
  2. Type "Run Claude" or your configured hotkey
  3. Select a project from the dropdown
  4. Search or browse available commands
  5. Press Enter to execute

Adding Projects

  1. Run "Add Project" command (or ⌘ ⇧ A from the command list)
  2. Select your project directory
  3. Optionally set a custom display name

Keyboard Shortcuts

Shortcut Action
Enter Run command in terminal
⌘ ⇧ C Copy command to clipboard
⌘ O Open command file
⌘ ⇧ A Add new project
⌘ R Refresh command list

Inline Arguments

Type arguments directly after the command name:

/review focus on error handling
/commit fix: resolve auth bug

Command File Format

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.

Configuration

Terminal Selection

  1. Open Raycast Preferences (⌘ ,)
  2. Navigate to Extensions → Claude Code Commands
  3. Select your preferred terminal application

Tech Stack

  • Framework: Raycast API
  • Language: TypeScript
  • UI: React
  • File Scanning: fast-glob

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License — see LICENSE for details.


Made with ❤️ for the Claude community

About

Run Claude CLI slash commands directly from Raycast

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages