# AI-Loop — Independent Verification for Claude Code

> A gated multi-agent workflow for Claude Code with adversarial review, independent verification, and evidence before human acceptance.

AI-Loop — Independent Verification for Claude Code is a paid AI agent skill on Agensi by Rolando, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $8 (one-time purchase)
- Creator: [Rolando](https://www.agensi.io/creators/crolandojr)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-10-08
- Security: scan passed (2026-10-08); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ai-loop-independent-verification-for-claude-code
- Tags: ai-agents, workflow-automation, code-review, testing, claude-code, multi-agent, quality-gates, spec-driven-development

## About this skill

### Your AI agent says “done.” What proves it?

When the same agent plans, implements, and checks a change, its blind spots can survive the review. AI-Loop gives Claude Code a structured multi-agent protocol: separate roles, explicit quality gates, and evidence for every acceptance criterion.

The implementer does not verify its own work. Passing tests does not automatically mean acceptance. The human owner decides when the work is done.

### What it does

- **Separates implementation from verification.** Distinct agents handle adversarial review, implementation, and independent verification.
- **Challenges the specification.** An adversarial gate tests assumptions and technical claims before implementation proceeds.
- **Requires meaningful test evidence.** The implementation protocol calls for failing assertions, baseline checks, and mutation checks where applicable.
- **Verifies independently.** A separate verifier uses its own probes on a different model. The coder’s report is an input, never proof.
- **Makes uncertainty explicit.** PASS requires evidence for every acceptance criterion. FAIL, BLOCKED, and UNKNOWN have distinct routes; UNKNOWN never counts as PASS.
- **Structures handoffs.** Written handoffs and fresh sessions at phase boundaries help manage context and preserve progress.

### How it works

1. **Versioned specification:** Define scope, acceptance criteria, and measured technical claims.
2. **Adversarial gate:** Challenge the plan using independent checks and isolated worktree probes.
3. **Implementation:** Execute the approved specification and report changes, checks, and unresolved limitations.
4. **Independent verification:** Re-measure acceptance criteria and review the complete diff.
5. **E2E checks:** Verify the resulting behavior through the relevant end-to-end checks.
6. **Human acceptance:** Present the evidence and remaining risks for the owner’s decision.

### Best suited to

- Root-cause fixes that need more than a plausible patch.
- Features involving schemas, permissions, data, or explicit behavioral contracts.
- Substantial refactoring where existing behavior must be preserved.
- Changes that benefit from adversarial review and clear approval boundaries.

### What you get

The complete SKILL.md, a quick-start installation guide, and the original MIT license. Install it as a personal or project skill in Claude Code.

### Requirements and limitations

Requires Claude Code with skills and subagents, access to a different model for independent verification, and a Git repository with the relevant build, test, and E2E tools. Human participation is required for approvals and session handoffs. Model usage costs are separate.

AI-Loop provides agent instructions, not deterministic enforcement. Compliance and bug-free results are not guaranteed. The workflow adds time and token overhead and is not suitable for trivial renames or formatting changes.

No model access, executable engine, automated test fixtures, or personalized consulting is included. Compatibility with other agents has not been validated.

### Open source, packaged for convenience

AI-Loop is available free under MIT on [GitHub](https://github.com/cRolandoJr/ai-loop-skill). Purchase this ready-to-install package through Agensi to support the author.

## Known limitations

Requires Claude Code with skills and subagents, plus access to a different model for independent verification. Adds time and token overhead; costs vary by task and configuration. Not suited to trivial renames or formatting changes.

The protocol uses written handoffs and fresh sessions at phase boundaries, which may require manual continuation. It provides agent instructions, not deterministic enforcement, and does not guarantee bug-free results. Build, test, browser, and E2E tools must be available in the user's environment. Other agent platforms have not been validated.

## 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 AI-Loop — Independent Verification for Claude Code skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does AI-Loop differ from the standard Claude Code workflow?

AI-Loop introduces a 'separated duties' protocol where the agent that writes the code is not the one that verifies it. It solves the problem of 'hallucinated success' by requiring independent adversarial review and evidence-based quality gates before any code is presented to you for final approval.

### Which AI agents and models are compatible with this skill?

This skill is specifically designed for Claude Code and utilizes its subagent capabilities. For the independent verification phase, it is recommended to have access to a secondary model (such as a different version of Claude or a GPT-4 variant) to ensure a truly unbiased review process.

### What exactly is included in the purchase?

You will receive the complete SKILL.md file, a quick-start installation guide, and the MIT license documentation. This package provides the structured prompts and workflow instructions needed to instantly add these multi-agent capabilities to your Claude Code environment.

### Should I use this workflow for every small change I make?

AI-Loop is best reserved for complex tasks like root-cause bug fixes, schema changes, or major refactors where errors are costly. Because it involves multiple steps and independent verification, it is not recommended for trivial tasks like typo fixes or CSS formatting where the overhead would outweigh the benefits.

### Is the setup process difficult for non-technical users?

Installation is straightforward: you add the provided SKILL.md to your project's skill directory or your global Claude Code configuration. The included guide walks you through the folder structure and how to trigger the 'Adversarial Gate' to begin a new verified session.

### Can I customize the verification criteria for my specific project?

While the core logic is provided as a ready-to-use skill, it is licensed under MIT, allowing you to tweak the quality gates or reporting templates to match your specific team's coding standards or testing frameworks.

---

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.
