A community-driven collection of slash commands for AI coding agents:
- Cursor – AI-first code editor
- Google Antigravity – Google DeepMind's coding agent
- OpenAI Codex CLI – OpenAI's terminal coding assistant
- Claude Code – Anthropic's AI coding companion
🌐 Browse commands at agentcmds.work
Slash commands are reusable prompts that you can invoke in your AI coding assistant. Instead of typing the same instructions repeatedly, you save them as commands like /deslop, /refactor, or /write-tests.
We welcome contributions! See CONTRIBUTING.md for guidelines on adding new commands.
- Fork this repository
- Create a new
.mdfile in thecommands/folder - Follow the command template
- Submit a Pull Request
Each command is a Markdown file with YAML frontmatter:
---
id: my-command
name: My Command Name
slug: my-command
category: code-quality
description: A brief description of what this command does.
---
Your command instructions go here...| Field | Description |
|---|---|
id |
Unique identifier (lowercase, hyphens) |
name |
Display name |
slug |
URL-friendly identifier (usually same as id) |
category |
One of: code-quality, documentation, testing, refactoring |
description |
Brief description (shown in command list) |
- code-quality - Improve code quality, remove slop, fix issues
- documentation - Add or improve documentation
- testing - Write or improve tests
- refactoring - Restructure and improve code
MIT License - feel free to use these commands in your projects!