Token导航 LogoToken导航TokenDH.com
AI 工具需要联网github未标认证来源可访问clear审计通过

model-evaluator模型评估器

Agent Skill

model-evaluator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

13,805

周安装

683

GitHub Stars

公开资料未说明

下载量

5,372
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:model-evaluator(模型评估器)
来源仓库:https://github.com/eddiebe147/claude-settings
仓库路径:skills/model-evaluator
安装命令:
npx skills add https://github.com/eddiebe147/claude-settings --skill 'Model Evaluator'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/eddiebe147/claude-settings --skill 'Model Evaluator'

简介

model-evaluator 用于全面评估机器学习模型性能。

  • 覆盖准确性、效率、鲁棒性、公平性与生产就绪度等多维度。
  • 提供指标选择与实验设计建议避免统计陷阱。
  • 使用前应明确评估目标与部署环境约束条件。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Model Evaluator

The Model Evaluator skill helps you rigorously assess and compare machine learning model performance across multiple dimensions. It guides you through selecting appropriate metrics, designing evaluation protocols, avoiding common statistical pitfalls, and making data-driven decisions about model selection.

Proper model evaluation goes beyond accuracy scores. This skill covers evaluation across the full spectrum: predictive performance, computational efficiency, robustness, fairness, calibration, and production readiness. It helps you answer not just "which model is best?" but "which model is best for my specific use case and constraints?"

Whether you are comparing LLMs, classifiers, or custom models, this skill ensures your evaluation methodology is sound and your conclusions are reliable.

Core Workflows

Workflow 1: Design Evaluation Protocol

  1. Define evaluation objectives:

- Primary goal (accuracy, speed, cost, etc.) - Secondary constraints - Failure modes to test - Real-world conditions to simulate

  1. Select appropriate metrics: Task Type Primary Metrics Secondary Metrics Classification Accuracy, F1, AUC-ROC Precision, Recall, Confusion Matrix Regression RMSE, MAE, R-squared Residual analysis, prediction intervals Ranking NDCG, MRR, MAP Precision@k, Recall@k Generation BLEU, ROUGE, BERTScore Human eval, Faithfulness LLM Task-specific accuracy Latency, cost, consistency
  2. Design test sets:

- Held-out test data - Edge case collections - Adversarial examples - Distribution shift tests

  1. Plan statistical methodology:

- Sample sizes for significance - Confidence intervals - Multiple comparison corrections

Workflow 2: Execute Comparative Evaluation

  1. Prepare evaluation infrastructure: class ModelEvaluator: def __init__(self, test_data, metrics): self.test_data = test_data self.metrics = metrics self.results = {} def evaluate(self, model, model_name): predictions = model.predict(self.test_data.inputs) scores = {} for metric in self.metrics: scores[metric.name] = metric.compute(predictions, self.test_data.labels) self.results[model_name] = scores return scores def compare(self): return statistical_comparison(self.results)
  2. Run evaluations consistently across models
  3. Compute confidence intervals
  4. Test for statistical significance
  5. Generate comparison report

Workflow 3: LLM-Specific Evaluation

  1. Define evaluation dimensions:

- Task accuracy (factual, reasoning, coding) - Response quality (coherence, relevance, style) - Safety and alignment - Efficiency (tokens, latency, cost)

  1. Create evaluation datasets:

- Representative prompts - Ground truth answers (where applicable) - Human preference data

  1. Implement LLM evaluation:

- Automated metrics (exact match, semantic similarity) - LLM-as-judge evaluations - Human evaluation protocols

  1. Analyze results across dimensions
  2. Make recommendations with tradeoffs

Quick Reference

ActionCommand/Trigger
Design evaluation"How should I evaluate [model type]"
Choose metrics"What metrics for [task type]"
Compare models"Compare these models: [list]"
LLM evaluation"Evaluate LLM performance"
Statistical testing"Is this difference significant"
Bias evaluation"Check model for bias"

Best Practices

  • Use Multiple Metrics: No single metric tells the whole story

- Include both aggregate and granular metrics - Report confidence intervals, not just point estimates - Show performance across subgroups

  • Test on Realistic Data: Evaluation data should match production

- Same distribution as real inputs - Include edge cases and hard examples - Test on data the model hasn't seen

  • Account for Variance: Models and data have randomness

- Run multiple seeds for training-based evaluations - Bootstrap confidence intervals - Use proper statistical tests for comparison

  • Consider All Costs: Performance isn't just accuracy

- Inference latency and throughput - Memory and compute requirements - API costs for hosted models - Maintenance and update burden

  • Test Robustness: How does the model handle adversity?

- Input perturbations and noise - Distribution shift - Adversarial examples - Missing or malformed inputs

  • Evaluate Fairly: Ensure fair comparison across models

- Same test data for all models - Consistent preprocessing - Equivalent hyperparameter tuning effort - Document any advantages/disadvantages

Advanced Techniques

Multi-Dimensional Evaluation

Score models across multiple axes:

def multi_dim_evaluate(model, test_data):
    return {
        "accuracy": compute_accuracy(model, test_data),
        "latency_p50": measure_latency(model, test_data, percentile=50),
        "latency_p99": measure_latency(model, test_data, percentile=99),
        "memory_mb": measure_memory(model),
        "cost_per_1k": compute_cost(model, n=1000),
        "robustness": adversarial_accuracy(model, test_data),
        "fairness": demographic_parity(model, test_data)
    }

LLM-as-Judge Protocol

Use LLMs to evaluate LLM outputs:

Prompt template:
"Rate the following response on a scale of 1-5 for:
- Accuracy: Is the information correct?
- Helpfulness: Does it address the user's need?
- Clarity: Is it easy to understand?

Question: {question}
Response: {response}
Ground truth (if available): {ground_truth}

Provide scores and brief justification."

A/B Testing Framework

For production evaluation:

class ABTest:
    def __init__(self, model_a, model_b, traffic_split=0.5):
        self.models = {"A": model_a, "B": model_b}
        self.split = traffic_split
        self.results = {"A": [], "B": []}

    def serve(self, request):
        variant = "A" if random.random() < self.split else "B"
        response = self.models[variant].predict(request)
        return response, variant

    def record_outcome(self, variant, success):
        self.results[variant].append(success)

    def compute_significance(self):
        return statistical_test(self.results["A"], self.results["B"])

Calibration Analysis

Ensure predicted probabilities are meaningful:

- Expected Calibration Error (ECE)
- Reliability diagrams
- Brier score decomposition
- Temperature scaling for recalibration

Common Pitfalls to Avoid

  • Overfitting to the test set through repeated evaluation
  • Ignoring statistical significance in model comparisons
  • Using inappropriate metrics for the task (accuracy for imbalanced classes)
  • Evaluating on data too similar to training data
  • Ignoring computational costs in model selection
  • Not testing robustness to distribution shift
  • Conflating correlation with causation in A/B tests
  • Failing to account for multiple comparisons in statistical tests

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

32.43%
按下载量换算1,742

OpenCode

22.2%
按下载量换算1,193

Gemini CLI

19.9%
按下载量换算1,069

Antigravity

11.57%
按下载量换算622

Cursor

7.78%
按下载量换算418

windsurf

3.56%
按下载量换算191

安全审计

Gen Agent Trust Hub

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源字段存在多来源差异,先按来源优先级自动处理,无法消解时进入异常复核队列。

来源信息

继续浏览同类 Skills