/hf-publisher-tools:publish-3d-datasetfrom hf-publisher-tools
Publish or update a folder of 3D models (GLB, glTF, OBJ, STL) as a Hugging Face dataset with previews, metadata and a card. Use on "upload these 3D models to Hugging Face".
Ships in hf-publisher-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One script does the work: ${CLAUDE_PLUGIN_ROOT}/scripts/hf3d.py (run with uv run; it declares its own dependencies).
Read config.json from ${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/hf3d/ (or ~/.claude-user-data/hf3d/ if that exists). It may set default_owner, default_license, default_public, collection, attribution, plus free-text notes - follow them. No config: ask for the owner, default licence cc-by-4.0, and offer the setup skill afterwards.
Any folder, flat or nested. Per asset, same file stem:
<stem>.glb (or .gltf + its buffers, .obj, .stl, .fbx, .ply, .usdz) - required<stem>.jpg / .png - preview, optional<stem>.json - optional metadata: name, description, tags, and any other fields (dimensions, source, licence notes). Every field becomes a dataset column.Recommended sidecar fields, so the dataset is filterable (the viewer Space turns low-cardinality text columns into filters):
| Field | Example |
|---|---|
id | unique, stable slug; defaults to the file stem, must not collide |
name, description | display name; one short paragraph |
category, subcategory | modular-storage / closed-totes |
colour, material | blue, PP |
state | open / closed for models with moving parts |
dimensions_mm | {"length": 600, "width": 400, "height": 230} |
source, confidence | where the dimensions came from, how sure |
Keep values short and consistent (a fixed vocabulary per field), so they work as filters.
If the user has descriptions or specs elsewhere (a spreadsheet, a spec JSON), write the sidecar .json files from them rather than inventing text.
S="${CLAUDE_PLUGIN_ROOT}/scripts/hf3d.py"
uv run "$S" build <src> <out> --title "<Title>" --repo <owner>/<Name> [--description "..."] [--tag x] [--render]
uv run "$S" push <out> <owner>/<Name> [--public|--private] [--collection "<title or slug>"] [--message "..."]
--render makes missing GLB/glTF previews with headless Blender, if blender is on PATH. Rows without an image are dropped by the dataset viewer, so render or supply previews.<out>/assets/*/ before pushing: a blank or black render means a bad asset or camera, not success.default_public, else private. Asking for public is the approval.--prune removes Hub assets no longer in <out>; use it only when the user is replacing the set.<out> and push again; unchanged files are skipped by hash.push ends by running check, which reports visibility, file and asset counts, a ranged download of one asset (expects magic=b'glTF' for GLB) and the dataset-viewer status. The viewer can take minutes and answer "server is busier than usual"; re-run uv run "$S" check <owner>/<Name> later. Report what was confirmed and what is still pending.
assets/<id>/<id>.<ext> + preview; metadata.jsonl with file_name -> preview (imagefolder convention), so the Hub viewer shows a thumbnail grid with the metadata as columns. It does not render 3D; link Sketchfab (skill mirror-to-sketchfab) for an in-browser 3D viewer.triangles, vertices and bbox_m (from accessor min/max, ignoring node transforms).modality:3d itself when the repo holds 3D files (.glb etc.); the card adds 3d, 3d-models and the format tags. Add domain tags with --tag.README.md card: licence, tags, a table with thumbnails and direct download links.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
21 skills in this plugin
/access-requestsReview and decide access requests on your gated Hugging Face models and datasets. Lists every gated repo under your owners with pending requests and their form answers, shows them with a neutral reading (or against your own acceptance policy), and accepts or rejects only the users you name. Also gives a history of requests over the last N days. Use when asked who has requested access, to check, approve or reject access requests, or after a release./audio-parquet-standardiseStandardise a user's Hugging Face audio datasets on parquet. Find their audio datasets from the latest hub-inventory export, check each one's file layout, and convert any that still hold loose audio files (wav/flac/mp3, audiofolder layouts, ad-hoc folders) into parquet shards with an embedded Audio column. Verify each against its source, remove the loose files, and repeat until none are left. Use when the user says "convert my audio datasets to parquet", "standardise audio datasets", "any audio datasets still loose files?", "parquet sweep", or after a new audio dataset is published as individual files./collectionsKeep a user's Hugging Face collections current: list an owner's collections, find models, datasets and Spaces that are in none of them, find which collections hold a repo, create a collection, add, remove, annotate or reorder items, rename or re-describe a collection, change its visibility, delete it. Works for the user and every org they belong to. Use after creating or publishing any Hub repo, or on "update the collections", "add it to a collection", "what isn't in a collection", "which collection is X in", "take X out of", "rename the collection", "reorder", "delete the collection"./complementary-pluginsList and install plugins that complement hf-publisher-tools: data-utils. Use on "what goes with this plugin", "related plugins"./contact-supportEmail Hugging Face support about the Hub account, an org, a repo or billing. Use when the user says "email HF support", "contact Hugging Face", "ask HF to unlock/delete/rename this DOI repo", "HF billing question", or when a Hub action is blocked and only staff can do it (DOI-locked delete, rename or visibility change; account or org problems; stuck Space; storage or quota)./create-datasetCreate a Hugging Face dataset repository, public or private, under the user's account or one of their organisations. Use when the user says "create a private dataset", "make a public dataset repo on HF", "new dataset under <org>", "set up a dataset on Hugging Face for X".hf-publisher-tools@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin hf-publisher-tools