Dataset discovery

From OpenLAIR/dr-claw · View interactive version

Dataset discovery is an AI agent skill from the GitHub repository OpenLAIR/dr-claw. 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 "discover training data for".

How to use this skill

Skill file

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:

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:

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:

| Name | Source | Downloads | Size | License | Tags | URL |

|------|--------|-----------|------|---------|------|-----|

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.