github-runners-setup-skill

github-runners-setup-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 80 tokens per session (1,845 once invoked), scanned B, original, Apache-2.0.

A procedure for setting up a Linux machine as several self-hosted GitHub Actions runners. GitHub Actions runners are machines that execute automated build and test jobs for a repository.

In plain words
What is it for?
It helps create runner folders, start each runner as a system service, and configure a local-if-idle workflow for GitHub Actions.
Why use it?
It lets an organisation use its own machine when it is available, while the workflow can fall back to GitHub-hosted Ubuntu machines when it is not idle.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

Good fit It helps create runner folders, start each runner as a system service, and configure a local-if-idle workflow for GitHub Actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/github-runners-setup-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add darellchua2/opencode-config-template --skill github-runners-setup-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-runners-setup-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/github-runners-setup-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/github-runners-setup-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/github-runners-setup-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/github-runners-setup-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-runners-setup-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/github-runners-setup-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/github-runners-setup-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,845 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.01845
Opus 5.5 $0.00032 $0.00738
Sonnet 5.5 $0.00016 $0.00369
Haiku 4.5 $0.00008 $0.00185

Measured 1mo ago against content hash 1b21f0fd7a9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

github-runners-setup-skill scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

else-ubuntu-latest workflow. Gates gh scope refresh, sudo install, and

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL -o /tmp/actions-runner-linux-x64-$VER.tar.gz \
opencode_app/.opencode/skills/github-runners-setup-skill/SKILL.md · 188 lines

How it starts

The opening of the file, as written. The whole thing — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

I turn a Linux box into a pool of GitHub Actions self-hosted runners for an organization, one runner per subfolder of a chosen root (e.g. ~/GITHUB_RUNNERS/r1..rN), each as an auto-starting systemd service. I also provide the workflow pattern that runs jobs on these runners only when one is online and idle, falling back to ubuntu-latest otherwise.

Validated runbook (nus-cee org, Ubuntu 24.04, runners v2.337.0, 4 folders).

When to use me

  • "Set up this machine as GitHub Actions runners" / "add local runners to my org"
  • "Use my machine for CI when it's free, GitHub's otherwise"
  • Adding more runner folders to an existing pool

Preconditions

  • Linux x64, systemd, gh CLI installed and authenticated
  • User is a member of the target org with rights to register runners
  • Private repos (or public repos with fork-PR approvals enforced — self-hosted runners execute arbitrary workflow code from the repo)

Procedure

Defaults below: org ORG, runner root ~/GITHUB_RUNNERS, folders r1..rN, host label prefix <hostname>. Ask the user for org + count + names once, up front, with the question tool — then do not re-ask.

1. Scope check (GATED)

The registration API needs the admin:org scope. Check first:

gh auth status | grep -q "'admin:org'" || echo NEEDS_REFRESH

If refresh is needed, spawn it in a PTY, show the user the one-time code, and wait for their confirmation before continuing:

gh auth refresh -h github.com -s admin:org

2. Install runner bits (automated)

Download once, extract into the first folder, copy to the rest:

VER=$(gh api /repos/actions/runner/releases/latest --jq .tag_name | tr -d v)
curl -sL -o /tmp/actions-runner-linux-x64-$VER.tar.gz \
  https://github.com/actions/runner/releases/download/v$VER/actions-runner-linux-x64-$VER.tar.gz
curl -sL -o /tmp/actions-runner-linux-x64-$VER.tar.gz.sha256 \
  https://github.com/actions/runner/releases/download/v$VER/actions-runner-linux-x64-$VER.tar.gz.sha256
( cd /tmp && sha256sum -c "actions-runner-linux-x64-$VER.tar.gz.sha256" )
mkdir -p ~/GITHUB_RUNNERS/r1
tar xzf /tmp/actions-runner-linux-x64-$VER.tar.gz -C ~/GITHUB_RUNNERS/r1
cd ~/GITHUB_RUNNERS
for d in r2 r3 r4; do cp -a r1 $d; done

Read the full file on GitHub · 188 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 188 lines · 80 tokens per session scan B 1b21f0fd7a9f

Subscribe to this mod's changes

github-runners-setup-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 28d ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,845 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-20.

Related

Other skills, from other repositories

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

atmos-profiles

Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.

cloudposse/atmos · 35 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens

managing-github-actions-secrets

Creates and updates GitHub Actions secrets for PostHog workflows. Use when adding a new CI secret, rotating an existing secret, wiring a workflow to an API token, package registry credential, deploy key, or any value referenced via ${{ secrets. }} in .github/workflows/.

PostHog/posthog-foss · 67 tokens

deployment-engineer

Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization.…

rmyndharis/antigravity-skills · 77 tokens