dataset-builder

dataset-builder is a skill for Claude Code, Codex from Hipson47/Hipson. It costs 30 tokens per session (1,035 once invoked), scanned A, original, Apache-2.0.

A workflow for building computer-vision datasets, meaning collections of images or video labeled for training systems that understand visual content. It covers extraction, labeling formats such as YOLO and COCO, dataset splits, validation, privacy, and versioning.

In plain words
What is it for?
Use it to extract video frames, define classes, convert annotations, create train/validation/test sets, validate quality, document provenance, and version dataset artifacts.
Why use it?
It helps make training data reproducible and reduces problems such as unclear ownership, inconsistent labels, duplicate data, and information leaking between training and test sets.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hipson47/hipson/dataset-builder
Any agent
npx skills add Hipson47/Hipson --skill dataset-builder
Clone the repo
git clone --depth 1 https://github.com/Hipson47/Hipson

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dataset-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/hipson47/hipson/dataset-builder.svg)](https://agentmods.dev/skills/hipson47/hipson/dataset-builder)
Your own site
<a href="https://agentmods.dev/skills/hipson47/hipson/dataset-builder"><img src="https://agentmods.dev/badge/skills/hipson47/hipson/dataset-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00030 $0.01035
Opus 5 $0.00015 $0.00517
Sonnet 5 $0.00006 $0.00207
Haiku 4.5 $0.00003 $0.00103

Measured 4d ago against content hash 0ee348230e01, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dataset-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/computer-vision/dataset-builder/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Computer Vision Dataset Builder

Purpose

Create reproducible CV dataset artifacts from owned or licensed media. Make provenance, class definitions, annotation formats, split strategy, validation, augmentation, versioning, and privacy decisions explicit before training.

Use When

  • Extracting frames from video or images from an approved source.
  • Defining or converting YOLO, COCO, or another documented annotation format.
  • Creating train/validation/test splits, class maps, dataset manifests, or quality reports.

Do Not Use When

  • Media ownership, consent, license, or intended use is unknown.
  • The task is model training/inference without dataset changes.
  • The request asks to scrape private media, bypass access controls, or infer sensitive labels.

Inputs

  • Source inventory, ownership/consent/license, retention, and allowed uses.
  • Dataset task, class ontology, inclusion/exclusion rules, and annotation format.
  • Sampling policy, duplicate policy, split groups, ratios, seed, and version ID.
  • Image constraints, labeling tool/export source, augmentation policy, and destination outside the Hipson repository.

Default Stack

  • Python, OpenCV, NumPy, and standard JSON/CSV/YAML parsers in a project-owned environment.
  • Local filesystem and content hashes for the baseline; Roboflow, Supervision, and Hugging Face remain optional integrations.
  • YOLO or COCO only when the downstream model contract requires it.
  • Group-aware deterministic splits and augmentation after splitting.

Workflow

  1. Inventory sources and record owner, license, consent, collection method, allowed use, retention, and sensitive-content handling. Stop if rights are unresolved.
  2. Freeze a versioned class map and annotation policy with positive, negative, ignored, occluded, truncated, and ambiguous examples.
  3. Extract frames deterministically by timestamp, interval, or scene rule. Use collision-safe identifiers derived from stable source IDs, never private paths.
  4. Validate decoding, dimensions, channels, corrupt files, exact/near duplicates, empty labels, unknown classes, normalized coordinate bounds, and polygon shape.
  5. Split by source group, subject, site, session, or video before augmentation to prevent adjacent frames or related subjects from leaking across partitions.
  6. Apply augmentation only to training data and record the transform policy, random seed, tool/library version, and whether labels were transformed.
  7. Convert formats through one deterministic adapter and round-trip a sample. Preserve the canonical source annotations separately.
  8. Write a manifest with hashes, counts, class distribution, split statistics, rejected items, schema version, and unresolved quality risks.
  9. End with vision-verifier; do not claim dataset suitability from file counts alone.

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 113 lines · 30 tokens per session scan A 0ee348230e01

Subscribe to this mod's changes

dataset-builder is a skill published in the GitHub repository Hipson47/Hipson (4 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 1,035 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

deploy

Use when shipping a release of Agent Sessions — bumping version, updating CHANGELOG, building, signing, notarizing, publishing appcast, and creating a GitHub release.

jazzyalex/agent-sessions · 37 tokens

release-notes

Use when writing or curating the user-facing release copy for an Agent Sessions release — README "What's New", GitHub release notes, Sparkle release notes, or website/launch copy. Not for the internal CHANGELOG, which stays a full development history.

jazzyalex/agent-sessions · 56 tokens

sc-skill

Capture deterministic macOS screenshots for testing, docs, release notes, and marketing assets. Use when asked to automate app screenshots, batch-generate screenshot sets, standardize window sizing/composition, or choose between Peekaboo and native macOS screenshot tooling.

jazzyalex/agent-sessions · 55 tokens

add-agent-support

Create and ship AgentSessions support for a new or changed local AI agent/provider. Use when adding, reviewing, testing, documenting, or marketing a provider integration, session parser, transcript source, support-matrix entry, verified-version bump, or provider UI surface; drives the full loop from pre-support…

jazzyalex/agent-sessions · 103 tokens

handover

Use when wrapping up or capturing the current state of a coding session — writes a short, dated entry to the repo's RepoHandover.md so a future agent or you can resume without grepping archived sessions. Triggers on "handover", "hand off", "write handover", "capture state", "checkpoint this session".

jazzyalex/agent-sessions · 71 tokens

agent-session-format-check

Verify agent session format compatibility for Agent Sessions. Use when any agent CLI updates, when monitoring flags drift, or when bumping max verified versions (fixtures + docs + tests). Covers session schema, usage/limits tracking, storage backends, and discovery path contracts for all supported agents.

jazzyalex/agent-sessions · 62 tokens