LibreAI / Agents / ruler
// agents Β· intellectronica/ruler

ruler

Write coding-agent rules once, then apply them to every AI coding tool you use.

πŸ’Ž Hidden gemβ˜… 2.9k starsβ‘‚ 164 forksMITupdated 2026-09
β–¦ visual β€” this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

ruler is an open-source agents project by intellectronica (intellectronica/ruler on GitHub). It has 2,940 GitHub stars and 164 forks, is released under the MIT license, and was last updated on GitHub on 30 September 2026.

GitHub stars
2,940
Forks
164
License
MIT
Last updated on GitHub
30 September 2026
Category
Agents
Listing
Hidden gem β€” a shorter page for a lesser-known project
Official site
Official site
// how it works

How it works

  1. Define your rules

    Write project conventions in one place.

  2. Install Ruler

    Add it to your project tooling.

  3. Apply to all agents

    Ruler syncs rules into each tool’s expected format.

  4. Keep them synced

    Update once and every agent picks up the change.

// features

Why people love it

One rule source

A single place for all agent conventions.

Multi-tool support

Claude Code, Cursor, Codex, Copilot, Aider, and more.

Automatic sync

Rules propagate to each tool’s config format.

Project-scoped

Different rules per repo, no global mess.

Simple setup

Minimal config, works with existing projects.

Team-friendly

Share conventions through version control.

Advertisement
// run it

Run it yourself

  1. Step 1 β€” Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/intellectronica/ruler.git
    cd ruler
  2. Step 2 β€” Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 β€” Run it

    Follow the project’s launch command β€” Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains Ruler?

It is an open-source project at intellectronica/ruler with 164 forks. Check recent commits for activity.

Is Ruler free for commercial use?

Yes. MIT licensed, free for any use.

Which coding tools are supported?

Claude Code, Cursor, Codex, Copilot, Aider, and others; see the README for the full list.

Does it replace my AGENTS.md?

No. It generates the per-tool files from your single source of truth.

How much setup does it take?

Very little: define rules once and run the sync command.

// keep exploring

Similar tools

AI Agents

superpowers

An agentic skills framework & software development methodology that works.

β˜… 294.9k starsMIT
View guide β†’
AI Agents

system-prompts-and-models-of-ai-tools

FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Q…

β˜… 144.0k starsGPL-3.0
View guide β†’
AI Agents

prompts.chat

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source β€” self-host for your organization with complete…

β˜… 171.9k starsUnknown
View guide β†’
AI Agents

AppAgent

AppAgent β€” Tencent's multimodal agent that learns smartphone apps by exploration, then operates them.

β˜… 6.9k starsMIT
View guide β†’
Agents

agent-rules-books

Battle-tested coding rules for AI agents, distilled from classic programming books.

β˜… 2.9k starsMIT
View guide β†’
AI Agents

zero

A coding agent that runs on your model, your machine, your rules.

β˜… 1.7k starsMIT
View guide β†’
// alternatives

Alternatives in Agents

The most-starred other Agents projects in the LibreAI catalogue β€” the realistic shortlist if ruler is not the right fit.

Get ruler

Free and open β€” grab the source, star the repo, and start creating.