# Agent Done Gate: Prove Tasks Finished, Not Claimed

> Stops your AI agent from saying "done" too early: write the completion criteria first, start every one as failed, and let only fresh evidence from tests, files and commands turn them green. Includes a runner that locks the criteria so they cannot be quietly weakened.

Agent Done Gate: Prove Tasks Finished, Not Claimed is a paid AI agent skill on Agensi by Vijay Kumar, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $6 (one-time purchase)
- Creator: [Vijay Kumar](https://www.agensi.io/creators/vijay-kumar-1)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-done-gate-prove-tasks-finished-not-claimed
- Tags: testing, ai-agents, code-review, definition-of-done, agent-verification, completion-gate, acceptance-criteria, quality

## What it does

- Writes 3 to 8 checkable completion criteria before any work starts, all marked failed
- Separates builder and verifier roles so an agent never grades its own work
- Runs file, text-match, command and coverage checks fresh and records the evidence for each
- Treats judgment-based criteria as failed until a verifier supplies quoted evidence
- Locks the criteria file with a checksum so edits after the fact fail the gate
- Prints a pass or fail table with the next fix, and records any human override

## Who it's for

- **Developers and technical leads:** Stop trusting your agent when it says a feature is finished and actually verify the code works. Try: "Run a completion check on the new login feature I just built."
- **Project managers overseeing AI work:** Get a clear report of what is actually done versus what the agent just claims is done. Try: "Verify this project is really done using the definition of done criteria."
- **Founders building with agents:** Ensure every new piece of code meets your quality standards before you accept it. Try: "Check if the payment integration is finished according to our original plan."

## About this skill

AI agents are cheerful and quick to say "Done!" even when a test was skipped, a file was never written or a flag does nothing. The builder is the worst judge of its own work.

**Agent Done Gate** fixes the incentive. Before building, the agent writes the finish line as a short list of checkable criteria, such as "`cli.py` contains `--dry-run`", "`pytest -k dry_run` exits 0" or "coverage is at least 80%". Every one starts as **failed**. When the work is finished, a separate verifier step runs every check fresh, records the evidence (exit code, matched line, coverage number) and only then turns a criterion green. Phrases like "all done" count for nothing.

The bundled runner script makes this concrete. It runs the checks without a shell, inside your project folder, with a timeout, and prints a table you can paste into a PR. You can freeze the criteria file with a checksum, so if anyone edits it later to make the work pass, the gate fails with "criteria changed after freeze". For criteria that only a person or model can judge, the runner accepts a judgments file, and a judgment without quoted evidence is ignored.

**You end up with** a clear yes or no on "is it really done", an evidence table, and a short list of what to fix next. Works for code changes, data tasks, documents and migrations.

## Requires

- Git

## Known limitations

Automated checks only work on files and commands the agent can access locally. LLM-based checks are used only when runnable tests are impossible.

## Technical details

Files: `SKILL.md`, `README.md`, `scripts/run_gate.py` (about 7 KB, standard library only), `references/writing-good-criteria.md`, `examples/`. Kinds: file, contains, command, coverage, llm. Flags: `--freeze`, `--dry-run`, `--judgments`, `--report`, `--allow-shell` (off by default). Permissions to expect in the scan: file read, subprocess execution of commands written in the user's own criteria file (no shell by default, timeout enforced).

## 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 Agent Done Gate: Prove Tasks Finished, Not Claimed 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

### Why do I need this if my AI agent already tells me when it is finished?

It prevents your AI agent from claiming a task is done based on its own opinion. By requiring a list of checkable requirements to be written before the work starts, it forces the agent to prove every item is finished with evidence like finding a specific file or running a test command.

### Do I need any special software or accounts to use this skill?

You only need a way for your agent to read and write files. The skill uses a Python script and can read from simple checklists in your notes or structured files like JSON or Markdown to track the requirements.

### What kind of report will I see when the check is complete?

The skill provides a clear table showing every requirement, whether it passed or failed, and the specific proof for each. For example, it might show that a file exists and has the correct size, or that a specific command finished successfully.

### Are there things this skill cannot verify for me?

It cannot check external websites or private online accounts unless your agent already has access to them. It is also limited to checking things it can see in your files, like code, data, or documents.

### How do I tell my AI agent to start the verification process?

You can tell your agent to use it by saying phrases like verify this is really done, perform a completion check, or use the definition of done. It is best to trigger it before the agent reports a task as complete.

### How does this stop the agent from just grading its own work and saying it is perfect?

The skill separates the worker role from the checker role. It requires the agent to act as an independent verifier that ignores its own previous reasoning and only looks at fresh, runnable evidence to decide if the task truly meets the criteria.

---

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.
