Dev & Engineering hugging-face-apicli-scriptingcurljqdata-pipelinesmodel-cards

Hugging Face API Tool Builder

Turn Hugging Face API calls into reusable, composable command-line tools.

FollowSkills review · FSRS-2.0
Not recommended
41/ 100 5-point scale 2.1 / 5
Trust11 / 25 · 2.2/5

The skill requires HF_TOKEN use and permits calls to the Hugging Face API and hf CLI, involving credentials and external network access. No credential theft, covert exfiltration, or destructive default was found, but least privilege, data-flow disclosure, sensitive-data handling, user confirmation, rollback, and source-verification requirements are incomplete, so points are deducted.

Reliability8 / 20 · 2.0/5

The instructions, examples, and some error outputs make common paths plausible. However, there are no committed tests for key paths; status-code handling, timeouts, retries, and input escaping are incomplete. find_models_by_paper.sh also contains unused authentication-command construction and inconsistent --token semantics, so points are deducted. The score remains within the static-review cap.

Adaptability5 / 15 · 1.7/5

The audience and main scenarios are reasonably clear, covering API queries, model-card processing, pipelines, and reusable scripts. Input/output contracts, non-fit boundaries, trigger conditions, environment requirements, and Chinese-language support are under-specified. Core functionality depends on huggingface.co and its CLI, which may be difficult to reach from mainland China, so points are deducted.

Convention7 / 15 · 2.3/5

The skill has clear structure, help requirements, external-tool guidance, and multiple examples, while repository context supplies an Apache-2.0 license and CI/security-policy signals. It lacks pinned versions, a changelog, explicit maintenance ownership, an update path, FAQs, and a complete dependency inventory, so points are deducted.

Effectiveness6 / 15 · 2.0/5

The skill can guide creation of reusable Hugging Face API scripts and provides composable shell examples. However, output formats are inconsistent, some scripts mix human-readable text with machine-readable data, and abnormal-case behavior and result correctness are not demonstrated by committed execution tests. User review and possible fixes remain necessary, so points are deducted. The score remains within the static-review cap.

Verifiability4 / 10 · 2.0/5

The supplied files are auditable, and the examples, endpoint references, and repository CI provide limited evidence. The CI mainly validates generated artifacts rather than the skill scripts' key runtime paths, and there is no third-party execution evidence or multi-source corroboration, so points are deducted. The score remains within the static-review cap.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 86cdeee824b7
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Restrict HF_TOKEN permissions, prevent exposure in logs or command lines, and disclose which requests send data to huggingface.co.
  • Before use, verify curl, jq, python3, the hf CLI, and network reachability; mainland-China networks may impair core API and download functions.
  • Do not treat API responses, model-card content, or downloaded files as trusted input without validation; add status-code handling, timeouts, retries, encoding safeguards, and tests.
  • Some scripts do not provide stable machine-readable output, so validate and pin the output contract before integration.
See the full review method →

What does this skill do, and when should you use it?

This skill helps agents create reusable command-line scripts and utilities around the Hugging Face API. It supports direct API access as well as the Hugging Face hf CLI for repository content such as model and dataset cards. The workflow emphasizes inspecting API response shapes, authenticating with HF_TOKEN, and composing calls through pipelines and chaining. It fits developers who need repeatable, automated, or multi-step Hugging Face data workflows.

It creates command-line scripts that fetch, enrich, or process Hugging Face data, call Hugging Face API endpoints or the hf CLI, read model and dataset cards, and emit JSON, NDJSON, or other shell-friendly output. Scripts are expected to provide --help; non-destructive scripts should be tested before delivery; and HF_TOKEN should be sent as the API Authorization header.

  1. A Hugging Face user needs to fetch model metadata in bulk and sort models by downloads.
  2. A data engineer needs to read model IDs from stdin, enrich each ID, and emit one NDJSON object per line.
  3. A developer needs to parse model-card YAML frontmatter for licenses, pipeline tags, or gated-prompt flags.
  4. A team needs to chain several API calls into a repeatable data-fetching or processing workflow.

What are this skill's strengths and limitations?

Pros
  • Focused specifically on building scripts for fetching, enriching, and processing Hugging Face API data.
  • Supports curl, jq, the hf CLI, and standard-input/output pipelines.
  • Explicitly promotes HF_TOKEN authentication for higher limits and appropriate access to data.
  • Includes reference patterns for model search, model-card parsing, and NDJSON enrichment.
Limitations
  • Its scope is script construction rather than a complete guide to all Hugging Face Hub operations.
  • It requires network access and command-line tools such as curl, jq, or the hf CLI.
  • The SKILL.md provides no operating-system-specific setup instructions or test suite.
  • The exact API parameters and response shapes must be investigated before finalizing a design.

How do you install this skill?

Copy or symlink the skills/huggingface-tool-builder/ directory from the huggingface/skills repository into a standard Codex .agents/skills location, such as $REPO_ROOT/.agents/skills or the user-level $HOME/.agents/skills. The README does not document a separate installation command for this individual skill; it states that Hugging Face skills can be installed by compatible clients.

How do you use this skill?

In an Agent Skills-compatible coding agent, make a concrete request such as: “Use huggingface-tool-builder to create a script that reads model IDs, fetches metadata from the Hugging Face API, and emits jq-friendly NDJSON.” When authorization is needed, provide HF_TOKEN as an environment variable; the script should include --help and non-destructive behavior should be tested before handoff.

How does this skill compare with similar options?

Compared with hf-cli, this skill focuses more narrowly on creating reusable, composable API tools and data pipelines; the README positions hf-cli as the recommended entry point for core Hugging Face Hub commands.

FAQ

Does this skill require a paid service?
The source does not specify additional costs. It accesses the Hugging Face API and recommends HF_TOKEN authentication for higher limits and appropriate data access.
Can it automate any Hugging Face task?
That is broader than the documented scope. Its stated purpose is creating reusable command-line scripts for calling, combining, and processing Hugging Face API data.
Can it work without HF_TOKEN?
The source requires HF_TOKEN as the Authorization header, but does not specify which endpoints remain available when the variable is absent.
What output formats should scripts use?
The skill supports shell-composable output; its examples include raw JSON and line-delimited NDJSON processed through jq pipelines.

More skills from this repository

All from huggingface/skills

Data & Analysis

Hugging Face Dataset Explorer

Explore, query, and extract Hugging Face datasets through the Dataset Viewer API.

Dev & Engineering

Hugging Face Local Model Runner

Choose compatible GGUF quantizations from Hugging Face and run them locally with llama.cpp.

Dev & Engineering

Hugging Face Hub CLI Skill

Give agents command-line control over Hugging Face Hub models, datasets, Spaces, jobs, and infrastructure.

Dev & Engineering

LoRA Space Demo Builder

Build and publish a tailored Gradio Space for a Hugging Face LoRA.

Dev & Engineering

Hugging Face Spaces Builder

Build, deploy, debug, and maintain machine-learning apps on Hugging Face Spaces.

Dev & Engineering

Hugging Face Paper Research Assistant

Read AI papers and retrieve structured metadata from Hugging Face paper pages.

Data & Analysis

Hugging Face LLM Trainer

Train, fine-tune, and preserve models on Hugging Face cloud GPUs.

Data & Analysis

Hugging Face Local Evaluator

Run controlled inspect-ai or lighteval evaluations for Hugging Face Hub models on local hardware.

Data & Analysis

Sentence Transformers Training Assistant

Train retrieval, similarity, reranking, and sparse-search models with Sentence Transformers.

Data & Analysis

Hugging Face Model Finder

Recommends AI models by task, benchmark performance, and available device memory.

Dev & Engineering

Hugging Face MCP Assistant

Connect agents to Hugging Face Hub for searchable models, datasets, documentation, apps, and compute jobs.

Dev & Engineering

Hugging Face ZeroGPU Builder

Build dependable Gradio AI demos and GPU workloads on Hugging Face ZeroGPU.

Data & Analysis

Hugging Face Model Memory Estimator

Estimate inference memory without downloading model weights.

Data & Analysis

Trackio Experiment Tracking

Log, monitor, and query machine-learning experiments with dashboards, diagnostic alerts, and automation-ready output.

Data & Analysis

Hugging Face Vision Trainer

Train detection, classification, and segmentation models on Hugging Face Jobs GPUs and persist the results to the Hub.

Writing & Content

Hugging Face Paper Publisher

Publish, connect, and manage research papers on the Hugging Face Hub.

Automation & Ops

AWS Context Discovery

Resolve the active AWS environment before any account operation.

Automation & Ops

SageMaker Deployment Planner

Choose a practical Amazon SageMaker deployment path for your model, traffic pattern, and latency needs.

Automation & Ops

SageMaker IAM Preflight

Find and validate a usable SageMaker execution role before deployment or training.

Dev & Engineering

Gradio Interactive App Builder

Build Gradio web interfaces, machine-learning demos, and chat apps in Python.

Related skills