wshobson avatar

Dataset Curation

Before you touch a training run, this skill makes you do the boring part properly: format rows for the method you picked, apply the chat template before packing, mask loss to assistant turns, and decode a handful of packed sequences by hand, since packing bugs don't crash anything and only show up later in eval quality. It also insists on at least 25% real data in the final mix to guard against synthetic collapse, and it won't hand off to a run until a six-field dataset card is filled in. The honest take is that the ~1,000-row SFT floor and the 25% real-data rule are sensible defaults rather than hard science, and the skill is most useful as a checklist you'd otherwise skip under deadline pressure.

skills.sh installs
3K
GitHub stars
42.4K
last updated
Jul 22, 2026

Install

$ npx -y skills add wshobson/agents --skill dataset-curation --agent claude-code

Installs into .claude/skills of the current project.

Files

Dataset Curation

This skill assumes finetuning-method-selection already routed here — the next step is preparing data, not choosing a method. What follows: format selection by target method, the template/packing mechanics behind the most common silent training failures, rules for mixing in synthetic data without collapse, and the dataset card that closes out Phase 2 before a run starts.

Input: raw examples (demonstrations, preference judgments, or task prompts) plus a routing decision from finetuning-method-selection. Output format: a formatted, packed, validated JSONL dataset plus a completed dataset card — the Phase 2 artifact /finetune checks before launching training.

Format Selection

Sponsors

Details

Repository
github.com/wshobson/agents
Categories
Documentation, Code Review & Quality, Data Science & ML, Sales & Marketing
License
MIT
First seen
Aug 2, 2026

More from wshobson/agents

All 174
1softaworks avatarlesson-learnedsoftaworks/agent-toolkitAnalyze recent code changes via git history and extract software engineering lessons. Use when the user asks 'what is the lesson here?', 'what can I learn from 3Kskills.sh installs
2forcedotcom avatardeploying-metadataforcedotcom/sf-skillsSalesforce DevOps automation using sf CLI v2. TRIGGER when: user deploys metadata, creates/manages scratch orgs or sandboxes, sets up CI/CD pipelines, or troubl3Kskills.sh installs
3anthropics avatarcall-summaryanthropics/knowledge-work-pluginsProcess call notes or a transcript — extract action items, draft follow-up email, generate internal summary. Use when pasting rough notes or a transcript after 3Kskills.sh installs
4forcedotcom avatarrunning-apex-testsforcedotcom/sf-skillsApex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user needs to run Apex tests, check code coverage, fix failing t3Kskills.sh installs
5asyrafhussin avatarreact-vite-best-practicesasyrafhussin/agent-skillsReact and Vite performance optimization guidelines. Use when writing, reviewing, or optimizing React components built with Vite. Triggers on tasks involving Vit3Kskills.sh installs
6nexu-io avatartheme-factorynexu-io/open-designApply professional font and color themes to artifacts including slides, docs, reports, and HTML landing pages. Ships 10 pre-set themes.3Kskills.sh installs