dev-cluster

dev-cluster is a skill for Claude Code, Codex from ambient-code/platform. It costs 86 tokens per session (5,803 once invoked), scanned B, original, MIT.

A guide for managing local Kubernetes test clusters made with kind, a tool that runs Kubernetes inside containers.

In plain words
What is it for?
Use it to create or update a cluster, rebuild the affected images, deploy pull-request changes, check cluster status, and troubleshoot workloads.
Why use it?
It helps developers test changes in isolated local clusters and investigate problems such as failed pods or outdated container images.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to create or update a cluster, rebuild the affected images, deploy pull-request changes, check cluster status, and troubleshoot workloads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ambient-code/platform/dev-cluster
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 ambient-code/platform --skill dev-cluster
Clone the repo
git clone --depth 1 https://github.com/ambient-code/platform

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 dev-cluster

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ambient-code/platform/dev-cluster"><img src="https://agentmods.dev/badge/skills/ambient-code/platform/dev-cluster.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,803 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 466
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 469
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 43
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Prompt Injection · line 301
    Subtle instructions detected that may alter agent decision-making or introduce hidden biases.
    Fix: Review content for implicit steering or bias. Ensure instructions are explicit and align with the skill's stated purpose.
How audits are shown
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.00086 $0.05803
Opus 5.5 $0.00034 $0.02321
Sonnet 5.5 $0.00017 $0.01161
Haiku 4.5 $0.00009 $0.00580

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

Security

Grade B, and why

dev-cluster 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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

**CRITICAL:** Never tell the user "the cluster is ready" or provide a URL without first confirming the frontend responds. A URL that doesn't load is worse than no URL.

Makes network callslowCapability

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

curl -s -o /dev/null -w "%{http_code}" http://localhost:80
skills/control-plane/dev-cluster/SKILL.md · 644 lines

How it starts

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

Development Cluster Management Skill

Multi-cluster support: Each worktree/branch automatically gets its own isolated Kind cluster via CLUSTER_SLUG. The Makefile derives KIND_CLUSTER_NAME, KIND_HTTP_PORT, KIND_HTTPS_PORT, KIND_FWD_FRONTEND_PORT, and KIND_FWD_BACKEND_PORT from the slug. Run make kind-status to see the current assignments. Never hardcode cluster names or ports — always use the Makefile variables (in make targets) or their exported env-var equivalents (in shell commands).

You are an expert Ambient Code Platform (ACP) DevOps Specialist. Your mission is to help developers efficiently manage local development clusters for testing platform changes.

Your Role

Help developers test their code changes in local Kubernetes clusters (kind) by:

  1. Understanding what components have changed
  2. Determining which images need to be rebuilt
  3. Managing cluster lifecycle (create, update, teardown)
  4. Verifying deployments and troubleshooting issues

Platform Architecture Understanding

The Ambient Code Platform consists of these containerized components:

Component Location Image Name Purpose
Backend components/backend vteam_backend:latest Go API for K8s CRD management
Frontend components/frontend vteam_frontend:latest NextJS web interface
Operator components/operator vteam_operator:latest Kubernetes operator (Go)
Runner components/runners/ambient-runner vteam_claude_runner:latest Python Claude Code runner
State Sync components/runners/state-sync vteam_state_sync:latest S3 persistence service
Public API components/public-api vteam_public_api:latest External API gateway

Development Cluster: Kind

Best for: All development, quick testing, CI/CD alignment

Commands:

  • make kind-up - Create cluster, deploy with Quay.io images
  • make kind-up LOCAL_IMAGES=true - Create cluster, build and load local images
  • make kind-up LOCAL_IMAGES=true LOCAL_VERTEX=true - Same but with Vertex AI enabled (reads ANTHROPIC_VERTEX_PROJECT_ID, CLOUD_ML_REGION, GOOGLE_APPLICATION_CREDENTIALS from shell env)
  • make kind-down - Destroy cluster
  • make kind-rebuild - Rebuild all components, reload images, restart
  • make kind-port-forward - Setup port forwarding
  • make kind-status - Show cluster status and port assignments

Read the full file on GitHub · 644 lines

Files

What ships with it

2 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. 1mo ago First seen · 644 lines · 86 tokens per session scan B ac54b09f67a8

Subscribe to this mod's changes

dev-cluster is a skill published in the GitHub repository ambient-code/platform (131 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 5,803 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (subtle steering, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

run-app

Build and start the Mendix app in Docker, and restart it after changes. Use when asked to run, launch or restart the app in a container. For the fast inner loop prefer run-local.

mendixlabs/mxcli · 43 tokens

docker-management

Manage and debug Docker containers, images, volumes, networks, Compose stacks, and Dockerfile performance/safety.

metaspartan/cybara · 25 tokens

hatch3r-cli-toolbox

Category-indexed reference for 34 specialist CLI tools beyond the always-on five (ripgrep, jq, gh, fd, fzf). Use to pick the right tool for HTTP clients, ai-chat, structural-search, sed-style edits, data ops, browser automation, container ops, and more.

hatch3r/hatch3r · 68 tokens

hatch3r-containerize

Containerizes an application through a repeatable workflow — multi-stage Dockerfile, non-root hardening, minimal base image, .dockerignore, healthcheck, local docker-compose, Kubernetes manifest basics, and an image-scan gate. Use when adding or hardening container artifacts.

hatch3r/hatch3r · 62 tokens

container-operations

Build, inspect, debug, and validate Docker or Podman images, containers, networks, volumes, and Compose stacks.

metaspartan/cybara · 28 tokens

write-dockerfile

Creates or updates an optimized, production-ready Dockerfile and .dockerignore. Focuses on image build strategy, runtime hardening, caching, and minimal production images. Invoked when the user asks to write a Dockerfile, improve container image quality, or harden image builds.

soulcodex/agentic · 61 tokens