Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Connect Release Activity to Weekly Product KPI Briefings

Overview

A scheduled Claude Code GitHub Action lists the week's merged pull requests, reads product metrics through an MCP server, and writes a brief that sets releases next to KPI changes without claiming cause.

Problem or Objective

More in Business Operations

AI Agents and Models

Tools and Integrations

Tools
Claude Code · GitHub Actions
Prerequisites
A GitHub repository with the Claude GitHub App installed and an API key or subscription token stored as a repository secret, plus read access to your product analytics through an MCP server or an exported file (check what your analytics tool offers).

How It Works

Install the Claude GitHub App and add your API key or token as a repository secret, as the GitHub Actions page describes. Add a workflow on the default branch that runs the Claude Code action on a weekly cron schedule with a prompt. In that prompt, ask Claude to list pull requests merged in the last seven days with their titles, labels and merge dates, and to read the week's product KPIs through an MCP server for your analytics tool (check that your analytics vendor offers one and that it works in a GitHub Actions run; otherwise export the weekly figures to a file in the repository). Ask for a brief that lists each release with its date, the KPI changes in the same window, and a clear statement that timing alone does not show a release caused a change. The report lands in the workflow run log; read it there and decide what to share.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up Claude Code.
  2. Connect the toolsConnect the tools this workflow relies on: Claude Code, GitHub Actions.
  3. Check the prerequisitesA GitHub repository with the Claude GitHub App installed and an API key or subscription token stored as a repository secret, plus read access to your product analytics through an MCP server or an exported file (check what your analytics tool offers).
  4. Gather your detailsCollect what the prompt asks for: Branch releases merge into, Days to cover, KPIs to read, Who the brief is for.
  5. Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.

Practical Starter Prompt: Write the weekly release and KPI brief

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
List pull requests merged into [Branch releases merge into] in the last [Days to cover] days with title, labels and merge date. Read these KPIs for the same window from the analytics tool: [KPIs to read]. Write a brief for [Who the brief is for]: one section listing releases by date, one showing each KPI's change with its source figure, and a short note on releases that line up in time with a KPI change. State plainly that timing alone does not show cause. Do not post or send the brief anywhere; leave it in the run log.

Read the brief in the workflow run log and check its figures against your analytics dashboard before sharing it yourself.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. The Claude Code docs support running the GitHub Action on a cron schedule with a prompt, producing a report in the workflow run log, and connecting MCP servers to analyse monitoring data. The analytics connection was not checked here, and nothing here tested whether the brief matched the real figures.

Limitations and Considerations

A release and a KPI change in the same week is a coincidence until an experiment or a closer analysis says otherwise; keep that warning in every brief. GitHub runs scheduled workflows only from the default branch, and in public repositories it can disable a schedule when the repository has been inactive for a while, so check that the job still runs. Keep analytics credentials in repository secrets and give the MCP server read-only access. Each run uses API usage on your Anthropic account. Check the figures in the brief against your analytics dashboard before sharing it. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Official Website

The official site of the main tool or project in this use case.

Visit Website (opens in a new tab)code.claude.com

Related Videos

About anthropics/claude-code

About anthropics/claude-code

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Claude Code GitHub Actions - Claude Code Docs (opens in a new tab)

    Project documentation · code.claude.com · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • With a prompt input, the Claude Code GitHub Action runs in automation mode on any GitHub event, including a cron schedule.
    • This workflow generates a report in the workflow run log at 09:00 UTC each day.
    • GitHub runs scheduled workflows only from the default branch and, in public repositories, disables the schedule after 60 days without repository activity.
  2. Connect Claude Code to tools via MCP - Claude Code Docs (opens in a new tab)

    Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 12:10 UTC

    What this source supports
    • MCP servers give Claude Code access to your tools, databases, and APIs.
Report a problem

More with Claude Code

Planned, not done

Create Custom Store Tools Instead of Paying for Subscriptions

Use Claude Code to write small in-house tools for an online shop, such as a reply helper for support mail or a margin report, as an alternative to paying for separate apps, with testing before you rely on them.

code.claude.comanthropics/claude-code
Reported by source

Answer technical questions by letting async agents run experiments

Simon Willison sends research questions to cloud coding agents such as Claude Code for web and Codex Cloud, which write and run experiments in a dedicated repo and open a PR.

simonwillison.net · 6 Nov 2025anthropics/claude-code, openai/codex
Planned, not done

Structure Repeated Browser Research Into Evidence Tables

Give Claude Code the open-source Browser Use CLI with a local browser, ask the same research questions across a short list of pages, and keep every answer as a sourced table row.

github.comanthropics/claude-code, browser-use/browser-use

View all: Claude Code