/ai-analyst-plus:patternsfrom ai-analyst-plus
Browses, searches, and leverages recurring analytical patterns discovered across past analyses. Useful for checking if a finding matches known patterns or exploring consistent behaviors in data.
Ships in ai-analyst-plus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Browse and search recurring patterns discovered across analyses. Patterns are auto-extracted after each analysis archive and represent behaviors that appear consistently in the data.
/patterns or "what patterns have we seen?"/patterns — list patterns for the active dataset
/patterns --global — list patterns across all datasets
/patterns search={term} — search patterns by keyword
/patterns {id} — show full details for a specific pattern
Before loading patterns, identify the active dataset:
.knowledge/active.yaml to get the active dataset nameThis ensures you're searching patterns for the correct dataset and providing accurate context.
.knowledge/analyses/_patterns.yaml exists:
--global flag: also check and read .knowledge/global/cross_dataset_observations.yaml (same existence checks apply).List patterns (/patterns):
--global)Show specific (/patterns {id}):
Search (/patterns search={term}):
Global (/patterns --global):
After displaying patterns:
For empty state (0 patterns): Keep the response concise (under 50 lines). Focus on:
Avoid lengthy explanations of how the pattern system works — users want quick answers when nothing exists yet.
After an analysis is saved to .knowledge/analyses/ (any skill that writes a run
record there), scan the new analysis for potential patterns:
_patterns.yamlMinimum 2 occurrences to create a pattern. Single-occurrence findings are just findings, not patterns.
What SKILL.md sets; muted values are Claude Code's defaults
47 skills in this plugin
/always-compareNever present a metric or number in isolation; anchor every number to a comparison (prior period, benchmark, or another segment) or state that none is available. Use every time you show a number: rates, counts, revenue, averages, query results, chart labels, summary stats. Trigger on output containing "the rate is", "we saw", "total", "average", "conversion", "revenue", "users", "sessions", "churn", "AOV", "NPS", or any figure pulled from data./analysis-designTurn a vague hunch or stakeholder request into a rigorous analysis plan via a staged pipeline (hypothesis sharpening, confound scan, V1, feedback, V2 redesign). Trigger on "I think X caused Y", "design an analysis for", "what's driving", "V2 after feedback", "stakeholder comments", "redesign the analysis". Vs question-framing (the lightweight framing gate before every analysis): use THIS only for a real hunch, confound scan, or V1 to V2 redesign./analyst-coreOperating rules for every data analysis. Apply for ANY data-analysis intent: "analyze", "investigate", "why did X change", "compare", "report on", "dashboard", "metrics", "funnel", "retention", "revenue", "conversion", "trend", "segment", "forecast", "how are we doing", "dig into", "break down", or any question about data, a metric, a CSV, or a table. Sets the method and routes to the other skills; load before any analytical question./archaeologyRetrieve proven SQL patterns, table cheatsheets, and join patterns from .knowledge/query-archaeology/ so past work gets reused. Fire as a pre-flight step before writing ANY SQL. Also trigger on "do we have a known query for X", "how do we usually join these tables", "have we computed this metric before". If the store is empty or missing, exit silently. Also owns the writer convention: after a validated analysis, curate the final SQL here./businessBrowse and search the organization's business context in .knowledge/organizations/: glossary terms, product catalog, metric definitions, OKRs, team structure. Trigger on "/business", "show me our glossary", "what metrics are defined?", "what products do we have?", "show me our OKRs", "who's on which team?", "look up [business term]", "what's the meaning of [term]?". Use this instead of reading the files directly./causalCausal inference toolkit for when experiments are not possible: estimate treatment effects from observational data with assumption checks and mandatory caveats. Invoke as /causal. Trigger on "causal", "caused", "impact of", "effect of", "attribution", "counterfactual", "difference-in-differences", "DiD", "propensity matching", "pre-post". If randomization IS possible, route to /experiment design instead.npx claudepluginhub ai-analyst-lab/ai-analyst-plugin --plugin ai-analyst-plusOther plugins' skills for the same job