beer-sakthai/sak-family-agent/sakthai-hf-hub-models-widgets
Claude Code and agent skill by beer-sakthai/sak-family-agent
- community
Checking that the SKILL.md file is still in the repository.
>- HF Hub model page inference widgets — configuration, example inputs/outputs, provider-backed live inference, playground testing, and widget metadata YAML.
Install
npx vskill@latest install beer-sakthai/sak-family-agent/sakthai-hf-hub-models-widgetsSKILL.md
Hugging Face Hub Inference Widgets
Overview
The model page inference widget allows users to test models directly on the Hub without writing any code. Widgets are powered by the Inference Providers network — a multi-provider inference serving system that replaced the old "Hosted Inference API."
Widget Configuration
Widgets are configured through YAML metadata in the model card:
Example Input Types
- Text tasks:
textproperty - Audio/Image tasks:
srcproperty (URL or relative repo path) - Multiple examples: Array under
widget:key - Examples repo-relative: Just use filename/path inside the repo
- Default inputs: Source at
huggingface.js/packages/tasks/src/default-widget-inputs.ts
Example Outputs
For models without live provider support, example outputs can be specified:
Output types:
- Text output:
output.text - Label scores:
output[].label+output[].score - Media output:
output.url(image/audio file in repo)
Widget Availability Conditions
- Task Support: The model's pipeline tag must be served by at least one
Inference Provider
- Provider Availability: At least one provider actively serves that model
- Model Configuration: Proper metadata and config files must exist
If no provider supports a model, "Ask for provider support" button appears.
Inference Playground
The Inference Playground lets users test chat completion models interactively with custom prompts, compare models, and tweak parameters (temperature, max tokens). Uses the same Inference Providers infrastructure.
How the Widget Differs from InferenceClient
| Aspect | Widget | InferenceClient | |
|---|---|---|---|
| Use case | One-click testing on model page | Programmatic inference in code | |
| Auth | Uses HF token or cookies | Uses HF token | |
| Routing | Provider auto-selection | Provider selection via model ID | |
| Streaming | Limited (non-streaming for most) | Full streaming support | |
| Cost | Free (community tier) | Free or paid per provider |
Key Takeaway
Widgets are the public face of Inference Providers on model pages. Configure them well = better user engagement. For zero-cost production inference, use InferenceClient with community-tier providers targeting the same model ID.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpersonas/sakthai/skills/SakThai-hf-hub-models-widgets/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/beer-sakthai/sak-family-agent/sakthai-hf-hub-models-widgets)