Qval
A local-first Claude Code plugin for evaluating customer support tickets with an LLM, with humans, and then comparing the two. It scores any ticket set in the ticket format, whether you exported it from your own helpdesk or generated it with Qbort, Qval's sibling tool for making realistic fake ones.
It is three commands. /qval:draft comes first and writes the scoring config, from your own rules or a description. Then, in either order, /qval:evaluate-tickets runs the LLM evaluation, either inside Claude Code on whatever model your session is using or, if you chose it, through Typesafe's Jev, and /qval:review opens a browser tab for the parts a person has to do by hand, which are adjusting the schema and the rules, filling in the human evaluation ticket by ticket, and reading the comparison. Both halves read and write the same *.qval.json, and two people's files of the same ticket set merge into per-ticket means, distributions, and a human-vs-LLM comparison.
Everything runs on your machine. Scoring with Claude needs no API key and no provider to configure. The review UI is served from 127.0.0.1, and the only network egress is Claude Code's own, plus Typesafe's API if you choose the optional Jev scorer.

Highlights
- No API key for Claude scoring. The evaluation runs on the ambient Claude model through parallel subagents, with a dependency-free Node engine owning everything structural (schema validation, fingerprints, batching, per-value validation, atomic writes). Ticket content never enters the orchestrating agent's context.
- Typed schema (score / boolean / enum / text, each optionally multi-valued) and free-form rules, both snapshotted into every eval file and hashed into a fingerprint that merging gates on.
- LLM and human scores are pooled separately and compared per property. The gap between them is the output, not an afterthought.
- Nothing to install past the plugin itself. No build step, no
npm install, no PATH management. Just Node.
Install
In Claude Code:
/plugin marketplace add balevine/qval
/plugin install qval@qval
"Marketplace" is a misleading word for it. It means a git repo with a manifest in it, and there is no listing and no approval from anyone.
If you would rather read the source before running it, clone the repo and point Claude Code at the clone. The repo root is itself the marketplace, so it installs the same way a remote does.
git clone https://github.com/balevine/qval
/plugin marketplace add ./qval
/plugin install qval@qval
Requires Node.js 20+ on your PATH. Nothing else.
All three skills set disable-model-invocation: true, so they cost nothing in your context window until you type them. The trade is that asking in prose ("evaluate these tickets") will not trigger them. Type /qval:draft, /qval:evaluate-tickets, or /qval:review.
The ticket format
A ticket file is JSON: either { meta, tickets: [...] } or a bare array of tickets. meta is optional and only ever displayed. Each ticket is
{
"id": 1,
"subject": "Refund not received",
"status": "open",
"messages": [
{
"from": { "name": "Dana Okonkwo", "email": "[email protected]" },
"body": "I returned the order two weeks ago and haven't seen the refund.",
"isStaff": false,
"createdAt": "2026-09-01T10:00:00Z"
}
]
}
Only the integer id is required, and it only has to be unique within the file. Everything else is filled in when it's missing, so a thin export still works: status falls back to open (the recognized values are new, open, pending, on-hold, solved, closed), and absent text becomes empty. Unknown fields are ignored, so you can leave whatever else your helpdesk exports in place. messages[0] is read as the opening message and the rest as the conversation in order. isStaff is what separates your agents from the customer in the rendered prompt.
Exporting your own data is a supported path, not a workaround. Write a small script that maps your helpdesk's export into the shape above and you are done. Nothing downstream cares where the file came from.
Usage
Put your ticket file in a directory and open Claude Code there. Qval reads and writes in the working directory and never modifies the ticket set. The filename doesn't matter: Qval finds a dataset by reading the .json files in the directory and checking which ones parse as tickets, so zendesk-export-q3.json is found exactly like tickets.json. You can always name the file explicitly instead.