# Invoice Trace Evaluator

> Audit invoice agent traces, isolate the first point of failure, and verify outcomes against recorded evidence.

Invoice Trace Evaluator is a free AI agent skill on Agensi by 中二, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [中二](https://www.agensi.io/creators/creator-1499)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/invoice-trace-evaluator
- Tags: testing, debugging, trace-analysis, llm-ops, invoice-processing

## About this skill

Auditing invoice agent performance requires more than just reading logs. It demands a rigorous check of evidence against outcomes to find exactly where a process failed. This skill reviews recorded agent traces, compares baseline versus candidate runs, and identifies the earliest point of deviation using hard evidence like call logs and receipts.

### What it does
- **Evidence verification** checks recorded calls and receipts to confirm if invoice creation is actually supported by data.
- **Fault isolation** identifies the earliest provable consequential deviation by citing specific event IDs or timestamps.
- **Run comparison** analyzes two runs of the same task to highlight meaningful differences in behavior and outcomes.
- **Outcome validation** determines if an agent handled requests correctly based on usable final callbacks or run summaries.
- **Artifact generation** creates HTML evidence timelines and machine-validated submissions using local evaluator tools.

### How it works
1. Supply the trace files or paste the event excerpts directly into the conversation.
2. The skill applies a systematic evidence checklist to verify outcomes and identify missing receipts.
3. It performs a side-by-side comparison if multiple traces are provided for the same task.
4. It triggers local evaluator instructions to process files into HTML timelines or specific report formats.

### Frameworks & tools
This skill is designed for debugging invoice-agent workflows. It utilizes local evaluation CLI tools for artifact generation and relies on Markdown for structured evidence reporting.

### Why this beats prompting it yourself
Generic prompts often hallucinate outcomes based on logs without verifying if the underlying receipts exist. This skill enforces a strict evidence-first checklist that ignores instructions embedded in traces, preventing the agent from being "tricked" by the data it is auditing.

### Use cases
- Debugging why an agent failed to create an invoice despite a successful summary.
- Comparing a new model version against a baseline trace to detect regressions.
- Generating a visual HTML timeline of events for a stakeholder review.
- Identifying the specific event ID where an agent diverged from requirements.

### Known limitations
Does not execute calls or follow links found within traces. Outcomes remain unknown if usable final receipts or callbacks are missing from the logs.

## 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 Invoice Trace Evaluator 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 the Invoice Trace Evaluator differ from a standard log analyzer?

This skill specializes in 'fault isolation,' meaning it doesn't just list errors; it identifies the exact event ID or timestamp where a process first diverged from the requirements, saving hours of manual log scrolling.

### Which AI agent frameworks or invoice platforms is this skill compatible with?

The skill is designed to be framework-agnostic and can analyze traces from any invoice agent, provided you can supply the logs, event excerpts, or call recordings in a text-based format.

### What is the setup process for integrating this skill into my debugging workflow?

No complex installation is required; the skill is ready to use once added to your workspace, though it is optimized to trigger local CLI tools for users who wish to generate visual HTML evidence timelines.

### How does this skill handle agents that report a 'success' despite missing or incorrect data?

The skill is 'evidence-first,' meaning it cross-references agent claims against actual receipts and call logs in the trace, preventing it from being misled by hallucinated summaries or false-positive status codes.

### What specific artifacts or deliverables are included with the purchase of this skill?

You receive the full evaluator skill set, including the logic for side-by-side run comparisons, the evidence-verification checklist, and the templates for generating structured HTML audit reports.

---

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.
