hf-mcp
Use Hugging Face Hub via MCP server tools. Search models, datasets, Spaces, papers. Get repo details, fetch documentation, run…
Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners, layouts, or chatbots.
Claude Code
$ npx -y skills add huggingface/skills --skill huggingface-gradio --agent claude-code
Codex
$ npx skills add huggingface/skills --skill huggingface-gradio -a codex -y
Cursor
$ npx skills add huggingface/skills --skill huggingface-gradio -a cursor -y
Gemini CLI
$ npx skills add huggingface/skills --skill huggingface-gradio -a gemini-cli -y
GitHub Copilot
$ npx skills add huggingface/skills --skill huggingface-gradio -a github-copilot -y
OpenCode
$ npx skills add huggingface/skills --skill huggingface-gradio -a opencode -y
Windsurf
$ npx skills add huggingface/skills --skill huggingface-gradio -a windsurf -y
name: huggingface-gradio description: Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners, layouts, or chatbots.
Gradio is a Python library for building interactive web UIs and ML demos. This skill covers the core API, patterns, and examples.
Detailed guides on specific topics (read these when relevant):
**Interface** (high-level): wraps a function with input/output components.
import gradio as gr
def greet(name):
return f"Hello {name}!"
gr.Interface(fn=greet, inputs="text", outputs="text").launch()**Blocks** (low-level): flexible layout with explicit event wiring.
import gradio as gr
with gr.Blocks() as demo:
name = gr.Textbox(label="Name")
output = gr.Textbox(label="Greeting")
btn = gr.Button("Greet")
btn.click(fn=lambda n: f"Hello {n}!", inputs=name, outputs=output)
demo.launch()**ChatInterface**: high-level wrapper for chatbot UIs.
import gradio as gr
def respond(message, history):
return f"You said: {message}"
gr.ChatInterface(fn=respond).launch()Creates a textarea for user to enter string input or display string output..
Creates a numeric field for user to enter numbers as input or display numeric output..
Creates a slider that ranges from {minimum} to {maximum} with a step size of {step}..
Creates a checkbox that can be set to `True` or `False`.
Hugging Face Skills are definitions for AI/ML tasks like dataset creation, model training, and evaluation.
Use Hugging Face Hub via MCP server tools. Search models, datasets, Spaces, papers. Get repo details, fetch documentation, run…
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
Discover the user's local AWS context (active profile, region, account ID, caller identity) at the start of any AWS task. Use…
Set up an isolated Python environment for SageMaker / AWS work, with the right Python version and current boto3. Use this skill…
Plan and coordinate the deployment of a model to Amazon SageMaker AI. Use this skill whenever the user wants to deploy, host,…
Ensure a usable SageMaker execution role exists before deploying or training. Use this skill whenever about to create a SageMaker…
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…
Query and browse evaluation results stored in MLflow. Use when the user wants to look up runs by invocation ID, compare metrics…