- Home
- Skills
- Testing & Debugging
- Don't be Dumb!
Don't be Dumb!
A recovery and reality-check skill that stops AI coding agents from going in circles and forces evidence-based debugging.
Free
Works with the AI Agents you already use
Don't be Dumb!
Example session with this skill installed
don't be dumb. you've tried changing the auth middleware three times and the 401 error is still there. zoom out.
- Read your context and instructions
- Compiled the don t be
DON'T BE DUMB CHECK
Status: POSSIBLE REASONING LOOP
Original goal: Resolve 401 Unauthorized errors on the /api/v1/profile endpoint.
Last known good: Commit 7d2f3a (before the Passport.js upgrade).
Current failure: All authenticated requests return 401 despite valid Bearer tokens.
Facts
middleware/auth.tswas modified in the last 3 turns.GET /api/v1/profilereturns 401 incurltests.- Passport strategy
JWTis initialized inapp.ts.
Assumptions
- The issue is inside the middleware logic.
- The environment variables for
JWT_SECRETare correctly loaded.
Evidence for current hypothesis: Middleware logs show "Authentication failed" string.
Evidence against: The same middleware works for /api/v1/health.
What changed: Passport.js was updated from v0.4 to v0.6, which changed the session default.
Possible explanations
- Passport v0.6 requires explicit
session: falsewhich is missing in the new config. - The JWT secret in the
.envfile is being shadowed by a shell export. - The client is sending a malformed header that the new version parses differently.
Best next diagnostic: cat .env and check process.env.JWT_SECRET via a temporary log in app.ts.
Why: If the secret is mismatched, no amount of middleware refactoring will fix the 401.
Do not change code yet.
Next steps
- Run the suggested diagnostic to verify the secret.
- Check the Passport.js migration guide specifically for session handling changes.
- If the secret is valid, perform a
git diff 7d2f3a middleware/auth.tsto see what was deleted.
Connects securely to your tools. The creator never sees your data.
About this skill
Coding agents often fall into reasoning tunnels, digging deeper into speculative fixes while ignoring the root cause. This leads to broken builds, regressed code, and wasted tokens. This skill provides a structured recovery layer to halt speculative edits and force a reality check based on evidence rather than assumptions.
What it does
- Stops speculative loops by halting multi-variable edits and workarounds when progress stalls.
- Establishes Last-Known-Good states by auditing git history, logs, and user confirmations to find the boundary of failure.
- Audits evidence by strictly separating established facts from unproven assumptions and citing sources.
- Challenges hypotheses via internal self-questioning to detect confirmation bias or symptom-fixing.
- Plans minimal diagnostics by identifying the smallest action needed to prove or falsify the current direction.
How it works
- Trigger the skill manually with
don't be dumbor allow the agent to auto-activate when it detects repeated failed attempts. - Reconstruct the original task and constraints to strip away accidental scope creep.
- Analyze the gap between the last working state and the first failure to isolate the actual change that caused the regression.
- Execute a diagnostic plan that prioritizes gathering evidence over modifying code.
Frameworks & tools
This skill is platform-agnostic and works with any environment where the agent has access to git, test runners, and terminal output. It is designed for use in Claude Code, Cursor, and other agentic IDE environments.
Why this beats prompting it yourself
Manual prompting often fails once the agent is already in a reasoning loop because the context is saturated with its own incorrect assumptions. This skill provides a rigid, phase-based framework that forces the agent to move out of its own context and treat its previous actions as untrusted data.
Use cases
- Recovering when an agent keeps "fixing" the same file but the test still fails.
- Identifying why a previously working feature suddenly broke after a series of complex refactors.
- Breaking out of a loop where the agent keeps suggesting the same library update or config change.
Known limitations
Does not perform automated rollbacks without explicit permission. Requires access to local history or git to establish a credible last-known-good state.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 9 days ago
- Free to download with an account
Requires