Install
- Skill Installer (Recommended)
- npm
- npx (No Install)
- curl
Installs the CLI and deploys Kodus skills to all detected AI agents (Claude Code, Cursor, Codex, Windsurf):
Requires Node.js >= 20.0.0.
Authenticate
Pick the path that matches your situation. You can also skip auth and run Confirm the auth state:
kodus review directly — it works in trial mode with daily limits.- Solo developer
- AI agent
- CI/CD
Sign in with a personal account:Tokens are stored in
~/.kodus/credentials.json and auto-refreshed.Self-hosting Kodus? Point the CLI to your API before authenticating:HTTPS is required except for
localhost.Run your first review
Inside any git repository with uncommitted changes:The CLI analyzes your working tree diff, prints a summary, and (in interactive mode) lets you browse file-by-file, preview suggested fixes, and apply them.Common variations:
Choose what's next
Depending on your goal:
Automate on every push
Install the pre-push hook with
kodus hook install.Run reviews in CI
GitHub Actions, GitLab CI, and generic pipeline examples.
Plug into an AI agent
Feed
--prompt-only into Claude Code, Cursor, or Codex for autonomous fix loops.Configure the repo
Manage ignored files, base branches, and review settings from the CLI.
Environment Variables
These env vars configure the CLI across all commands.| Variable | Description |
|---|---|
KODUS_API_URL | API endpoint (default: https://api.kodus.io) |
KODUS_TEAM_KEY | Team key for shared access and AI agents |
KODUS_TOKEN | CI/CD token generated via kodus auth token |
KODUS_VERBOSE | Set to true for verbose output |
KODUS_SKIP_HOOK | Set to 1 to skip the pre-push hook for a single git push |
KODUS_REQUEST_TIMEOUT_MIN | Per-request timeout in minutes (default: 60) |
CF_ACCESS_CLIENT_ID | Cloudflare Access client ID (APIs behind Zero Trust) |
CF_ACCESS_CLIENT_SECRET | Cloudflare Access client secret |