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

Popeye

$ popeye Community Low Risk
Derailed · Cloud & Infra · Apache-2.0 · macos / linux / windows

popeye scans live Kubernetes clusters for misconfigurations, unused resources, stale endpoints, and resource-limit lints. Passing -o json (--out json) suppresses terminal UI formatting and outputs structured lint scores and findings.

FCRS-1.0 Score
79 /100
Good
Medium Confidence
Zero-Friction Install
brew install derailed/popeye/popeye
CLI vs MCP Decision CLI Preferred vs MCP

popeye -o json delivers a single cluster-wide lint report directly from kubeconfig, avoiding dozens of individual kubectl or MCP calls.

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 19 / 25

Supports -o json (--out json), -s section filtering, and --output-file, though standard mode expects 256-color terminal settings and lacks --no-color.

  • Supports -o json, -n <ns>, and -s <sections>
  • Standard output mode assumes 256-color TERM
Trust & Safety 23 / 25

Strictly read-only cluster sanitizer that never mutates Kubernetes resources; optional local file write via --save.

  • Read-only Kubernetes API inspection
Setup & Portability 14 / 15

Single static Go binary available via Homebrew tap and GitHub Releases for macOS, Linux, and Windows.

  • Cross-platform binary via brew install derailed/popeye/popeye
Utility & Efficiency 11 / 15

Quickly surfaces orphaned ConfigMaps/Secrets, missing probes, and stale endpoints in one pass.

  • Single-pass cluster hygiene audit
Maintenance & Lineage 6 / 10

Well-known community tool (derailed/popeye) under Apache-2.0, maintained independently rather than by CNCF.

  • Community derailed/popeye repository
Docs & Verifiability 6 / 10

Concise GitHub README and --help, though detailed linter codes live mainly in source/README tables.

  • README documentation on GitHub

Security, Auth & Guardrails

Auth Modes
Config File
Credential Storage

Reads cluster contexts from ~/.kube/config (KUBECONFIG); optional report uploads use AWS/S3 env vars when --s3-bucket is passed.

Side Effects
Read-Only Local Write
Cost & Quotas

CLI is free (Apache-2.0) and read-only against the Kubernetes API.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Popeye Agent Rules
- Always pass `-o json` (or `--out json`) so ANSI/color terminal rendering is bypassed.
- Pass `--context <ctx>` and `-n <namespace>` (or `-A`) explicitly to scope the audit.
- Avoid `--s3-bucket` unless report export to an approved bucket is explicitly requested.

Agent-Ready Command Recipes

Safe Read-Only Queries

Sanitize a specific namespace in JSON
popeye -n production -o json

Audits pods, services, deployments, and secrets in production and prints a JSON report.

Lint specific resource sections across all namespaces
popeye -A -s pod,deploy,svc --out json --save --output-file popeye.json

Restricts sanitization to core workload linters and saves the JSON output to disk.

Strengths for Agents

  • + Strictly read-only live cluster hygiene linter with clean -o json output.
  • + -s section filters and -n namespace scoping keep audits fast and focused.
  • + Catches cross-resource issues (unused ConfigMaps, orphaned Services) that single-YAML linters miss.

Caveats & Pitfalls

  • ! Only audits live clusters (does not lint offline YAML files like polaris or pluto).
  • ! Standard non-JSON mode can fail or emit ANSI noise if TERM is unset in headless sandboxes.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI