Skip to content
Development
Command

/compare-models

Compare multiple ML models to select the best performer.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/compare-models

Context preview

What this command does when you run it.

Compare multiple ML models to select the best performer.

Command definition

compare-models.md

/compare-models - Compare ML Models

Compare multiple ML models to select the best performer.

Steps

1. Ask the user for the models to compare and the evaluation dataset 2. Load all models and verify they accept the same input format 3. Run inference with each model on the identical test dataset 4. Calculate the same metrics for all models for fair comparison 5. Create a side-by-side comparison table with all metrics 6. Perform statistical significance testing between model pairs (McNemar, paired t-test) 7. Compare inference performance: latency, throughput, memory footprint 8. Calculate the cost-performance trade-off: accuracy vs compute cost 9. Identify which model performs best on specific data subsets 10. Evaluate robustness: test with noisy or adversarial inputs 11. Create a recommendation based on the use case priorities (accuracy vs speed vs cost) 12. Generate a comparison report with tables, rankings, and the recommended model

Rules

  • Use the exact same test data and preprocessing for all models
  • Apply statistical significance tests; do not rely on point estimates alone
  • Consider practical significance, not just statistical significance
  • Include model size and inference cost in the comparison
  • Test edge cases that differentiate the models
  • Report the evaluation methodology for reproducibility
  • Consider deployment constraints (model size, latency requirements) in recommendations
Read more
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin