Ruler — apply the same rules to all coding agents
# Add to your Claude Code skills
git clone https://github.com/intellectronica/rulerLast scanned: 11/28/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@humanfs/node: humanfs: Recursive copy follows symlinked files and copies data from outside the source tree",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/eslint-plugin: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/parser: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/type-utils: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/typescript-estree: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/utils: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "baseline-browser-mapping: baseline-browser-mapping process termination on invalid input causes denial of service",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "brace-expansion: brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service",
"severity": "high"
},
{
"type": "npm-audit",
"message": "browserslist: Browserslist: Unbounded memory growth (no cache eviction) via distinct query results, leading to eventual OOM",
"severity": "high"
},
{
"type": "npm-audit",
"message": "handlebars: Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "js-yaml: js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources",
"severity": "high"
},
{
"type": "npm-audit",
"message": "minimatch: minimatch has potential denial of service via globparts amplification",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "typescript-eslint: Vulnerability found",
"severity": "medium"
}
],
"status": "FAILED",
"scannedAt": "2026-11-28T21:55:53.370Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}ruler is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by intellectronica. Ruler — apply the same rules to all coding agents. It has 3,005 GitHub stars.
ruler failed AgentsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.
Clone the repository with "git clone https://github.com/intellectronica/ruler" and add it to your Claude Code skills directory (see the Installation section above).
ruler is primarily written in TypeScript. It is open-source under intellectronica on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ruler against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
Beta Research Preview
- Please test this version carefully in your environment
- Report issues at https://github.com/intellectronica/ruler/issues
Managing instructions across multiple AI coding tools becomes complex as your team grows. Different agents (GitHub Copilot, Claude, Cursor, Aider, etc.) require their own configuration files, leading to:
Ruler solves this by providing a single source of truth for all your AI agent instructions, automatically distributing them to the right configuration files. With support for nested rule loading, Ruler can handle complex project structures with context-specific instructions for different components.
.ruler/ directory using Markdown files.ruler/ directories for context-specific instructionsruler.toml.gitignore Automation: Keeps generated agent config files out of version control automatically| Agent | Identifier | Rules File(s) | MCP Configuration / Notes | Skills Support / Location | Subagents Support / Location |
|---|---|---|---|---|---|
| AGENTS.md | agentsmd |
AGENTS.md |
(pseudo-agent ensuring root AGENTS.md exists) |
- | - |
| GitHub Copilot | copilot |
AGENTS.md |
.mcp.json |
.github/skills/ |
.github/agents/ |
| Claude Code | claude |
CLAUDE.md |
.mcp.json |
.claude/skills/ |
.claude/agents/ |
| CodeBuddy | codebuddy |
CODEBUDDY.md |
.mcp.json |
.codebuddy/skills/ |
.codebuddy/agents/ |
| OpenAI Codex CLI | codex |
AGENTS.md |
.codex/config.toml |
.agents/skills/ |
.codex/agents/ (.toml) |
| Pi Coding Agent | pi |
AGENTS.md |
- | .pi/skills/ |
- |
| Jules | jules |
AGENTS.md |
- | - | - |
| Cursor | cursor |
AGENTS.md |
.cursor/mcp.json |
.cursor/skills/ |
.cursor/agents/ |
| Windsurf | windsurf |
AGENTS.md |
.windsurf/mcp_config.json |
.windsurf/skills/ |
- |
| Cline | cline |
.clinerules |
- | - | - |
| Crush | crush |
CRUSH.md |
.crush.json |
- | - |
| Amp | amp |
AGENTS.md |
- | .agents/skills/ |
- |
| Antigravity | antigravity |
.agent/rules/ruler.md |
- | .agent/skills/ |
- |
| Amazon Q CLI | amazonqcli |
.amazonq/rules/ruler_q_rules.md |
.amazonq/mcp.json |
- | - |
| Aider | aider |
AGENTS.md, .aider.conf.yml |
.mcp.json |
- | - |
| Firebase Studio | firebase |
.idx/airules.md |
.idx/mcp.json |
- | - |
| Open Hands | openhands |
.openhands/microagents/repo.md |
config.toml |
- | - |
| Gemini CLI | gemini-cli |
AGENTS.md |
.gemini/settings.json |
.gemini/skills/ |
- |
| Junie | junie |
.junie/guidelines.md |
.junie/mcp/mcp.json |
.junie/skills/ |
- |
| AugmentCode | augmentcode |
.augment/rules/ruler_augment_instructions.md |
- | - | - |
| Kilo Code | kilocode |
AGENTS.md |
.kilocode/mcp.json |
.claude/skills/ |
- |
| OpenCode | opencode |
AGENTS.md |
opencode.json |
.opencode/skills/ |
.opencode/agents/ |
| Goose | goose |
.goosehints |
- | .agents/skills/ |
- |
| Qwen Code | qwen |
AGENTS.md |
.qwen/settings.json |
- | - |
| RooCode | roo |
AGENTS.md |
.roo/mcp.json |
.roo/skills/ |
- |
| Zed | zed |
AGENTS.md |
.zed/settings.json (project root, never $HOME) |
.agents/skills/ |
- |
| Trae AI | trae |
.trae/rules/project_rules.md |
- | - | - |
| Warp | warp |
WARP.md |
- | - | - |
| Kiro | kiro |
.kiro/steering/ruler_kiro_instructions.md |
.kiro/settings/mcp.json |
.kiro/skills/ |
- |
| Firebender | firebender |
firebender.json |
firebender.json (rules and MCP in same file) |
- | - |
| Factory Droid | factory |
AGENTS.md |
.factory/mcp.json |
.factory/skills/ |
- |
| Mistral Vibe | mistral |
AGENTS.md |
.vibe/config.toml |
.vibe/skills/ |
- |