Check ci

From blaxel-ai/sandbox · View interactive version

Check ci is an AI agent skill from the GitHub repository blaxel-ai/sandbox. Poll CI status on a branch until the "Build and Push Sandbox" workflow completes. Use after pushing to develop or any branch where you need to confirm the build succeeded before proceeding.

How to use this skill

Skill file

Check CI

Poll the Build and Push Sandbox workflow on a given branch until it completes, then report the result.

Usage

When invoked, determine which branch to watch:

Steps

Step 1: Find the latest "Build and Push Sandbox" run

gh api "repos/blaxel-ai/sandbox/actions/runs?branch=<branch>&per_page=5" \
  --jq '.workflow_runs[] | select(.name == "Build and Push Sandbox") | {id: .id, status: .status, conclusion: .conclusion, url: .html_url, created_at: .created_at}' \
  | head -1

If no run is found, tell the user and stop.

Step 2: Poll until completed

If the run status is not completed, set up a recurring check every 30 seconds (rounded to 1 minute for cron) using CronCreate:

Alternatively, if CronCreate is not available, manually check the status and ask the user to wait.

Step 3: Report result

Once the run completes, report:

If the conclusion is failure, suggest the user check the logs at the run URL.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.