Audit GitHub Actions artifact storage from JSON exports to identify and flag oversized artifacts before they inflate CI costs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install github-actions-artifact-budget-audit
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install github-actions-artifact-budget-audit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The GitHub Actions Artifact Budget Audit is a specialized tool designed to help development teams manage cloud storage overhead effectively. By processing JSON metadata exported from the GitHub API, this skill provides a detailed breakdown of artifact sizes across repositories, helping you stay within budget and maintain a lean CI/CD environment. As a key part of the Openclaw Skills ecosystem, it allows developers to proactively identify storage-heavy workflows and enforce data retention policies through configurable thresholds.
This skill is particularly useful for organizations managing large-scale automation where artifact sprawl can lead to unexpected billing increases. It bridges the gap between raw GitHub API data and actionable insights, offering both human-readable reports and machine-parseable JSON for automated cost monitoring.
To get started with this skill, ensure you have the GitHub CLI (gh), bash, and python3 installed. First, collect your artifact data:
gh api repos/<owner>/<repo>/actions/artifacts --paginate > artifacts/github-actions-artifacts/<owner>-<repo>.json
Then, run the audit using the following command structure:
ARTIFACT_GLOB='artifacts/github-actions-artifacts/*.json' \
WARN_MB=300 \
CRITICAL_MB=900 \
bash skills/github-actions-artifact-budget-audit/scripts/artifact-budget-audit.sh
The skill processes JSON files containing an artifacts array. It evaluates data based on the following metadata parameters:
| Parameter | Description | Default Value |
|---|---|---|
ARTIFACT_GLOB |
Path pattern to locate input JSON files | artifacts/github-actions-artifacts/*.json |
WARN_MB |
Threshold for warning flags | 250 |
CRITICAL_MB |
Threshold for critical flags and failure modes | 750 |
SOON_EXPIRES_DAYS |
Window for highlighting expiring artifacts | 7 |
OUTPUT_FORMAT |
Choosing between text or json output |
text |
FAIL_ON_CRITICAL=1 flag to integrate the audit directly into your pipelines, ensuring bloated builds never go unnoticed.REPO_MATCH and ARTIFACT_MATCH regex parameters to focus audits on specific projects or artifact types like test results or coverage reports.Loading
An automated auditing tool that ranks GitHub Actions reliability by identifying high-risk contributors and flaky automation owners through run history analysis.

A robust auditing tool to detect environment variable alias conflicts and missing required configurations before deployment.

Statically audit Dockerfiles to identify and mitigate security risks before container deployment.

A powerful utility for identifying and prioritizing flaky tests by analyzing JUnit retry artifacts within your CI pipeline.

A specialized audit tool to identify branch-level CI reliability regressions and performance drift compared to mainline releases.

A static analysis tool designed to audit GitHub Actions workflow files for cache poisoning vulnerabilities and sensitive path leakage.








































