⚠️ Work in progress — this project is under active development. APIs, commands, and behavior are subject to change. Not yet ready for production use.
A package manager for AI agent rules. Compose and install coding best practices for your stack, instead of copying monolithic rule files from somewhere else.
rulebox lets you compose specific pieces of agent guidance (Cursor, Claude Code, Copilot, etc.) tailored to your stack, via a simple CLI:
rulebox init
rulebox add nextjs/app-router drizzle/sqlite typescript/strictThis generates a .rules/ directory in your project, with one markdown file per rule. You then reference these files from your project's AGENTS.md / CLAUDE.md so your agent picks up the right guidance for the task at hand.
Most teams today copy-paste rules from repositories like awesome-cursorrules, ending up with bloated, hard-to-maintain instruction files. rulebox treats agent rules like packages: small, composable, versioned with your project, and easy to update.
The v0.1 is being designed and built. Planned commands:
rulebox init— initializerulebox.jsonin your projectrulebox add <rule>...— add one or more rulesrulebox install— materialize rules declared inrulebox.jsonrulebox remove <rule>...— remove rulesrulebox list— list installed rulesrulebox update— regenerate rule files from the registry
Stay tuned.
TBD.