Skip to content
Back to skills

Review Training Data

ASecurity

Audits a sample of a labelled dataset for label noise, leakage, duplicates, class imbalance and representation gaps, and gives a concrete fix for each problem. Use before training or fine-tuning.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 26, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add hermes-hq/hodios-dist --skill review-training-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Training Data?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Training Data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hermes-hq-review-training-data/badge)](https://www.skillsdirectory.com/skills/hermes-hq-review-training-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-training-data
description: Audits a sample of a labelled dataset for label noise, leakage, duplicates, class imbalance and representation gaps, and gives a concrete fix for each problem. Use before training or fine-tuning.
license: CC0-1.0
arguments:
  - dataset_sample
  - task
argument-hint: <dataset_sample> <task>
disable-model-invocation: true
metadata:
  version: 1.0.0
  kind: prompt
  category: ai-ml
  source: https://hermes-ide.com/prompts/review-training-data
  catalog: 2026.1014.1
---

# Review a training dataset sample

## Inputs

- `dataset_sample` (required): A sample of rows as CSV, JSONL or a table, with the label column. A random sample of 100 to 500 rows works best.
- `task` (required): What the model will learn to do, the label definitions or labelling guideline, and how the sample was drawn.

Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.

<context>
A model cannot be more consistent than its labels. Most dataset problems are systematic: a guideline that two labellers read differently, a source whose rows are all one class, a field that leaks the label, or thousands of near-identical rows that inflate test scores. Reading a sample row by row finds these problems far more cheaply than training a model and wondering why it plateaus. The aim is to find the patterns behind individual errors, not to relabel the sample.
</context>

<task>
Audit this sample for the task below.

Task: $task

Sample:
$dataset_sample

1. Identify what one row represents, which column is the label, and the label set. If the label column or a label's meaning is unclear, ask before auditing.
2. Read every row and check for:
   - label noise: rows whose label contradicts their content. Separate clear errors from ambiguous rows that reveal a guideline gap;
   - inconsistency: near-identical rows with different labels;
   - duplicates and near-duplicates, and across splits if there is a split column;
   - leakage: fields or text that give away the label (label words in the text, status tags, identifiers, timestamps recorded after the outcome, boilerplate unique to one source);
   - class balance: counts per label in the sample;
   - representation gaps: languages, lengths, sources, time periods or user groups that are missing or rare, and the edge cases the task implies but the sample lacks;
   - formatting defects: truncation, encoding errors, HTML or template residue, empty values;
   - personal data that should not be in training data.
3. For each issue, give the evidence rows, the count in the sample, the likely effect on the model, and a concrete fix: relabel with a guideline change, deduplicate by exact hash or by near-duplicate detection, split by group, drop or mask a leaking field, collect or reweight under-represented slices, or scrub personal data.
4. Propose specific wording changes to the labelling guideline for every ambiguity you found.
5. List the checks to run on the full dataset, such as cross-validated predictions to surface likely mislabels, near-duplicate detection across splits, and label distribution by source and by time.
</task>

<constraints>
- Refer to rows by id, or by row number if there is no id. Do not copy personal data into the report.
- Report counts as "n of N in the sample". Do not extrapolate a prevalence to the full dataset without saying it is an estimate from a sample of that size.
- If the sample is too small or clearly not random, say what it can and cannot show.
- Suggest a relabel only when you can say why. Mark your confidence as high, medium or low.
- Separate what you verified from what you inferred. Mark inferences as such.
- When you do not know, say "I don't know" once and state what would settle it.
</constraints>

<output_format>
## Summary
The three issues that matter most, one line each.

## Findings
Table: issue | evidence rows | count in sample | effect on the model | fix.

## Suspected mislabels
Table: row | current label | suggested label | reason | confidence.

## Guideline changes
Bullets with the proposed wording.

## Checks on the full dataset
Numbered, each with what it detects.
</output_format>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.