huggingface-zerogpu

huggingface/skillsOfficial collectionAI & ML engineering

huggingface-zerogpu is a skill in huggingface/skills, last changed 20 May 2026. It can download software, run shell commands, reach the network and name web addresses — read the findings before installing.

From the author
AI demos and GPU compute with Gradio Spaces and Hugging Face Spaces ZeroGPU. Use when writing or reviewing code that uses `@spaces.GPU`, configuring `python_version` or `requirements.txt` for a ZeroGPU Space, or handling ZeroGPU-specific code constraints — pickle-based process isolation, `gr.State` semantics across the worker boundary, no `torch.compile` (use AoTI instead), CUDA wheel-only builds (no `nvcc` at build or runtime), large vs xlarge sizing, and dynamic duration callables. Make sure to use this skill whenever the user mentions ZeroGPU, `@spaces.GPU`, or the `spaces` Python package, or hits ZeroGPU-specific code errors like `PicklingError` across the worker boundary, `illegal duration`, or `flash-attn` wheel-build failures — even when the user does not explicitly ask for ZeroGPU coding guidance. Trigger on `import spaces` or `@spaces.GPU` in code.

At a glance

What it can touch

How much a skill can do, not whether it is risky.

Pattern check

1 item to review

Commit 25910b3 · 3 Nov 2026

How the check works

Pattern check:1 item to reviewSee it

Install

Each tab says whether it installs commit 25910b3, the one we checked, or the latest version.

Read this before installing: Download piped into a shell — references/cuda-and-deps.md:58

Read SKILL.md first
Apache 2.0
Licence
11.3k
Repo stars
Publisher
Files

What it can touch

From the files and frontmatter at commit 25910b3. This is how much a skill can do, not whether it is risky.

Pattern check

Pattern check: 1 item to review · commit 25910b3 · 3 Nov 2026

  • R01 · CriticalDownload piped into a shell

    references/cuda-and-deps.md:58 (opens in a new tab)
    curl -s https://pypi.org/pypi/<pkg>/<version>/json \      | python3 -c "import json,sys,re; rd=json.load(sys.stdin)['info'].get('requires_dist') or []; print('\n'.join(x for x in rd if re.match(r'^to…

We checked every text file in this skill, at commit 25910b3 on 3 Nov 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.

How the check worksReport an incorrect finding

  • https://huggingface.co/docs/hub/spaces-zerogpu
  • https://huggingface.co/blog/zerogpu-aoti
  • https://github.com/Dao-AILab/flash-attention/releases
  • https://huggingface.co/kernels-community
  • https://pypi.org/pypi/
  • https://github.com/pytorch/torchcodec

Format check

Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.

  • Agent Skills specPasses

    The open format from agentskills.io, held to the strictest version of each rule among the agents we check.

    • Note

      There is no license field, so readers can't tell whether they may reuse the skill. O2

      Fix: Add license: with an SPDX name such as MIT or Apache-2.0, or the name of a bundled licence file.

    • Note

      Line 235 has dated wording ("since 2025"), which goes stale. B8

      Fix: Describe the current way, and move old patterns into their own clearly marked section.

  • Claude CodePasses

    Claude Code reads its own extra fields, ignores unknown ones, and still loads a skill whose frontmatter is broken, without its fields.

    • Note

      Line 235 has dated wording ("since 2025"), which goes stale. B8

      Fix: Describe the current way, and move old patterns into their own clearly marked section.

  • Claude apps & API uploadPasses

    Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.

    • Note

      The description is 869 characters. The claude.ai Help Center says 200 at most, though Anthropic's API docs and validator allow 1,024. D4

      Fix: If the claude.ai upload refuses it, trim the description to 200 characters.

    • Note

      Line 235 has dated wording ("since 2025"), which goes stale. B8

      Fix: Describe the current way, and move old patterns into their own clearly marked section.

  • OpenAI (Codex & API)Passes
  • VS Code & CopilotPasses

SKILL.md

Files

More from huggingface/skills

SkillWhat it can touchPattern checkLicenceUpdated
hf-cliHugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub. Use when: handling authentication; managing local cache; managing Hugging Face Buckets; running or scheduling jobs on Hugging Face infrastructure; managing Hugging Face repos; discussions and pull requests; browsing models, datasets and spaces; reading, searching, or browsing academic papers; managing collections; querying datasets; configuring spaces; setting up webhooks; or deploying and managing HF Inference Endpoints. Make sure to use this skill whenever the user mentions 'hf', 'huggingface', 'Hugging Face', 'huggingface-cli', or 'hugging face cli', or wants to do anything related to the Hugging Face ecosystem and to AI and ML in general. Also use for cloud storage needs like training checkpoints, data pipelines, or agent traces. Use even if the user doesn't explicitly ask for a CLI command. Replaces the deprecated `huggingface-cli`.
  • Downloads software
  • +3 more

Pattern check: 1 item to reviewApache 2.0Updated 29 Oct 2026

  • Downloads software
  • Runs shell commands
  • +2 more
Pattern check: 1 item to reviewApache 2.029 Oct 2026
  • Touches credentials
  • Runs shell commands
Pattern check: Nothing flaggedApache 2.07 Jul 2026
  • Runs shell commands
  • Reaches the network
  • +2 more
Pattern check: Nothing flaggedApache 2.07 Jul 2026
hf-cloud-sagemaker-deployment-plannerPlan and coordinate the deployment of a model to Amazon SageMaker AI. Use this skill whenever the user wants to deploy, host, serve, or expose a model on SageMaker or AWS — including phrases like "deploy a model", "host this LLM on AWS", "serve this embedding model", "deploy a reranker", "deploy a text-to-image / diffusion model", "host this for async inference", "create an endpoint", "serve my fine-tuned model", or any request that involves making a model available for inference on AWS. Use this even when the user is vague (e.g. "I just want to get this running on AWS, you figure it out"). Works for text-generation LLMs, embedding models, rerankers, classifiers, text-to-image / diffusion models — picks the right serving stack and chooses between real-time and async inference. This is the entry-point skill for SageMaker deployment work — it asks clarifying questions, picks a deployment pathway, and coordinates the other deployment skills.
  • Runs shell commands

Pattern check: Nothing flaggedApache 2.0Updated 3 Aug 2026

  • Runs shell commands
Pattern check: Nothing flaggedApache 2.03 Aug 2026
  • Runs shell commands
  • Bundles scripts
Pattern check: Nothing flaggedApache 2.010 Sept 2026
hf-cloud-sagemaker-production-defaultsCreate a SageMaker endpoint (real-time, real-time scale-to-zero, or async) with autoscaling, CloudWatch alarms, and tagging enabled by default. Use this skill whenever about to create a SageMaker endpoint, write deployment code that calls `create_endpoint`, or finalize a deployment after the image URI and IAM role are known. Provides deploy.py for real-time endpoints, deploy_ic.py for real-time endpoints that scale to zero instances via inference components, and deploy_async.py for async endpoints (also scale-to-zero). This is the last step in the SageMaker deployment workflow. Never generate a bare `create_endpoint` call without these defaults — endpoints without autoscaling or alarms are demos, not deployments.
  • Runs shell commands
  • +2 more

Pattern check: Nothing flaggedApache 2.0Updated 10 Sept 2026

  • Runs shell commands
  • Names web addresses
  • +1 more
Pattern check: Nothing flaggedApache 2.010 Sept 2026
All skills in huggingface/skills

Other AI & ML engineering skills

Same category, most repo stars first.

SkillWhat it can touchPattern checkLicenceUpdated
  • Runs shell commands
Pattern check: Nothing flaggedMIT11 Aug 2026
  • Runs shell commands
  • Names web addresses
Pattern check: Nothing flaggedMIT11 Aug 2026
claude-apiReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).

anthropics/skills

  • Touches credentials
  • +6 more

Pattern check: 1 item to reviewApache 2.0Updated 9 Oct 2026

  • Touches credentials
  • Downloads software
  • +5 more
Pattern check: 1 item to reviewApache 2.09 Oct 2026
  • Touches credentials
  • Runs shell commands
  • +3 more
Pattern check: Nothing flaggedApache 2.028 Oct 2026
benchmark-modelsCross-model benchmark for gstack skills. (gstack)

garrytan/gstack

  • Touches credentials
  • +2 more

Pattern check: 1 item to reviewMITUpdated 30 Oct 2026

  • Touches credentials
  • Runs shell commands
  • +1 more
Pattern check: 1 item to reviewMIT30 Oct 2026
  • Runs shell commands
  • Pre-approves tools
Pattern check: 1 item to reviewMIT2 Nov 2026

Repo facts from GitHub on 3 Nov 2026. Files read at commit 25910b3.

QAI did not write these skills and is not affiliated with their authors unless a page says so. Logos and icons belong to their owners and are not a mark of approval. How we check