- Home
- Skills
- Testing & Debugging
- Invoice Trace Evaluator
Invoice Trace Evaluator
by 中二
Audit invoice agent traces, isolate the first point of failure, and verify outcomes against recorded evidence.
Free
Invoice Trace Evaluator
Example session with this skill installed
Compare trace-run-alpha.json and trace-run-beta.json. Identify the first deviation and confirm if the invoice creation in beta is supported by a usable callback receipt.
- Read your context and instructions
- Compiled the invoice trace evaluator
I have evaluated the traces for run-alpha and run-beta. Run-alpha is the baseline.
Invoice Trace Comparison Report
| Metric | Run-Alpha (Baseline) | Run-Beta (Candidate) |
|---|---|---|
| Handling Outcome | Correct | Incorrect |
| Invoice Outcome | Created | Not Created |
| Evidence Source | Final Callback (id: cb_992) | Run Summary Only |
| Status | Verified | Unknown (Missing Receipt) |
Evidence Review
- Run-Alpha: The outcome is supported by a usable final callback
cb_992matching the/invoice_createdstatus. - Run-Beta: The agent reported success in the summary, but the trace is missing the required final receipt. Per the checklist, this outcome is unverified.
Earliest Provable Deviation
The first consequential deviation occurred in Run-Beta at Event ID: 442 (Timestamp: 14:02:11).
- Requirement: The agent must verify the vendor TAX ID before calling the creation endpoint.
- Violation: Run-Beta skipped the
GET /vendor_detailscall and proceeded directly toPOST /invoice, resulting in a 403 Forbidden error at Event ID: 445. - Downstream Effect: The agent failed to retry with the correct credentials, leading to a termination without a valid receipt.
Next steps
- Update the vendor lookup logic in the candidate agent to ensure TAX ID retrieval.
- Run the local evaluator using
inv-eval --html trace-run-beta.jsonto generate the full event timeline. - Re-test the candidate agent against the task to verify the fix.
Connects securely to your tools. The creator never sees your data.
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
- Supply the trace files or paste the event excerpts directly into the conversation.
- The skill applies a systematic evidence checklist to verify outcomes and identify missing receipts.
- It performs a side-by-side comparison if multiple traces are provided for the same task.
- 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.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 6 days ago
- Free with an Agensi account
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in Testing & Debugging
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.