/ai-model-research:setup-collections-workspacefrom ai-model-research
Set up a private Git repository as the user's Hugging Face collections workspace - inbox for links, plans for collections being built, periodic snapshots of every collection for search and deduplication, a log of tidy-ups - and register it with the plugin so the collection skills use it. Use on "set up a collections workspace", "make me a repo for my collections", "where should my collections scratchpad live", or when a collections skill finds HF_RESEARCH_COLLECTIONS_WORKSPACE unset and the user wants one.
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.
The collection skills work without a workspace (straight against the Hub). A workspace adds memory: links staged for later, plans that remember what was dropped, snapshots so "do I already have a collection for this?" costs no API calls, and a log of merges and deletions.
Find the data folder (see shared/settings.md) and read profile.env. If HF_RESEARCH_COLLECTIONS_WORKSPACE is already
set and the folder exists, say so and stop (offer a snapshot refresh instead).
HF_RESEARCH_DEFAULT_OWNER (else the token's user), plus orgs the user names (hf-hub.py orgs lists
them). Default: the user only.HF-Collections unless the user's naming conventions say otherwise. Private: it holds private collection
names and plans.~/repos/HF-Collections.gh repo create <name> --private if gh is authenticated; otherwise a local repo, and say so.T="${CLAUDE_PLUGIN_ROOT}/templates/collections-workspace"
mkdir -p "$WS" && cp -r "$T"/. "$WS"/
# fill placeholders: {{TITLE}} repo name, {{OWNERS}} comma list, {{OWNERS_LINES}} one per line, {{DATE}} today
cd "$WS" && git init -b main && git add -A && git commit -m "Collections workspace"
gh repo create <name> --private --source . --push # if using GitHub
HF_HUB_SCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hf-hub.py" bin/snapshot # first snapshot (needs HF_TOKEN)
git add -A && git commit -m "First snapshot" && git push
Many collections take a while (one API call each, ~1 minute per 200); run it in the background for large accounts.
Append to profile.env (create it via setup if missing):
HF_RESEARCH_COLLECTIONS_WORKSPACE=<absolute path>
The inbox (<workspace>/inbox.md) and index (<workspace>/snapshots/INDEX.md) follow from it; set
HF_RESEARCH_COLLECTIONS_INBOX or _INDEX only to point elsewhere.
Path, remote URL, owners tracked, collection count from the first snapshot, and the four skills that now use it
(gather-collection-links, expand-collection, bundle-collection, tidy-collections). Suggest refreshing the
snapshot weekly (any scheduler; bin/snapshot is idempotent).
Writes the workspace repo and one line in profile.env.
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"./gated-accessGet 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".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