Claude Code slash command

agent-rules

Rules and reusable command prompts for working with Claude Code and Cursor.

5,671 stars 502 forksSlash commandsArchived Source

Install

From source
git clone https://github.com/steipete/agent-rules.git

From 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
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

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

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