/ancplua-skills:self-hosted-ci-orchestrationfrom ancplua-skills
Use when driving a self-hosted CI runner to a green verdict — bringing an offline/paused runner (and the VM or container engine it lives in) online, draining workflow runs that are queued only because the runner is down, taking a single status snapshot of the result, then tearing the runner and any leaked test containers back down. Use for "get CI green", "the runner is offline", "CI is queued and not starting", "bring the VM up for CI", a self-hosted job that never picks up, or "ci up / ci down". Especially use it before concluding CI is blocked because a runner or VM is stopped — a stopped self-hosted runner is a routine bring-up, never a blocker.
Ships in ancplua-skills. 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.
Operate a self-hosted CI runner that is kept stopped while idle (to spare the host) and brought up only to verify a push. The job is a closed loop — bring it up, let the already-queued runs drain, read the verdict once, put it back to sleep — not a babysitting session.
status → up → drain → snapshot → down + reap
gh api repos/{owner}/{repo}/actions/runners) and check the engine's host process — never run the engine/VM CLI (orb, docker, limactl, …) purely to look, because that auto-starts it. Save those CLIs for real bring-up/teardown work.queued and not starting, the cause is almost always "runner offline" — bring it up; do not report CI as blocked, and never conclude the change "can't be verified."queued. Bringing the runner online drains them — do not re-push or re-dispatch to "kick" CI; that just stacks duplicate runs (forge concurrency then cancels the older ones, which is noise, not a failure).--watch stream open for the whole run — it burns the session for no added signal.Prefer a single idempotent control tool over ad-hoc orb/docker/runner commands. The canonical verb-set:
| verb | does | wake-safe? |
|---|---|---|
status | runner + engine state + leaked-container count | yes |
up | start VM/engine + runner, wait until online | no (real work) |
down | reap leaked containers (scoped), stop VM/engine | no |
reset | scoped self-heal for a wedged/lagging host (reap + bounce the runner) | no |
run <cmd…> | up → run → always down + reap (survives failure/Ctrl-C) | no |
Keep the tool idempotent (an up when already up is a no-op) and agent-owned: extend it only with scoped, reversible verbs that are safe by construction. The tool — not this skill — owns the machine-specific names (VM id, runner labels, paths); this skill owns the discipline.
Test containers (Testcontainers, ephemeral fixtures) can leak when a run is killed. Reap them on teardown, but only by their owning label (e.g. label=org.testcontainers) scoped to the CI VM/engine. Never run a blanket prune, and never touch named volumes — those hold real data. A reap that can delete anything outside the CI scope is a defect.
Everything above is routine and pre-authorizable. Stop and get explicit sign-off only for:
docker system prune / deleting named volumes to "clean up." → reap by label, scoped, only.gh repo set-default) or an explicit -R {owner}/{repo}.PATH exposing the verb-set above.GH_TOKEN) — never inline a token.Machine-, VM-, and repo-specific topology (runner ids, labels, recreation steps) belongs in a project-local skill or the control tool itself, not in this portable skill.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ancplua/ancplua-skills --plugin ancplua-skills43 skills in this plugin
/agent-log-scanScan agent transcripts and turn antipatterns into config and routine changes, not just an allowlist like fewer-permission-prompts. Use when asked to scan agent logs or session history, "why do my agents keep failing", "what happened across my sessions", to find retry loops, permission thrash, API dead-ends or limit interrupts, or raise autonomy./analyzer-purityKeep Roslyn analyzers, source generators and code fixes pure, loadable and cache-friendly inside every compiler host. Use when creating, changing, reviewing or packaging a netstandard2.0 project with IsRoslynComponent, EnforceExtendedAnalyzerRules or Microsoft.CodeAnalysis references, or when an RS1xxx/RS2xxx diagnostic, a sluggish IDE or a generator that reruns on every keystroke points at one./Other plugins' skills for the same job