mainframe-k3s

mainframe-k3s is a skill for Claude Code, Codex from CATWILLgh/MAINFRAME. It costs 43 tokens per session (617 once invoked), scanned A, original, MIT.

A method for operating K3s clusters, a lightweight Kubernetes distribution used to run containerized applications across one or more machines.

In plain words
What is it for?
Use it to plan, install, troubleshoot, secure, upgrade, or recover K3s clusters.
Why use it?
It provides a structured way to establish the target cluster and handle installation, networking, access control, storage, backups, upgrades, and recovery safely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan, install, troubleshoot, secure, upgrade, or recover K3s clusters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/catwillgh/mainframe/mainframe-k3s
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 CATWILLgh/MAINFRAME --skill mainframe-k3s
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Claude Code, 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 mainframe-k3s

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-k3s"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-k3s.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 617 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00043 $0.00617
Opus 5.5 $0.00017 $0.00247
Sonnet 5.5 $0.00009 $0.00123
Haiku 4.5 $0.00004 $0.00062

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

Security

Grade A, and why

mainframe-k3s scanned grade A with 0 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mainframe-k3s/SKILL.md · 55 lines

How it starts

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

Operate K3s with evidence

Establish the requested result, exact cluster and environment, current K3s versions, datastore, node roles, and relevant workload before choosing an operation. Reuse verified project context and caller authority. A local kubeconfig, loopback address, SSH tunnel, or local CLI does not establish a local or disposable cluster. Verify the API endpoint and node/host identities without printing credentials. If a missing fact changes the safe decision, resolve it rather than assuming a default installation.

Use mainframe-infrastructure for broader infrastructure coordination and its project map; keep K3s-specific decisions here. Use mainframe-secrets when credentials are required. This skill does not grant cluster write authority.

Load the relevant method

Decision Read
Choose topology, provision nodes, join servers or preserve configuration Topology and installation
CNI, DNS, ingress, ServiceLB, registry or connectivity failure Network and components
Access control, hardening, certificates or encryption Security
Persistent data, backup, disaster recovery or rollback Data and recovery
Upgrade, drain, capacity or incident investigation Operations
A flag, version gate, compatibility decision or missing detail Official source map, then the applicable live documentation

Load only references needed by the current decision. Check version-sensitive syntax against the installed binary's help and official documentation for that release. Do not treat a documentation example, latest channel, or remembered component version as the target's actual configuration.

Make the result reviewable

For a design, explain the selected topology, failure tolerance, data durability, resource/network assumptions, and alternatives that materially change cost or risk. For a change, identify its configuration owner, exact targets, expected impact, recovery path and bounded verification. Preserve unrelated settings and existing GitOps or configuration-management ownership.

Read the full file on GitHub · 55 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 55 lines · 43 tokens per session scan A 1d0aacd066e5

Subscribe to this mod's changes

mainframe-k3s is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 3d ago), licensed MIT. It adds 43 tokens to every session and 617 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-07.

Related

Other skills, from other repositories

kubernetes

Deploy, manage, and debug Kubernetes in production — Deployments, Services, Gateway API, Service Mesh (Istio/Linkerd/Cilium), eBPF observability (Cilium Hubble), security hardening (Pod Security Standards, OPA/Kyverno, seccomp, runtime security with Falco/Tetragon), Helm, HPA, PDB, topology spread, and debugging. Use…

EliasOulkadi/shokunin · 144 tokens

deploy-checklist

Pre-deployment verification checklist for Docker Swarm deployments to Azure. Use before deploying to production. Trigger words include deploy, release, production, go live.

johanolofsson72/Claude · 35 tokens

openshell-cli

Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, profile management, policy iteration, settings, service exposure, BYOC workflows, and attached-provider inference. Covers basic through advanced multi-step workflows. Trigger…

NVIDIA/OpenShell · 134 tokens

azd-deployment

Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.

sickn33/agentic-awesome-skills · 29 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

compute-env-setup

Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…

UnicomAI/wanwu · 134 tokens