Don't be Dumb!

    1

    A recovery and reality-check skill that stops AI coding agents from going in circles and forces evidence-based debugging.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    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.ts was modified in the last 3 turns.
    • GET /api/v1/profile returns 401 in curl tests.
    • Passport strategy JWT is initialized in app.ts.

    Assumptions

    • The issue is inside the middleware logic.
    • The environment variables for JWT_SECRET are 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

    1. Passport v0.6 requires explicit session: false which is missing in the new config.
    2. The JWT secret in the .env file is being shadowed by a shell export.
    3. 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

    1. Run the suggested diagnostic to verify the secret.
    2. Check the Passport.js migration guide specifically for session handling changes.
    3. If the secret is valid, perform a git diff 7d2f3a middleware/auth.ts to 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

    1. Trigger the skill manually with don't be dumb or allow the agent to auto-activate when it detects repeated failed attempts.
    2. Reconstruct the original task and constraints to strip away accidental scope creep.
    3. Analyze the gap between the last working state and the first failure to isolate the actual change that caused the regression.
    4. 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

    GitHub
    Node.js

    Listed9 days ago

    What's inside

    Frequently Asked Questions