Agent skill

GitHub Runner

by magnus919 in magnus919/agent-skills

Deploy, manage, and troubleshoot self-hosted GitHub Actions runners.

MITAuto-check passedDevOps & Cloud

Install GitHub Runner

skills CLI
$ npx skills add magnus919/agent-skills --skill github-runner -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install magnus919/agent-skills github-runner --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/github-runner .claude/skills/github-runner && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
github-runner
GitHub stars
111
Token cost
~1.7k tokens
SKILL.md length
652 words
Files
12 (incl. references)
Skills in repo
129
Repo updated
First seen
Licence
MIT

At a glance

Deploy, manage, and troubleshoot self-hosted GitHub Actions runners.

  • Works in 6 steps: Choose deployment approach → Figure out what runner scope you need → Register the runner → …
  • Setting up a CI runner
  • SKILL.md covers When to Use, Quick Reference, Sequential Workflow and Templates, plus 1 more section
  • Calls gh and docker; needs ACCESS_TOKEN and RUNNER_TOKEN

What it does

GitHub Runner is an agent skill from magnus919/agent-skills. Deploy, manage, and troubleshoot self-hosted GitHub Actions runners. Covers systemd service, Docker containers, Kubernetes (Actions Runner Controller), and the Scale Set Client. Use when setting up a CI runner, debugging registration failures, designing autoscaling, or hardening runner security. Do not use this skill for unrelated requests; route to the nearest named specialist.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including reference files (for example `README.md`, `evals/evals.json` and `references/architecture.md`). Compatibility notes: Linux, macOS, or Windows target hosts. Docker for containerized runners. Kubernetes for ARC deployments.

It sits in DevOps & Cloud, covering CI/CD, Containers and Linux administration. It works with Docker, GitHub Actions, GitHub and Kubernetes. The repository describes itself as: Curated collection of AI agent skills for Hermes and other agent frameworks. The licence is MIT.

When your agent uses it

  • Setting up a CI runner
  • Debugging registration failures
  • Designing autoscaling
  • Hardening runner security

Example prompts

  • “/github-runner”

Requirements

  • Docker
  • A credential in ACCESS_TOKEN
  • A credential in RUNNER_TOKEN
  • Compatibility (from SKILL.md): Linux, macOS, or Windows target hosts. Docker for containerized runners. Kubernetes for ARC deployments.

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Choose deployment approach
  2. Figure out what runner scope you need
  3. Register the runner
  4. Route jobs to the runner
  5. Monitor and troubleshoot
  6. Plan for security and scaling

What it can do on your machine

Read from SKILL.md and the folder at commit 96fbe07. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • docker

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh and docker, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ACCESS_TOKEN
    • RUNNER_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Linux, macOS, or Windows target hosts. Docker for containerized runners. Kubernetes for ARC deployments.

    From compatibility in the SKILL.md frontmatter.

Context cost

GitHub Runner loads about 1.7k tokens when it runs, and up to ~9.8k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 652 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from magnus919/agent-skills at commit 96fbe07, republished under its MIT licence (© magnus919). 652 words, ~1,744 tokens.

Download SKILL.mdSave it as .claude/skills/github-runner/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
github-runner
description
Deploy, manage, and troubleshoot self-hosted GitHub Actions runners. Covers systemd service, Docker containers, Kubernetes (Actions Runner Controller), and the Scale Set Client. Use when setting up a CI runner, debugging registration failures, designing autoscaling, or hardening runner security. Do not use this skill for unrelated requests; route to the nearest named specialist.
compatibility
Linux, macOS, or Windows target hosts. Docker for containerized runners. Kubernetes for ARC deployments.
license
MIT
metadata.tags
github-actions, ci-cd, runners, devops, docker, kubernetes, autoscaling
metadata.source
https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners
metadata.version
1.0.2

Self-Hosted GitHub Actions Runner

Deploy and manage self-hosted GitHub Actions runners — the machines that execute CI/CD workflow jobs. Self-hosted runners give you control over hardware, OS, and toolchain, at the cost of requiring you to maintain the environment.

When to Use

TriggerWhat to do
"Set up CI for my project", "deploy a self-hosted runner for [repo/org]"Read deployment — choose systemd, Docker, or ARC
"Runner won't register / keeps failing", "runner gets 404", "registration token expired"Read management — ACCESS_TOKEN vs RUNNER_TOKEN, groups
"How to scale runners automatically", "auto-scale runners", "too many queued jobs"Read scaling — ARC, Scale Set Client, ephemeral
"Secure my self-hosted runners", "hardening runners", "runner security", "public repo risk"Read security — public repo risks, ephemeral, JIT, groups
"Make a custom runner image", "build a runner Dockerfile", "custom runner with Python"Read custom-images — Dockerfile, ARC container modes
"What domains does a runner need to reach?", "runner firewall rules", "runner network setup"Read network — firewall rules, TLS, proxy
"Labels, groups, or both for routing?", "how to target specific runners"Read management — labels and groups sections
"Monitor / troubleshoot runner issues", "runner offline", "runner not picking up jobs"Read management — monitoring and troubleshooting sections

Quick Reference

Deployment Spectrum
ApproachComplexityAutoscalingBest For
systemd serviceLowManualSingle machine, simple CI
Docker containerMediumManual replicasHomelab, small team
ARC (Kubernetes)HighBuilt-inTeams with K8s expertise
Scale Set ClientHighCustomNon-K8s platform teams
Critical: ACCESS_TOKEN vs RUNNER_TOKEN

This is the most common setup failure. The myoung34/github-runner Docker entrypoint unexports RUNNER_TOKEN at startup — it's only used for de-registration. Registration requires ACCESS_TOKEN (a GitHub PAT).

TokenPurposeExpiry
ACCESS_TOKENRegistration — generates fresh tokens via GitHub APILong-lived (PAT)
RUNNER_TOKENDe-registration only — NOT for initial registration60 min

PAT scopes:

  • Repo-level: repo
  • Org-level: admin:org
  • Enterprise-level: manage_runners:enterprise
Labels Strategy

Default labels: self-hosted + OS (linux/windows/macOS) + arch (x64/ARM/ARM32/ARM64)

Common convention: self-hosted,<hostname>,<os>,<arch>,<project>. In workflows:

yaml
runs-on: [self-hosted, linux, x64, gpu]

All labels must match (AND logic). Use --no-default-labels to strip OS/arch auto-labels.

Key Pitfalls
ProblemCauseFix
404 on POST to runner-registrationRUNNER_TOKEN used instead of ACCESS_TOKENSwitch to ACCESS_TOKEN with PAT
"Could not find any self-hosted runner group named 'Default'"Org uses different group nameCheck groups via gh api, set RUNNER_GROUP
"Ephemeral option is enabled" when not wantedEPHEMERAL=0 — truthy in bashUse EPHEMERAL=false (string)
docker compose down -v wipes credentialsNamed volumes deletedWith ACCESS_TOKEN, auto-recovers
Runner can't see host filesystem pathsRunner runs inside Docker containerWrite deploy configs inline in workflow
Hugo build: "Go not found"No Go on Ubuntu 20.04 runnerhugo mod vendor and commit _vendor/
GHCR pull "unauthorized"No Docker registry auth in deploy jobAdd docker/login-action@v4
Runner offline >14 daysAuto-removed by GitHubRegister a new runner
Show full SKILL.md (210 more words)Show less

Sequential Workflow

1. Choose deployment approach

Read deployment and select systemd, Docker, ARC, or Scale Set Client.

2. Figure out what runner scope you need
  • Repo-level: Runner scoped to a single repo — you need admin access
  • Org-level: Runner shared across repos in an org — you need org owner access
  • Enterprise-level: Runner shared across orgs in an enterprise — you need enterprise access
3. Register the runner

Read the architecture reference for the registration flow.

4. Route jobs to the runner

Use runs-on with labels and optionally groups. Read management labels section.

5. Monitor and troubleshoot

Read the management troubleshooting section when things go wrong.

6. Plan for security and scaling

Read security and scaling for production deployments.

Templates

Reference Files

FileLoad when
references/architecture.mdYou need to understand registration flow, job lifecycle, or runner communication
references/deployment.mdYou need to deploy a runner — systemd, Docker, ARC, or Scale Set Client
references/security.mdYou need to harden runners, set up ephemeral/JIT, configure groups
references/scaling.mdYou need autoscaling — ARC, Scale Set Client, or webhook-driven
references/management.mdYou need groups, labels, monitoring, troubleshooting, or cleanup
references/custom-images.mdYou need a custom runner Dockerfile, ARC Kubernetes mode
references/network.mdYou need firewall rules, proxy config, or are troubleshooting connectivity

© magnus919, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files (references) in github-runner of magnus919/agent-skills.

  • SKILL.md
  • README.md
  • evals/evals.json
  • references/architecture.md
  • references/custom-images.md
  • references/deployment.md
  • references/management.md
  • references/network.md
  • references/scaling.md
  • references/security.md
  • templates/custom-runner.Dockerfile
  • templates/docker-compose.yml

Open the folder on GitHubat commit 96fbe07

Compare with similar skills

GitHub Runner next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GitHub Runner compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub Runner this skillmagnus919/agent-skills111—~1.7kAutomated safety check: PassMIT
Project Referencesaiskillstore/marketplace430—~2.3kAutomated safety check: NotesNone
Data Processingaiskillstore/marketplace4301 repos~720Automated safety check: NotesMIT
Releasing MarchatCod-e-Codes/marchat137—~801Automated safety check: PassMIT
Devops Automationrohitg00/awesome-claude-code-toolkit2.7k—~1.6kAutomated safety check: PassApache-2.0
Devops Excellencemajiayu000/spellbook286—~2.4kAutomated safety check: NotesMIT

Similar skills

  • Project References

    aiskillstore/marketplace

    Look up conventions, patterns, and concrete implementations from your own GitHub repositories checked out locally under ~/projects/referenzen/.

    430 GitHub stars~2.3k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    DevOps & CloudAuto-check: notes
  • Releasing Marchat

    Cod-e-Codes/marchat

    Prepares marchat releases: version bumps, CHANGELOG, packaging checksums, GitHub Actions release workflow, and Docker tags.

    137 GitHub stars~801 tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed
  • Devops Automation

    rohitg00/awesome-claude-code-toolkit

    CI/CD pipeline design with GitHub Actions, Docker, Kubernetes, Helm, and GitOps patterns

    2.7k GitHub stars~1.6k tokensUpdated 4 mo ago
    DevOps & CloudAuto-check passed
  • Devops Excellence

    majiayu000/spellbook

    DevOps and CI/CD expert. An agent skill from majiayu000/spellbook.

    286 GitHub stars~2.4k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Devops Deployment

    yonatangross/orchestkit

    A skill your agent uses when setting up CI/CD pipelines, containerizing applications, deploying to Kubernetes, or writing infrastructure as code.

    288 GitHub stars~2.7k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from magnus919/agent-skills

All 129 skills in this repo
  • Artifact Pyramids

    magnus919/agent-skills

    Organize durable agent research outputs as summaries, analysis, and evidence dossiers.

    111 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Ascii City Engine

    magnus919/agent-skills

    Build portable, first-person colored ASCII city engines and small GIS-derived city packs.

    111 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Color Management

    magnus919/agent-skills

    Manage color workflows with ICC profiles, working spaces, gamut mapping, and color science.

    111 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check: notes
  • Data Scientist

    magnus919/agent-skills

    A skill your agent uses for PhD-level expertise in data science, statistics, and machine learning: rigorous statistical analysis, experimental design, causal inference, advanced modeling, research…

    111 GitHub stars~4.1k tokensUpdated yesterday
    Auto-check passed
  • Docker Compose

    magnus919/agent-skills

    Use Docker Compose to define, run, debug, and harden multi-container applications.

    111 GitHub stars~2k tokensUpdated yesterday
    Auto-check: notes
  • Fpga Development

    magnus919/agent-skills

    Design, review, simulate, and verify FPGA logic using explicit RTL contracts, clock and reset models, CDC analysis, timing constraints, and reproducible implementation evidence.

    111 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about GitHub Runner

What does GitHub Runner do?

Deploy, manage, and troubleshoot self-hosted GitHub Actions runners. GitHub Runner is an agent skill from magnus919/agent-skills. Deploy, manage, and troubleshoot self-hosted GitHub Actions runners.

When should I use GitHub Runner?

GitHub Runner fits situations like: setting up a CI runner; debugging registration failures; designing autoscaling; hardening runner security.

How do I install GitHub Runner in Claude Code?

Run `npx skills add magnus919/agent-skills --skill github-runner -a claude-code`. Or copy the skill folder (github-runner in magnus919/agent-skills) into .claude/skills/github-runner in your project. Claude Code loads it when a task matches its description.

How do I install GitHub Runner in Codex?

Run `npx skills add magnus919/agent-skills --skill github-runner -a codex`. Or copy the skill folder (github-runner in magnus919/agent-skills) into .agents/skills/github-runner in your project. Codex loads it when a task matches its description.

Can I use GitHub Runner in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add magnus919/agent-skills --skill github-runner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/github-runner, .gemini/skills/github-runner, .github/skills/github-runner and .opencode/skills/github-runner in your project.

What does GitHub Runner need to run?

Going by SKILL.md and its folder, GitHub Runner needs the command-line tools its instructions call (gh and docker) and credentials named ACCESS_TOKEN and RUNNER_TOKEN. Our summary lists: Docker; A credential in ACCESS_TOKEN; A credential in RUNNER_TOKEN. Compatibility (from SKILL.md): Linux, macOS, or Windows target hosts. Docker for containerized runners. Kubernetes for ARC deployments..

Does GitHub Runner access the network?

SKILL.md contains no URLs. Its commands use gh and docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is GitHub Runner safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does GitHub Runner use?

GitHub Runner is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GitHub Runner use?

About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8k tokens, read only when the agent opens those files.

What are the alternatives to GitHub Runner?

Skills that share tags, products or a category with GitHub Runner: Project References (aiskillstore/marketplace, 430 stars), Data Processing (aiskillstore/marketplace, 430 stars), Releasing Marchat (Cod-e-Codes/marchat, 137 stars) and Devops Automation (rohitg00/awesome-claude-code-toolkit, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub Runner?

magnus919 (a GitHub user) maintains it in magnus919/agent-skills, which has 111 GitHub stars. The repository holds 129 skills in this directory. The repository was last updated on October 6, 2026.

Source: magnus919/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.