k3s-public-ops

k3s-public-ops is a skill for Codex from Agent-Hellboy/mcp-runtime. It costs 89 tokens per session (1,706 once invoked), scanned C, original, Apache-2.0.

A runbook for operating and debugging a public k3s cluster, a lightweight Kubernetes cluster, used by MCP Runtime.

In plain words
What is it for?
Use it to set up, clean, restore, or roll out the public deployment and to validate changes on the live cluster.
Why use it?
It keeps deployment and recovery work consistent and helps diagnose registry, DNS, image-download, and TLS certificate problems.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is KUBECONFIG=/private/tmp/mcpruntime-k3s.yaml ./bin/mcp-runtime cluster doctor.

Good fit Use it to set up, clean, restore, or roll out the public deployment and to validate changes on the live cluster.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Agent-Hellboy/mcp-runtime
agentmods
npx agentmods add skills/agent-hellboy/mcp-runtime/k3s-public-ops

Made for: Codex.

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 k3s-public-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/k3s-public-ops/github.svg)](https://agentmods.dev/skills/agent-hellboy/mcp-runtime/k3s-public-ops)
Your own site
<a href="https://agentmods.dev/skills/agent-hellboy/mcp-runtime/k3s-public-ops"><img src="https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/k3s-public-ops/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 k3s-public-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/agent-hellboy/mcp-runtime/k3s-public-ops"><img src="https://agentmods.dev/badge/skills/agent-hellboy/mcp-runtime/k3s-public-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,706 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00089 $0.01706
Opus 5.5 $0.00036 $0.00682
Sonnet 5.5 $0.00018 $0.00341
Haiku 4.5 $0.00009 $0.00171

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

Security

Grade C, and why

k3s-public-ops scanned grade C 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 2mo 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- Preferred workstation key: `~/.ssh/id_ed25519`

Makes network callslowCapability

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

curl -k -i -H "x-api-key: $ADMIN_KEY" https://registry.mcpruntime.org/v2/
.codex/skills/k3s-public-ops/SKILL.md · 170 lines

How it starts

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

k3s Public Ops

Use this skill for the mcpruntime.org style public k3s deployment. Prefer the documented user-facing commands and scripts over private shortcuts.

Source Of Truth

  • Env profile: config/deployments/mcpruntime-org.env
  • Example profile: config/deployments/mcpruntime-org.env.example
  • Runbook: docs/k3s-deployment-runbook.md
  • Readiness/debug guide: docs/cluster-readiness.md
  • Scripts (canonical): hack/deploy/mcpruntime-org/{setup,clean,restore,rollout,multitenancy-test}.sh
  • Script index: hack/README.md

Current production VM

  • SSH host: root@${MCP_PRODUCTION_SSH_HOST} from config/deployments/mcpruntime-org.env
  • Preferred workstation key: ~/.ssh/id_ed25519
  • Production kubeconfig: obtain it through the approved operator procedure; do not assume the contributor path /private/tmp/mcpruntime-k3s.yaml exists.

Use the VM password only for a one-time interactive SSH-key installation. Never store that password in this skill, AGENTS.md, repository env files, shell history, or command arguments. After key installation, verify:

source config/deployments/mcpruntime-org.env
ssh root@"${MCP_PRODUCTION_SSH_HOST}" 'hostname && kubectl config current-context'

Then copy or provision the approved kubeconfig locally, set KUBECONFIG, and run cluster doctor before any production mutation.

Non-Negotiables

  • Rebuild ./bin/mcp-runtime before setup or rollout validation. Stale CLI binaries can stamp stale registry image refs.
  • cluster doctor uses KUBECONFIG env, not --kubeconfig:
KUBECONFIG=/private/tmp/mcpruntime-k3s.yaml ./bin/mcp-runtime cluster doctor
  • For public bundled HTTPS, platform and tenant pull refs should use the TLS-covered hostname, for example registry.mcpruntime.org/....
  • Do not use a registry Service ClusterIP as a bundled-HTTPS pull ref unless the cert has the matching IP SAN. The usual symptom is: x509: cannot validate certificate for <ClusterIP> because it doesn't contain any IP SANs.
  • Pod DNS and node image-pull DNS are different. Pods can resolve registry.registry.svc.cluster.local; k3s/containerd on the node usually cannot unless /etc/rancher/k3s/registries.yaml explicitly mirrors that exact host.
  • Public registry ingress is auth-protected. Platform workloads using registry.<domain> need an image pull secret; setup should create and attach mcp-runtime-registry-pull for platform namespaces before registry auth is re-enabled. Unauthenticated pulls may fail with no basic auth credentials.

Read the full file on GitHub · 170 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. 2mo ago Changed · +19 lines scan A → C 569530e4ce95
  2. 3mo ago First seen · 151 lines · 89 tokens per session scan A 02988c297468

Subscribe to this mod's changes

k3s-public-ops is a skill published in the GitHub repository Agent-Hellboy/mcp-runtime (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 89 tokens to every session and 1,706 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

k3s-public-ops compared with skills from other repositories

k3s-public-ops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
k3s-public-opsAgent-Hellboy/mcp-runtimeSkill62mo agoApache-2.0C89Codex
gke-kueue-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A253Claude Code, Codex
smoke-testgarrytan/gbrainSkill34ktodayMITA79Claude Code
competition-container-runtimezhaoxuya520/reverse-skillSkill45k16d agoMITA109Codex
fastgen-runtimeNVIDIA/skillsSkill4.2k2d agoApache-2.0A55Claude Code, Codex
aks-troubleshootingmicrosoft/skillsSkill3.3k3d agoMITA221Claude Code
aks-gpu-inferencemicrosoft/skillsSkill3.3k3d agoMITA114Claude Code