Skip to content

huggingface/skills

Repository files navigation

Hugging Face Skills

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.

How do Skills work?

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.

Installation

Hugging Face skills are compatible with Claude Code, Codex, and Gemini CLI. With integrations Cursor, Windsurf, and Continue, on the way.

Claude Code

  1. Register the repository as a plugin marketplace:
/plugin marketplace add huggingface/skills
  1. To install a skill, run:
/plugin install <skill-name>@huggingface/skills

For example:

/plugin install hugging-face-cli@huggingface/skills

Codex

  1. Codex will identify the skills via the AGENTS.md file. You can verify the instructions are loaded with:
codex --ask-for-approval never "Summarize the current instructions."
  1. For more details, see the Codex AGENTS guide.

Gemini CLI

  1. This repo includes gemini-extension.json to integrate with the Gemini CLI.

  2. Install locally:

gemini extensions install . --consent

or use the GitHub URL:

gemini extensions install https://github.com/huggingface/skills.git --consent
  1. See Gemini CLI extensions docs for more help.

Skills

This repository contains a few skills to get you started. You can also contribute your own skills to the repository.

Available skills

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

Using skills in your coding agent

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.py on 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.

Contribute or customize a skill

  1. Copy one of the existing skill folders (for example, hf-datasets/) and rename it.
  2. Update the new folder's SKILL.md frontmatter:
    ---
    name: my-skill-name
    description: Describe what the skill does and when to use it
    ---
    
    # Skill Title
    Guidance + examples + guardrails
  3. Add or edit supporting scripts, templates, and documents referenced by your instructions.
  4. Add an entry to .claude-plugin/marketplace.json with a concise, human-readable description.
  5. Run python scripts/generate_agents.py to validate the structure.
  6. Reinstall or reload the skill bundle in your coding agent so the updated folder is available.

Marketplace

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.

Additional references

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11