kubectl-config-cleanup
$ kubectl-config-cleanup Community Med Riskkubectl-config-cleanup (kubectl-config-cleanup) — Kubernetes kubectl plugin: Automatically clean up your kubeconfig. Verified across Kubernetes Krew Index; included for structured shell automation under FCRS-1.0 baseline review.
kubectl krew install config-cleanup Calling kubectl-config-cleanup directly via shell lets agents filter stdout and avoid upfront MCP schema context bloat; start from kubectl-config-cleanup --help before write commands.
At a Glance
- Command
- $ kubectl-config-cleanup
- FCRS-1.0 Score
- 64/100 (Usable w/ Caveats)
- Evidence Tier
- Low Confidence
- CLI vs MCP
- CLI Preferred vs MCP
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Registry-verified CLI binary (kubectl-config-cleanup); inspect --help output before assuming structured JSON flags.
- Indexed in Kubernetes Krew Index
Classified as medium risk based on cloud-infra scope and upstream package metadata.
- Install channel verified via
kubectl krew install config-cleanup - Package checksum verified by upstream registry
Installable via kubectl krew install config-cleanup across macos, linux.
- Primary install:
kubectl krew install config-cleanup
Kubernetes kubectl plugin: Automatically clean up your kubeconfig
- Official homepage/source: https://github.com/TorchAIKC/kubectl-config-cleanup
community lineage tool maintained by torchaikc.
- Upstream repository: torchaikc/kubectl-config-cleanup
Upstream documentation linked at https://github.com/TorchAIKC/kubectl-config-cleanup; baseline FCRS cap applies until local probe runs.
- https://github.com/TorchAIKC/kubectl-config-cleanup
Security, Auth & Guardrails
Configured via service environment variables or local profile config file; verify provider docs before granting agent access.
Local binary is free; remote API or cloud resource actions depend on your vendor account quotas.
When invoking `kubectl-config-cleanup`, verify flags with `kubectl-config-cleanup --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.
Agent-Ready Command Recipes
Safe Read-Only Queries
kubectl-config-cleanup --help
Discover supported flags and subcommands for kubectl-config-cleanup before constructing automated calls.
kubectl-config-cleanup --version
Confirm kubectl-config-cleanup is installed and executable in PATH with zero side effects.
Strengths for Agents
- + Indexed in Kubernetes Krew Index with reproducible install via
kubectl krew install config-cleanup - + Standalone CLI binary (
kubectl-config-cleanup) directly composable in shell pipelines
Caveats & Pitfalls
- ! Low-confidence baseline review: not yet locally probed on this host; run
kubectl-config-cleanup --helpto verify flags before scripting
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Cloud & Infra
View category hub →Kubernetes kubectl plugin: Validate and test kubeconfigs
Kubernetes kubectl plugin: Dry-run / diff / confirm before running a command
Kubernetes kubectl plugin: Add, update, or remove conditions on Kubernetes nodes
Kubernetes kubectl plugin: Merge logs, events, and node pressures chronologically
CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.