Hub documentation

Skills

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Skills

Skills are Agent Context definitions that provide coding agents with structured guidance for AI/ML tasks. They help agents understand best practices for a given domain or task. Hugging Face Skills is a repository of skills specifically designed for AI/ML tasks that you can make available to your coding agents.

Hugging Face Skills work with major coding agents:

  • OpenAI Codex
  • Anthropic Claude Code
  • Google Gemini CLI
  • Cursor

Each skill includes:

  • Task definitions and workflows
  • Best practices and guidelines
  • Helper scripts and templates
  • Integration with Hugging Face tools

In practice, coding agents are excellent at writing and defining custom skills using the Agent Skills format. Therefore, it is best to use Hugging Face Skills as building blocks for your domain-specific skills.

Installation

Skills provide task-specific guidance for AI/ML workflows. They work alongside MCP or standalone.

Claude Code
OpenAI Codex
# start claude 
claude

# install the skills marketplace plugin
/plugin marketplace add huggingface/skills

Then, to install a specific skill, use the following command:

# skill name + marketplace 
/plugin install <skill-name>@huggingface/skills

# for example, to install the hugging face cli skill
/plugin install hugging-face-cli@huggingface/skills

What You Can Do

Once configured, your coding agent can:

Capability Example
Search the Hub “Find a code generation model under 7B parameters”
Explore datasets “What datasets are available for sentiment analysis?”
Run Spaces “Use the Whisper Space to transcribe this audio file”
Get documentation “How do I fine-tune a model with transformers?”
Train a model “Train an LLM with SFT using the Qwen/Qwen3-0.6B model and the trl-lib/Capybara dataset”
Query a dataset “Tell me about the evalstate/mcp-clients dataset from the last 2 days”

Available Skills

Hugging Face Skills are available in the Hugging Face Skills repository and include two types of skills:

  • Domain-specific skills are ideal for instructing agents on specific AI tasks like dataset creation, model training, evaluation, and more.
  • Tool skills are ideal for instructing agents on how to use the Hugging Face tools like the CLI, Hugging Face Spaces, or Hugging Face Jobs.

For example, currently available skills include:

  • hf-cli - The Hugging Face CLI skill
  • hf-datasets - The Hugging Face Dataset Creation and Management skill
  • hf-trainer - The Hugging Face Model Trainer skill
  • hf-evaluation - The Hugging Face Model Evaluator skill
  • hf-jobs - The Hugging Face Jobs skill

Resources

Update on GitHub