Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    Agent Drift & Self-Correction Auditor

    by Vladisav Jovanovic

    1

    Detect AI agent drift, repeated failure loops, unsupported assumptions, stale plans, and tool-state mismatches — then force a clear continue, verify, retry, revise, ask, escalate, or stop decision.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    The agent has tried to fix the 'undefined user' error three times by changing the same line in auth.js. It keeps saying 'I will try again.' Audit the current state and prevent a loop.

    Your agent does

    Drift status: BLOCKED Objective: Fix 'undefined user' error in auth.js. Failure signal: Repetitive action without hypothesis change. Correction: The current fix does not address the underlying null check. Next state: REVISE Next action: Inspect middleware.js for initial user injection.

    What you get

    Break infinite retry loops by forcing a plan revision after two failures.Ground agent claims in observable tool evidence rather than narrative.Identify stale assumptions when environment state or file paths change.Escalate to human review when agent actions carry high risk or cost.

    About this skill

    The problem

    AI agents can keep working long after the plan has stopped working. They repeat failed actions, preserve stale assumptions, ignore contradictory tool results, and sometimes change their explanation without changing the execution path.

    What it does

    • Re-anchors the agent to the actual objective and completion condition.
    • Detects repeated failure loops, non-progress, stale assumptions, and tool-state mismatches.
    • Separates what the agent knows from what it is merely assuming.
    • Checks whether an error actually changed the plan or only changed the wording.
    • Tracks who or what carries the cost if the agent continues incorrectly.
    • Forces an explicit CONTINUE, VERIFY, RETRY, REVISE, ASK, ESCALATE, or STOP decision.
    • Maintains a concise correction trace so the same failure is less likely to repeat during the workflow.

    Why use this skill

    Generic “reflect and try again” prompting can create the appearance of self-correction without changing the agent’s route. This skill makes correction operational: new evidence must change the next action, plan, confidence, verification requirement, route, or stop condition.

    Use cases

    • Long-running coding and research agents.
    • Agents repeatedly calling failing tools.
    • Autonomous workflows that wander away from the original task.
    • Debugging agent loops and stalled execution.
    • Adding explicit revision and stop gates to multi-step workflows.
    • Reducing wasted tokens and repeated failed actions.

    Known limitations

    This skill cannot create persistent model learning by itself and does not guarantee correctness. Durable cross-session correction depends on the capabilities of the host agent, memory system, workflow, and available tools. High-stakes or destructive actions still require appropriate human review and authorization.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    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

    30-day refund

    Not a fit? Get your money back

    Frequently Asked Questions

    Popular in Workflow Automation