# ai-rulez [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/Goldziher/ai-rulez  
**GitHub Stars:** 180  
**npm Downloads (last month):** 52621  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ai-rulez

## Description
Author, generate, validate and govern AI agent rules, skills, plugins and MCP configuration across 52 coding assistants. Review with verified model evidence, evaluate skills, lock and sign dependencies, and publish bundles. CLI, MCP server and Go API.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "ai-rulez": {
    "command": "npx",
    "args": ["-y","ai-rulez@latest"]
  }
}
```

## Documentation

## What ai-rulez does

ai-rulez centralizes configuration for AI coding assistants in a `.ai-rulez/` directory. That directory can contain rules, context, skills, agents, commands, hooks, permissions, and MCP server settings. From the shared source, the project produces assistant-specific files such as `AGENTS.md`, `CLAUDE.md`, rule directories, skill folders, settings files, and MCP configuration files.

The project includes 52 built-in presets covering coding assistants, command-line agents, and IDE integrations. Presets can be combined, and unsupported tools can be represented with a custom preset. The generated output is intended to be committed with the project so that assistants and developers use the same instructions.

## How it works

Initialize a project, define the assistants it uses in `.ai-rulez/config.toml`, add or edit content, and run generation. A configuration can select presets such as Claude Code, Cursor, Codex, Copilot, and Gemini CLI. The generated files use the conventions expected by each selected tool; for example, the output may include `AGENTS.md`, `CLAUDE.md`, assistant skill directories, and MCP settings files.

`generate --check` can run in CI to identify differences between the shared source and checked-in generated files. Validation checks content, links, and security concerns and reports stable `AR` rule codes. Validation can also be applied to standalone `AGENTS.md` and `SKILL.md` files without an `.ai-rulez` configuration.

The system also treats remote includes, installed skills, and authored content as governed dependencies. Lock files, approvals, Sigstore signatures, SBOMs, and organization policy can be used to control and inspect these inputs. Plugin bundles, marketplaces, Agent Plugins, and ARD manifests can be built for distribution.

## Setup and configuration

Installation options include Homebrew, npm, PyPI, Go, and Scoop. The documented runtime requirements are Node.js 22 or newer for npm and Python 3.11 or newer for PyPI. The tool can also be invoked without a permanent installation through `npx ai-rulez@latest` or `uvx ai-rulez`.

A minimal configuration sets a schema version, project name, and preset list:

```toml
version = "5.0"
name = "acme"
presets = ["claude", "cursor", "codex", "copilot", "gemini"]
```

Typical commands include `init`, `add`, `generate`, and `validate`. Teams can place generation checks in CI and keep both `.ai-rulez/` and the resulting assistant files under version control.

## Tools and capabilities

- Author and manage rules, profiles, domains, includes, and skills.
- Generate native instructions, skills, settings, permissions, hooks, and MCP configuration for selected presets.
- Validate content, links, and security-related issues with stable rule codes.
- Review content with verified model evidence and evaluate skills.
- Lock and sign dependencies, record SBOM information, and apply organization policy.
- Build and publish plugin bundles, marketplaces, Agent Plugins, and ARD manifests.
- Use the CLI, MCP server, or Go API to integrate these workflows into other automation.

_Full upstream README: https://allmcps.com/mcp/ai-rulez/readme_

