hugging-face-evaluation

hugging-face-evaluation is a skill for Claude Code, Codex from synthetic-sciences/openscience. It costs 55 tokens per session (6,034 once invoked), scanned A, a copy of hugging-face-evaluation, Apache-2.0.

A tool for adding structured evaluation results to Hugging Face model cards, the pages that describe models and their test results. It can read existing tables, import scores, or run custom evaluations.

In plain words
What is it for?
Extract evaluation tables from README files, import Artificial Analysis scores, run evaluations with vLLM or other backends, and update model-index metadata.
Why use it?
It helps keep benchmark results in a format that Hugging Face and model leaderboards can understand, instead of leaving scores as unstructured text.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run scripts/train_sft_example.py.

About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 3,493 stars · on GitHub · openscience.sh

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience
agentmods
npx agentmods add skills/synthetic-sciences/openscience/hugging-face-evaluation

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for hugging-face-evaluation

README.md
[![agentmods](https://agentmods.dev/badge/skills/synthetic-sciences/openscience/hugging-face-evaluation.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/hugging-face-evaluation)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/hugging-face-evaluation"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/hugging-face-evaluation.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,034 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.06034
Opus 5 $0.00028 $0.03017
Sonnet 5 $0.00011 $0.01207
Haiku 4.5 $0.00006 $0.00603

Measured 3d ago against content hash d02003fd763c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

hugging-face-evaluation scanned grade A with 1 finding 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 3d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (examples/artificial_analysis_to_hub.py, scripts/evaluation_manager.py, scripts/inspect_eval_uv.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run([
Origin

This is a copy

92% identical to hugging-face-evaluation — 1,302 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

backend/cli/skills/ml-training/hugging-face-evaluation/SKILL.md · 658 lines

How it starts

The opening of the file, as written. The whole thing — 658 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

This skill provides tools to add structured evaluation results to Hugging Face model cards. It supports multiple methods for adding evaluation data:

  • Extracting existing evaluation tables from README content
  • Importing benchmark scores from Artificial Analysis
  • Running custom model evaluations with vLLM or accelerate backends (lighteval/inspect-ai)

Integration with HF Ecosystem

  • Model Cards: Updates model-index metadata for leaderboard integration
  • Artificial Analysis: Direct API integration for benchmark imports
  • Papers with Code: Compatible with their model-index specification
  • Jobs: Run evaluations directly on Hugging Face Jobs with uv integration
  • vLLM: Efficient GPU inference for custom model evaluation
  • lighteval: HuggingFace's evaluation library with vLLM/accelerate backends
  • inspect-ai: UK AI Safety Institute's evaluation framework

Version

1.3.0

Dependencies

Core Dependencies

  • huggingface_hub>=0.26.0
  • markdown-it-py>=3.0.0
  • python-dotenv>=1.2.1
  • pyyaml>=6.0.3
  • requests>=2.32.5
  • re (built-in)

Inference Provider Evaluation

  • inspect-ai>=0.3.0
  • inspect-evals
  • openai

vLLM Custom Model Evaluation (GPU required)

  • lighteval[accelerate,vllm]>=0.6.0
  • vllm>=0.4.0
  • torch>=2.0.0
  • transformers>=4.40.0
  • accelerate>=0.30.0

Note: vLLM dependencies are installed automatically via PEP 723 script headers when using uv run.

IMPORTANT: Using This Skill

⚠️ CRITICAL: Check for Existing PRs Before Creating New Ones

Before creating ANY pull request with --create-pr, you MUST check for existing open PRs:

uv run scripts/evaluation_manager.py get-prs --repo-id "username/model-name"

If open PRs exist:

  1. DO NOT create a new PR - this creates duplicate work for maintainers
  2. Warn the user that open PRs already exist
  3. Show the user the existing PR URLs so they can review them
  4. Only proceed if the user explicitly confirms they want to create another PR

Read the full file on GitHub · 658 lines

Changes

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.

  1. 3d ago First seen · 658 lines · 55 tokens per session scan A d02003fd763c

Subscribe to this mod's changes

hugging-face-evaluation is a skill published in the GitHub repository synthetic-sciences/openscience (3,493 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 6,034 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). It is 92% identical to hugging-face-evaluation, differing in 1,302 lines, and is treated as a copy.

Related

Other skills, from other repositories

model-evaluation

Systematic ML model evaluation — metrics, benchmarks, and error analysis.

furkangonel/cowrangler · 18 tokens

llm-evaluator

Evaluate LLM outputs systematically using LLM-as-judge, human evaluation frameworks, and regression testing. Use when assessing model quality, comparing models, or preventing quality regression.

chandrudp29/skillhub · 39 tokens

rag-evaluator

Evaluate RAG pipeline quality across faithfulness, relevance, and hallucination metrics. Use when user asks to test, benchmark, or improve a RAG system, or when RAG outputs look wrong.

chandrudp29/skillhub · 44 tokens

system-prompts

Write system prompts, tool docs, and agent definitions. Project tag conventions + RFC 2119 keywords + dense compression. Use when authoring or editing any prompt the model reads.

can1357/oh-my-pi · 40 tokens

tool-prompt-optimization

Optimize the description prompts an AI agent reads to learn its built-in tools (the .md files under prompts/tools/). Two halves: (1) measure how much of a prompt is already inferable from the tool's JSON parameter schema + name, to prune redundancy with evidence; (2) house authoring rules for what belongs in a tool…

can1357/oh-my-pi · 0 tokens

knowledge-model-and-provider-runtime-provider-resilience-admission-and-observability

覆盖跨 Agent、Session、Subagent、CLI/Web/ACP 表面的 Provider 重试、前台恢复、 failure-domain 熔断、公平准入、stream stall、Prompt Cache 与费用观测。 Navigate when: 调试 429/5xx/timeout、重复请求、Open/HalfOpen、容量排队、后台饥饿、缓存命中 下降、状态栏或事件投影。Excludes: 模型目录与凭据配置(见 ../model-catalog-configuration-and-credentials/),消息和 payload 协议映射(见…

echoVic/blade-code · 184 tokens