Install the CLI
The rectifier command reviews the changes in your checkout, before you push or open a pull request. It also teaches a coding agent to do the same.
Install and sign in
- Install it with
uv tool install imbik-rectifier, orpipx install imbik-rectifier. It needs Python 3.10 or later, and git. - Sign in with
rectifier login. It opens your browser. With no browser on the machine, runrectifier login --no-browserand open the link it prints.
On a machine with no person, such as CI, set RECTIFIER_CLI_TOKEN to a token from the dashboard's CLI tokens page. Keep the token in a password manager or a keychain, not in a repository.
Review a change
rectifier review # the branch
rectifier review --uncommitted # changes you did not commit
The repository must be in an organization, group or workspace you connected, and the checkout's origin must be on github.com, gitlab.com or bitbucket.org. For a checkout on another host, rectifier review --local still works. Rectifier deletes what the command uploads within 3 weeks.
rectifier review --uncommitted lists the files it would send and asks you to agree first. It never sends ignored files. With no terminal, it sends nothing: it prints the list and a command with a confirmation code, and exits with code 3.
Use it with a coding agent
Run rectifier skill install to add the skill. It gives your coding agent the commands and the rules. After you upgrade the CLI, run it again to update the skill. For the Claude Code plugin and the read-only MCP server, see MCP server.
Next
- Rectifier CLI: every option, exit codes and JSON fields
- Read a review comment