/ai-model-research:gated-accessfrom ai-model-research
Get access to a gated Hugging Face model or dataset. Check whether you already have it, read the gate's form and licence prompt, pre-fill the answers from your saved profile, show the filled form and ask before anything is submitted, then submit it in a logged-in browser and confirm access. Use on "request access to <model>", "accept the licence for Llama/Gemma/…", "I need access to this gated model", "do I have access to X", or when a download fails with 401/403 "restricted".
Ships in ai-model-research. 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.
Gated repos make you fill in a form and accept terms before you can download. The answers are mostly the same every time (name, country, affiliation, job title), so this skill keeps them in your profile and fills them in. It never submits without your yes: the form is an agreement made in your name.
Find the data folder (see shared/settings.md: $HF_RESEARCH_HOME,
$CLAUDE_USER_DATA/hf-research/, then ~/.claude-user-data/hf-research/). Read
profile.env and gated-access.md there if they exist. The HF_RESEARCH_ACCESS_* keys
hold your answers. The notes may set a default intended-use wording, or give answers for
particular publishers. With no profile, ask for each answer and offer to save them at the end.
G="${CLAUDE_PLUGIN_ROOT}/scripts/gated.py"
python3 "$G" check <owner>/<name> # add --type dataset for a dataset
python3 "$G" check-many <repo> <repo> ...
access | Meaning |
|---|---|
granted | Done. You already have access, or the repo isn't gated |
not-granted | Gated, and access isn't granted yet. This includes a request that is still pending |
no-token | No token. Set HF_TOKEN or run hf auth login. A fine-grained token also needs "Read access to contents of all public gated repos you can access" |
not-found | No such repo, or it is private |
This calls GET /api/{models,datasets}/<repo>/auth-check (checked live 2026-11-13: 403 with
"not in the authorized list" before access, 200 after).
python3 "$G" form <owner>/<name>
This returns the gate mode (auto: granted on submit; manual: the publisher reviews), the
publisher's prompt (licence text or terms), each field with its type, any options, and a
fill value taken from your profile. missing lists the fields with no saved answer.
consents lists the checkboxes. The fields come from the card's extra_gated_fields.
Show, in one message:
select, use one of its options exactly.
For intended use, write a sentence specific to this request from the conversation, or
the default in the notes;Ask for any missing answer and ask whether to submit. Wait for a clear yes. A yes covers
this form only. Never tick a consent box or submit on your own judgement. Then offer to save
new answers to profile.env (never the date of birth unless the user says so).
Requesting access has no API: the form posts with your logged-in web session. Use a browser that is logged in to huggingface.co as the user (whichever browser tool you have). Open the repo page, open the gate form ("Agree and access repository" or the publisher's button text), enter exactly the confirmed values, tick only the confirmed boxes and submit. Take a snapshot of the result.
If no logged-in browser is available, give the user the page link and the values to paste.
Run check again. An auto gate should show granted within seconds. For manual, the
result is not-granted until the publisher decides, and Hugging Face emails the user then. Say
which case applies. Don't report success on the form's "request sent" message alone.
Reads profile.env (the HF_RESEARCH_ACCESS_* answers) and gated-access.md. With the
user's yes, writes new answers back to profile.env. It keeps no record of requests.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
28 skills in this plugin
/bundle-collectionBundle a list of Hugging Face things the user gives (URLs or ids of models, datasets, Spaces, papers; their own or anyone's) into a collection, new or existing, with a title, description and per-item notes that say what they were collected for. Use on "make a collection of these", "bundle these into a collection", "add these to my X collection", "update the collection with these", or a pasted list of HF links with a purpose./candidate-base-model-researchFind and shortlist base models on the Hugging Face Hub for a small fine-tune: search by task, size, language and licence, read each candidate's real parameter count, context length, architecture and export formats, check for existing fine-tunes of the task, and file the shortlist in a public or private candidates collection with a verdict note on each. Use when the user says "find a base model", "which model should I fine-tune", "base model candidates", "is there a small model for", "add it to the base candidates"./candidate-dataset-researchBefore building training data for a small model, find what already exists on the Hugging Face Hub. Search datasets for the task, including datasets that can be transformed into training pairs, open and vet the promising ones (schema, sample rows, size, licence), file the keepers in a public or private candidates collection with a one-line verdict on each, and optionally write a blend manifest saying which go into training and how much of each. Use when the user says "find datasets for", "candidate dataset research", "what's out there for this task", "is there a dataset I can use", "add it to the candidates", "put together a data blend", or is about to synthesise or hand-build a training set./complementary-pluginsList and install plugins that complement ai-model-research: ai-eval, batch-inference, hebrew-ai-tools. Use on "related plugins"./expand-collection"Here's what I found, add anything I missed": take the Hugging Face models, datasets, Spaces or papers the user found (plus any Hub search URLs or tags they used), find what they missed - originals behind conversions, newer or real-time variants, well-known alternatives, items other curators group with them - and file seeds and finds together into one collection, reusing the user's existing collection on the topic if there is one. Use on "here's what I found, what else is there", "add these and anything I missed", "build out my X collection", "find more like these", "flesh out this collection"./gather-collection-linksGather Hugging Face links (models, datasets, Spaces, papers) from anywhere into collections - pasted text, a web page, an awesome-list or blog post, a model card's related links, open browser tabs, a Hub search, or things mentioned during a conversation - deduplicate them, check what is already collected, and either file them now or stage them in an inbox to file later. Use on "collect these", "grab the HF links from this page", "add everything in this list to a collection", "save this model for my X collection", "stage these", "what's in my collections inbox", "file the inbox".ai-model-research@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin ai-model-research