hf-publish-workflow

Automate Hugging Face model/dataset/space publishing from PowerShell with one-time auth, README card generation, `hf upload` commands, and optional `--create-pr` review flow. Use when users ask to log in to Hugging Face CLI, publish artifacts, add or update model/dataset/space cards, wire a reusable profile publish function (for example `scbe-hf-publish`), or troubleshoot common `hf` command usage.

6 stars

Best use case

hf-publish-workflow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Automate Hugging Face model/dataset/space publishing from PowerShell with one-time auth, README card generation, `hf upload` commands, and optional `--create-pr` review flow. Use when users ask to log in to Hugging Face CLI, publish artifacts, add or update model/dataset/space cards, wire a reusable profile publish function (for example `scbe-hf-publish`), or troubleshoot common `hf` command usage.

Teams using hf-publish-workflow should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/hf-publish-workflow/SKILL.md --create-dirs "https://raw.githubusercontent.com/issdandavis/SCBE-AETHERMOORE/main/external/codex-skills-live/hf-publish-workflow/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/hf-publish-workflow/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How hf-publish-workflow Compares

Feature / Agenthf-publish-workflowStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Automate Hugging Face model/dataset/space publishing from PowerShell with one-time auth, README card generation, `hf upload` commands, and optional `--create-pr` review flow. Use when users ask to log in to Hugging Face CLI, publish artifacts, add or update model/dataset/space cards, wire a reusable profile publish function (for example `scbe-hf-publish`), or troubleshoot common `hf` command usage.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# HF Publish Workflow

Publish artifact folders to Hugging Face repos with consistent auth checks, card updates, and safe upload defaults.

## Quick Start

Run these checks first:

```powershell
hf auth login
hf auth whoami
hf version
```

Use `hf version` and not `hf --version`.

## Publish Flow

1. Confirm repo type: `model`, `dataset`, or `space`.
2. Confirm the target repo id in `owner/name` format.
3. Generate or refresh `README.md` card content before upload.
4. Upload with an ISO timestamp commit message.
5. Use PR mode (`--create-pr`) when a review gate is desired.

Use these base commands:

```powershell
# Model
hf upload owner/repo . . --commit-message "publish: model $(Get-Date -Format s)"

# Dataset
hf upload owner/repo . . --repo-type=dataset --commit-message "publish: dataset $(Get-Date -Format s)"

# Space
hf upload owner/repo . . --repo-type=space --commit-message "publish: space $(Get-Date -Format s)"
```

Use PR mode when needed:

```powershell
hf upload owner/repo . . --create-pr --commit-message "publish via PR"
```

## README Generation

Generate the card before upload. Include:

- Summary of the artifact and problem domain
- Intended use and limitations
- Security notes (no secrets, deterministic tests)
- Repro steps
- License and citation
- Discoverability tags

When frontmatter is requested, read `references/card-frontmatter.md` and select the section matching repo type.

## Reusable PowerShell Function

Use `assets/scbe-hf-publish.ps1` as the canonical function definition.

To install:

```powershell
notepad $PROFILE
# Paste file contents from assets/scbe-hf-publish.ps1
. $PROFILE
```

## Output Rules

- Emit exact commands with concrete repo name and type.
- Prefer `--create-pr` when user asks for safer publish or review gating.
- Keep commit messages explicit and timestamped when no user message is provided.
- Refuse to expose tokens or embed secrets in files.

Related Skills

scbe-research-publishing-autopilot

6
from issdandavis/SCBE-AETHERMOORE

Build and operate multi-hour SCBE research-to-publishing loops for articles and social posts with retrigger logic, evidence gates, and performance monitoring. Use when repeatable growth execution must stay lore/code accurate and avoid invention misrepresentation.

scbe-npm-prepublish-autopublish

6
from issdandavis/SCBE-AETHERMOORE

Enforce deterministic npm prepublish cleanup and auto-publish workflow gates for SCBE-AETHERMOORE. Use when preparing npm releases, hardening package contents, adding tarball guard checks, or updating GitHub Actions publish jobs to run the same local gates.

scbe-internet-workflow-synthesis

6
from issdandavis/SCBE-AETHERMOORE

Synthesize and operate SCBE end-to-end internet workflows by discovering local and GitHub architecture templates, generating a baseline web pipeline profile, running ingestion and governance scans, and tuning system variables after the first run. Use when users ask to build, repair, or optimize internet workflow pipelines, workflow architecture maps, n8n or agent orchestration flows, or post-baseline threshold and concurrency tuning.

scbe-gh-powershell-workflow

6
from issdandavis/SCBE-AETHERMOORE

Manage GitHub workflows and SCBE-AETHERMOORE repository operations from PowerShell 7 preview. Use for authenticated gh CLI actions, PR and branch workflows, CI triage, and SCBE code-aware repository inspections.

scbe-docker-workflow

6
from issdandavis/SCBE-AETHERMOORE

Coordinate SCBE Docker workflows from build to runtime. Use for SCBE container commands, docker-compose service startup, health checks, and troubleshooting of image/build failures, port conflicts, and container startup issues in SCBE repos.

scbe-claude-crosstalk-workflow

6
from issdandavis/SCBE-AETHERMOORE

Use when two AI lanes (Codex and Claude) work in parallel and need deterministic handoff packets with session IDs, lane-bus appends, and repairable delivery checks.

polyhedral-workflow-mesh

6
from issdandavis/SCBE-AETHERMOORE

Coordinate sub-agent communication, relay workflows, n8n-style automations, triggers, and cross-surface handoffs as one governed mesh. Use when a goal spans multiple agents, browser and terminal surfaces, automation hooks, or periodic and aperiodic work loops that need packets, scoreboards, relays, and proof-backed checkpoints instead of loose AI-to-AI chat.

scbe-training-pair-authoring

6
from issdandavis/SCBE-AETHERMOORE

Create prompt and response and metadata training pairs from SCBE documents, repair traces, terminal sessions, and operational workflows using the repository's canonical dataset contract and provenance rules.

scbe-spin-conversation-engine

6
from issdandavis/SCBE-AETHERMOORE

Generate SFT training data via radial matrix conversation pivots with D&D-style combat research mode. Produces diverse, cost-effective training pairs with Sacred Tongue encoding, golden spiral problem distribution, and harmonic re-attunement.

scbe-research-training-bridge

6
from issdandavis/SCBE-AETHERMOORE

Stage arXiv evidence and Obsidian markdown into source-grounded Hugging Face training bundles for research, review, and later SFT runs.

scbe-document-management

6
from issdandavis/SCBE-AETHERMOORE

Consolidate overlapping docs, classify files by authority, and keep SCBE repo documents aligned with runtime truth. Use when the repo has drift between canonical docs, public docs, proposal notes, research branches, and generated evidence.

scbe-colab-bridge

6
from issdandavis/SCBE-AETHERMOORE

Control Google Colab notebooks from Claude Code via Chrome extension. Execute cells, run terminal commands, read outputs, and manage GPU compute remotely.