debug-buttercup
Skill by sickn33
Diagnoses failing Buttercup services in the crs Kubernetes namespace. It guides triage of crashing pods, cascade restarts, Redis and AOF problems, and queue backlogs for operators who run Buttercup.
Install debug-buttercup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/debug-buttercup ~/.claude/skills/debug-buttercupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/debug-buttercup ~/.gemini/antigravity-cli/skills/debug-buttercupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant a triage workflow for Buttercup, a system whose pods run in the crs Kubernetes namespace. It starts with pod status and events, then narrows to crashed container logs, resource pressure, and health check files. It also covers cascade detection, where many services restart because a shared dependency such as Redis has failed.
The skill includes Redis commands for memory, persistence, and client checks, plus Redis stream queue inspection with consumer group lag and pending messages. It lists the queue names and consumer groups used by Buttercup. The source says it is for operators who run Buttercup on Kubernetes and need to diagnose crashes, OOM kills, Redis trouble, or stalled task queues. Some referenced supporting files are not bundled, so dependent steps may be unavailable.
Written from the project's SKILL.md and checked against it.
What it can do
- Pod triageChecks pod status, events, and warnings in the crs namespace to find restarts and crashes.
- Crash investigationReads Last State reasons and previous container logs to explain why a pod restarted.
- Cascade detectionLooks for a shared dependency failure, such as Redis, behind simultaneous restarts across services.
- Resource pressure checksReviews per-pod and node CPU, memory, disk, and node pressure conditions.
- Redis diagnosticsRuns redis-cli checks for memory, persistence, clients, stats, and AOF configuration.
- Queue inspectionReads stream lengths, consumer group lag, and pending messages for Buttercup queues.
- Health check reviewChecks the freshness of the health check file that liveness probes rely on.
- Telemetry and storage checksVerifies OpenTelemetry settings, PVC status, and corpus tmpfs mounts.
What you need
- kubectl access to the cluster and the crs namespace
- A Buttercup deployment in the crs namespace
- Redis pods running in the crs namespace for redis-cli checks
- Optional Signoz deployment for distributed tracing
Try asking
- Why are several pods in the crs namespace restarting at the same time?
- Check the Redis AOF and persistence settings in the crs namespace.
- Show consumer group lag for the fuzzer_build_queue stream.
Good to know
- Referenced supporting files such as failure-patterns.md and diagnose.sh are not bundled and must be supplied separately.
- Use only when the task matches the crs namespace scope. Node-level commands are not limited by namespace.
- Redact logs, CLIENT LIST output, and OTEL variables before sharing. Read-only diagnostics may expose credentials.
- Do not restart Redis or change durability settings during diagnosis without a separate scoped recovery plan.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/debug-buttercup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB
Alternatives to debug-buttercup
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
debug-buttercup: common questions
What does debug-buttercup check first when pods keep crashing?
It starts with kubectl pod status, events, and warning events in the crs namespace. Then it narrows to Last State reasons and previous container logs.
How does it tell whether a restart issue is still happening?
The source says high restart counts can be historical. It recommends using log output since 300 seconds ago and checking Last State timestamps.
Does it work outside the crs namespace?
The source says not to use it for debugging issues outside the crs Kubernetes namespace.
How do I install debug-buttercup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is debug-buttercup free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is debug-buttercup safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to debug-buttercup?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
