From github-actions-efficiency
Audits GitHub Actions workflow efficiency by analyzing triggers, caching, concurrency, and matrix builds. Recommends fixes to reduce CI minutes and costs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/github-actions-efficiency:github-actions-efficiencyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill as a lean entrypoint for GitHub Actions efficiency work. Inspect the repo, identify the waste source, and load only the reference material needed for the current task.
Use this skill as a lean entrypoint for GitHub Actions efficiency work. Inspect the repo, identify the waste source, and load only the reference material needed for the current task.
If no workflows exist yet, load references/actions.md and define a baseline before proceeding with the steps below.
If shell or gh CLI access is unavailable: ask the user to paste .github/workflows/ contents and gh run list --limit 10 output. If only partial files are provided, note it: "Audit based on provided files only; some insights may be incomplete." Begin responses from files alone with: "Static-only analysis (not confirmed with live runs)."
.github/workflows/ or explicit GitHub Actions configuration questions.references/actions.md — audits, job gating, matrix reduction, live validation, and workflow-specific fixes.references/reporting.md — when the user asks for a before/after efficiency report.references/patterns.md — full YAML examples when inline audit commands are not enough.rg -n "on:|concurrency:|paths:|paths-ignore:|strategy:|matrix:|cache:" .github/workflows
gh run list --limit 10
run_id=$(gh run list --limit 1 --json databaseId --jq '.[0].databaseId')
gh run view "$run_id" --log-failed
Look for: missing dependency caches, missing concurrency cancellation, over-broad triggers, duplicate workflow coverage, and expensive jobs that run on every change regardless of scope.
Check each proposed fix against these rules before recommending it:
From the six candidates below, keep only those supported by audit evidence from step 1 and passing all guardrails from step 2. Rank survivors by estimated daily CI minutes saved (per-run savings × runs per day). Select all candidates that meet both criteria, up to a maximum of 3.
concurrency cancellationgh CLI access is available, validate path-gating and concurrency cancellation with a live test push on a non-protected branch.references/actions.mdreferences/reporting.mdreferences/patterns.mdreferences/review-rubric.md — load when reviewing completed efficiency work2plugins reuse this skill
First indexed Jun 6, 2026
npx claudepluginhub simplycubed/skills --plugin github-actions-efficiencyCut GitHub Actions minutes and wall-clock time without losing coverage — the OS billing multiplier (macOS 10x / Windows 2x / Linux 1x), trigger hygiene that stops push+pull_request double-firing, concurrency that cancels superseded runs, dependency caching keyed on lockfiles, matrix discipline, and auditing scheduled crons that bill 24/7. Use when CI is burning included minutes, when runs feel slow, when setting up a new repo's workflows, or when reviewing an existing workflow for waste.
Creates, audits, and optimizes GitHub Actions workflows for CI/CD, matrix builds, reusable workflows, composite actions, caching, and security hardening like pinning and permissions.
Analyzes GitHub Actions billing, workflow efficiency, and waste patterns in orgs and repos. Identifies wasted runs, trigger issues, and CI/CD costs using gh CLI.