get_ai_engineering_report
Shows which AI models shipped code, sizes each change, and calculates cost per PR or commit. Understand AI engineering output and spend.
Instructions
What your AI coding tools actually shipped, by model, and what it cost.
Attributes each unit of work to the AI model or agent that wrote it (Claude Code names the exact model in its commit trailer, so Claude work resolves to the model; Copilot, Codex, Cursor, and Devin resolve to the tool), sizes each high/medium/low by diff, and joins LLM spend by model. The line it produces: "Opus 4.8 was 49% of AI spend and shipped 10 PRs: 3 high, 5 medium, 2 low, $X per PR."
unit picks the unit of work: "pr" (merged pull requests), "commit" (commits on the default branch, for teams that push straight to main with no PRs), or "auto" (default: PRs if the repo has any in the window, else commits). The unit actually used comes back in the "unit" field of the result.
Needs GITHUB_TOKEN and GITHUB_ORGS connected, or pass explicit repos like ["owner/name"]. Read-only.
Good triggers: "what has AI shipped", "AI engineering output", "which model wrote the most code", "cost per PR by model", "cost per commit", "is our AI spend producing work".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| unit | No | auto | |
| repos | No |