/ai-model-research:candidate-base-model-researchfrom ai-model-research
Find 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".
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: $HF_RESEARCH_HOME, $CLAUDE_USER_DATA/hf-research/, then ~/.claude-user-data/hf-research/). Read profile.env and candidate-base-model-research.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.
Profile keys used: HF_RESEARCH_DEFAULT_OWNER (owner of the candidates collection, default the token's
username), HF_RESEARCH_DEFAULT_VISIBILITY (default private), HF_RESEARCH_NAME_STYLE.
The Hub-side counterpart to candidate-dataset-research: search, check and file. A full
planning write-up (requirements, tokenizer tests, decision record) belongs in a model-planning
workflow if you have one. Use this skill for a quick live shortlist.
S="${CLAUDE_PLUGIN_ROOT}/scripts/hf-hub.py"
python3 "$S" search model [words] --task <pipeline_tag> [--filter en] [--filter license:apache-2.0] [--max-params 400M] [--sort downloads|trendingScore] [--limit 20]
python3 "$S" search model --filter base_model:<base-id> [words] # existing fine-tunes of a base
python3 "$S" model-info <owner/name> # params, licence, languages, context, architecture, formats
python3 "$S" collection-new <owner> "<Task> Base Model Candidates" <public|private> "<one-line task>"
python3 "$S" collection-add <slug> model <owner/name> "<verdict note>"
--task first, words second. --max-params filters on safetensors.total
in the script, because the Hub's num_parameters filter does not bound size. Repos without
safetensors (GGUF and others) are dropped by --max-params, so search again without it
if a family seems missing.search model --filter base_model:<id> <task words>. A fine-tune that already exists may
be a better starting point than the base, or may make training unnecessary.model-info: params, licence (flag gated, other, nc),
languages (a model tagged with 100+ languages is not evidence that the target language
works), context against the input length, and formats (ONNX/transformers.js/GGUF if the
deployment needs them). Read the card's eval section for results on similar tasks.candidate-dataset-research Step 4: ask public or private (default
from the profile, else private), reuse a fitting existing collection (collections <owner>),
otherwise <Task> Base Model Candidates. Note example:
pick: 150M, 8k ctx, apache-2.0, ONNX; encoder, fine for token-level break tagging.On models a language is a bare tag (--filter en, --filter he). language:en matches
only the few repos that carry that literal string as a tag (on 2026-10-25 these were Pashto GGUFs),
which looks like a result but isn't. The API ignores ?language= (checked again on 2026-11-14: 3 of
50 results were tagged he), but the website's models?language=he does filter. hubexplorer
sends the right form to each. On datasets it is
the other way round (language:en).
Candidate collections live on the Hub under the owner you choose; nothing is written locally except what you ask for. Private notes for this skill go in <data folder>/candidate-base-model-research.md; shared settings in <data folder>/profile.env. Nothing personal is stored in the plugin.
What SKILL.md sets; muted values are Claude Code's defaults
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-researchOther 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-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".