evaluate-model

evaluate-model is a skill for Claude Code from xvirobotics/metaskill. It costs 42 tokens per session (1,166 once invoked), scanned A, original, MIT.

A model-testing workflow that loads a saved training checkpoint and checks it against held-out test data. A checkpoint is a saved version of a trained machine-learning model.

In plain words
What is it for?
Use it after training to measure a model, compare a chosen checkpoint, and produce evaluation metrics and a report.
Why use it?
It removes the manual work of finding the right model and calculating performance results. It also creates a report showing errors by class with a confusion matrix, which compares predicted and actual classes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it after training to measure a model, compare a chosen checkpoint, and produce evaluation metrics and a report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xvirobotics/metaskill/evaluate-model
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xvirobotics/metaskill --skill evaluate-model
Clone the repo
git clone --depth 1 https://github.com/xvirobotics/metaskill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for evaluate-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/xvirobotics/metaskill/evaluate-model/github.svg)](https://agentmods.dev/skills/xvirobotics/metaskill/evaluate-model)
Your own site
<a href="https://agentmods.dev/skills/xvirobotics/metaskill/evaluate-model"><img src="https://agentmods.dev/badge/skills/xvirobotics/metaskill/evaluate-model/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for evaluate-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/xvirobotics/metaskill/evaluate-model"><img src="https://agentmods.dev/badge/skills/xvirobotics/metaskill/evaluate-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.01166
Opus 5.5 $0.00017 $0.00466
Sonnet 5.5 $0.00008 $0.00233
Haiku 4.5 $0.00004 $0.00117

Measured 1mo ago against content hash 4796931a15ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

evaluate-model scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

examples/data-science/.claude/skills/evaluate-model/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are running model evaluation for this project. Your goal is to load a trained model checkpoint, evaluate it on the held-out test set, compute comprehensive metrics, and generate a structured report.

Dynamic Context

Current branch: !git branch --show-current Available checkpoints: !ls checkpoints/*.pt checkpoints/*.pth 2>/dev/null || echo "No checkpoints found" Test data: !ls data/processed/test* data/features/test* 2>/dev/null || echo "No test data found" Latest metrics: !ls -t reports/*.json experiments/*.json 2>/dev/null | head -3 || echo "No previous metrics found" Config files: !ls configs/*.yaml configs/*.toml 2>/dev/null || echo "No configs found"

Checkpoint Selection

If the user provided a checkpoint path as an argument, use it: $ARGUMENTS

Otherwise, find the latest checkpoint:

  1. Look for checkpoints/best_model.pt or checkpoints/best_model.pth
  2. If not found, find the most recently modified .pt or .pth file in checkpoints/
  3. If no checkpoints exist, report the error and stop

Evaluation Process

Step 1: Load and Verify Checkpoint

Verify the checkpoint file exists and can be loaded:

python3 -c "
import torch
ckpt = torch.load('$CHECKPOINT_PATH', map_location='cpu', weights_only=False)
print('Checkpoint keys:', list(ckpt.keys()))
print('Epoch:', ckpt.get('epoch', 'unknown'))
print('Best metric:', ckpt.get('best_metric', 'unknown'))
print('Config:', ckpt.get('config', 'not stored'))
"

Report the checkpoint metadata: epoch, stored metric, config used.

Step 2: Run Evaluation Script

Execute the evaluation:

python3 -m src.models.evaluation.evaluate \
    --checkpoint $CHECKPOINT_PATH \
    --data-dir data/features/ \
    --output-dir reports/ \
    --config configs/experiment.yaml

Alternative patterns to try if the above fails:

  • python3 src/evaluation/evaluate.py --checkpoint $CHECKPOINT_PATH
  • python3 evaluate.py --checkpoint $CHECKPOINT_PATH --test-data data/features/test.parquet

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 153 lines · 42 tokens per session scan A 4796931a15ec

Subscribe to this mod's changes

evaluate-model is a skill published in the GitHub repository xvirobotics/metaskill (73 stars, last pushed 8mo ago), licensed MIT. It adds 42 tokens to every session and 1,166 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

evaluate-model

Load the latest model checkpoint, run evaluation on the test set, and generate a metrics report with confusion matrix. Use this after training to assess model performance or to re-evaluate a specific checkpoint.

morganmuli/metaskill · 42 tokens

run-pipeline

Run the full data science pipeline: validate raw data, preprocess, engineer features, train model, and evaluate. Use this when you want to execute the end-to-end ML pipeline or re-run it after data or code changes.

morganmuli/metaskill · 49 tokens

seo-aeo-geo

Optimize content and site structure for AI-driven search experiences including AI overviews, large language model citations, generative answer engines, and AI assistants. Use this skill whenever the user wants to optimize for AI search, get cited by language models, appear in AI overviews, build llms.txt, structure…

rampstackco/claude-skills · 163 tokens

jev-integrate

Wire a System One model (Jev, or an open reproduction like Von) into a product feature — routing, guardrails, scoring, classification. Use when replacing an LLM call that returns a label rather than prose, when adding a typed decision to an agent loop, or when deciding between the hosted Jev API and a local open…

OneWave-AI/claude-skills · 98 tokens

jev-eval

Build and run a labelled eval set for a System One model (Jev, Von, or any typed-decision config), then sweep criteria wordings and thresholds against it. Use when a Jev/Von classification is wrong or unreliable, when choosing between the hosted API and a local open model, when tuning noul thresholds, or before…

OneWave-AI/claude-skills · 92 tokens

jev-audit

Audit a codebase for LLM calls that are really classifications in disguise, then produce a costed swap plan for a System One model. Use when asked to cut AI inference cost or latency, when scoping a performance engagement for a client, when reviewing an agent loop that feels slow, or when asked "where could we use Jev…

OneWave-AI/claude-skills · 89 tokens