Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

ctlptl

$ ctlptl Official Low Risk
Tilt · Cloud & Infra · Apache-2.0 · macos / linux / windows

ctlptl provides a declarative, kubectl-style CLI (ctlptl apply -f, ctlptl get) for provisioning local Kubernetes clusters (kind, k3d, minikube) wired to local container registries, supporting -o json and -o jsonpath output.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
brew install ctlptl
CLI vs MCP Decision CLI Preferred vs MCP

ctlptl accepts declarative YAML via -f and outputs -o json directly against local Docker/cluster tooling.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Follows kubectl conventions with -o json, -o jsonpath, and idempotent -f YAML manifests, though it lacks --dry-run.

  • Supports -o json and -o jsonpath on get and apply
Trust & Safety 22 / 25

Local-only Docker blast radius and idempotent ctlptl apply reduce accidental drift, though apply updates default kubeconfig context.

  • Local workstation blast radius only
Setup & Portability 14 / 15

Single static Go binary on macOS, Linux, and Windows, requiring Docker and a local cluster provider (kind/k3d/minikube).

  • Static Go binary via brew install ctlptl
Utility & Efficiency 12 / 15

Eliminates multi-step registry-to-cluster wiring scripts in local CI and agent sandboxes.

  • Single YAML spec wires registry and Kubernetes cluster
Maintenance & Lineage 8 / 10

Official Tilt (tilt-dev/ctlptl) project licensed under Apache-2.0.

  • Official tilt-dev/ctlptl repository
Docs & Verifiability 8 / 10

Clear README examples and familiar kubectl-style --help output.

  • Concise README and built-in command help

Security, Auth & Guardrails

Auth Modes
Config File
Credential Storage

Writes local cluster contexts into ~/.kube/config (KUBECONFIG) and manages local Docker daemon resources.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

CLI is free (Apache-2.0); runs locally using Docker compute.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# ctlptl Agent Rules
- Run `ctlptl get clusters -o json` before creating or deleting local clusters.
- Keep cluster definitions in declarative YAML files (`ctlptl apply -f`) rather than ad-hoc flags.
- Confirm before running `ctlptl delete` on shared local dev registries.

Agent-Ready Command Recipes

Safe Read-Only Queries

List local clusters and registries as JSON
ctlptl get clusters -o json && ctlptl get registries -o json

Inspects active local clusters and registry ports in structured JSON.

Controlled Writes & Previews

Declaratively create a local registry and kind cluster
ctlptl apply -f cluster.yaml -o json

Idempotently reconciles the local cluster and registry from YAML without interactive prompts.

Strengths for Agents

  • + -o json and -o jsonpath work cleanly on both get and apply.
  • + Idempotent declarative YAML workflow avoids fragile shell setup scripts.
  • + Local-only scope makes experimentation safe for coding agents.

Caveats & Pitfalls

  • ! No --dry-run flag on ctlptl apply or ctlptl delete.
  • ! Requires Docker plus an underlying cluster CLI (kind, k3d, or minikube) installed.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI