agentleFS
ChrisGVEChrisGVE/localdata-mcp/skills/exploration/find-reference-data/SKILL.md

find-reference-data

Skill4 starsChanged 15 months agoApache-2.0View on GitHub

Identify and prepare external reference datasets to enrich analysis — benchmarks, demographics, economic indicators, or geographic context. Use when analysis needs external context.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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. Very specific:

    Assess the user's data: Call describe_database with the user's database name.

    line 16
  2. Very specific:

    Validate the reference data: Call describe_database and get_data_quality_report on the loaded reference data.

    line 28
  3. Very specific:

    Test the join: Call execute_query to check how many records from the user's data would match the reference data on the proposed join key.

    line 34

≈ “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

Find Reference Data

Locate, download, and prepare public reference datasets to provide context for analysis.

Steps

  1. Understand the enrichment need. From $ARGUMENTS, identify the user's database and what external context is needed (demographics, benchmarks, economic indicators, geographic boundaries, etc.). If unclear, describe what types of reference data would be most useful given the data at hand.
  2. Assess the user's data. Call describe_database with the user's database name. Identify the join keys available: geographic codes (ZIP, FIPS, country), time periods (years, months), industry codes (SIC, NAICS), or entity identifiers.
  3. Identify candidate sources. Based on the need and available join keys, determine the best public data sources:
    • Population/demographics: Census Bureau, Eurostat, UN Population Division
    • Economic indicators: FRED, World Bank, OECD, BLS
    • Geographic boundaries: Census TIGER/Line, Natural Earth
    • Industry benchmarks: BLS industry data, SEC EDGAR
    • Health/scientific: WHO, CDC, public research repositories
    • General-purpose: data.gov, Kaggle Datasets, UCI ML Repository
  4. Download and connect. Locate a direct download URL for the most suitable dataset (prefer CSV or Parquet). Download it and call connect_database to load it. If the primary source is unavailable, try mirror sites or alternative sources.
  5. Validate the reference data. Call describe_database and get_data_quality_report on the loaded reference data. Verify:
    • Expected columns and types are present
    • Value ranges are reasonable
    • Time period and geographic coverage overlap with the user's data
    • Join key format matches the user's data
  6. Test the join. Call execute_query to check how many records from the user's data would match the reference data on the proposed join key. Report the match rate. If low, investigate key format mismatches or coverage gaps.
  7. Document provenance. For each dataset, record: source name, URL, access date, data vintage/release date, license or terms, and any transformations applied.
  8. Present results. Provide:
    • What reference data was found and loaded
    • Source and provenance details
    • Join strategy and expected match rate
    • Any caveats (temporal gaps, geographic approximations, granularity mismatches)
    • The database name under which the reference data is now available for analysis

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.