ericrisco/rsc-harness / skills/huggingface
huggingface
VerifiedUse when running open models or working on the Hugging Face platform — the Inference Providers router or InferenceClient, Hub repos via the hf CLI, a dedicated Inference Endpoint with scale-to-zero, a Gradio Space with ZeroGPU, picking an open model by task/license/size, or loading one locally with transformers. NOT serving locally on your own machine (that is `ollama`), NOT renting your own GPU box (that is `runpod`), NOT hosted creative image APIs (that is `replicate-images`), NOT fine-tuning with trl/peft (that is `finetuning`).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.0 KB |
| evals/README.md | markdown | 862 B |
| evals/cases.yaml | config | 2.9 KB |
| references/endpoints-and-spaces.md | markdown | 3.0 KB |
| references/hub-and-cli.md | markdown | 2.6 KB |
| references/inference-providers.md | markdown | 3.8 KB |
| scripts/verify.shexecutable | script | 4.2 KB |
evals/cases.yaml
View on GitHubskill: huggingface
should_trigger:
- prompt: "I want to call an open chat model through Hugging Face without hosting it myself."
why: "Core Inference Providers router path — InferenceClient/router base URL, no infra owned."
- prompt: "Get sentence embeddings from a Hugging Face model using InferenceClient in Python."
why: "feature_extraction via the router; embeddings are the canonical hf-inference CPU task."
- prompt: "Deploy my fine-tuned model to a Hugging Face endpoint with scale to zero so it costs nothing when idle."
why: "Dedicated Inference Endpoint + scale-to-zero — the graduation-off-the-router path."
- prompt: "Push my model and a dataset to the Hub and write a model card for them."
why: "Hub ops: hf upload / repo create + README front-matter model card."
- prompt: "My HF serverless calls return 404 for a 70B model but work fine on a BERT classifier — why?"
why: "Non-obvious: hf-inference is CPU/small-model only; big LLMs must route to a partner provider. User never names the fix."
- prompt: "Necesito desplegar un modelo de Hugging Face con escalado a cero y controlar el coste de inferencia."
why: "Spanish; dedicated Endpoint + scale-to-zero + cost math, squarely this skill."
should_not_trigger:
- prompt: "Run this open model locally with `ollama serve` on my laptop."
route_to: ollama
why: "Self-hosting an open model on your own machine — ollama's territory, not HF-routed/hosted."
- prompt: "Rent an A100 pod, build a container, and run my own inference server with autoscaling I operate."
route_to: runpod
why: "You own and operate the GPU infra; HF is for the Hub + HF-routed/hosted inference."
- prompt: "Generate polished product photos from a text prompt via a hosted image API for our store."
route_to: replicate-images
why: "Creative media deliverable via a hosted API, not the open-model + Hub workflow."
- prompt: "Build a retrieval pipeline over our docs: chunking, an index, and reranking."
route_to: rag
why: "Building a retrieval system, not calling/hosting a model on HF."
- prompt: "Set up a multi-provider LLM router across Together and Fireworks as our chosen vendors."
route_to: together-fireworks
why: "Non-HF vendor abstraction where HF is not the platform in play."
capability:
- scenario: "Run Llama-3.1-8B-Instruct through Hugging Face without hosting it, then plan the move to a dedicated endpoint as traffic grows."
must_include:
- "InferenceClient or the OpenAI-compatible router base URL https://router.huggingface.co/v1"
- "a partner provider (e.g. together/fireworks), not hf-inference, for the 8B LLM"
- "HF_TOKEN read from the environment, never a hardcoded hf_ literal"
- "cost awareness: Free $0.10 / PRO $2 monthly credits then pay-as-you-go, no markup"
- "a dedicated Inference Endpoint with scale-to-zero as the graduation path when traffic is steady"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |