# agent work verifier

> Detect unfinished code, empty tests, and swallowed errors in AI-generated diffs using structural analysis.

agent work verifier is a free AI agent skill on Agensi by Johnny Gu, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Johnny Gu](https://www.agensi.io/creators/johnny-gu)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 5
- Version: 1.0
- Last updated: 2026-08-11
- Security: scan passed (2026-08-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-work-verifier
- Tags: ai-agents, python3, testing, javascript, code-review

## About this skill

### The problem

Coding agents often report success on unfinished work. They leave behind `pass` statements, empty test assertions, and swallowed exceptions that result in false-positive green builds.

### What it does

- Scans for structural stubs like `NotImplementedError`, `...`, or docstring-only function bodies using Python AST.
- Detects "hollow" tests that contain no assertions or verifying calls.
- Identifies code that was defined but never referenced or wired up in the scanned tree.
- Locates forgotten debug statements like `breakpoint()`, `debugger`, or `.only` test flags.
- Catches swallowed exceptions and `xfail` markers that hide runtime failures.

### Frameworks & tools

Works with Python 3.8+ (AST-based) and JavaScript/TypeScript (pattern-based). No external dependencies required.

### Why this beats prompting it yourself

Generic LLM prompts often fail to catch their own omissions because the model "hallucinates" that the logic is there. This tool uses structural analysis to find objective evidence of unfinished work that a visual diff review will likely miss.

### Use cases

- Pre-merge checks for AI-generated pull requests.
- Automated verification after an agent claims a task is complete.
- Identifying silent test failures in CI/CD pipelines.
- Cleaning up debug artifacts and dead code before shipping.

### Known limitations

Python checks are structural and highly accurate, but JavaScript/TypeScript checks use pattern matching and may yield lower confidence results. It does not judge code quality, style, or performance.

## Requires

- Python

## 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 work verifier 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 this skill prevent AI agents from reporting success on unfinished tasks?

This skill acts as an automated auditor for AI-generated code, identifying 'lazy' patterns like empty test assertions, TODO stubs, and swallowed exceptions that often cause false-positive results in agentic workflows.

### Which programming languages and frameworks are currently supported?

It provides deep structural analysis for Python 3.8+ using AST (Abstract Syntax Tree) and utilizes robust pattern matching for JavaScript and TypeScript files.

### Can I integrate this verifier into my existing AI agent or CI/CD pipeline?

Yes, it is designed to be agent-agnostic and can be integrated as a verification step for any AI agent that outputs code diffs or file changes, ensuring work is complete before it reaches a human reviewer.

### Why should I use this instead of just asking my AI agent to double-check its own work?

Unlike a generic LLM prompt that might hallucinate completion, this tool uses objective structural analysis to find specific evidence of missing logic, such as unreferenced definitions or forgotten debug statements.

### What is included in the purchase of the Agent Work Verifier?

The purchase includes the core analysis engine, documentation for integration, and lifetime access to version updates, including future improvements to the JavaScript/TypeScript detection patterns.

---

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.
