Global Flags
These flags are available on all commands:| Flag | Short | Default | Description |
|---|---|---|---|
--format <fmt> | -f | terminal | Output format: terminal, json, markdown |
--output <file> | -o | — | Save output to a file |
--verbose | -v | false | Verbose output |
--quiet | -q | false | Quiet mode (errors only) |
kodus review
Analyzes modified files for code quality issues, bugs, security vulnerabilities, and style violations.
Usage
Flags
| Flag | Short | Description |
|---|---|---|
--staged | -s | Analyze only staged files |
--commit <sha> | -c | Analyze diff from a specific commit |
--branch <name> | -b | Compare current branch against specified branch |
--rules-only | — | Review using only configured rules (no general suggestions) |
--fast | — | Fast mode: quicker analysis with lighter checks |
--interactive | -i | Interactive mode: navigate and apply fixes |
--fix | — | Automatically apply all fixable issues |
--prompt-only | — | Output optimized for AI agents |
--fail-on <severity> | — | Exit with code 1 if issues meet or exceed severity |
--context <file> | — | Custom context file to include in review |
Review Modes
- Interactive (Default)
- Auto-fix
- AI Agent
Navigate files with issue counts, preview suggested fixes, and apply them one by one.
kodus pr suggestions
Fetch AI-powered suggestions for open pull requests.
Usage
Flags
| Flag | Description |
|---|---|
--pr-url <url> | Pull request URL |
--pr-number <number> | Pull request number (requires --repo-id) |
--repo-id <id> | Repository ID for the pull request |
--severity <list> | Comma-separated severities to include |
--category <list> | Comma-separated categories to include |
kodus auth
Manage authentication with the Kodus API.
auth login
| Flag | Short | Description |
|---|---|---|
--email <email> | -e | Account email |
--password <password> | -p | Account password |
auth logout
auth status
auth team-key
KODUS_TEAM_KEY environment variable.
auth team-status
auth token
KODUS_TOKEN environment variable.
kodus hook
Manage pre-push Git hooks for automatic code review before pushing.
hook install
| Flag | Default | Description |
|---|---|---|
--fail-on <severity> | critical | Minimum severity to block push |
--fast / --no-fast | true | Enable/disable fast mode |
--force | — | Overwrite existing hook without prompting |
hook uninstall
hook status
Skipping the Hook
kodus decisions
Capture and persist AI agent decisions into your repository for future reference. Decisions are stored as structured markdown in .kody/.
decisions enable
| Flag | Default | Description |
|---|---|---|
--agents <agents> | claude,cursor,codex | Comma-separated agent list |
--codex-config <path> | ~/.codex/config.toml | Path to Codex config |
--force | — | Overwrite existing modules.yml |
decisions disable
.kody/ is not deleted.
decisions status
decisions show
decisions promote
| Flag | Description |
|---|---|
--branch <name> | Branch name (default: current branch) |
--modules <ids> | Comma-separated module IDs (default: all matched) |
kodus upgrade
Opens the Kodus pricing/upgrade page in your browser.
Severity Levels
Issues are categorized by severity, from most to least critical:| Level | Description |
|---|---|
critical | Major security or stability issues requiring immediate attention |
error | Significant bugs or problems |
warning | Potential issues worth addressing |
info | Suggestions and best practices |
Issue Categories
| Category | Description |
|---|---|
security_vulnerability | Security-related issues |
bug | Potential bugs |
performance | Performance optimization opportunities |
code_quality | Code quality improvements |
best_practices | Best practice violations |
complexity | Code complexity issues |
maintainability | Maintainability concerns |
style | Code style issues |