agentsclimarketplace

Hf init

Skill richfrem/agent-plugins-skills/plugins/dev-utils/skills/hf-init

Initialize HuggingFace integration - validates .env variables, tests API connectivity, and ensures the dataset repository structure exists. Use when onboarding a new project to HuggingFace or when credentials change.From its SKILL.md

Install
npx -y skills add richfrem/agent-plugins-skills --skill hf-init

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.5 KB, 576 tokens by cl100k_base, as published. Nobody here has run it

Dependencies

This skill requires Python 3.8+ and standard library only. No external packages needed.

To install this skill's dependencies:

pip-compile ./requirements.in
pip install -r ./requirements.txt

See ./requirements.txt for the dependency lockfile (currently empty — standard library only).


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

  1. Validates required .env variables are set
  2. Tests API connectivity with the configured token
  3. Ensures the dataset repository exists on HF Hub
  4. Creates the standard folder structure (lineage/, data/, metadata/)
  5. Uploads the dataset card (README.md) with configurable discovery tags

Required Environment Variables

VariableRequiredDescription
HUGGING_FACE_USERNAME✅ YesYour HF username
HUGGING_FACE_TOKEN✅ YesAPI token (set in ~/.zshrc, NOT .env)
HUGGING_FACE_REPO✅ YesModel repo name
HUGGING_FACE_DATASET_PATH✅ YesDataset repo name
HUGGING_FACE_TAGS❌ NoComma-separated discovery tags for dataset card
HUGGING_FACE_PROJECT_NAME❌ NoPretty name for dataset card heading
SOUL_VALENCE_THRESHOLD❌ NoMoral/emotional charge filter (default: -0.7)

Usage

Validate Config

python ./hf_config.py

Full Init (Validate + Create Structure + Dataset Card)

python ./hf_init.py

Validate Only (No Changes)

python ./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 ./hf_init.py

What ships with it: 8 files

3.0 KB alongside SKILL.md, 2 of them executable

evals/

references/

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.