Skip to content
Back to skills

Bento Investigate

ASecurity

Evidence-first root-cause debugging. Use when something is broken, erroring, or behaving wrong and you need the cause, not a symptom patch. Diagnose an unexpected regression here; use bento-hillclimb to improve a measured baseline through experiments. Triggers: "why is this broken", "debug this", "500 error", "it fails when", "find the root cause".

  • 20 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
developmentgorailsdebugging

Works with

  • cli

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add gnibu/tokens-on-track --skill bento-investigate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bento Investigate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bento Investigate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gnibu-bento-investigate/badge)](https://www.skillsdirectory.com/skills/gnibu-bento-investigate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bento-investigate
description: |
  Evidence-first root-cause debugging. Use when something is broken, erroring, or behaving
  wrong and you need the cause, not a symptom patch. Diagnose an unexpected regression here;
  use bento-hillclimb to improve a measured baseline through experiments. Triggers:
  "why is this broken", "debug this", "500 error", "it fails when", "find the root cause".
---

# Investigate

A bug report names a symptom. Find the cause and fix it where all callers route through, so
no sibling path stays broken.

**Repo layer first.** Read the repo's `AGENTS.md`/`CLAUDE.md` and, if it exists, the
overlay `.agents/bento/bento-investigate.md` at the repo root; follow it under the
[overlay rules](../bento-learn/references/instruction-layer.md#repo-overlays-for-bento-skills).

## Steps (paste as todos)

1. **Reproduce first.** Get a deterministic repro before theorizing. Can't reproduce →
   gather evidence (logs, trace, inputs) until you can. No repro, no fix.
2. **Capture the evidence.** Exact error, stack, inputs, the failing values. Write down what
   you observe vs what you expected.
3. **Locate the shared point.** Find the function that misbehaves, then `grep` every caller.
   The cause usually lives where they converge, not in the one path the report named.
4. **Form one hypothesis and test it.** Change nothing else. Confirm the hypothesis explains
   the observed evidence before fixing.
5. **Fix at the source.** One guard/fix in the shared function beats a patch in every
   caller — smaller diff, and it fixes the siblings too.
6. **Prove it.** Re-run the repro → gone. Add or adjust a test that fails without the fix,
   so it can't regress.

## Guardrails

- Don't patch the symptom on the named path and stop — the other callers are still broken.
- A "this is fine / expected" conclusion is valid only if the same observable can't also be
  the failure. If a genuinely broken state looks identical, keep digging.
- Don't stack speculative fixes; one variable at a time (see `bento-hillclimb`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.