Data Inspect logo

Data Inspect

Organization
ai-analyst-lab
data-inspect

Show the active dataset's schema: tables, columns, row counts, relationships. Trigger on "/data" or "/data {table}", "what tables do I have?", "show me the schema", "what columns are in the users table?", "list tables", "describe the data", "data dictionary". DISAMBIGUATION: schema inspector only; for "tell me about this data" use data-map; for browsing use /explore; for deep statistical profiling use data-profiling.

Overview

Publisherai-analyst-lab
Repositoryai-analyst-plugin
Skill namedata-inspect
Stars
34
Forks
13
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by ai-analyst-lab on GitHub. Read the source before you install it.

Installation

Install the Data Inspect AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/data-inspect
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-plugin.git /tmp/ai-analyst-plugin
mkdir -p .claude/skills
cp -r /tmp/ai-analyst-plugin/ai-analyst-plus/skills/data-inspect .claude/skills/data-inspect
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Data Inspect in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Data Inspect on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Data Inspect is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skill: Data Inspect

Purpose

Show the active dataset's schema — tables, columns, row counts, and relationships. Optionally drill into a specific table.

When to Use

Invoke as /data to see the full schema summary, or /data {table} to see column details for a specific table.

Instructions

CRITICAL: Always Start Here

Before doing ANYTHING else:

  1. Read .knowledge/active.yaml to determine the active dataset name
  2. If no active dataset exists, jump to Mode 3 (No Active Dataset)
  3. Otherwise, read .knowledge/datasets/{active}/schema.md for schema information

Why 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.


Mode 1: /data (full schema overview)

When: User invokes /data or asks "what tables do I have?" / "show me the schema"

Steps:

  1. ✅ Confirm you've already read .knowledge/active.yaml and schema.md (see above)
  2. Extract from schema.md:
    • Dataset display name
    • Connection type and location
    • Table list with: name, row count, column count, primary key
  3. Display in this condensed format:
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:

  • Left-align table names
  • Show approximate row counts (use ~ for estimates)
  • Show column count
  • Show primary key or composite key
  • Keep it visually scannable — this is a quick reference, not exhaustive detail

Mode 2: /data {table} (table detail)

When: User invokes /data {table} or asks "what columns are in X?" / "show me the X table structure"

Steps:

  1. ✅ Confirm you've already read .knowledge/active.yaml and schema.md (see above)
  2. Find the section for the requested table in schema.md
  3. If table doesn't exist: Jump to Mode 4 (Table Not Found)
  4. If table exists: Display:
    • Table name and description
    • Row count
    • Full column listing: name, type, nullable, description
    • Primary key(s)
    • Foreign key relationships (both FROM this table and TO this table)
    • Any important notes about the table (grain, completeness, quirks)

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.

Mode 3: No Active Dataset

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.


Mode 4: Table Not Found

When: User requests /data {table} but the table doesn't exist in the active dataset's schema.md

Steps:

  1. Confirm the table truly doesn't exist (check schema.md thoroughly, look for typos/case differences)
  2. Display a helpful error message:
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.

Anti-Patterns

  1. 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.

  2. Never show the full schema.md raw — always format into the condensed table view. Users want quick scannable reference, not walls of markdown.

  3. 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.

  4. Never query actual data — this skill shows structure only (schema, relationships). For data exploration, use the /explore skill.

  5. 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.

Frequently asked questions

What does the Data Inspect AI skill do?

Show the active dataset's schema: tables, columns, row counts, relationships. Trigger on "/data" or "/data {table}", "what tables do I have?", "show me the schema", "what columns are in the users table?", "list tables", "describe the data", "data dictionary". DISAMBIGUATION: schema inspector only; for "tell me about this data" use data-map; for browsing use /explore; for deep statistical profiling use data-profiling.

Why use Data Inspect on TypingMind?

Because you install it once and use it with any model. Data Inspect is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Data Inspect in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/data-inspect. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Data Inspect?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Data Inspect?

As many as you like. As long as a model supports skills, you can use Data Inspect with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Data Inspect AI skill free?

Yes. It is published on GitHub by ai-analyst-lab under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇