Index of every page on this site: llms.txt
All skills
Run it yourself

Audits a repository's GitHub Actions workflows for CI optimization opportunities — missing caches, redundant setup, sleep-based readiness, long test jobs without sharding, full-history checkout, dead env vars, build-cache misconfig, and ~60 more patterns across caching, redundancy, parallelization, conditional execution, trigger scope, and hidden failures. Use when: (1) analyzing a repo's CI for optimization opportunities, (2) producing a prioritized report with measured wall-clock and runner-minute savings, (3) re-auditing after upstream CI changes. Do not trigger for: general CI setup help, writing new workflows from scratch, non-GitHub-Actions CI systems, or security/posture audits — use `ci-secure` for those.

Use this Skill: https://skilld.dev/gh/starslingdev/skills/ci-speedup

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencespatternsopt110-remove-or-reuse-unused-artifact.md

≈796 tokens on demand. Your agent reads this file only when SKILL.md points to it.

OPT110 — Uploaded Artifact Has No Repository Consumer

Anti-pattern: A job packs and uploads a build output or compiled worker that no job downloads and no release or deploy step consumes. The upload time, retention storage and repeated packaging are pure cost when no human or external system uses the artifact either.

Detection heuristic: Index each literal actions/upload-artifact name across the repository. Match it against literal actions/download-artifact names and patterns, gh run download selectors, actions/deploy-pages, other artifact actions that name the artifact, and uploaded paths referenced by release or deploy steps. A download without a selector consumes all names. Withhold every finding when a download selector is dynamic or unreadable, or when the repository calls the artifacts API, an external reusable workflow, a third-party artifact action without a literal name, or a local action that may download. Withhold an upload whose likely reader is a person or a delivery: uploads gated on failure(), always() or cancelled(), diagnostic names or paths (logs, reports, traces, coverage, screenshots), release- or deploy-named artifacts, github-pages, uploads whose URL or id output is read, and every upload in a reusable (workflow_call), tag- or release-triggered or release-like workflow or in a release or deploy job. The scan cannot see a human download or an external API consumer, so a remaining finding is explicitly unverified outside the repository.

Fix recipe (safest first):

  1. Search workflow history, release automation and owner documentation for the artifact name and path. Confirm whether a person or external system still depends on it and whether its retention is required for diagnostics.
  2. If there is no consumer, remove the upload and any packaging done only for it. Preserve every test, build, diagnostic and release step.
  3. If another job rebuilds the same output, keep one producer and reuse its artifact there instead (OPT14). Prove the consumer validates the same source, dependency and toolchain inputs before deleting its local build.

Sizing: Runner-minute effect is a saving: the upload step's measured billed compute, plus packaging time performed only for that upload. Do not state a number until those steps are timed. Storage reduction is real but is a separate retention quantity, not runner-minute saving. Removing an off-path upload normally does not shorten pull-request merge wait.

Public evidence: OpenClaw pull request #154095 is the public example of this shape.

Risk: MEDIUM. A repository-local search cannot disprove human downloads or external API use. Removing a diagnostic or release artifact can break incident response or delivery without making CI red, so confirm those consumers first.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert2d3 checks · Risk SAFE
  • Gen Agent Trust Hub2d

    The skill is a robust CI optimization tool that audits GitHub Actions workflows. It identifies performance bottlenecks using deterministic logic and provides analysis of job logs. While it processes untrusted log data, it includes strong defensive instructions to mitigate indirect prompt injection. A minor best-practice issue regarding unsafe YAML loading was identified in a utility script.

  • Socket2d

    No alerts

  • Snyk2d

    Risk: CRITICAL · 2 issues

Signed by skilld at 9a84115. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 16 hours ago.

Activeupdated yesterday

README badge

README badge for starslingdev/skills/ci-speedup