model-evaluation

model-evaluation is a skill for Claude Code from zpower426/datapowers. It costs 27 tokens per session (2,134 once invoked), scanned A, original, MIT.

A machine-learning model evaluation process for measuring a trained model on untouched test data and checking whether its predictions are reliable.

In plain words
What is it for?
Refitting the chosen model, running one final test, calculating metrics and confidence intervals, checking calibration, analyzing errors, and deciding whether it is ready for production.
Why use it?
It limits repeated test-set use and requires statistical evidence before drawing conclusions about model quality.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the datapowers plugin — 20 skills, 3 commands, 3 agents, 1 hook shipped together

Good fit Refitting the chosen model, running one final test, calculating metrics and confidence intervals, checking calibration, analyzing errors, and deciding whether it is ready for production.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zpower426/datapowers/model-evaluation
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 zpower426/datapowers --skill model-evaluation
Clone the repo
git clone --depth 1 https://github.com/zpower426/datapowers

Made for: Claude Code.

Or install datapowers, the plugin that ships this one along with the rest of its 20 skills, 3 commands, 3 agents, 1 hook.

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 model-evaluation

README.md
[![agentmods](https://agentmods.dev/badge/skills/zpower426/datapowers/model-evaluation/github.svg)](https://agentmods.dev/skills/zpower426/datapowers/model-evaluation)
Your own site
<a href="https://agentmods.dev/skills/zpower426/datapowers/model-evaluation"><img src="https://agentmods.dev/badge/skills/zpower426/datapowers/model-evaluation/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 model-evaluation

Your own site · 80×15
<a href="https://agentmods.dev/skills/zpower426/datapowers/model-evaluation"><img src="https://agentmods.dev/badge/skills/zpower426/datapowers/model-evaluation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,134 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.00027 $0.02134
Opus 5.5 $0.00011 $0.00854
Sonnet 5.5 $0.00005 $0.00427
Haiku 4.5 $0.00003 $0.00213

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

Security

Grade A, and why

model-evaluation 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 3mo 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.

skills/model-evaluation/SKILL.md · 254 lines

How it starts

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

Model Evaluation

Rigorous, statistically grounded evaluation of trained models. The test set is sacred — touched exactly once.

Iron Law: NO CONCLUSIONS WITHOUT SIGNIFICANCE TESTING. TEST SET IS EVALUATED EXACTLY ONCE.

Checklist

  1. Final model refit — retrain chosen model on full training set
  2. One-time test set evaluation — never to be repeated
  3. Full metric suite — primary, secondary, and diagnostic metrics
  4. Confidence intervals — bootstrap CIs for all reported metrics
  5. Calibration check — are predicted probabilities trustworthy?
  6. Error analysis — where does the model fail?
  7. Feature importance — SHAP values for top features
  8. Comparison to baseline — is improvement statistically significant?
  9. Save evaluation artifacts — report, plots, model file
  10. Flag production readiness — explicit go/no-go with criteria

Step 1: Final Model Refit

import random
import numpy as np
random.seed(42)
np.random.seed(42)

# Retrain on FULL training set (not a validation split)
final_model = LGBMClassifier(**best_params, random_state=42)
final_model.fit(X_train, y_train)

print("✅ Final model trained on full training set")
print(f"Training set size: {len(X_train)} samples")

Step 2: One-Time Test Set Evaluation

# THIS CODE BLOCK RUNS EXACTLY ONCE
y_pred = final_model.predict(X_test)
y_prob = final_model.predict_proba(X_test)[:, 1]  # for binary classification

from sklearn.metrics import (
    classification_report, confusion_matrix,
    f1_score, roc_auc_score, average_precision_score
)

print("=" * 50)
print("FINAL TEST SET EVALUATION (one-time)")
print("=" * 50)
print(classification_report(y_test, y_pred))
print(f"ROC-AUC:   {roc_auc_score(y_test, y_prob):.4f}")
print(f"PR-AUC:    {average_precision_score(y_test, y_prob):.4f}")
print(f"F1-macro:  {f1_score(y_test, y_pred, average='macro'):.4f}")
print("\nConfusion Matrix:")
print(confusion_matrix(y_test, y_pred))

Read the full file on GitHub · 254 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. 3mo ago First seen · 254 lines · 27 tokens per session scan A ae877e1bbb36

Subscribe to this mod's changes

model-evaluation is a skill published in the GitHub repository zpower426/datapowers (1 stars, last pushed 8mo ago), licensed MIT. It adds 27 tokens to every session and 2,134 once invoked, about $0.0001 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-31.

Related

model-evaluation compared with skills from other repositories

model-evaluation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
model-evaluationzpower426/datapowersSkill18mo agoMITA27Claude Code
local-llmTserenTserenov/FMT-exocortex-templateSkill65yesterdayMITA78Claude Code
llm-app-patternsdavila7/claude-code-templatesSkill35ktodayMITA54Claude Code, Codex
multimodal-blip-2davila7/claude-code-templatesSkill35ktodayMITA52Claude Code, Codex
post-training-grpo-rl-trainingdavila7/claude-code-templatesSkill35ktodayMITA28Claude Code, Codex
emerging-techniques-long-contextdavila7/claude-code-templatesSkill35ktodayMITA78Claude Code, Codex
emerging-techniques-model-pruningdavila7/claude-code-templatesSkill35ktodayMITA74Claude Code, Codex