agentleFS
itsmuskanagarwalitsmuskanagarwal/effective-agents-lab/skills/data-correlation/SKILL.md

data-correlation

Skill0 starsChanged 4 months agoMITView on GitHub

Use when the user asks whether two datasets, metrics, or trends are related — e.g. "does X correlate with Y", "did adopting this tool improve our numbers", or any request to connect an external trend to internal data. Provides a framework for finding real correlations and avoiding false ones.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Establish an alignment key first: Before comparing anything, identify what the two datasets share — a time period, an entity (team, …

    line 12
  2. Distinctive:

    Look for confounders before concluding: Ask explicitly: what else changed at the same time that could explain this?

    line 14
  3. Distinctive:

    Use after research-methodology has gathered the two data sources being compared.

    line 21

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

Data correlation

A framework for correlating two data sources honestly — the playbook's research-agent example treats this as its own discipline, distinct from gathering the data in the first place.

Workflow

  1. Establish an alignment key first. Before comparing anything, identify what the two datasets share — a time period, an entity (team, customer, region), a matching ID. Without a real alignment key, any "correlation" is coincidence.
  2. Check the timing direction. Does the proposed cause precede the proposed effect? A metric that improved before the change you're crediting it to is not evidence for that change.
  3. Look for confounders before concluding. Ask explicitly: what else changed at the same time that could explain this? Seasonal effects, unrelated initiatives, and small sample sizes are the usual suspects. Name at least one plausible confounder even for a strong-looking correlation.
  4. Check the sample size and variance. A trend across 2 data points, or 2 teams out of 20, is not a trend — call it out as suggestive at most.
  5. State correlation, not causation, unless you have a mechanism. "X and Y moved together" is a correlation claim. "X caused Y" requires a plausible causal mechanism, not just co-movement — say which one you're making.
  6. Quantify when you can. "Deploys per week nearly doubled" is stronger and more checkable than "deploys increased."

Composition

Use after research-methodology has gathered the two data sources being compared. Findings from this skill feed naturally into business-intelligence for framing the "so what."

Quality bar

  • An explicit alignment key (time, entity, or ID) is named, not assumed.
  • At least one confounder is named and addressed, even if dismissed.
  • The correlation-vs-causation distinction is explicit in the conclusion, not implied.
  • Sample size or variance caveats are stated when the underlying N is small.

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.