/caddis-extras:runner-movefrom caddis-extras
Move GitHub Actions jobs from self-hosted to GitHub-hosted runners. Use when the user says "move CI to GitHub-hosted runners", "stop using self-hosted runners", or "runner migration".
Ships in caddis-extras. 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.
Move the safe jobs of one repository from self-hosted runners to GitHub-hosted runners. Prove it with one pilot PR. Then roll out repo by repo.
This skill is generic. It names no repository, host, path or organisation. The pilot at the end is a labelled worked example only.
Move a job only if it needs nothing that exists on the runner machine alone. When in doubt, the job stays. A wrong move fails in CI. A wrong deploy move can break production.
Read the workflow file. For each job, read every run: step. Then read every script that the step
calls.
Can move. The job does only these things:
Must stay. The job does any of these things:
localhost of a server)C:\... or G:\..., or a shared
cache folder)Search the workflow and the scripts it calls for these signs:
git grep -n -i -E '[A-Z]:\\|localhost|127\.0\.0\.1|nssm|Restart-Service|Stop-Service|\\\\[a-z]' -- .github scripts
git grep -n -E 'secrets\.' -- .github/workflows
Check each secret name. A secret that holds an internal host name or an internal URL means the job reads that host.
Workflow-level env: that only the deploy jobs read does not block the check jobs. Look at which
job reads each variable.
Write the result as a table: job, current runs-on, move or stay, and the evidence line.
If no job can move, stop here and say so.
Do this before you edit. Hosted minutes can cost money.
gh api orgs/<org> --jq .plan.name
gh api "organizations/<org>/settings/billing/usage?year=<Y>&month=<M>" # group the items by sku
The old /settings/billing/actions endpoint returns HTTP 410. Do not use it.
Measure the minutes per run from recent runs:
gh run list --workflow <file> --limit 50 --json databaseId,createdAt,conclusion
gh run view <id> --json jobs # startedAt and completedAt for each job
Count the runs per month. Then compute: minutes per run, times runs per month, for each job you will move.
Remember these facts:
A change that adds cost needs owner approval. Give the owner the numbers and wait for a yes.
Change runs-on only for the jobs that can move.
| The job's scripts are | Use |
|---|---|
| Windows scripts (PowerShell, batch) | windows-latest |
| Clean on Linux (no Windows-only tool) | ubuntu-latest |
Then fix these three things.
1. Tool paths. A runner-only path to Python or Node does not exist on a hosted runner. Install the tool in the job. Pin the version that production and the old runner use.
- uses: actions/setup-python@v5
id: py
with:
python-version: "<version of prod>"
- uses: actions/setup-node@v4
with:
node-version: "<version of prod>"
If a script reads an interpreter path from an environment variable, set that variable to the new path:
env:
PYTHON_EXE: ${{ steps.py.outputs.python-path }}
2. The default shell. Look at defaults: run: shell: in the workflow first. On windows-latest
the default shell is pwsh (PowerShell 7). The old runner often used Windows PowerShell 5.1. If the
workflow sets no default and the steps were written for 5.1, add this to the moved jobs:
defaults:
run:
shell: powershell
If the workflow already sets shell: powershell, add nothing. Say in the PR that you checked.
3. Shared-cache scripts. A dependency script may read packages from a cache folder on the runner. Read the script. It must fall back to a normal install when the folder is missing. If it does not, the job must stay, or a separate PR must fix the script first (see "Do not").
Also:
clean: false on checkout. It does no harm on a fresh hosted VM.Use one repository and one PR. A PR does not deploy, so it is a safe test.
Exit gate. Both of these must be true:
Then compare the job times with the last self-hosted run. Put both sets of numbers in the PR description. The numbers decide whether the move is worth it.
If the counts differ, stop. Find the cause. A missing tool, a missing data folder, or a different shell is the usual cause.
Do this before you merge. Look at every tool that watches CI or runners: dashboards, alerts and reports. Ask these questions:
/orgs/<org>/actions/runners.Write down each effect. Fix them in that tool's own PR. Do not fix them in the pilot PR.
Merge the pilot PR.
Watch the first run on the default branch, including the deploy job. The deploy job stays on the self-hosted runner. Check that it still starts and still works.
python "<home>/.caddis/bin/caddis_run.py" caddis_lanes.py ci-watch --run <run-id> --repo <owner/name>
Only after this run is green, take the next repository. Repeat steps 1 to 6 for each one. Never do all repositories at once.
One pilot repository (a Python and React app), 2026-10-15, PR #30, merge 432d385. The numbers
here are an example, not a default. The repository name is left out on purpose.
shell: powershell, so no shell change was needed. A runner-only
Python path became actions/setup-python and actions/setup-node.31 failed, 33 passed, 27 skipped on
the self-hosted run and on the hosted run. The counts matched.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub saajunaid/caddis-plugin --plugin caddis-extras81 skills in this plugin
/adopt-rbacPointer to the org's RBAC adoption skill. Use for "add RBAC to this app" or "adopt rbac-kit"./agent-md-refactorRefactor bloated agent instruction files (AGENTS.md, .cursorrules, .github/ files) into linked, progressively disclosed docs./agent-orchestrationBlueprint for orchestrating the agent pipeline from spec to planning, implementation, testing and debugging, plus when a second model is worth it, the intent→model map and cost guardrails./algorithmic-artGenerative and algorithmic art with p5.js: flow fields, particle systems, animations, WebGL, audio-reactive visuals; exports HTML, PNG, GIF, MP4, SVG. Use for creative coding or any p5.js visual./anchor-reviewSingle-model adversarial review technique — 3-lens analysis with confidence scoring and self-challenge/api-client-patternsTyped client-side API consumption: fetch wrappers, zod validation, auth injection, TanStack Query (useQuery, useMutation, optimistic updates), tRPC, OpenAPI codegen, pagination. Use when consuming REST or tRPC APIs.