Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/confusion-matrix-generator
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-modelsfor the broader metric suitefeature-importance-analyzerwhen the next question is why a class fails
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?