Probes a Semaphore CI agent's preinstalled tools, versions, and toolbox functions by spinning up a short-lived testbox. Use when official image docs don't cover a specific tool or version.
Ships in sem-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before guessing whether something is preinstalled — and before adding an apt-get install … or curl … | sh line to a pipeline — verify. A Semaphore testbox is a short-lived agent of the chosen machine + os_image that you can run arbitrary commands against. It's the same image CI uses, so what you observe is what the pipeline will see.
Use this skill when:
gha-to-semaphore) and need to know if a tool is preinstalled or needs an install step.$PATH.Skip this skill when the docs already answer the question — the image manifests at the URL above are authoritative for explicitly listed tools.
sem-ai testbox warmup is scoped to a project. You need either:
sem-ai project create --skip-yaml from inside any git repo in your namespace.If no project exists in the active context and you can't create one, fall back to the official docs and flag the unknown.
# 1. Start a short-lived agent. ALWAYS pass --duration 5m for probes —
# if you forget to stop, it dies fast.
sem-ai testbox warmup --project <name> --os-image ubuntu2204 --duration 5m
# → returns testbox_id
# 2. Run probes (non-interactive stdin).
sem-ai testbox run --id <testbox_id> "<command>"
# 3. Stop it as soon as you're done — don't burn agent minutes.
sem-ai testbox stop --id <testbox_id>
Save the testbox_id from step 1; you'll need it for run and stop. If the session ends without stop, the testbox auto-terminates at --duration.
Why such a short duration: agent minutes are billable, and a forgotten testbox at the default 30m wastes ~25 minutes per slip. 5m gives plenty of headroom for a probe batch (which takes seconds) and limits the blast radius if you forget to clean up. Bump only if a single probe needs serial commands that genuinely take longer than ~3m.
sem-ai testbox run --id $TB "which yq && yq --version"
sem-ai testbox run --id $TB "for cmd in yq jq gh curl docker make git aws gcloud kubectl helm; do v=\$(command -v \$cmd 2>/dev/null) && echo \"\$cmd: \$v\" || echo \"\$cmd: MISSING\"; done"
The Semaphore toolbox (~/.toolbox/toolbox) provides bash functions like checkout and sem-version — they don't show up under which because they aren't binaries. Source the toolbox first, then check with type:
sem-ai testbox run --id $TB "source ~/.toolbox/toolbox; type checkout 2>&1 | head -3; type sem-version 2>&1 | head -3"
Also list everything in ~/.toolbox/:
sem-ai testbox run --id $TB "ls ~/.toolbox/"
node may be a default version; sem-version <lang> <ver> switches it. Check both:
sem-ai testbox run --id $TB "node --version; ls ~/.nvm/versions/node/ 2>/dev/null; python3 --version; go version; ruby --version 2>&1 | head -1"
Quick reference of facts established via testbox probes. Treat as a snapshot — re-verify if the image baseline changes.
Preinstalled binaries:
yq v4.47.2 (/usr/local/bin/yq)jq, gh, curl, gpg, git, makedocker, docker-composeaws, gcloud, az, kubectl, helmnode (v12 and v22 available), python3, go, java, mvn, gradle, yarnToolbox (sourced via ~/.toolbox/toolbox):
checkout, sem-versioncache, artifact, sem-service, retry, test-results, sem-context, sem-dockerize, sem-install, sem-semantic-release, ssh-session-cliNOT preinstalled (CI step must install):
gotestsum, golangci-lint, trivynvm, rbenv, pyenv, asdfnpm, pnpm (oddly — yarn is present)ruby (only via sem-version)--duration 5m for probes — default is 30m, way too long if you forget to stop. Probes take seconds.ubuntu2404, probe with --os-image ubuntu2404, not the default.testbox run adds ~2s of sync overhead.gha-to-semaphore — main caller of this skill; uses probes to confirm preinstalls before deciding to drop or keep an install step.testbox — broader testbox usage (running real CI commands against local changes).semaphore-ci — top-level navigation.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/sem-ai:probe-agent-environmentfrom sem-ai
npx claudepluginhub semaphoreio/sem-ai --plugin sem-ai18 skills in this plugin
/debug-pipelineDiagnose and fix CI pipeline failures. Step-by-step debugging with sem-ai./deployDeploy via Semaphore promotions. Manage deployment targets, promote pipelines, deploy-and-wait./fix-flakyTriage and FIX flaky tests on a Semaphore project end-to-end — find the worst offenders, pull history, locate the test in the code, diagnose the root cause, write a fix or justified quarantine, and verify by re-running. Use whenever the user wants to fix/investigate flaky tests, de-flake CI, reduce intermittent failures, asks "why is CI randomly red", wants to quarantine a flake, or after `sem-ai flaky list` surfaces offenders. Goes BEYOND detection (test-intelligence) to root-cause + code change + verification./gha-to-semaphoreTranslate a repo's GitHub Actions workflows into an equivalent Semaphore pipeline. ONLY covers the GHA→Semaphore mapping and conversion procedure; for Semaphore-side depth (cache CLI, test-results, blocks structure, sharding, promotions) defer to the linked skills. Use when the user asks to convert/port/migrate GitHub Actions to Semaphore, says "translate this workflow" or "convert ci.yml", or the repo has `.github/workflows/` and the user wants Semaphore instead. Can be invoked directly as `/sem-ai:gha-to-semaphore` (or via the broader `/sem-ai:init` orchestrator)./initInitialize Semaphore CI/CD for the current repository — bootstrap the Semaphore project, write a working `.semaphore/semaphore.yml` (translating from GitHub Actions if present, or from scratch), wire required secrets, validate, and watch the first workflow. Applies Semaphore-side defaults automatically — agent image, toolbox CLIs, `test-results` epilogue rule, sharding heuristics — by routing through the linked skills. Use when the user wants to set up CI on Semaphore, says "initialize", "bootstrap CI", "prepare CI/CD for this project", "create a workflow on Semaphore", "make a `.semaphore` config", or runs `/sem-ai:init`./manage-infraManage Semaphore infrastructure — secrets, notifications, agent types, scheduled tasks, artifacts.Other plugins' skills for the same job