AI Rules CLI

A command-line tool that helps developers pull curated AI agent rules from a centralized repository into their projects.

🎯 Select Rules via Web UI

Use our web interface to search and select rules, then generate a non-interactive CLI command to install them.

Open Rule Selector →

📚 Review Knowledge Base Drafts

Approve, edit, or reject drafts captured via npx @quanvo99/ai-rules@latest kb capture. Drafts stay invisible to agents until approved.

Open KB Review →

API Endpoints

GET /api/rules

Fetch all available rules from MongoDB cache with GitHub fallback

CLI Usage

Interactive Mode

npx @quanvo99/ai-rules@latest init

Non-Interactive Mode

npx @quanvo99/ai-rules@latest init --agent cursor --categories typescript,react-hooks --overwrite-strategy force