Add the Hugging Face Skill to Claude Code to Generate Images
Melvin Vivas · X post · 2026-04-23 · Open on X
Topics: AI Dev Tools & Productivity, AI Agents, Tool Use & MCP · Level: beginner
Summary
Installing the Hugging Face skills lets Claude Code generate images. The post gives the one-line hf CLI command that installs the skills into Claude Code globally.
Key points
- Install command: hf skills add --claude --global
- The --claude flag installs the skills into Claude Code; --global makes them available in all projects.
- Once installed, Claude Code can generate images through Hugging Face.
Resources mentioned
- Hugging Face · website · x.com · free · recommended by both Bashiri Smith & Melvin Vivas
Platform for hosting and finding ML models, datasets and papers. The quoted post says LocateAnything was trending there.
Also in: Using an ML agent to train an open-source TTS model on your voice (Melvin Vivas on X · notes), Deploy Open-Source Models with Hugging Face Inference Endpoints (Melvin Vivas on X · notes), Deploying Qwen3.8 27B on Hugging Face Inference Endpoints (Melvin Vivas on X · notes), Using Hugging Face credits: Jobs, Inference Endpoints and Open Models (Melvin Vivas on X · notes) and 38 more - Hugging Face CLI (hf) skills · tool · github.com · free
The hf command-line tool, which can install Hugging Face skills into Claude Code.
Also in: Hugging Face hf CLI Skill in Claude Code for Pushing Datasets (Melvin Vivas on X · notes) - Claude Code · tool · code.claude.com · paid · recommended by both Bashiri Smith & Melvin Vivas
Build agents and pipelines from the terminal; the guide's main agentic coding tool.
Also in: Create Claude Code Plugins with /plugin-authoring (Melvin Vivas on X · notes), Claude Code mods: customize behavior and UI with plugins (Melvin Vivas on X · notes), AI Engineer Roadmap Overview: From ML Foundations to RAG, Agents & Ops (Bashiri Smith on Facebook · notes), SkillsBento: Free Plugin Marketplace for Codex and Claude Code (Melvin Vivas on X · notes) and 101 more
Try this
- Run 'hf skills add --claude --global' to add the Hugging Face skills to Claude Code.
More in AI Dev Tools & Productivity
- Using GPT Image 2 in Freepik (vs Nano Banana)
- Amp: Features of a CLI Coding Agent (as Posted by Warp)
- Claude Code /ultrareview for Deeper Code Reviews
- Hugging Face hf CLI Skill in Claude Code for Pushing Datasets
- OpenAI's GPT Image 2 now on Replicate
- Cheap API access to Seedance 2.0 via WaveSpeedAI?