Croissant Validator logo

Croissant Validator

Organization
AI-ModCon
croissant-validator

Validates and generates Croissant metadata for ML datasets. Use when checking dataset metadata compliance, creating new croissant.json files, validating existing metadata, or ensuring ML dataset descriptions follow the MLCommons Croissant format specification.

Overview

PublisherAI-ModCon
Repositorygenesis-skills
Skill namecroissant-validator
Stars
37
Forks
16
Bundled files
2
LicenseBSD-2-Clause
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by AI-ModCon on GitHub. Read the source before you install it.

Installation

Install the Croissant Validator AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AI-ModCon/genesis-skills/tree/main/skills/basedata-skills/croissant-validator
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AI-ModCon/genesis-skills.git /tmp/genesis-skills
mkdir -p .claude/skills
cp -r /tmp/genesis-skills/skills/basedata-skills/croissant-validator .claude/skills/croissant-validator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Croissant Validator in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Croissant Validator on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Croissant Validator is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Croissant Metadata Validator & Generator

Validate and generate croissant.json metadata for ML datasets.

Use This Skill When

  • User asks to validate Croissant metadata.
  • User asks to create or update croissant.json.
  • User asks for MLCommons Croissant conformance checks.

Skill Layout

  • scripts/validate_croissant.py: required-field checks + optional mlcroissant validation.
  • scripts/generate_croissant_from_csv.py: generate metadata from CSV headers and sample values.

Keep executable code in scripts/; keep SKILL.md focused on workflow.

Python Environment Rule

For any command requiring package installs, use a temporary venv in the working directory and remove it after execution.

bash
python3 -m venv .venv_croissant && \
.venv_croissant/bin/pip install -q mlcroissant pandas && \
# ... run command(s) ... && \
rm -rf .venv_croissant

Never run global pip install.

Validation Workflow

  1. Locate metadata file (croissant.json, metadata.json, or user-provided path).
  2. Run script-level validation:
    bash
    python3 skills/croissant-validator/scripts/validate_croissant.py path/to/croissant.json
  3. If mlcroissant validation is required, run in venv:
    bash
    python3 -m venv .venv_croissant && \
    .venv_croissant/bin/pip install -q mlcroissant && \
    .venv_croissant/bin/python skills/croissant-validator/scripts/validate_croissant.py path/to/croissant.json && \
    rm -rf .venv_croissant
  4. Report: pass/fail, missing required fields, structural warnings, and fix suggestions.

Generation Workflow (CSV)

  1. Collect required inputs:
    • dataset name
    • description
    • SPDX license URL
    • creator name
    • dataset URL
  2. Generate metadata from CSV:
    bash
    python3 skills/croissant-validator/scripts/generate_croissant_from_csv.py \
      data.csv \
      "My Dataset" \
      "Dataset description" \
      "https://spdx.org/licenses/MIT.html" \
      "Creator Name" \
      "https://example.com/dataset" \
      --output croissant.json \
      --cite-as "@misc{my-dataset-2026, title={My Dataset}, author={Creator Name}, year={2026}}"
  3. Validate generated file with validate_croissant.py.
  4. If needed, rerun generation or patch metadata manually.

Required Metadata Fields

  • @context
  • @type = sc:Dataset
  • conformsTo = http://mlcommons.org/croissant/1.0
  • name
  • description
  • license
  • url
  • creator
  • datePublished
  • distribution

High-Value Checks

  • All @id values are unique.
  • Each cr:FileObject has sha256 or md5.
  • recordSet/field references are valid.
  • Dates use ISO format (YYYY-MM-DD).
  • License uses SPDX URL.

Common Fixes

  • Add missing conformsTo.
  • Replace non-SPDX license values with SPDX URLs.
  • Add checksums to cr:FileObject entries.
  • Add missing field.source mappings.

Resources

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Croissant Validator AI skill do?

Validates and generates Croissant metadata for ML datasets. Use when checking dataset metadata compliance, creating new croissant.json files, validating existing metadata, or ensuring ML dataset descriptions follow the MLCommons Croissant format specification.

Why use Croissant Validator on TypingMind?

Because you install it once and use it with any model. Croissant Validator is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Croissant Validator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AI-ModCon/genesis-skills/tree/main/skills/basedata-skills/croissant-validator. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Croissant Validator?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Croissant Validator?

As many as you like. As long as a model supports skills, you can use Croissant Validator with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Croissant Validator AI skill free?

Yes. It is published on GitHub by AI-ModCon under the BSD-2-Clause license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇