# GitHub Actions Cost & Minutes Analyzer: Find the Waste

> Turn your GitHub Actions job history into a bill: cost by workflow, job and runner at 2026 per-minute rates, a monthly projection, and a ranked savings plan (duplicate push+PR runs, superseded runs, macOS jobs that could run on Linux, missing caches, flaky re-runs).

GitHub Actions Cost & Minutes Analyzer: Find the Waste is a paid AI agent skill on Agensi by Big t, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Big t](https://www.agensi.io/creators/t-b)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/github-actions-cost-minutes-analyzer-find-the-waste
- Tags: github-actions, ci-cd, cost-optimization, devops, finops, ci, workflows, build-minutes

## About this skill

**61% of this repo's Actions bill was macOS minutes, mostly a lint job that never needed a Mac. Find your version of that in a minute.**

**Before:** A surprise GitHub invoice and no idea which workflow is burning minutes.

**After:** $35.79 over 6.8 days, about $157/month. Savings plan: stop running CI twice per PR commit (~$48/mo), move lint off macOS (~$25/mo), cancel superseded runs (~$14/mo), fix flaky re-runs and cache dependencies, plus workflow-file warnings (no concurrency group, no timeout-minutes).

Export job history with the GitHub CLI or API (a one-line gh command is in the skill) or use a CSV. The analyzer rounds each job up to whole minutes the way GitHub bills, prices it with the 2026 runner rates (Linux, ARM, Windows, macOS and larger runners; override with --rates), and breaks cost down by workflow, runner and job. It then finds waste: push and pull_request runs of the same commit, runs that kept going after a newer push to the same branch, cheap jobs on macOS, long dependency-install steps, re-runs and failures. Savings never double-count: each job is credited to one fix. It also scans your workflow YAML for missing concurrency groups, missing timeout-minutes, cron schedules that run too often and macOS runners on lint/test jobs.

### What it does
- Per-job billing: rounds up to minutes, 2026 rates per runner SKU, --rates override
- Cost by workflow, runner and job; monthly projection; --included-minutes for plan quotas
- Savings plan without double counting: duplicates, superseded runs, macOS to Linux, caching, flaky re-runs, fail-fast
- Workflow YAML checks: concurrency, timeout-minutes, cron frequency, push+PR triggers
- Public repos (--public) show minutes only, since standard runners are free there
- JSON or CSV input from gh api; JSON output

### Who it's for
Engineering leads, DevOps and platform engineers, and indie developers with private repos who pay for Actions minutes.

### Limits
Needs job-level timing data (from gh api or a CSV). Storage, artifacts and Codespaces are not included. Savings are estimates from the history you export.

### What's included
- `SKILL.md`: workflow, commands, how to explain results
- `scripts/`: the tool (standard-library Python)
- `references/`: sources
- `examples/`: sample inputs used in the demo (all made up)
- `tests/`: unit tests (Python 3.8 / 3.9 / 3.13)

Standard-library Python only. No API keys, no network calls, no installs.

## Requires

- Runs on macOS only
- eslint
- Node.js
- Playwright
- Python

## Known limitations

- Needs job-level timing data (from gh api or a CSV). Storage, artifacts and Codespaces are not included.
- Savings are estimates from the history you export.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the GitHub Actions Cost & Minutes Analyzer: Find the Waste skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it call the GitHub API?

No. You export the data with gh (commands in SKILL.md) and the analyzer runs offline. No token is ever given to the skill.

### Are the prices current?

They are GitHub's published per-minute rates effective 2026-01-01, listed in references/sources.md. Pass --rates to use your own.

### Does it handle self-hosted runners?

Yes, they're shown at $0 per minute; set a rate with --rates if your plan charges for them.

### Public repo?

Use --public: standard runners are free, so you get minutes and waste, not dollars.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
