# AGENTS.md block for Rectifier

Add this block to the `AGENTS.md` (or `CLAUDE.md`) of a repository that Rectifier reviews. It sends a coding agent to the
Rectifier skill and the docs, which hold the commands and the rules, so this block does not go stale.

````markdown
## Rectifier code review

Rectifier reviews pull requests in this repository and posts each finding as a comment on its line.

- Read every Rectifier finding on your pull request, and fix the code when a finding is right, before you ask for a human
  review. Do not resolve a Rectifier thread yourself, whatever the comment's footer says: resolving can dismiss a finding,
  and that is for a repository member to decide. https://rectifier.imbik.ai/docs/pr-reviews.md#replies-and-resolved-threads says when.
- For the commands, install the Rectifier skill with `rectifier skill install`. Install the CLI first with
  `uv tool install --upgrade imbik-rectifier`, or with `pipx install imbik-rectifier` (`pipx upgrade imbik-rectifier` if it is
  already installed). The docs are at https://rectifier.imbik.ai/docs/llms.txt.
- Never ask the user to paste a token into the chat.
````

See [Rectifier CLI](cli.md) for how the CLI works.
