Karvey — Model Benchmark (cross-model)
CROSS-CUTTING SKILL of the Karvey Method. It is a support layer, NOT a phase. It does not advance or modify the method's cycle: it never touches spec.json:phase. It can be invoked at any time without altering the project's state.
Inspired by gstack /benchmark-models: a side-by-side comparison of models (for example Claude vs GPT vs Gemini) over the same skill or task, measuring latency, tokens, cost, and, optionally, quality judged by an LLM.
Purpose
Decide with data which model is best for a given task or skill in the project. Instead of choosing a model by intuition or habit, this skill runs the same task across several models and delivers an objective comparison table plus a well-founded recommendation.
It is a meta / diagnostic skill: it observes and measures, but it does not modify the project's code or produce artifacts from the method's phases. It generates no commits, does not change the solution's files, does not advance the phase.
Steps
Define the task and the models to compare.
- Identify the target task or skill (from the argument or by asking the user).
- Detect the model CLIs available in the environment:
claude, codex/gpt, gemini, etc.
- Degrade gracefully: if a CLI is not accessible, exclude it from the benchmark and warn. Compare only the models actually available.
Run the same task on each model.
- Use exactly the same prompt/input for all, so the comparison is fair.
- Run in isolation per model and capture the full output of each one.
Measure latency, tokens, and cost.
- Latency: wall-clock time of each run.
- Tokens: input + output reported by each CLI.
- Cost: estimate from tokens and each model's current price.
(Optional) Quality judged by an LLM-judge.
- If quality needs to be evaluated, use a model as judge to score the outputs against an agreed rubric (accuracy, completeness, format, etc.).
- Keep the judge fixed and the rubric explicit so the scores are comparable.
Comparison table + recommendation.
- Present a side-by-side table: model, latency, tokens, cost, and (if applicable) quality.
- Close with a clear recommendation of which model is best for that task and why (cost/quality/latency balance per the objective).
Reminders
- Does not advance the phase. This skill never writes
spec.json:phase or triggers method transitions.
- Does not touch the project's code. It only reads, runs test runs, and reports.
- It is invocable at any point in the Karvey cycle as support for decision-making.
Part of the Karvey™ Method — © HainTech, by Mauricio Quezada Ibáñez · Apache 2.0 · see karvey/LICENSE and karvey/TRADEMARK.md.
1---2name: karvey-benchmark-models3description: Karvey — Model Benchmark (cross-model)4---56# Karvey — Model Benchmark (cross-model)78**CROSS-CUTTING SKILL of the Karvey Method.** It is a **support layer, NOT a phase.** It does not advance or modify the method's cycle: **it never touches `spec.json:phase`**. It can be invoked at any time without altering the project's state.910Inspired by gstack `/benchmark-models`: a side-by-side comparison of models (for example Claude vs GPT vs Gemini) over the same skill or task, measuring latency, tokens, cost, and, optionally, quality judged by an LLM.1112## Purpose1314Decide **with data** which model is best for a given task or skill in the project. Instead of choosing a model by intuition or habit, this skill runs the same task across several models and delivers an objective comparison table plus a well-founded recommendation.1516It is a **meta / diagnostic** skill: it observes and measures, but **it does not modify the project's code** or produce artifacts from the method's phases. It generates no commits, does not change the solution's files, does not advance the phase.1718## Steps19201. **Define the task and the models to compare.**21 - Identify the target task or skill (from the argument or by asking the user).22 - Detect the model CLIs available in the environment: `claude`, `codex`/`gpt`, `gemini`, etc.23 - Degrade gracefully: if a CLI is not accessible, exclude it from the benchmark and warn. Compare only the models actually available.24252. **Run the same task on each model.**26 - Use exactly the same prompt/input for all, so the comparison is fair.27 - Run in isolation per model and capture the full output of each one.28293. **Measure latency, tokens, and cost.**30 - Latency: wall-clock time of each run.31 - Tokens: input + output reported by each CLI.32 - Cost: estimate from tokens and each model's current price.33344. **(Optional) Quality judged by an LLM-judge.**35 - If quality needs to be evaluated, use a model as judge to score the outputs against an agreed rubric (accuracy, completeness, format, etc.).36 - Keep the judge fixed and the rubric explicit so the scores are comparable.37385. **Comparison table + recommendation.**39 - Present a side-by-side table: model, latency, tokens, cost, and (if applicable) quality.40 - Close with a clear recommendation of which model is best for that task and why (cost/quality/latency balance per the objective).4142## Reminders4344- **Does not advance the phase.** This skill never writes `spec.json:phase` or triggers method transitions.45- **Does not touch the project's code.** It only reads, runs test runs, and reports.46- It is invocable at any point in the Karvey cycle as support for decision-making.4748---49*Part of the Karvey™ Method — © HainTech, by Mauricio Quezada Ibáñez · Apache 2.0 · see `karvey/LICENSE` and `karvey/TRADEMARK.md`.*