Gastown Operator

VerifiedCaution

Kubernetes operator for Gas Town multi-agent orchestration with kubectl-gt CLI and YAML templates.

Sby Skills Guide Bot
DevOpsIntermediate
7/22/2026
Claude Code
#kubernetes#multi-agent#orchestration#kubectl#gitops

Recommended for

Automated summary

Guides use of the Gas Town Kubernetes operator through the kubectl-gt plugin to create rigs, spawn polecats, batch work into convoys, and monitor multi-agent orchestration.

Strengths

  • Copy-ready golden commands with explicit variables (BEAD_ID, RIG, NAME) for everyday workflows
  • Common-error table paired with immediate fixes (rig not found, secret not found, polecat stuck in Working)
  • CLI-first approach with YAML templates as a fallback for GitOps needs
  • Just-in-time reference loading (CRDs, troubleshooting, anti-patterns) that keeps the context budget small

Limitations

  • Assumes the Gas Town operator, its CRDs, and the kubectl-gt plugin are already installed
  • Some fixes are tied to a specific release (e.g. v0.4.1 for missing gitRepository)
  • Deep detail lives in external reference files that are not part of the SKILL.md itself
When to use it

Use it whenever you need to create or drive Gas Town resources on a Kubernetes cluster (polecat, rig, convoy, witness, refinery).

When not to use it

Avoid it when the cluster lacks the Gas Town operator or when the task targets a different Kubernetes orchestrator.

Security analysis

Caution
Quality score82/100

The skill uses powerful Kubernetes CLI tools for legitimate operator workflows, but the broad wildcard permissions and credential-syncing commands introduce meaningful cluster and secret management risk. No destructive or exfiltration commands were found, so it is not risky, but human oversight is warranted.

Findings
  • •Broad Bash allowance for kubectl, helm, and oc permits arbitrary cluster operations including creating secrets and modifying workloads.
  • •Instruction to run `kubectl gt auth sync` to sync Claude credentials may handle sensitive tokens without explicit safeguards.
  • •Skill references secret templates (secret-*.yaml) but does not describe encryption or least-privilege handling.
How this analysis is made

Examples

Spawn a polecat for a bead
Sling bead at-1234 onto the athena rig as a polecat named furiosa and wait until the pod is ready (5 minute timeout).
Create a rig
Create a Gas Town rig called athena pointing at git@github.com:acme/athena.git with prefix at, in the gastown-system namespace.
Track a batch in a convoy
Create a convoy named "Wave 1" containing beads at-1234, at-1235 and at-1236, then list the polecats and their status.

name: gastown-operator version: 1.0.0 tier: solo context: repo description: > Kubernetes operator for Gas Town multi-agent orchestration. Triggers on "create polecat", "spawn worker", "kubernetes polecat", "deploy convoy". triggers:

  • "create polecat"
  • "deploy polecat"
  • "spawn polecat"
  • "kubernetes polecat"
  • "k8s polecat"
  • "create convoy"
  • "deploy convoy"
  • "create witness"
  • "create refinery"
  • "gastown kubernetes"
  • "gastown k8s" allowed-tools:
  • Read
  • Write
  • Bash(kubectl:, helm:, oc:*)
  • Grep
  • Glob context-budget: skill-md: 3KB references-total: 25KB typical-session: 8KB

Gas Town Operator Skill

Create Gas Town Kubernetes resources quickly and correctly.

Use the kubectl-gt CLI for normal workflows. YAML templates are for GitOps.


Critical Facts

| Fact | Value | |------|-------| | API Group | gastown.gastown.io/v1alpha1 | | Operator NS | gastown-system | | CRDs | Rig, Polecat, Convoy, Witness, Refinery, BeadStore | | CLI Plugin | kubectl-gt |


Golden Commands (CLI-First)

Create Rig

kubectl gt rig create {{RIG}} \
  --git-url git@github.com:org/repo.git \
  --prefix {{PREFIX}} \
  -n gastown-system

Dispatch Work (Sling)

# With explicit name
kubectl gt sling {{BEAD_ID}} {{RIG}} --name {{NAME}} -n gastown-system

# With themed name (mad-max, minerals, wasteland)
kubectl gt sling {{BEAD_ID}} {{RIG}} --theme mad-max -n gastown-system

# Wait for pod ready
kubectl gt sling {{BEAD_ID}} {{RIG}} --wait-ready --timeout 5m -n gastown-system

Variables: {{BEAD_ID}} (e.g., at-1234), {{RIG}} (e.g., athena), {{NAME}} (e.g., furiosa)

Convoy (Batch Tracking)

kubectl gt convoy create "Wave 1" {{BEAD1}} {{BEAD2}} {{BEAD3}} -n gastown-system

Monitor

kubectl gt polecat list -n gastown-system
kubectl gt polecat logs {{RIG}}/{{NAME}} -f -n gastown-system
kubectl gt polecat status {{RIG}}/{{NAME}} -n gastown-system

CLI Commands

| Command | Description | |---------|-------------| | kubectl gt rig list | List rigs | | kubectl gt rig create <name> | Create rig | | kubectl gt polecat list | List polecats | | kubectl gt polecat logs <rig>/<name> | Stream logs | | kubectl gt sling <bead> <rig> | Dispatch work | | kubectl gt convoy list | List convoys | | kubectl gt auth sync | Sync Claude creds |

All commands support -o json and -o yaml output.


Templates (YAML Alternative)

If you need declarative YAML (GitOps), templates are in templates/:

| Template | Use | |----------|-----| | polecat-minimal.yaml | Minimal K8s polecat (5 vars) | | polecat-kubernetes.yaml | Full K8s polecat (all options) | | convoy.yaml | Batch tracking | | secret-*.yaml | Credentials |

Validate: ./scripts/validate-template.sh <file>


Quick Checks

kubectl gt rig list -n gastown-system          # List rigs
kubectl gt polecat list -n gastown-system      # List polecats
kubectl gt auth status -n gastown-system       # Check creds
kubectl get secrets -n gastown-system          # Check secrets

Common Errors

| Error | Fix | |-------|-----| | rig not found | Create rig first: kubectl gt rig create <name> --git-url ... | | secret not found | Create secrets: kubectl create secret generic git-creds ... | | missing gitRepository | Fixed in v0.4.1 - sling now fetches from Rig | | Stuck in Working | Check logs: kubectl gt polecat logs <rig>/<name> |


JIT Load References

Load these when you need deeper context:

| Topic | Reference | |-------|-----------| | Full CRD specs | .claude/references/CRD_REFERENCE.md | | Kubernetes mode | .claude/references/KUBERNETES_MODE.md | | Troubleshooting | .claude/references/TROUBLESHOOTING.md | | Anti-patterns | FRICTION_POINTS.md | | Full templates | templates/*.yaml |

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/gastown-operator-mrwakdcl/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/gastown-operator-mrwakdcl' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/gastown-operator-mrwakdcl/download' --output '.skill-downloads/gastown-operator-mrwakdcl/SKILL.md.part' && mv '.skill-downloads/gastown-operator-mrwakdcl/SKILL.md.part' '.skill-downloads/gastown-operator-mrwakdcl/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/gastown-operator-mrwakdcl/SKILL.md' && test -s '.skill-downloads/gastown-operator-mrwakdcl/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/gastown-operator' && cp -R '.skill-downloads/gastown-operator-mrwakdcl' '.claude/skills/gastown-operator'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/gastown-operator-mrwakdcl'

openskills read 'gastown-operator-mrwakdcl'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/gastown-operator-mrwakdcl/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills