hugging-face-evaluation/SKILL.md
Add and manage evaluation results in Hugging Face model cards. Supports extracting eval tables from README content, importing scores from Artificial Analysis API, and running custom model evaluations with vLLM/lighteval. Works with the model-index metadata format.
npx skillsauth add lidge-jun/cli-jaw-skills hugging-face-evaluationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
All paths are relative to this SKILL.md's directory.
cdhere or use full paths before running scripts.
Before using --create-pr, check for existing open PRs to avoid duplicating work for maintainers:
uv run scripts/evaluation_manager.py get-prs --repo-id "username/model-name"
If open PRs exist:
Use --help for the latest workflow guidance:
uv run scripts/evaluation_manager.py --help
Standard flow:
get-prs → check for existing open PRsinspect-tables → find table numbers/columnsextract-readme --table N → prints YAML (preview by default)--apply (push) or --create-pr to write changesuv run (PEP 723 header auto-installs deps)HF_TOKEN env var with write-access tokenAA_API_KEY env var.env is loaded automatically if python-dotenv is installedInspect tables (start here):
uv run scripts/evaluation_manager.py inspect-tables --repo-id "username/model-name"
Extract from README:
uv run scripts/evaluation_manager.py extract-readme \
--repo-id "username/model-name" \
--table N \
[--model-column-index N] \
[--model-name-override "Exact Column Header"] \
[--task-type "text-generation"] \
[--dataset-name "Custom Benchmarks"] \
[--apply | --create-pr]
Import from Artificial Analysis:
AA_API_KEY=... uv run scripts/evaluation_manager.py import-aa \
--creator-slug "creator-name" \
--model-name "model-slug" \
--repo-id "username/model-name" \
[--create-pr]
View / Validate:
uv run scripts/evaluation_manager.py show --repo-id "username/model-name"
uv run scripts/evaluation_manager.py validate --repo-id "username/model-name"
Run evaluation job (inference providers):
hf jobs uv run scripts/inspect_eval_uv.py \
--flavor "cpu-basic|t4-small|a10g-small" \
--secret HF_TOKEN=$HF_TOKEN \
-- --model "model-id" --task "task-name"
Run vLLM evaluation (custom models):
# lighteval with vLLM
uv run scripts/lighteval_vllm_uv.py \
--model meta-llama/Llama-3.2-1B \
--tasks "leaderboard|mmlu|5"
# inspect-ai with vLLM
uv run scripts/inspect_vllm_uv.py \
--model meta-llama/Llama-3.2-1B \
--task mmlu
# Helper script (auto hardware selection)
uv run scripts/run_vllm_eval_job.py \
--model "model-id" \
--task "leaderboard|mmlu|5" \
--framework lighteval
Requires uv installed and sufficient GPU memory. Verify with nvidia-smi.
Two frameworks available:
suite|task|num_fewshot (e.g. leaderboard|mmlu|5)mmlu, gsm8k, hellaswag, arc_challenge, truthfulqa, winogrande, humanevalKey flags:
--backend accelerate or --backend hf for non-vLLM inference--use-chat-template for instruction-tuned models--trust-remote-code for models with custom code (e.g. Phi-2, Qwen)--tensor-parallel-size N for multi-GPUHardware sizing: <3B → t4-small, 3-13B → a10g-small, 13-34B → a10g-large, 34B+ → a100-large
Submit via HF Jobs by prefixing with hf jobs uv run and adding --flavor/--secrets.
model-index:
- name: Model Name
results:
- task:
type: text-generation
dataset:
name: Benchmark Dataset
type: benchmark_type
metrics:
- name: MMLU
type: mmlu
value: 85.2
source:
name: Source Name
url: https://source-url.com
source.urlget-prs before creating any PRinspect-tables to see table structure--apply or --create-pr--model-column-index over --model-name-override; if using override, match column header text exactly--table N--create-pr when updating models you don't owntools
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.