Alison Aquinas logoAlison's LLM Plugins

github-runner

Included in pluginci-cdView on GitHub ↗

Files

SKILL.mdagentsreferences

Install

Install the containing plugin
/plugin install ci-cd@llm-skills
Invoke this skill after installation
/ci-cd:github-runner
Download github-runner-skill.zip
This skill is bundled inside ci-cd. Install the plugin once, then Claude Code can use any of its included skills. Browse the full plugin repository at github.com/alisonaquinas/llm-ci-dev.

SKILL.md


name: github-runner description: > Install, register, configure, and maintain GitHub Actions self-hosted runners on Linux, macOS, Windows, and Kubernetes via Actions Runner Controller (ARC). Cover runner binary installation, service setup, token management, ARC deployment, scaling, and operational management.

GitHub Actions Runner

Install, register, and operate GitHub Actions self-hosted runners to execute jobs on your infrastructure. This skill covers runner binary installation, registration, service management, Kubernetes ARC deployment, and operations.


Intent Router

Load reference files for depth on specific topics:

TopicFileLoad when...
Installationreferences/installation.mdInstalling runner binary, setting up services on Linux, macOS, Windows, or containers
Registration & Configurationreferences/registration-and-config.mdRegistering runners, token management, labels, groups, and proxy configuration
ARC and Scalingreferences/arc-and-scaling.mdDeploying Actions Runner Controller on Kubernetes, ephemeral runners, auto-scaling
Operationsreferences/operations.mdService control, token rotation, updates, firewall, and troubleshooting

Quick Start

Core Concepts

GitHub Actions Runner is a self-hosted agent that executes workflow jobs from GitHub repositories. The lifecycle: downloadconfigure (obtain token from GitHub) → run (execute workflow jobs).

Minimal Installation & Registration (Linux)

# Create directory for runner
mkdir -p ~/runner && cd ~/runner

# Download latest runner for x64
curl -o actions-runner-linux-x64-latest.tar.gz \
  -L https://github.com/actions/runner/releases/download/v2.414.0/actions-runner-linux-x64-2.414.0.tar.gz

# Extract
tar xzf actions-runner-linux-x64-latest.tar.gz

# Generate a token from GitHub (repo/org settings → Runners)
# Then configure
./config.sh \
  --url https://github.com/owner/repo \
  --token <GITHUB_TOKEN> \
  --name "my-runner" \
  --labels "linux,docker" \
  --runnergroup "default" \
  --work "_work"

# Install service
./svc.sh install

# Start service
./svc.sh start

Runner Scope and Tokens

Runners can be registered at three GitHub levels:

ScopeURLToken Source
Repositoryhttps://github.com/owner/repoRepo → Settings → Actions → Runners
Organizationhttps://github.com/ownerOrg → Settings → Actions → Runners
Enterprisehttps://github.com/enterprises/nameEnterprise → Settings → Actions → Runners

Each scope level has its own authentication tokens.

config.sh Flags

./config.sh \
  --url <GITHUB_URL> \              # GitHub repo, org, or enterprise URL
  --token <TOKEN> \                 # PAT or fine-grained token
  --name <RUNNER_NAME> \            # Display name for runner
  --labels docker,linux,ubuntu \    # Comma-separated labels
  --runnergroup "default" \         # Runner group assignment
  --work "_work" \                  # Workspace directory
  --ephemeral \                     # Ephemeral runner (runs one job then exits)
  --disableupdate                   # Prevent auto-update

Cross-References

Use alongside these skills for deeper context:

  • github-ci — Write and maintain GitHub Actions workflows that trigger runner jobs
  • github-docs — Deep syntax reference for GitHub Actions workflow keywords
  • ci-architecture — Design patterns for multi-runner deployments and runner group management

Related References

  • Load Installation for platform-specific setup (Linux, macOS, Windows, Docker, Kubernetes)
  • Load Registration & Configuration to understand tokens, labels, groups, and proxy configuration
  • Load ARC and Scaling to deploy Kubernetes-based runners with auto-scaling
  • Load Operations for service management, updates, token rotation, and troubleshooting
← Back to marketplace