agentleFS
LigphiDonkLigphiDonk/Oh-my--paper/skills/dataset-discovery/SKILL.md

dataset-discovery

Skill738 starsChanged 8 months agoMITView on GitHub

Multi-source ML dataset discovery.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    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 request matches its research workflow scope.

    line 42
  2. Very specific:

    Treat scripts/ as optional helpers.

    line 46
  3. Distinctive:

    Prefer inspection before mutation when invoking bundled scripts.

    line 51
  4. Distinctive:

    If a required runtime, CLI, credential, or API is unavailable, explain the blocker and continue with the best manual fallback instead of …

    line 52
  5. Distinctive:

    Do not write generated artifacts back into the skill directory.

    line 53
  6. Distinctive:

    Search multiple ML dataset sources (HuggingFace Hub, OpenML, GitHub, Semantic Scholar) and return a ranked, deduplicated list of relevant …

    line 61
  7. Distinctive:

    Run the search script with the user's query:

    line 75
  8. Distinctive:

    When the user wants more info on a specific dataset:

    line 100
  9. Distinctive:

    When the user wants to preview data:

    line 110
  10. Distinctive:

    No other packages required

    line 137

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

dataset-discovery

Canonical Summary

Multi-source ML dataset discovery. Search HuggingFace Hub, OpenML, GitHub, and paper cross-references for datasets relevant to a research task. Use when asked to "find datasets for", "search ML datasets", "what datasets exist for", or "dis...

Trigger Rules

Use this skill when the user request matches its research workflow scope. Prefer the bundled resources instead of recreating templates or reference material. Keep outputs traceable to project files, citations, scripts, or upstream evidence.

Resource Use Rules

  • Treat scripts/ as optional helpers. Run them only when their dependencies are available, keep outputs in the project workspace, and explain a manual fallback if execution is blocked.

Execution Contract

  • Resolve every relative path from this skill directory first.
  • Prefer inspection before mutation when invoking bundled scripts.
  • If a required runtime, CLI, credential, or API is unavailable, explain the blocker and continue with the best manual fallback instead of silently skipping the step.
  • Do not write generated artifacts back into the skill directory; save them inside the active project workspace.

Upstream Instructions

Dataset Discovery Skill

Overview

Search multiple ML dataset sources (HuggingFace Hub, OpenML, GitHub, Semantic Scholar) and return a ranked, deduplicated list of relevant datasets.

Agent Workflow

Phase 1: SCOPE

Clarify the user's needs before searching:

  • Research task: What problem or domain? (e.g., "sentiment analysis", "medical image segmentation")
  • Modality: image / text / tabular / audio / any
  • Size preference: small (< 10K rows), medium (10K–1M), large (> 1M), any
  • License preference: permissive (MIT/Apache/CC-BY), any, or specific

Phase 2: SEARCH

Run the search script with the user's query:

python3 scripts/search_ml_datasets.py search --query "<query>" --sources huggingface,openml,github,papers --max 30

Options:

  • --sources: Comma-separated list from huggingface, openml, github, papers. Default: all four.
  • --max: Maximum results to return after dedup + ranking. Default: 30.
  • --modality: Filter by modality (image, text, tabular, audio).
  • --workspace: Output directory. Default: ./datasets/discovery/

Optionally also call HF MCP tool hub_repo_search with repo_types: ["dataset"] for semantic search to supplement results.

Phase 3: PRESENT

Show results as a markdown table:

NameSourceDownloadsSizeLicenseTagsURL

Sort by relevance score (highest first).

Phase 4: DETAIL

When the user wants more info on a specific dataset:

python3 scripts/search_ml_datasets.py detail --dataset-id "huggingface:stanfordnlp/imdb" --workspace ./datasets/discovery/

Writes metadata.json and README.md to {workspace}/datasets/{source}_{slug}/.

Phase 5: PULL

When the user wants to preview data:

python3 scripts/search_ml_datasets.py pull --dataset-id "huggingface:stanfordnlp/imdb" --sample-rows 20 --workspace ./datasets/discovery/

Writes sample.jsonl to {workspace}/datasets/{source}_{slug}/.

For full dataset download, confirm with the user first, then use huggingface-cli download or equivalent.

Workspace Layout

{workspace}/                         # default: ./datasets/discovery/
  search-{YYYY-MM-DD}.json           # search results log
  datasets/
    {source}_{slug}/
      metadata.json                  # detailed metadata
      README.md                      # human-readable summary
      sample.jsonl                   # sample rows

Dependencies

  • Python 3.8+
  • requests (stdlib-adjacent, universally available)
  • gh CLI (for GitHub source only)
  • No other packages required

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.