Data Inspectのロゴ

Data Inspect

組織
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.

概要

公開者ai-analyst-lab
リポジトリai-analyst-plugin
スキル名data-inspect
スター
34
フォーク
13
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    ai-analyst-labがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルData InspectをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/data-inspect
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでData Inspectを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にData Inspectを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Data Inspectは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

AIスキル「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.

TypingMindでData Inspectを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Data Inspectはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにData Inspectをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/data-inspectを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Data Inspectを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Data Inspectは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもData Inspectを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Data Inspect」は無料ですか?

はい。ai-analyst-labがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇