/ai-model-research:gather-collection-linksfrom ai-model-research
Gather 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".
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.
Find the data folder (see shared/settings.md). Read profile.env and gather-collection-links.md there if
they exist; they win over the defaults below. Keys used here:
HF_RESEARCH_DEFAULT_OWNER: whose collections (default: the token's user).HF_RESEARCH_COLLECTIONS_WORKSPACE: the user's collections repo (setup-collections-workspace makes one). Its
inbox.md is the staging file and its snapshots/INDEX.md the list of existing collections. Commit and push
after each change to it.HF_RESEARCH_COLLECTIONS_INBOX / HF_RESEARCH_COLLECTIONS_INDEX: override those two paths. With no workspace and
no override, the inbox is <data folder>/collections-inbox.md and the index is a live collections <owner> call
(one API call per collection).S="${CLAUDE_PLUGIN_ROOT}/scripts/hf-hub.py"
python3 "$S" extract <file|-|URL> [...] # every Hub/arXiv reference, deduplicated, no API calls
python3 "$S" extract <file|-|URL> [...] --resolve # same, each checked: type, canonical id, exists, summary
python3 "$S" collection-find <model|dataset|space> <owner/name> # collections (any owner) already holding it
python3 "$S" collections <owner> # all the owner's collections with items (slow when many)
extract understands huggingface.co and hf.co URLs with any sub-path (/tree/main, /viewer,
/blob/...), datasets/ and spaces/ prefixes, huggingface.co/papers/<id> and arXiv abs/pdf links. It skips
docs, blog, tasks, search pages and bare user/org pages. Bare owner/name text without a URL is not
extracted: pass those to resolve directly.
| Source | How |
|---|---|
| Pasted text or a list | write it to a temp file (or pipe on stdin) and extract --resolve |
| A public web page (awesome-list, blog, leaderboard, README) | extract <URL> --resolve. If the fetch fails or the page is JS-rendered, fetch it with your web tools or a browser, save the text, extract from the file |
| A model or dataset card's links (base model, datasets used, related papers) | extract https://huggingface.co/<id>/raw/main/README.md --resolve |
| Open browser tabs | read the tab URLs with the browser tools available, then resolve them |
| A Hub search | search / hubexplorer, then take the ids the user picks |
| Mentioned during the conversation | resolve the ids as they come up |
Report anything with exists: false and carry on; never guess a substitute.
Each link needs a reason it is being collected. Take it from what the user said; if a batch came with no stated purpose, ask once for the batch, not per link. Then pick the target:
collections <owner>. Prefer an existing one; collection sprawl is the usual failure.collection-find tells you whether it is already in that target (skip it) or in another
of the owner's collections (mention it; adding to a second collection is fine when both fit).File now when the user asked to add or bundle, or the target is clear: hand the list, purpose and target
to bundle-collection (or to expand-collection if they also want what they missed) (it creates or updates, writes per-item notes, reads back).
Stage when the user says "save", "stage", "for later", or the target is undecided: append to the inbox,
under one ## heading per target (an existing slug, NEW: <Title> or UNSORTED):
## owner/hebrew-asr-candidates-6ad6...
- model ivrit-ai/whisper-large-v3 — strongest Hebrew fine-tune seen so far (from ivrit.ai blog, 2026-11-16)
Skip lines already in the inbox (match on type + id).
On "file the inbox" / "flush": for each heading other than UNSORTED, run bundle-collection with its
lines as items and their reasons as notes. Remove each line once collection <slug> shows the item
(200 added or 409 already there). Leave UNSORTED lines and ask where they go in one question.
Reply with collection URLs and counts per target.
Reads profile.env and gather-collection-links.md from the data folder. Writes only the inbox file
(HF_RESEARCH_COLLECTIONS_INBOX); collection changes go to the Hub.
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