Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 5.13.4 instead.

AI-Rulez

ai-rulez

PyPI version License

One source for the rules, skills and settings of every AI coding assistant. ai-rulez keeps them in a single .ai-rulez/ directory and generates the native files of 52 tools (AGENTS.md, CLAUDE.md, .cursor/rules/, skills, MCP and settings files), then validates, locks, signs and publishes them.

Documentation: goldziher.github.io/ai-rulez

Install

Requires Python 3.11 or newer.

pipx install ai-rulez     # or: uv tool install ai-rulez, pip install ai-rulez

Or run it without installing:

uvx ai-rulez init acme

The package installs the ai-rulez command. Platform wheels (Linux and macOS on amd64 and arm64, Windows on amd64) carry the ai-rulez Go binary, so installing needs no access beyond PyPI. Where no wheel matches, pip installs the source distribution and the launcher downloads the binary from the GitHub release that matches the package version on the first run, verifies its SHA-256 checksum and caches it in ~/.cache/ai-rulez. Linux binaries need glibc; Alpine (musl) is not supported.

Quickstart

ai-rulez init acme
ai-rulez add rule testing --content '# Testing

- Every bug fix ships with a regression test.'
ai-rulez generate

Set the tools you use in .ai-rulez/config.toml with presets = ["claude", "cursor", "codex"]. Run ai-rulez generate --check in CI to catch drift. The Quick start covers the rest.

Other channels

Homebrew (brew install goldziher/tap/ai-rulez), npm (npm install -g ai-rulez) and Go (go install github.com/Goldziher/ai-rulez/v5/cmd/ai-rulez@latest). See Installation.

Documentation · Source · Issues · MIT license

Metadata

Release history Release notifications | RSS feed

This release

5.13.1 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page