ruler

Propagate unified AI agent instructions across 18+ coding assistants.

60|13|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/plurigrid/asi --skill ruler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ruler
Source: https://github.com/plurigrid/asi/tree/main/skills/ruler
Command: npx skills add https://github.com/plurigrid/asi --skill ruler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ruler centralizes AI agent instructions and propagates them to multiple coding assistants, enabling consistent behavior across tools.

Core Features & Use Cases

  • Central Rules & MCP: Manage rules under .ruler and distribute them to agents.
  • MCP Propagation: Merge or overwrite agent configs with MCP servers.
  • Backup & Revert: Revert changes using backups if needed.

Quick Start

Run ruler init to set up the directory, then ruler apply to push rules to configured agents.

Frequently Asked Questions about ruler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I propagate AI agent instructions across multiple coding assistants?

Ruler propagates unified AI agent instructions to 18+ coding assistants from a centralized configuration. Run ruler init to set up your .ruler directory, then ruler apply to distribute rules, MCP servers, and configs to all configured agents simultaneously.

Can I manage MCP server configurations for multiple agents in one place?

Yes. Ruler centralizes MCP server management under .ruler/ and ruler.toml, then propagates them to all agents during ruler apply. You can merge with existing configs or overwrite them, and target specific agents if needed.

What's the best way to keep AI agent rules consistent across different coding assistants?

Ruler enforces consistency by distributing a single ruleset to all agents at once. Define rules once in your central .ruler configuration, then apply them across your entire agent ecosystem with a single command.

How do I revert changes if I need to restore previous agent configurations?

Ruler maintains backups of agent configs before applying changes. Use ruler revert to restore agents to their previous state without manual intervention.

Can I apply rules to specific agents instead of all of them?

Yes. Ruler supports targeting specific agents during ruler apply, letting you roll out rules selectively and test before full deployment across your agent fleet.

Does ruler work with existing native agent configurations?

Ruler integrates with existing configs through merge or overwrite strategies. You can specify per-agent output paths and choose whether to preserve native settings or replace them during propagation.