GitHub Actions Timeout Risk Audit for Openclaw

Proactively identify and fix near-timeout GitHub Actions jobs before they break your CI pipeline.

daniellummis
v1.0.0
Mar 6, 2026
0
759
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install github-actions-timeout-risk-audit

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install github-actions-timeout-risk-audit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is GitHub Actions Timeout Risk Audit?

This technical skill provides a robust auditing mechanism for GitHub Actions pipelines by analyzing job runtimes against predefined timeout thresholds. It allows engineering teams to detect performance regressions and flaky jobs that are trending toward failure, ensuring higher CI reliability and efficiency.

As a specialized utility within the Openclaw Skills ecosystem, it bridges the gap between raw CI logs and actionable performance insights. By automating the runtime analysis of JSON run exports, it empowers developers to maintain healthy automation suites without manual monitoring.

GitHub Actions Timeout Risk Audit Use Cases

  • Identifying CI jobs that are intermittently failing due to reaching default timeout limits.
  • Monitoring runtime trends across multiple repositories and workflows to detect performance degradation.
  • Implementing a automated fail-gate in deployment pipelines to block releases if job runtimes exceed a critical threshold.
  • Auditing historical run data to identify candidates for resource optimization or parallelization.

How GitHub Actions Timeout Risk Audit Works

  1. The skill ingests GitHub Actions run data exported via the GitHub CLI in JSON format using a configurable glob pattern.
  2. It calculates precise per-job runtimes by calculating the delta between completedAt and startedAt timestamps.
  3. Runtime metrics are compared against a configured JOB_TIMEOUT_SECONDS value using user-defined warning and critical ratios.
  4. Jobs are categorized by risk severity and grouped by repository, workflow, and job name to highlight recurring issues.
  5. The system emits a structured report in text or JSON format, facilitating integration with other Openclaw Skills or CI/CD dashboards.

GitHub Actions Timeout Risk Audit Setup

First, collect the necessary run data using the GitHub CLI to ensure the audit script has data to process:

gh run view <run-id> --json databaseId,workflowName,headBranch,url,repository,jobs > artifacts/github-actions/run-<run-id>.json

Then, execute the audit script from the Openclaw Skills directory with your desired thresholds:

RUN_GLOB='artifacts/github-actions/*.json' \
JOB_TIMEOUT_SECONDS=3600 \
WARN_RATIO=0.85 \
CRITICAL_RATIO=0.95 \
bash skills/github-actions-timeout-risk-audit/scripts/timeout-risk-audit.sh

GitHub Actions Timeout Risk Audit Data Schema & Taxonomy

The skill processes specific fields from the GitHub API and generates a structured summary of risks. It utilizes the following data taxonomy:

Property Description
databaseId Unique identifier for the workflow run.
workflowName The display name of the GitHub Action workflow.
runtime The calculated duration in seconds (completedAt - startedAt).
severity Risk level (warn, critical, or healthy) based on threshold ratios.
conclusion The final status of the job, used to flag explicit timeouts.

GitHub Actions Timeout Risk Audit Advanced Features

  • Support for FAIL_ON_CRITICAL flags to enforce runtime SLAs directly within CI pipelines.
  • Flexible regex filtering for repositories, workflows, branches, and specific jobs using REPO_MATCH and WORKFLOW_MATCH.
  • Dual-format reporting with raw JSON output for downstream data processing or text reports for human review.
  • Customizable risk sensitivity through WARN_RATIO and CRITICAL_RATIO environment variables, a core feature of this entry in the Openclaw Skills library.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins bashpython3
Github Stars: 0
forks: 0

Featured*