/hf-publisher-tools:generate-doifrom hf-publisher-tools
Find which public Hugging Face datasets or models have no DOI yet, list them with short refs (H01, D07) and a click-through checklist, and mint DOIs for the ones the user names, through the repo's Settings page in a real browser session. Use on "which datasets don't have a DOI", "generate DOIs", "mint a DOI for <repo>", "do H01 to H07".
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.
Find the data folder (see shared/settings.md: $HF_PUB_HOME, $CLAUDE_USER_DATA/hf-publisher-tools/, then ~/.claude-user-data/hf-publisher-tools/). Read profile.env and generate-doi.md there if they exist. They win over the defaults below, and comments in profile.env are instructions. With no profile, use the defaults below and offer setup at the end.
S="${CLAUDE_PLUGIN_ROOT}/scripts/hf-hub.py"
python3 "$S" dois dataset <owner> [<owner> ...] [--html FILE] # or: dois model <owner> ...
Owners: the ones the user names, else HF_PUB_OWNERS, else the username plus the token's orgs.
A minted DOI shows on the repo as a doi:10.57967/hf/<n> tag, which is what dois checks. It lists
public repos only: a private repo can't have a DOI. Refs are the owner's initial plus position by
creation date (H01 is the oldest repo of the owner starting with H that is still missing one), so
the user can say "H01 to H07". Refs are renumbered on every run, so always resolve them from a fresh
run, never from an old list. --html writes the checklist (links to each Settings page, ticks kept in
the browser); save it under HF_PUB_EXPORT_DIR as YYYY-MM-DD_hf-<kind>s-without-doi.html and open it.
Once a repo has a DOI it can never be deleted, renamed, transferred or made private (Settings page and dialog text, checked 2026-10-25; a move returns 409). So:
dois run. Read the list back in one line before starting.HF_PUB_NAME_STYLE), a repo meant to move to another owner, scratch or test repos.There is no public endpoint for minting (none found 2026-10-25), so drive a browser that is signed in to Hugging Face as the user (use the browser route the user's profile or notes name, else any browser tool that keeps a logged-in session). Per repo:
https://huggingface.co/datasets/<owner>/<name>/settings (models: no datasets/).I agree exactly into the confirm field (the second text input, under "Type I agree to
confirm"). The Generate a DOI submit button is disabled until then.curl -s https://huggingface.co/api/datasets/<id> | grep -o 'doi:10.57967/hf/[0-9]*'.
Record the DOI. If the tag is missing, reload once and check again before you try a second time, so the same
repo is never submitted twice.Cancel leaves the repo unchanged (checked 2026-10-25: dialog opened, Cancel, no DOI). The dialog says metadata and the creator name go to DataCite.
Each repo minted with its DOI (https://doi.org/10.57967/hf/<n>), each skipped with the reason, then a
fresh dois count.
Reads profile.env and generate-doi.md from the data folder. The optional HTML checklist goes to HF_PUB_EXPORT_DIR (default <data folder>/exports).
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