>_AGENT_RULES

Quick Start

One command to install a rule.

Install any rule with a single command:

npx @agentrules/cli add <name> --platform <platform>

For example:

npx @agentrules/cli add agentic-dev-starter --platform opencode

That's it. Files are copied to your project's platform directory (.opencode/, .claude/, etc.) and they're yours to customize.

Finding Rules

Browse agentrules.directory to discover rules. Each page shows:

  • What files are included
  • A ready-to-copy install command
  • The platform it's designed for

Supported Platforms

PlatformIDDirectory
OpenCodeopencode.opencode/
Claude Codeclaude.claude/
Cursorcursor.cursor/
Codexcodex.codex/

Global Install

By default, rules install to your current project. Use -g or --global to install to your global config directory:

npx @agentrules/cli add agentic-dev-starter --platform opencode --global
PlatformProjectGlobal
OpenCode.opencode/~/.config/opencode
Claude.claude/~/.claude
Cursor.cursor/~/.cursor
Codex.codex/~/.codex

Next Steps

The files are now yours. Edit them, remove what you don't need, and evolve them as your workflow changes.

Need more control? See Install Options for version pinning, handling conflicts, and more.

On this page