# Ruler

> Keep one set of rules and apply it to every AI coding agent's instruction files

Source: https://talira.ai/catalog/ruler-321532ch
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / ai coding / context](https://talira.ai/categories/developer-tools/ai-coding/context)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: no
- Supports: [AGENTS.md](https://talira.ai/standards/agents-md.md)[^1]
- Backed by: [Eleanor Berger](https://talira.ai/orgs/intellectronica.md)

Ruler is a CLI that keeps a project's AI coding agent instructions in one place, Markdown files in a .ruler/ directory (nested ones for parts of a project), and writes them into each agent's own files: AGENTS.md, CLAUDE.md, Cursor's and Windsurf's rules, Junie's guidelines, Kiro's steering and more, for over 25 agents including GitHub Copilot, Claude Code, Codex CLI, Cursor, Gemini CLI, OpenCode, Goose and Zed. It also distributes MCP server settings, skills and subagents to each agent's configuration, lets ruler.toml choose agents and output paths, and keeps the generated files out of Git. It's a beta research preview.

## Links

- GitHub: https://github.com/intellectronica/ruler

## Problems it solves

- keep CLAUDE.md, AGENTS.md and Cursor rules in sync from one source
- my team uses different coding agents and their instructions drift apart
- share MCP server config across Claude Code, Codex and Cursor
- write project rules once for every AI coding assistant
- keep generated agent config files out of my repository

## Features

- one .ruler/ directory of Markdown rules, nested per component
- writes each agent's instruction file for 25+ agents
- distributes MCP server settings, skills and subagents
- ruler.toml chooses agents and output paths
- adds generated files to .gitignore

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.60 out of 1.
Signals: maintenance 0.78, adoption 0.70, momentum 0.67, community 0.60, backing 0.30, extensibility 0.20.

- last commit yesterday
- 27 commits in the last 90 days
- latest release v0.3.46 32 days ago
- 3.0k GitHub stars
- 31 contributors
- backed by Eleanor Berger

## Alternatives

- [Rulesync](https://talira.ai/catalog/rulesync-6fmm7957.md): Generate configuration files for every AI coding tool from one set of rule files
- [Engram](https://talira.ai/catalog/engram-6p0bcdf2.md): Persistent memory for AI coding agents
- [Beads](https://talira.ai/catalog/beads-y6x63vky.md): A memory upgrade for your coding agent

## Sources

[^1]: https://github.com/intellectronica/ruler (checked 23 Nov 2026)
