Get Started
Install rules or publish your own.
What is Agent Rules?
Agent Rules is a package manager for AI coding assistant configurations. It lets you:
- Install community rules to quickly set up your AI tools
- Publish your own configurations to share with others
- Discover workflows for tools like OpenCode, Claude Code, Cursor, and Codex
Rules
Rules are bundles of configuration files — agents, commands, instructions, and tools packaged together. Install a rule to get a complete setup.
Rules are installed with add:
npx @agentrules/cli add <name> --platform <platform>What do you want to do?
Install a Rule
Add community configurations to your project with one command
Publish a Rule
Share your workflow and get a profile on the registry
Supported Platforms
| Platform | ID | Directory |
|---|---|---|
| OpenCode | opencode | .opencode/ |
| Claude Code | claude | .claude/ |
| Cursor | cursor | .cursor/ |
| Codex | codex | .codex/ |
Browse rules at agentrules.directory.