Claude Code slash command

Claude Slash Commands

Collection of useful slash commands for Claude Code CLI

42 stars 4 forksSlash commands Source

Install

From source
git clone https://github.com/artemgetmann/claude-slash-commands.git

From the README

Claude Code Slash Commands

A small collection of useful Claude Code slash commands. Copy to ~/.claude/commands/ or .claude/commands/ inside your project.

Installation

Personal Commands (Available Across All Projects)

Project-Specific Commands (Shared with Team)

Usage

After installation, use commands with the / prefix:

Available Commands

/add-command
Interactive guide for creating new slash commands. Shows command structure, security restrictions, and common patterns. Includes examples for commands with arguments, file references, and bash integration.

/askgpt5-web-search
Query GPT-5 with web browsing capabilities for real-time information, current events, stock prices, and recent news. Requires OpenAI API key configuration.

/system-prompt-editor
Edit your global CLAUDE.md system prompt that controls Claude's behavior across all projects. Supports viewing, editing, and creating backups of your configuration.

Command Structure

All commands use markdown frontmatter for configuration:

Security Notes

- Bash commands (!command) are restricted to the current project directory
- File references (@file) can access any path
- Use allowed-tools frontmatter to specify required tools
Read the full README on GitHub

How custom slash commands work

  • A slash command is a Markdown file. Put it in ~/.claude/commands (for you) or .claude/commands (for a project), and it becomes /file-name inside Claude Code. Claude Code now treats commands and skills the same way, so .claude/skills/name/SKILL.md also works.
  • Arguments you type after the command are passed in as $ARGUMENTS.
  • If the repo is a plugin marketplace, installing it from /plugin adds the commands for you.
Claude Code docs

Details

Last updated
21 February 2026

FAQ

What is Claude Slash Commands?

Collection of useful slash commands for Claude Code CLI It is a slash command for Claude Code, from artemgetmann/claude-slash-commands on GitHub.

How do I install Claude Slash Commands?

Clone artemgetmann/claude-slash-commands from GitHub and follow the setup steps in its README.

Is Claude Slash Commands popular?

artemgetmann/claude-slash-commands has 42 GitHub stars and 4 forks. It was last updated on 21 February 2026.

More slash commands

Browse the most popular Claude Code mods, all slash commands, or the skills and MCP server directories.