/ai-model-research:expand-collectionfrom ai-model-research
"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".
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 expand-collection.md there if they exist; they win over
the defaults below. If HF_RESEARCH_COLLECTIONS_WORKSPACE is set, use its snapshots/INDEX.md to find existing
collections and write the plan file to its plans/ (step 7). Without one, call collections <owner>.
S="${CLAUDE_PLUGIN_ROOT}/scripts/hf-hub.py"
python3 "$S" extract found.md --resolve # seeds + the search URLs the user pasted
python3 "$S" related <id> --limit 6 --co 2 # neighbours of one seed (see below)
python3 "$S" search model --filter <tag> --sort downloads|likes|trendingScore --limit 15
python3 "$S" collection <slug> # the existing target's items and notes
python3 "$S" collection-add <slug> <type> <id> "<note>"
related returns, per seed type: model: base_model, trained_on, derivatives (fine-tunes, quants,
conversions), spaces_using; dataset: models_trained_on_it, spaces_using; Space: models_used,
datasets_used; paper: repos citing the arXiv id. Models, datasets and Spaces also get co_collected: the most upvoted
collections by other people that hold the seed, with their items. A candidate turning up in several of these
is strong evidence.
extract --resolve it. Report any exists: false. Listing URLs
(models?pipeline_tag=..., models?other=<tag>) come back under searches: those are the user's search
space, not items.collection-find). Reuse it, even if it's small; mention any second collection that overlaps (a candidate for
tidy-collections), don't merge here. Create a new one only when nothing fits.related on every seed (--limit 6 --co 2);search each tag the user gave plus the obvious sibling tags (read the seeds' tags: e.g. speech-enhancement →
speech-denoising, speech-restoration, dereverberation, noise-suppression), each by downloads, likes
and trendingScore, --limit 15.
Merge everything into one candidate table: id, pipeline, downloads, likes, last modified, and the list of signals
that found it (tag:x, derivative<seed, co:<collection title>).Found by <user>. <what it is, from tags/card>. Additions: Added in discovery: <what it is and why it earns its place>. One line each, ≤ 500 chars. Keep existing items' notes.collection-add seeds first, then additions (200 added, 409 already there). If the collection has no
description, set one (≤ 150 chars) naming the purpose. Read back and check the count.plans/<collection-slug-stem>.md with date, seeds, searches run, kept (with signals)
and notable drops with the reason. Commit and push. Next time, start from that file so dropped items aren't
re-proposed.Later single links the user adds ("also this one") go through the same check: right collection for what it does? If it's another task (an audio editing model offered for a speech enhancement collection), put it in the collection that fits and say so in one line.
Input, pasted as is:
TAG: https://huggingface.co/models?pipeline_tag=audio-to-audio&
Subset: speech enhancement
Tags:
https://huggingface.co/models?other=speech-enhancement
https://huggingface.co/models?other=speech-denoising
https://huggingface.co/desert-ant-labs/clear
https://huggingface.co/sarulab-speech/DialogueSidon2
https://huggingface.co/audiojs/restore
https://huggingface.co/nvidia/RE-USE
https://huggingface.co/cstr/Sidon-GGUF
https://huggingface.co/cisco-ai/stupase
https://huggingface.co/jadechoghari/VoiceRestore
Ask: "here's what I found, add these into a collection; if I already started one, put them there, add anything I missed".
extract --resolve: 7 models, all exist; 3 searches (pipeline_tag=audio-to-audio, other=speech-enhancement,
other=speech-denoising).related on the 7 seeds; tag searches on speech-enhancement, speech-denoising, speech-restoration,
dereverberation, noise-suppression × 3 sorts. About 70 candidates.Reads profile.env and expand-collection.md from the data folder. Writes plans/ in the collections workspace if one is set;
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"./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"./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