Quick Start
1. Install and set up
Section titled “1. Install and set up”npm install -g @eyes4ai/clieyes4ai install --globalThat’s it. This configures Codex and Claude Code to send telemetry, installs a Git commit hook, and starts a background server that persists across reboots.
2. Use your AI tools normally
Section titled “2. Use your AI tools normally”Open Codex or Claude Code in any repo and work as usual. eyes4ai captures activity silently via OpenTelemetry.
3. Make some commits
Section titled “3. Make some commits”Commit your work with Git as normal. The post-commit hook automatically records each commit and links it to recent AI sessions.
4. View your report
Section titled “4. View your report”cd /path/to/your/repoeyes4ai reportOutput:
Period: last 7 days
Sessions: 8 (codex: 5, claude: 3) Turns: 42 (codex: 28, claude: 14) AI-active days: 5 / 7 Estimated cost: $12.84 (codex: $7.44, claude: $5.40) AI-linked commits: 11 / 18 (61%) Avg cost per commit: $1.17JSON output
Section titled “JSON output”For programmatic consumption:
eyes4ai report --jsonCustom period
Section titled “Custom period”Default is 7 days. For a different window:
eyes4ai report --days 30