Loading...
Loading...
Use this skill when the user wants to build tool/scripts or achieve a task where using data from the Hugging Face API would help. This is especially useful when chaining or combining API calls or the task will be repeated/automated. This Skill creates a reusable script to fetch, enrich or process data.
npx skill4agent add huggingface/skills hugging-face-tool-builderhf--helpHF_TOKENcurl -H "Authorization: Bearer ${HF_TOKEN}" https://huggingface.co/api/references/hf_model_papers_auth.shHF_TOKENreferences/find_models_by_paper.shHF_TOKEN--tokenreferences/hf_model_card_frontmatter.shhfHF_TOKENreferences/baseline_hf_api.shreferences/baseline_hf_api.pyreferences/baseline_hf_api.tsxreferences/hf_enrich_models.shreferences/baseline_hf_api.sh 25 | jq -r '.[].id' | references/hf_enrich_models.sh | jq -s 'sort_by(.downloads) | reverse | .[:10]'references/baseline_hf_api.sh 50 | jq '[.[] | {id, downloads}] | sort_by(.downloads) | reverse | .[:10]'printf '%s\n' openai/gpt-oss-120b meta-llama/Meta-Llama-3.1-8B | references/hf_model_card_frontmatter.sh | jq -s 'map({id, license, has_extra_gated_prompt})'https://huggingface.co/api/datasets
/api/models
/api/spaces
/api/collections
/api/daily_papers
/api/notifications
/api/settings
/api/whoami-v2
/api/trending
/oauth/userinfohttps://huggingface.co/.well-known/openapi.jsonhttps://huggingface.co/.well-known/openapi.jsonjqcurl -s "https://huggingface.co/.well-known/openapi.json" | jq '.paths | keys | sort'curl -s "https://huggingface.co/.well-known/openapi.json" | jq '.paths["/api/models"]'hf❯ hf --help
Usage: hf [OPTIONS] COMMAND [ARGS]...
Hugging Face Hub CLI
Options:
--help Show this message and exit.
Commands:
auth Manage authentication (login, logout, etc.).
cache Manage local cache directory.
download Download files from the Hub.
endpoints Manage Hugging Face Inference Endpoints.
env Print information about the environment.
jobs Run and manage Jobs on the Hub.
repo Manage repos on the Hub.
repo-files Manage files in a repo on the Hub.
upload Upload a file or a folder to the Hub.
upload-large-folder Upload a large folder to the Hub.
version Print information about the hf version.hfhuggingface_hub