# Don't be Dumb!

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

Don't be Dumb! is a free AI agent skill pack (several skills in one listing) on Agensi by Morteza Pourmirzai, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Morteza Pourmirzai](https://www.agensi.io/creators/pourmirzai)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-11
- Security: scan passed (2026-10-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/don-t-be-dumb
- Tags: ai-agents, code-review, testing, debugging, prompt-engineering

## 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.

## Requires

- Node.js
- GitHub

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Don't be Dumb! skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does 'dont be dumb' actually stop an AI agent from going in circles?

This skill is designed to stop agents from spiraling into 'speculative loops' where they repeatedly apply broken fixes. It forces the agent to stop editing, audit recent changes against git history, and gather hard evidence before attempting another code change.

### Which AI coding agents and IDEs are compatible with this skill?

It is platform-agnostic and works with any agentic environment that has access to a terminal and version control, including Claude Code, Cursor, Windsurf, and custom CLI agents. It relies on standard tools like git and test runners rather than specific IDE APIs.

### Do I need to configure anything special to get this running in my workflow?

Setup is straightforward: you add the skill to your agent's toolset or system prompt instructions. Once installed, it can be triggered manually with a simple command or set to auto-activate when the agent detects a series of failed test runs.

### Will this skill automatically rollback my code if it detects a failure?

No, for safety reasons the skill identifies the 'Last-Known-Good' state but will not force a git reset or delete code without your explicit confirmation. It provides the diagnostic path, but you maintain final control over the codebase.

### What is included in the purchase of this skill?

You receive the full skill integration package, including the structured recovery framework, activation triggers, and a guide for optimal configuration across different LLM providers. Purchasers also get access to logic updates as new 'looping' behaviors are identified in modern models.

### Why can't I just prompt my agent to 'stop and think' for free?

While simple prompts can be ignored once a model is stuck in a reasoning tunnel, this skill uses a phase-based architecture that forces the agent to treat its own recent history as 'untrusted data,' effectively resetting its logic gates without losing the project context.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
