From ai-analyst
Compares metrics (definitions, ranges, guardrails), findings, and patterns across connected datasets to identify shared behaviors, divergences, and anomalies.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-analyst:compare-datasetsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Compare metrics, findings, and patterns across two or more connected datasets.
Compare metrics, findings, and patterns across two or more connected datasets. Helps identify cross-dataset patterns (e.g., "conversion funnel behavior is similar across both product lines") and dataset-specific anomalies.
/compare-datasets or "compare across datasets"/compare-datasets — compare active dataset with all others
/compare-datasets {id1} {id2} — compare two specific datasets
/compare-datasets metric={name} — compare a specific metric across datasets
<workspace>/knowledge/datasets/ to enumerate all connected datasets./connect-data to add another."For each dataset:
<workspace>/knowledge/datasets/{id}/metrics/index.yamlFor each metric that exists in 2+ datasets:
For each dataset:
<workspace>/knowledge/analyses/index.yamlWrite findings to <workspace>/knowledge/global/cross_dataset_observations.yaml:
Display a comparison table:
Cross-Dataset Comparison: {dataset_a} vs {dataset_b}
Shared Metrics: {N} ({M} with matching definitions)
Metric Discrepancies: {list}
Shared Patterns:
- {pattern description} (seen in both datasets)
Divergences:
- {metric} is {direction} in {dataset_a} but {direction} in {dataset_b}
Suggested Next:
- "Investigate why {pattern} differs between datasets"
- "Align {metric} definitions across datasets"
npx claudepluginhub ai-analyst-lab/ai-analyst-plugin --plugin ai-analystBrowses, searches, and displays metric definitions including formulas, source tables, dimensions, guardrails, and validations from active dataset's metric dictionary via /metrics commands.
Analytics reconnaissance for takeover — find all analytics tools, inventory what's tracked and dashboarded, assess data freshness and metric definitions, and present a coverage map. Use when asked "what analytics exist", "BI assessment", or "what do we track".
Interviews users about their datasets and databases to generate reusable data context skills that document schema, entities, metrics, and domain knowledge.