Claude Code slash command
agent-rules
Rules and reusable command prompts for working with Claude Code and Cursor.
Install
git clone https://github.com/steipete/agent-rules.gitFrom the README
AI moves fast. This was old stuff I used mid 2025 when I was still using Cursor. My new work is here: https://github.com/steipete/agent-scripts
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.
Details
- Repository
- steipete/agent-rules
- Type
- Slash commands
- Website
- steipete.me
- Language
- Shell
- License
- MIT
- Last updated
- 3 May 2026
- Topics
- agentclaudecodecursorllmsrules
FAQ
What is agent-rules?
Rules and reusable command prompts for working with Claude Code and Cursor. It is a slash command for Claude Code, from steipete/agent-rules on GitHub.
How do I install agent-rules?
Clone steipete/agent-rules from GitHub and follow the setup steps in its README.
Is agent-rules popular?
steipete/agent-rules has 5,671 GitHub stars and 502 forks, and is included in 2 curated Claude Code lists. It was last updated on 3 May 2026.
More slash commands
TACHES CC Resources
2kglittercowboy/taches-cc-resources
Curated personal set of Claude Code commands, skills and agents.
Claude Command Suite
1.3kqdhenry/Claude-Command-Suite
Professional slash commands covering reviews, testing, security and other structured dev workflows.
Claude Skills
29kalirezarezvani/claude-skills
410 Claude Code skills & agent skills & plugins (120+ Agents, custom commands, 410+ skills, customizable references, scripts)for Claude Code, Codex, Gemini CLI, Cursor, and 8 more coding agents — engineering, marketing, product, compliance, C-level advisory, research, business operations, commercial & finance, and your daily productivity skills.
wshobson/commands
2.6kwshobson/commands
Large archived collection of production-ready Claude Code slash commands, now succeeded by wshobson/agents.
CCPlugins
2.8kbrennercruvinel/CCPlugins
Set of time-saving slash commands for cleanup, refactoring, reviews and session management.
badlogic/claude-commands
522badlogic/claude-commands
Global Claude Code commands and workflows from Mario Zechner.
Browse the most popular Claude Code mods, all slash commands, or the skills and MCP server directories.