hugging-face-evaluation

hugging-face-evaluation is a skill for Claude Code from patchy631/ai-engineering-hub. It costs 55 tokens per session (5,934 once invoked), scanned A, original, MIT.

A tool for adding evaluation results to Hugging Face model cards, the documentation pages that describe machine-learning models. It can use existing tables, imported benchmark scores, or custom evaluations.

In plain words
What is it for?
Use it to extract scores from README files, import Artificial Analysis results, or run evaluations with tools such as vLLM, lighteval, or inspect-ai.
Why use it?
It helps keep model scores in a structured format that other Hugging Face pages and leaderboards can read.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hugging-face-skills plugin — 8 skills, 1 agent, 1 plugin shipped together

About the project

AI Engineering Hub is a learning and project repository covering large language models, retrieval-augmented generation, AI agents, and related applications. Beginners, practitioners, and researchers use its tutorials and projects to learn AI engineering and build working systems. The catalogue entries are examples of the skills, plugins, and agent resources included with it.

patchy631/ai-engineering-hub · 37,331 stars · on GitHub · join.dailydoseofds.com

Install

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.

agentmods
npx agentmods add skills/patchy631/ai-engineering-hub/hugging-face-evaluation
Any agent
npx skills add patchy631/ai-engineering-hub --skill hugging-face-evaluation
Clone the repo
git clone --depth 1 https://github.com/patchy631/ai-engineering-hub

Made for: Claude Code.

Or install hugging-face-skills, the plugin that ships this one along with the rest of its 8 skills, 1 agent, 1 plugin.

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/patchy631/ai-engineering-hub/hugging-face-evaluation.svg)](https://agentmods.dev/skills/patchy631/ai-engineering-hub/hugging-face-evaluation)
Your own site
<a href="https://agentmods.dev/skills/patchy631/ai-engineering-hub/hugging-face-evaluation"><img src="https://agentmods.dev/badge/skills/patchy631/ai-engineering-hub/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 5,934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found 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.05934
Opus 5 $0.00028 $0.02967
Sonnet 5 $0.00011 $0.01187
Haiku 4.5 $0.00006 $0.00593

Measured 6d ago against content hash 80ccaa485486, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 6d 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

Copies of this mod

7 near-identical copies found in the catalogue:

hugging-face-skills/skills/hugging-face-evaluation/SKILL.md · 646 lines

How it starts

The opening of the file, as written. The whole thing — 646 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 · 646 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. 6d ago First seen · 646 lines · 55 tokens per session scan A 80ccaa485486

Subscribe to this mod's changes

hugging-face-evaluation is a skill published in the GitHub repository patchy631/ai-engineering-hub (37,331 stars, last pushed 10d ago), licensed MIT. It adds 55 tokens to every session and 5,934 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mcp-builder

DEPRECATED: This skill has been replaced by mcp-app-builder. Check if mcp-app-builder is available in the skills folder. If not, install it: npx skills install mcp-use/mcp-use --skill mcp-app-builder Use mcp-app-builder instead of this skill. Build Model Context Protocol (MCP) servers with mcp-use framework. Use when…

Shubhamsaboo/awesome-llm-apps · 123 tokens

thinking-out-loud

A contract for what the agent does when a long, messy, stream-of-consciousness ramble arrives (usually voice dictation): act on nothing until the echo brief is approved. The echo audits the entire transfer, mission, locked decisions and constraints, open questions, flips and parked tangents, with the model's…

Shubhamsaboo/awesome-llm-apps · 206 tokens

dstack-prototyping

Use with the dstack skill for model-serving work when the image, serving command, resources, backend/fleet choice, or service behavior is not proven. Guides task-first prototyping on real hardware, choosing fleets/backends that can reuse idle instances and caches, checking vLLM/SGLang sources, and verifying the final…

dstackai/dstack · 80 tokens

advisor-orchestrator-worker

Use when a task is too large for one model pass, needs parallel research or generation across many subtasks (like researching a dozen competitors at once), or the user asks to orchestrate multiple models, split work across a model team, run an advisor-worker loop, have a stronger model review the plan while cheap…

Shubhamsaboo/awesome-llm-apps · 100 tokens

dstack-presets

Create and manage dstack presets: a toolkit that streamlines model inference optimization with agents, and a portable preset format. Use together with the dstack skill, and only when the user explicitly asks to create a preset or manage existing presets, not for deploying or serving a model.

dstackai/dstack · 61 tokens

langchain-dev-guide

LangChain / LangGraph engineering pitfalls and verified fixes. Covers DeepAgents, structured output, OpenAI-compatible model integration (including Chinese provider adapters: DeepSeek, Qwen, GLM, etc.), middleware, streaming, multi-agent orchestration, and other common development issues. Use when hitting unexpected…

ob-labs/agentseek · 81 tokens