agentleFS
hyf020908hyf020908/modelscope-skills/skills/modelscope-datasets/SKILL.md

modelscope-datasets

Skill4 starsChanged 8 months agoApache-2.0View on GitHub

Build, clean, validate, and publish ModelScope datasets from plain-language instructions with automatic template selection.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user wants to create or curate a dataset and describes the requirement in natural language.

    line 8
  2. Distinctive:

    Default to the closest of:

    line 16
  3. Distinctive:

    Run SQL-based inspection only after a stable snapshot exists.

    line 35
  4. Very specific:

    If split names are missing, prefer train, validation, test.

    line 40
  5. Very specific:

    If schema is ambiguous, preserve raw columns and choose custom instead of forcing the wrong template.

    line 41
  6. Distinctive:

    If metadata is missing, keep placeholders separate from row data.

    line 42
  7. Very specific:

    Use MODELSCOPE_API_TOKEN or a prior modelscope login session for publish steps.

    line 53
  8. Distinctive:

    Never force the user into a verbose dataset-writing template.

    line 57
  9. Distinctive:

    Never upload private or unlicensed data by default.

    line 58
  10. Distinctive:

    Never mutate rows before validating the intended schema.

    line 59
  11. Distinctive:

    Keep raw and normalized outputs separate.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ModelScope Datasets

Use this skill when the user wants to create or curate a dataset and describes the requirement in natural language.

Request Style

  • Accept requests like:
    • Create a chat dataset repo from these JSONL files.
    • 把这个问答数据整理成标准 QA 数据集并上传到 ModelScope。
  • Infer the nearest supported template instead of demanding a template upfront.
  • Default to the closest of:
    • chat
    • classification
    • qa
    • completion
    • tabular
    • custom

Primary Scripts

  • scripts/dataset_manager.py
  • scripts/sql_manager.py

Workflow

  1. Infer dataset type from the user request and existing files.
  2. Initialize or reuse the target dataset repo.
  3. Normalize rows to the nearest template.
  4. Validate before upload.
  5. Run SQL-based inspection only after a stable snapshot exists.
  6. Publish only the processed dataset, not accidental raw byproducts.

Defaults

  • If split names are missing, prefer train, validation, test.
  • If schema is ambiguous, preserve raw columns and choose custom instead of forcing the wrong template.
  • If metadata is missing, keep placeholders separate from row data.

Assets

  • Templates live in templates/.
  • Example rows live in examples/.

Load only the template or example that matches the current request.

Authentication

Use MODELSCOPE_API_TOKEN or a prior modelscope login session for publish steps.

Guardrails

  • Never force the user into a verbose dataset-writing template.
  • Never upload private or unlicensed data by default.
  • Never mutate rows before validating the intended schema.
  • Keep raw and normalized outputs separate.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.