Agent skill · AI & Agents

confusion-matrix-generator

Inspect classifier errors with confusion matrices after predictions already exist. Use for per-class error analysis, threshold tradeoffs, and label-confusion diagnosis; not for regression metrics or full model training ownership.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill confusion-matrix-generator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 1 KB
Bundled scripts: none
Version: 1.0.0
Declared author: Jeremy Longshore <jeremy@intentsolutions.io>
Allowed tools: ReadWriteEditBash(python:*)Bash(pip:*)
Path: skills/ai-ml/confusion-matrix-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Confusion Matrix Generator ## Purpose Use this skill when the user already has classification outputs and needs to understand where the model is getting confused. ## When to Use Use this skill when: - Breaking down false positives and false negatives by class - Comparing thresholds or class weights for a classification model - Explaining which classes are systematically confused with one another ## Not For / Boundaries - Regression evaluation: use `evaluating-machine-learning-models` - Leakage audits: use `ml-data-leakage-guard` - End-to-end training runs: use `training-machine-learning-models` ## Typical Outputs - Confusion matrix tables or heatmaps - Per-class precision/recall breakdowns - Actionable notes on thresholding, relabeling, or class balancing ## Related Skills - `evaluating-machine-learning-models` for the broader metric suite - `feature-importance-analyzer` when the next question is why a class fails

What's inside
Steps it walks through
  1. Purpose
  2. When to Use
  3. Not For / Boundaries
  4. Typical Outputs
  5. Related Skills
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the confusion-matrix-generator skill do?

Inspect classifier errors with confusion matrices after predictions already exist. Use for per-class error analysis, threshold tradeoffs, and label-confusion diagnosis; not for regression metrics or full model training ownership.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill confusion-matrix-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going