/ai-model-research:tidy-collectionsfrom ai-model-research
Tidy up a Hugging Face account's collections - find single-item collections, pairs that overlap heavily, duplicate titles, collections with no description and items with no note - then propose merges, renames, descriptions and deletions, apply the ones the user approves, and log them. Use on "tidy up my collections", "clean up the collections", "which collections overlap", "dedupe my collections", "merge X into Y", "my collections are a mess".
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 tidy-collections.md there if they exist; they win.
With HF_RESEARCH_COLLECTIONS_WORKSPACE set, work from its snapshot and write the log there.
S="${CLAUDE_PLUGIN_ROOT}/scripts/hf-hub.py"
"$WS/bin/snapshot" # refresh first (workspace), else:
python3 "$S" collections <owner> > /tmp/cols.json # one API call per collection
python3 "$S" audit "$WS/snapshots/<owner>.json" # or /tmp/cols.json, or <owner> to fetch live
python3 "$S" collection <slug>
python3 "$S" collection-add|collection-remove|collection-item|collection-update|collection-delete ...
audit returns empty, singletons, no_description, duplicate_titles (case and punctuation folded),
overlapping (pairs where the shared items are ≥ 50% of the smaller collection, both with ≥ 2 items) and the count of
items with no note.
Overlap is not always a fault. Leave alone, and say why:
X - All holding X - Mine and X - Third Party; an org's "all repos" front door);tidy-collections.md) list as intentional, or that a website mirrors (check profile notes).Real problems: two collections for one purpose (Voice Enhancement vs Audio restoration), near-duplicate titles,
singletons that belong in an existing topical collection, empty collections, public collections with no description.
A table grouped by action: merge (from → into, items moving, items already there), move singleton (into which), rename, describe (proposed ≤ 150 chars), delete (empty, or emptied by a merge). Cap a pass at about 20 actions, starting with the largest overlaps; say how many remain. Ask once for approval of the batch; the user can strike lines.
collection-add every item of the source into the target with its note, verify with collection,
then collection-delete the source. Deletion is irreversible: only after the approval and the verification.
Before deleting a public collection, search the user's sites and repos for its slug (live pages may link to it).collection-update (a rename changes the slug; the script handles it; record the new slug).Workspace: log/YYYY-MM-DD-tidy.md with each action, old and new slugs, item counts; re-run bin/snapshot; commit
and push. Reply with counts per action and what remains for the next pass.
Reads profile.env and tidy-collections.md; writes the workspace log and snapshot. 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.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