Generate recurring weekly reports combining KPIs and pull requests
A product leader uses Claude Code for automatic recurring reports on what developers shipped and whether features helped or hurt KPIs.
Done withClaude Code
- What they did
- David Kelly, a product leader, tracks KPIs for each product in a Metabase dashboard. He prompts Claude Code to build a system that pulls weekly GitHub pull requests, compares them with period-over-period KPI changes, and scores how likely each PR affected each KPI. He connects Zen MCP tools to the OpenAI and Gemini APIs so several models cross-check the analysis. He publishes the full prompt.
- How it went
- He gets a weekly report on whether shipped features helped or hurt KPIs, and he uses it to iterate. The post gives no accuracy figures for the correlations.
- Worth knowing
- A paid Claude plan is needed. He suggests Pro at $20 a month and advises against the API because costs can add up quickly.
Try it yourself with Claude Code
Every [Monday morning], pull the pull requests merged in [repo name] over the past week and our KPI numbers from [KPI source, e.g. a CSV or dashboard export]. Write a one-page report of what shipped, which features likely helped or hurt [KPI names], and what to watch next week. Save it as [file path or format] and show me the first draft before setting up any recurring schedule or sending it to anyone.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: dmkthinks.org · Undated
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Run an entire business from the terminal with Claude Code
Poster built a system that runs their whole business through Claude Code instead of Claude.ai; the specific tasks aren't detailed in the snippet.
Run a multiplayer coding session with each person's Claude Code
Claude Squad lets each participant connect their own Claude Code as an agent, with fresh context per feature and spec and review passes.
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Run oral final exams with a voice agent
A professor used a voice agent to examine 36 students over 9 days, with an LLM council grading transcripts and surfacing class-wide gaps.
Custom agent
Automate report bookmarking and linking in a cloud PC
A commenter gave an agent control of their Microsoft 365 cloud PC to do bookmarking and linking in a report while they took a break.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.