Hugging Face · Agent Skill

hf-mem

Hugging Face CLI to estimate the required memory to load Safetensors or GGUF model weights for inference from the Hugging Face Hub

Published by Hugging FaceApache-2.079 lines in SKILL.md
Source
huggingface/skills/skills/hf-mem
Repository owner
huggingface

Install

Read the SKILL.md and any scripts before installing: a skill runs with your agent's permissions. This copies just this skill into Claude Code's user skills folder; other agents read skills from their own folder.

Claude Code (user-level)

git clone --depth 1 --filter=blob:none --sparse https://github.com/huggingface/skills.git /tmp/skills
cd /tmp/skills && git sparse-checkout set "skills/hf-mem"
mkdir -p ~/.claude/skills && cp -r "skills/hf-mem" ~/.claude/skills/hf-mem

Skills folder docs:

Works with

Agent Skills is an open format, so this skill loads in any harness that supports it, including Claude Code, Codex, Gemini CLI, OpenCode, Cursor, GitHub Copilot, goose, OpenHands. Some skills are written for one product and say so in their description.

More skills from Hugging Face

Reviewed Oct 5, 2026. Name and description are the skill's own frontmatter.