Integrations
Wire Okulo into local hooks, CI, agents, and dashboards.
Pre-commit hook
okulo hook install
# runs: okulo check --staged
Uninstall with okulo hook uninstall. If another hook already exists, integrate manually or use --force carefully.
CI / pull requests
okulo check --base origin/main -f markdown -o okulo-report.md
# exit 1 → fail the job / block merge
Post okulo-report.md as a PR comment. Ensure the checkout has enough Git history (not depth 1) for meaningful results.
Dependency vulnerabilities (OSV)
okulo vuln scan --fail-on high -f json -o vuln.json
# exit 1 → known HIGH/CRITICAL findings
# exit 2 → incomplete scan (network) — do not treat as clean
Scans lockfiles (npm, Maven, Pub) against the public
OSV.dev API. Only package coordinates leave the machine.
This is separate from okulo check (which stays offline). See
okulo vuln.
JSON for tools
okulo analyze -f json -o report.json
okulo analyze -f json --no-social # skip blame-heavy social section
Every analysis command supports -f json for agents and custom dashboards.
MCP (Claude Code & agents)
okulo mcp
Exposes Okulo over stdio as an MCP server so coding agents can call analyses as tools.
Local web UI
okulo web
Opens an interactive multi-project UI on a free local port (tabs, maps, reports).
HTML map
okulo map --html map.html
Self-contained treemap you can open in a browser or attach to a report.