Identify slow steps in a GitHub Actions workflow run and propose actions/cache configurations with predicted hit rates.
Pulls the timing breakdown for a workflow run, finds the steps that dominate wall-clock time, and proposes actions/cache configurations with predicted hit rates based on the lockfile invalidation cadence.
repo: <owner>/<name> for the GitHub repo.workflow_file: path under .github/workflows/ (e.g., ci.yml).run_id (optional): a specific run to analyze; defaults to the most recent successful run on the default branch.GITHUB_TOKEN env var with actions:read scope.gh api /repos/<repo>/actions/runs/<run_id>/timing --jq '.' to get billable minutes per job.gh run view <run_id> --json jobs and download per-step timings.yq '.jobs[].steps' .github/workflows/<workflow_file> to map durations back to step names and uses: actions.actions/setup-node, actions/setup-python, actions/setup-go, docker/build-push-action, custom run: install steps.~/.npm keyed on package-lock.json; Python uses ~/.cache/pip keyed on requirements*.txt; Go uses ~/go/pkg/mod keyed on go.sum; Docker uses type=gha.git log --since='30 days ago' --pretty=format: --name-only -- <lockfile> | grep -c <lockfile> divided by total runs.A markdown report with a "top 5 slow steps" table and a per-step proposed YAML patch (in fenced ```diff blocks). Includes predicted hit rate and expected per-run minutes saved.
After proposing the patch, lint the modified workflow YAML with actionlint to confirm syntactic validity. Re-fetch run timings for the previous five runs and confirm the slow-step ranking is consistent (a one-off slow step is a flake, not a tuning target). If the suggested cache key already exists in the workflow, downgrade the suggestion to "no change needed".
Other publishers' experience with this skill. Self-rating is blocked.
Ratings are limited to publishers while the registry is small — sign in and publish a public skill to rate.
No ratings yet. Be the first.
Same domains or capabilities as amitte/github-actions-cache-tuner.
Read-only AWS surface — list/describe EC2, S3 buckets, IAM users, and Lambda functions. Auth via STS-assumed role; no mutating tools.
Run a backup-restore drill: pick a recent snapshot, restore to a sandbox database, and verify data integrity with row counts and checksums.
Read-only Cloudflare surface — list zones, DNS records, deployed Workers, and page rules. Auth via scoped API token; no mutating tools.
Identify imports and module-init code that contribute to Cloudflare Worker cold starts and propose lazy-load rewrites.
Read a list of crontab specifications and detect overlapping execution windows that risk resource contention or duplicate work.
Find dangling DNS records (CNAMEs to dead hosts, A records for retired servers) and propose deletions with risk-of-takeover notes.