- Home
- Skills
- Testing & Debugging
- LLM Output Contract Regression
More screenshots
Works with the AI Agents you already use
LLM Output Contract Regression
Compare captured baseline and candidate JSON against nested structure and per-fixture rules. Identify new, persistent, and fixed failures before a prompt, model, or provider change.
$5
LLM Output Contract Regression
Example session with this skill installed
Evaluate the example baseline and candidate captures using the bundled support-routing contract. I want a no-new-regressions release gate on all three fixtures. Separate new and pre-existing issues from fixes, then tell me whether the candidate is ready and what to change first.
- Read your context and instructions
- Compiled the llm output contract
Hold the candidate. The checker matched all 3 fixture IDs and returned exit code 1 under the default no-new-regressions gate. It found 2 new violations, 1 persistent violation, and 1 fixed violation.
| Fixture | Change | Finding |
|---|---|---|
| profile-change | New | The action's ticket ID at /actions/0/ticket_id differs from the response ticket ID at /ticket_id. The cross-field rule failed even though both values are valid strings. |
| profile-change | New | /actions/0/auto_execute is outside the closed action schema. |
| password-reset | Persistent | /actions is still empty. The contract calls for at least one action. This would also block the strict gate. |
| receipt-request | Fixed | The candidate supplies /routing/team, which was missing from the baseline. |
Make the candidate copy the response's ticket ID into the queued action and remove the unapproved action property. Capture the revised candidate on the same fixtures and rerun against the same baseline and contract. The receipt improvement stays credited, and the reset fixture remains an existing defect until its action is restored.
Connects securely to your tools. The creator never sees your data.
About this skill
Test the response your application actually consumes
Compare saved baseline and candidate JSON for the same fixtures. Check required fields, nested types and closed-object rules, plus fixture-specific assertions such as an action ID matching its parent response. The checker identifies the fixture, rule, and JSON path for each finding.
Make a repeatable release decision
See which violations are new, persistent, or fixed. The default gate blocks new violations. Strict mode blocks any remaining candidate violation. Use the exit status for a local quality gate or CI job.
Includes a Python checker, a documented contract format, and a complete synthetic support-routing fixture set. The checker compares captured responses locally and runs without a provider account.
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.
The checker covers a documented schema subset and supplied fixtures. It cannot judge subjective response quality or generalize beyond your test cases.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
Python 3.13Local JSON contract and paired captures
Permissions
Reads only the local contract, baseline, and candidate files you supply. Reports fixture IDs and paths to stdout. No credentials or provider calls.