/ai-analyst-plus:data-inspectfrom ai-analyst-plus
Shows the active dataset's schema: tables, columns, row counts, and relationships. Triggered with /data command or by asking about tables/columns.
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.
Show the active dataset's schema — tables, columns, row counts, and relationships. Optionally drill into a specific table.
Invoke as /data to see the full schema summary, or /data {table} to see column details for a specific table.
Before doing ANYTHING else:
.knowledge/active.yaml to determine the active dataset name.knowledge/datasets/{active}/schema.md for schema informationWhy this matters: Users often have multiple datasets connected. You MUST use the active one from the config file, never guess or use a different dataset.
/data (full schema overview)When: User invokes /data or asks "what tables do I have?" / "show me the schema"
Steps:
.knowledge/active.yaml and schema.md (see above)Active Dataset: {display_name}
Connection: {type} ({database}.{schema} or file path)
Tables:
users ~50,000 rows 8 columns user_id (PK)
products 500 rows 7 columns product_id (PK)
events ~6.5M rows 9 columns event_id (PK)
sessions ~1.4M rows 8 columns session_id (PK)
orders ~30-50K rows 6 columns order_id (PK)
order_items — rows 4 columns order_id + product_id (composite PK)
Use `/data {table}` for column details.
Format notes:
~ for estimates)/data {table} (table detail)When: User invokes /data {table} or asks "what columns are in X?" / "show me the X table structure"
Steps:
.knowledge/active.yaml and schema.md (see above)Format example:
Active Dataset: {dataset_name}
Table: users
Description: User dimension table with demographics and signup info
Row count: ~25,000 rows
Primary Key: user_id
Columns:
user_id BIGINT NOT NULL Unique user identifier
email VARCHAR NOT NULL User email address
signup_date DATE NULL Date user first registered
country VARCHAR NULL User's country
membership_tier VARCHAR NULL Premium, Standard, Free
Relationships:
← orders.customer_id (one user, many orders)
← events.user_id (one user, many events)
→ memberships.user_id (join for membership details)
Use `/data {another_table}` to inspect another table.
When: .knowledge/active.yaml has no active_dataset field OR the dataset directory doesn't exist
Display:
No active dataset configured.
To get started:
• Run `/connect-data` to connect a new dataset
• Run `/datasets` to see all available datasets
• Run `/switch-dataset {name}` to activate an existing dataset
Do NOT: Try to query databases, load CSV files, or guess which data source to use. Without an active dataset, halt and prompt the user.
When: User requests /data {table} but the table doesn't exist in the active dataset's schema.md
Steps:
Table '{table}' not found in {dataset_name}.
Available tables:
users, orders, products, events, sessions
Did you mean:
• /data {closest_match}
• /switch-dataset {other_dataset} if you're looking for different data
• /connect-data if the table should exist but isn't loaded
Use `/data` to see the full schema.
Do NOT: Query databases or try to load data from other sources. The skill reads from cached schema files only.
Never query the database just to show schema — read from the cached schema.md file for speed. Schema files are pre-generated during dataset connection and profiling.
Never show the full schema.md raw — always format into the condensed table view. Users want quick scannable reference, not walls of markdown.
Never guess which dataset to use — ALWAYS read .knowledge/active.yaml first. Do not load data from other directories like data/sales/ or data/practice/ unless that's explicitly what active.yaml points to.
Never query actual data — this skill shows structure only (schema, relationships). For data exploration, use the /explore skill.
Never fabricate table information — if schema.md doesn't have row counts, say "~rows not profiled". If descriptions are missing, show what's available. Don't make up details.
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.npx claudepluginhub ai-analyst-lab/ai-analyst-plugin --plugin ai-analyst-plusOther plugins' skills for the same job