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.
npx agentmods add skills/sawrus/agent-guides/model-evaluationnpx skills add sawrus/agent-guides --skill model-evaluationgit clone --depth 1 https://github.com/sawrus/agent-guidesWrote 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.
[](https://agentmods.dev/skills/sawrus/agent-guides/model-evaluation)<a href="https://agentmods.dev/skills/sawrus/agent-guides/model-evaluation"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/model-evaluation.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00340 |
| Opus 5 | $0.00000 | $0.00170 |
| Sonnet 5 | $0.00000 | $0.00068 |
| Haiku 4.5 | $0.00000 | $0.00034 |
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 2d 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.
What it actually says
Skill: Model Evaluation
When to load
When evaluating a trained model, comparing versions, or performing fairness analysis.
Threshold Selection
def select_optimal_threshold(y_true, y_prob, business_objective: str):
"""
business_objective:
- 'max_f1': balanced precision/recall
- 'high_precision': minimize false positives (fraud)
- 'high_recall': minimize false negatives (screening)
"""
precisions, recalls, thresholds = precision_recall_curve(y_true, y_prob)
if business_objective == 'max_f1':
f1_scores = 2 * (precisions * recalls) / (precisions + recalls + 1e-8)
return thresholds[np.argmax(f1_scores)]
Subgroup Fairness Analysis (Required for People-Affecting Models)
def evaluate_fairness(y_true, y_pred, sensitive_attribute):
groups = sensitive_attribute.unique()
results = {g: {
"n": (sensitive_attribute == g).sum(),
"positive_rate": y_pred[sensitive_attribute == g].mean(),
"tpr": recall_score(y_true[sensitive_attribute == g], y_pred[sensitive_attribute == g]),
} for g in groups}
pos_rates = [r["positive_rate"] for r in results.values()]
dp_diff = max(pos_rates) - min(pos_rates)
if dp_diff > 0.1:
logger.warning(f"Demographic parity difference {dp_diff:.3f} exceeds 0.1 threshold")
return results, dp_diff
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.
- 2d ago First seen · 41 lines · 0 tokens per session scan A 3e5b9bfda4e3
model-evaluation is a skill published in the GitHub repository sawrus/agent-guides (17 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 340 tokens. 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-09-03.
Other skills, from other repositories
advanced-evaluation
This skill should be used when the user asks to "implement LLM-as-judge", "compare model outputs", "create evaluation rubrics", "mitigate evaluation bias", or mentions direct scoring, pairwise comparison, position bias, evaluation pipelines, or automated quality assessment.
ai-wrapper-product
Expert in building products that wrap AI APIs (OpenAI, Anthropic, etc. ) into focused tools people will pay for. Not just "ChatGPT but different" - products that solve specific problems with AI.
agents-v2-py
Build container-based Foundry Agents with Azure AI Projects SDK (ImageBasedHostedAgentDefinition). Use when creating hosted agents with custom container images in Azure AI Foundry.
ai-ml
AI and machine learning workflow covering LLM application development, RAG implementation, agent architecture, ML pipelines, and AI-powered features.
ai-agent-development
AI agent development workflow for building autonomous agents, multi-agent systems, and agent orchestration with CrewAI, LangGraph, and custom agents.
arrowspace
Spectral vector search using graph Laplacian eigenstructure. Use when cosine/L2 similarity misses latent structure in your embeddings.