richfrem/project_sanctuary/hf-upload
- community
Checking that the SKILL.md file is still in the repository.
Upload primitives for HuggingFace Soul persistence - file, folder, snapshot, JSONL append, and dataset card management with exponential backoff. Use when persisting agent learnings, snapshots, or semantic caches to HuggingFace.
Install
npx vskill@latest install richfrem/project_sanctuary/hf-uploadSKILL.md
HuggingFace Upload Primitives
Status: Active Author: Richard Fremmerlid Domain: HuggingFace Integration Depends on: hf-init (credentials must be configured first)
Purpose
Provides consolidated upload operations for all HF-consuming plugins (Primary Agent, Orchestrator, etc.). All uploads include exponential backoff for rate-limit handling.
Available Operations
| Function | Description | Remote Path | |
|---|---|---|---|
upload_file() | Upload a single file | Custom path | |
upload_folder() | Upload an entire directory | Custom prefix | |
upload_soul_snapshot() | Upload a sealed learning snapshot | lineage/seal_<timestamp>_*.md | |
upload_semantic_cache() | Upload RLM semantic cache | data/rlm_summary_cache.json | |
append_to_jsonl() | Append records to soul traces | data/soul_traces.jsonl | |
ensure_dataset_structure() | Create ADR 081 folders | lineage/, data/, metadata/ | |
ensure_dataset_card() | Create/verify tagged README.md | README.md |
Usage
From Python (as a library)
Prerequisites
- Run
hf-initfirst to validate credentials and dataset structure - Requires
huggingface_hubinstalled (pip install huggingface_hub) - Environment variables:
HUGGING_FACE_USERNAME,HUGGING_FACE_TOKEN
Error Handling
All operations return HFUploadResult with:
success: bool— whether the upload succeededrepo_url: str— HuggingFace dataset URLremote_path: str— path within the dataseterror: str— error message if failed
Rate-limited requests retry with exponential backoff (up to 5 attempts).
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/hf-upload/SKILL.md
Popularity
- Repository stars
- 5
- Repository forks
- 1
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/richfrem/project_sanctuary/hf-upload)