Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

debug-buttercup

Skill by trailofbits

Debugs the Buttercup CRS (Cyber Reasoning System) running on Kubernetes in the crs namespace. It covers pod crashes, restart loops, Redis failures, resource pressure, disk saturation and DinD issues. Built for operators troubleshooting a Buttercup deployment.

  • Score 73
  • 1.8k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install debug-buttercup

Built from the published package, never by AI.

git clone --depth 1 https://github.com/trailofbits/buttercup /tmp/buttercup && mkdir -p ~/.claude/skills && cp -r /tmp/buttercup/.claude/skills/debug-buttercup ~/.claude/skills/debug-buttercup

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install debug-buttercup in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Debug Buttercup is an agent skill for diagnosing the Buttercup Cyber Reasoning System when it runs on Kubernetes in the crs namespace. It covers pod crashes, restart loops, Redis failures, resource pressure, disk saturation and DinD issues. The skill gives a triage workflow that starts with pod status, events and warning filters, then narrows down with describe output, previous container logs and resource checks.

It also includes Redis and queue inspection commands for the stream keys and consumer groups the services use, health check file checks, and Helm value verification. A failure-pattern reference covers about 20 services, from redis and build-bot to the scheduler and the UI. The skill points to a diagnose.sh script for a one-pass snapshot. It is aimed at operators and developers who run a Buttercup deployment and need to troubleshoot its services.

Written from the project's SKILL.md and checked against it.

What it can do

  • Triage workflowStarts with pod status, events and warning filters to find failing services.
  • Log analysisReads current and previous container logs, including all replicas of a service.
  • Cascade detectionSpots a shared dependency failure, such as Redis, behind mass restarts.
  • Redis debuggingRuns redis-cli checks for memory, persistence, clients and AOF configuration.
  • Queue inspectionChecks Redis stream lengths, consumer group lag and pending messages.
  • Resource pressure checksReviews pod and node CPU, memory, disk and node conditions.
  • Health check reviewChecks the freshness of the health check file used by liveness probes.
  • Deployment config verificationConfirms pod resource limits and volumes match the intended Helm values.
  • Service-specific debuggingPoints to per-service symptoms and fixes in a failure patterns reference.
  • Diagnostic scriptRuns deployment/diagnose.sh for a one-pass snapshot, optionally with full logs.

What you need

  • kubectl access to a cluster running Buttercup in the crs namespace
  • A Buttercup deployment repository to run deployment/diagnose.sh from its root
  • Bash to run the included scripts

Try asking

  • Triage the pods in the crs namespace and list any with restarts
  • Check whether Redis is causing the restart loops in the crs namespace
  • Show the queue depths and consumer lag for the build queue in crs

Good to know

  • Not for deploying or upgrading Buttercup
  • Not for issues outside the crs Kubernetes namespace
  • Not for performance tuning without a failure symptom

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/debug-buttercup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to debug-buttercup

All alternatives →
deploy-release-testvercel
94

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.

AAA Skill 144k
deepeval-tracingconfident-ai
94

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.

AAA Skill 20k
azure-container-registry-cligithub
94

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.

AAA Skill 42k
crabbox-appsopenclaw
94

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.

AAA Skill 395k
gke-batch-hpcgoogle
94

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.

AAA Skill 25k
gke-cost-analysisgoogle
94

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.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

debug-buttercup: common questions

Which services does Debug Buttercup cover?

The source lists redis, fuzzer-bot, coverage-bot, seed-gen, patcher, build-bot, scheduler, task-server, task-downloader, program-model, litellm, dind, tracer-bot, merger-bot, competition-api, pov-reproducer, scratch-cleaner, registry-cache, image-preloader and ui.

Does the skill change anything in the cluster?

The source shows read-oriented commands such as get, describe, logs, top and redis-cli inspection. It does not state that it modifies resources.

What if the deployment is not in the crs namespace?

The source says to override the namespace with the BUTTERCUP_NAMESPACE environment variable when running diagnose.sh.

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 AGPL-3.0 licence. The service it connects to may have its own pricing.

Is debug-buttercup safe to use?

It scores 73 of 100. Grades: maintenance B, licence C, 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.

debug-buttercup Install

Add to stack

Loading.