hf-init

HuggingFace Init (Onboarding)

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "hf-init" with this command: npx skills add richfrem/agent-plugins-skills/richfrem-agent-plugins-skills-hf-init

HuggingFace Init (Onboarding)

Status: Active Author: Richard Fremmerlid Domain: HuggingFace Integration

Purpose

Sets up everything needed for HuggingFace persistence. Run this once when onboarding a new project, or whenever credentials change.

What It Does

  • Validates required .env variables are set

  • Tests API connectivity with the configured token

  • Ensures the dataset repository exists on HF Hub

  • Creates the standard folder structure (lineage/ , data/ , metadata/ )

  • Uploads the dataset card (README.md) with configurable discovery tags

Required Environment Variables

Variable Required Description

HUGGING_FACE_USERNAME

✅ Yes Your HF username

HUGGING_FACE_TOKEN

✅ Yes API token (set in ~/.zshrc , NOT .env )

HUGGING_FACE_REPO

✅ Yes Model repo name

HUGGING_FACE_DATASET_PATH

✅ Yes Dataset repo name

HUGGING_FACE_TAGS

❌ No Comma-separated discovery tags for dataset card

HUGGING_FACE_PROJECT_NAME

❌ No Pretty name for dataset card heading

SOUL_VALENCE_THRESHOLD

❌ No Moral/emotional charge filter (default: -0.7 )

Usage

Validate Config

python ./scripts/hf_config.py

Full Init (Validate + Create Structure + Dataset Card)

python ./scripts/hf_init.py

Validate Only (No Changes)

python ./scripts/hf_init.py --validate-only

Quick Setup

Token goes in shell profile (never committed):

export HUGGING_FACE_TOKEN=hf_xxxxxxxxxxxxx

Project vars go in .env:

HUGGING_FACE_USERNAME=<your-username> HUGGING_FACE_REPO=<your-model-repo> HUGGING_FACE_DATASET_PATH=<your-dataset-repo>

Optional customization:

HUGGING_FACE_TAGS=reasoning-traces,cognitive-continuity,your-project-tag HUGGING_FACE_PROJECT_NAME=My Project Soul

Run init

python ./scripts/hf_init.py

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

markdown-to-msword-converter

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

zip-bundling

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

spec-kitty-checklist

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

create-agentic-workflow

No summary provided by upstream source.

Repository SourceNeeds Review