hf-init

Validate HuggingFace environment variables and create a structured dataset repository on the Hub.

5|3|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/richfrem/agent-plugins-skills --skill hf-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-init
Source: https://github.com/richfrem/agent-plugins-skills/tree/main/plugins/huggingface-utils/skills/hf-init
Command: npx skills add https://github.com/richfrem/agent-plugins-skills --skill hf-init

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Onboarding a new HuggingFace integration can be error-prone due to missing credentials, unknown API connectivity, and an absent dataset structure. This skill validates required environment variables, tests connectivity to the HuggingFace Hub, and ensures a standard repository layout is in place.

Core Features & Use Cases

  • Validate credentials from the environment and verify access to the HuggingFace Hub.
  • Create and structure the standard dataset folders (lineage/, data/, metadata/) and ensure a dataset card is present.
  • Use during project onboarding or credential updates to guarantee a consistent, ready-to-use HF setup.

Quick Start

Run the onboarding workflow to validate your environment and initialize your HuggingFace dataset repository.

Frequently Asked Questions about hf-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate environment variables for HuggingFace Hub API connectivity?

To validate environment variables for HuggingFace Hub API connectivity, run an onboarding workflow that checks required credentials from the shell environment and tests API access. This ensures your setup is correct before initializing any dataset repository.

How do I create and structure a dataset repository on the HuggingFace Hub?

To create and structure a dataset repository on the HuggingFace Hub, use an initialization workflow that generates standard folders including lineage/, data/, and metadata/, while ensuring a proper dataset card is present for a consistent layout.

Do I need to commit a .env file to use HuggingFace onboarding scripts?

You do not need to commit a .env file for HuggingFace onboarding. Security best practices require that credential handling reads directly from the shell environment, preventing sensitive API keys from being exposed in version control.

What is the best way to set up standard HuggingFace dataset folders during project onboarding?

The best way to set up standard HuggingFace dataset folders during onboarding is to apply an automated workflow that creates the lineage/, data/, and metadata/ directories and verifies API connectivity, ensuring a ready-to-use setup.

Why does my HuggingFace Hub API connection fail during repository initialization?

Your HuggingFace Hub API connection may fail during initialization if required environment variables are missing or invalid. Running an environment validation process confirms credential presence and verifies API access before structuring the repository.

Can I use this HuggingFace onboarding workflow for credential updates?

You can use this HuggingFace onboarding workflow during credential updates to verify access. It validates environment variables, tests API connectivity, and ensures your existing dataset repository structure remains consistent and ready to use.