Hugging Face Skills are definitions for AI/ML tasks like dataset creation, model training, and evaluation. They are interoperable with all major coding agent tools like OpenAI Codex, Anthropic's Claude Code, Google DeepMind's Gemini CLI, and Cursor.
The Skills in this repository follow the standardized format Agent Skill format.
In practice, skills are self-contained folders that package instructions, scripts, and resources together for an AI agent to use on a specific use case. Each folder includes a SKILL.md file with YAML frontmatter (name and description) followed by the guidance your coding agent follows while the skill is active.
Note
'Skills' is actually an Anthropic term used within Claude AI and Claude Code and not adopted by other agent tools, but we love it! OpenAI Codex uses an AGENTS.md file to define the instructions for your coding agent. Google Gemini uses 'extensions' to define the instructions for your coding agent in a gemini-extension.json file. This repo is compatible with all of them, and more!
Tip
If your agent doesn't support skills, you can use agents/AGENTS.md directly as a fallback.
Hugging Face skills are compatible with Claude Code, Codex, and Gemini CLI. With integrations Cursor, Windsurf, and Continue, on the way.
- Register the repository as a plugin marketplace:
/plugin marketplace add huggingface/skills
- To install a skill, run:
/plugin install <skill-name>@huggingface/skills
For example:
/plugin install hugging-face-cli@huggingface/skills
- Codex will identify the skills via the
AGENTS.mdfile. You can verify the instructions are loaded with:
codex --ask-for-approval never "Summarize the current instructions."
- For more details, see the Codex AGENTS guide.
-
This repo includes
gemini-extension.jsonto integrate with the Gemini CLI. -
Install locally:
gemini extensions install . --consent
or use the GitHub URL:
gemini extensions install https://github.com/huggingface/skills.git --consent
- See Gemini CLI extensions docs for more help.
This repository contains a few skills to get you started. You can also contribute your own skills to the repository.
| Name | Description | Documentation |
|---|---|---|
hugging-face-cli |
Execute Hugging Face Hub operations using the hf CLI. Download models/datasets, upload files, manage repos, and run cloud compute jobs. | SKILL.md |
hugging-face-datasets |
Create and manage datasets on Hugging Face Hub. Supports initializing repos, defining configs/system prompts, streaming row updates, and SQL-based dataset querying/transformation. | SKILL.md |
hugging-face-evaluation |
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 evaluations with vLLM/lighteval. | SKILL.md |
hugging-face-jobs |
Run compute jobs on Hugging Face infrastructure. Execute Python scripts, manage scheduled jobs, and monitor job status. | SKILL.md |
hugging-face-model-trainer |
Train or fine-tune language models using TRL on Hugging Face Jobs infrastructure. Covers SFT, DPO, GRPO and reward modeling training methods, plus GGUF conversion for local deployment. Includes hardware selection, cost estimation, Trackio monitoring, and Hub persistence. | SKILL.md |
hugging-face-paper-publisher |
Publish and manage research papers on Hugging Face Hub. Supports creating paper pages, linking papers to models/datasets, claiming authorship, and generating professional markdown-based research articles. | SKILL.md |
hugging-face-tool-builder |
Build reusable scripts for Hugging Face API operations. Useful for chaining API calls or automating repeated tasks. | SKILL.md |
hugging-face-trackio |
Track and visualize ML training experiments with Trackio. Log metrics via Python API and retrieve them via CLI. Supports real-time dashboards synced to HF Spaces. | SKILL.md |
Once a skill is installed, mention it directly while giving your coding agent instructions:
- "Use the HF LLM trainer skill to estimate the GPU memory needed for a 70B model run."
- "Use the HF model evaluation skill to launch
run_eval_job.pyon the latest checkpoint." - "Use the HF dataset creator skill to draft new few-shot classification templates."
- "Use the HF paper publisher skill to index my arXiv paper and link it to my model."
Your coding agent automatically loads the corresponding SKILL.md instructions and helper scripts while it completes the task.
- Copy one of the existing skill folders (for example,
hf-datasets/) and rename it. - Update the new folder's
SKILL.mdfrontmatter:--- name: my-skill-name description: Describe what the skill does and when to use it --- # Skill Title Guidance + examples + guardrails
- Add or edit supporting scripts, templates, and documents referenced by your instructions.
- Add an entry to
.claude-plugin/marketplace.jsonwith a concise, human-readable description. - Run
python scripts/generate_agents.pyto validate the structure. - Reinstall or reload the skill bundle in your coding agent so the updated folder is available.
The .claude-plugin/marketplace.json file lists skills with human-readable descriptions for the plugin marketplace. The CI validates that skill names and paths match between SKILL.md files and marketplace.json, but descriptions are maintained separately: SKILL.md descriptions guide when Claude activates the skill, while marketplace descriptions are written for humans browsing available skills.
- Browse the latest instructions, scripts, and templates directly at huggingface/skills.
- Review Hugging Face documentation for the specific libraries or workflows you reference inside each skill.