Skip to main content

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 is a thin launcher for the ai-rulez Go binary and installs the ai-rulez command. On the first run it downloads the binary for your platform (Linux and macOS on amd64 and arm64, Windows on amd64) from the GitHub release that matches the package version, verifies its SHA-256 checksum and caches it in ~/.cache/ai-rulez. It is re-downloaded when the package version changes.

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 files for ai-rulez 5.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-rulez 5.12.0
File Size Uploaded Provenance Actions
ai_rulez-5.12.0.tar.gz 16.3 kB With provenance Details for ai_rulez-5.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-rulez 5.12.0
File Interpreter ABI Platform Actions
ai_rulez-5.12.0-py3-none-any.whl Python 3 none any Details for ai_rulez-5.12.0-py3-none-any.whl

Total release size: 33.5 kB

Release files / ai_rulez-5.12.0.tar.gz

Download URL ai_rulez-5.12.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5393a26d630d95a9b475c189804aa1fa7cb82620635172260de5988177e22c7c
BLAKE2b-256 checksum
How to use checksums
cbe9800627b035326a0e53295704ce300d8495c12d4ad92e4f35c5edc3712e92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / ai_rulez-5.12.0-py3-none-any.whl

Download URL ai_rulez-5.12.0-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c929f6bf9dfd05add794b514fdc528950a19cf681de1eec69c419adfc505978
BLAKE2b-256 checksum
How to use checksums
b51a3a4fdf83befde8b7f4ae9267ff313eb45e317bda628c5af602701dfb1c01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for ai-rulez 5.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ai_rulez-5.12.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

5.13.1

This release

5.12.0 This release

2 release files Full provenance

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