Tracking Gapsのロゴ

Tracking Gaps

組織
ai-analyst-lab
tracking-gaps

Assess whether the data needed for an analysis exists, identify what's missing, and produce prioritized instrumentation requests for engineering. Trigger on "do we track...", "is there data for...", "can we measure...", writing an instrumentation request, queries returning unexpected nulls, or verifying data exists before committing to an analytical approach. Produces workarounds for partial data and realistic expectations.

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Skill: Tracking Gap Identification

Purpose

Assess whether the data needed for an analysis actually exists, identify what's missing, and produce prioritized instrumentation requests for engineering when gaps are found.

When to Use

Apply this skill after the /explore skill inventories available data, when an analysis requires data that might not exist, or when initial query results suggest incomplete tracking. Run before committing to an analysis approach.

Instructions

Gap Detection Process

IMPORTANT: Always follow this exact sequence. Never skip Step 1.

Step 1: Define Data Requirements (ALWAYS START HERE)

Before checking what data exists, list every data point the analysis NEEDS. This ensures you don't miss gaps.

For each analytical question, create a structured requirements table:

markdown
| Requirement | Needed For | Granularity | Time Range |
|-------------|-----------|-------------|------------|
| [event/field] | [which analysis step] | [per user/session/event] | [last 30d, 90d, etc.] |
Step 2: Inventory Available Data

Map each requirement to what actually exists:

markdown
| Requirement | Status | Source | Notes |
|-------------|--------|--------|-------|
| [event/field] | AVAILABLE / PARTIAL / MISSING / DERIVABLE | [table.column] | [caveats] |

Status definitions:

  • AVAILABLE: Data exists, is clean, and covers the needed time range
  • PARTIAL: Data exists but has gaps — missing time ranges, incomplete segments, or quality issues
  • MISSING: Data is not tracked at all — requires new instrumentation
  • DERIVABLE: Data doesn't exist directly but can be approximated from other available data
Step 3: Design Workarounds for Gaps

For each PARTIAL or MISSING item, evaluate workarounds:

markdown
### Gap: [what's missing]
**Impact on analysis:** [how this gap affects what we can conclude]
**Workaround:** [how to approximate using available data]
**Confidence with workaround:** [High/Medium/Low]
**Workaround limitations:** [what the approximation gets wrong]

Common workaround patterns:

  • Missing event timestamps → use related event as proxy (e.g., page view time as proxy for feature usage time)
  • Missing user property → derive from behavioral patterns (e.g., infer user role from feature usage patterns)
  • Missing segment data → use available proxy dimension (e.g., use billing country if user-reported country is missing)
  • Partial time coverage → analyze available window and flag as caveat
Step 4: Write Instrumentation Requests

For gaps that need engineering work:

markdown
### Instrumentation Request: [Event/Property Name]

**Event name:** [snake_case_event_name]
**Trigger:** [Exactly when this event should fire]
**Properties:**
| Property | Type | Required | Description |
|----------|------|----------|-------------|
| [name] | string/int/float/bool | Y/N | [what it captures] |

**Priority:** Must use exact format: `P0-Critical`, `P1-High`, `P2-Medium`, or `P3-Low`
**Justification:** [Why this is needed — which analysis it unblocks]
**Estimated effort:** [Hours/days — if known]
**Depends on:** [Any prerequisite instrumentation]

Output Format: Tracking Gap Report

markdown
# Tracking Gap Report: [Analysis Name]
## Date: [YYYY-MM-DD]

### Summary
| Status | Count | Items |
|--------|-------|-------|
| AVAILABLE | X | [list] |
| PARTIAL | X | [list] |
| DERIVABLE | X | [list] |
| MISSING | X | [list] |

### Analysis Feasibility
[Can we proceed? What's the confidence level with workarounds?]
- **Full analysis possible:** All critical data available or derivable
- **Partial analysis possible:** Core question answerable, but some segments/dimensions unavailable
- **Analysis blocked:** Critical data missing, no viable workaround

### Gap Details
[For each PARTIAL, DERIVABLE, and MISSING item — details, workaround, and instrumentation request]

### Prioritized Instrumentation Requests
| Priority | Event/Property | Unblocks | Effort |
|----------|---------------|----------|--------|
| P0 | [name] | [which analysis] | [estimate] |
| P1 | [name] | [which analysis] | [estimate] |

### Recommended Analysis Approach
[Given the gaps, here's how to proceed — which workarounds to use, which questions to defer]

Examples

Example 1: Checkout Funnel Analysis

Analysis goal: Understand where users drop off in the checkout funnel and why.

markdown
### Data Requirements vs. Availability

| Requirement | Status | Source | Notes |
|-------------|--------|--------|-------|
| Page views per checkout step | AVAILABLE | events.page_viewed | All 5 steps tracked |
| Time spent per step | PARTIAL | events.page_viewed | Can derive from timestamps between page views, but doesn't capture tab-switching |
| Payment method selected | AVAILABLE | events.payment_selected | Tracked since Jan 2025 |
| Payment error details | MISSING | — | Only know "payment_failed" event, not the error type |
| Shipping address validation | MISSING | — | No event when address validation fails |
| Cart contents at each step | PARTIAL | events.cart_updated | Cart state only at add/remove, not at each checkout step |
| User device + browser | AVAILABLE | events.properties | All events have device context |

### Gap: Payment error details
**Impact:** Can see WHERE users drop off (payment step) but not WHY (card declined vs. wrong CVV vs. timeout)
**Workaround:** Cross-reference with payment processor logs if accessible via API. Otherwise, can only report "payment failure rate" without root cause.
**Confidence with workaround:** Medium — processor logs may have different user identifiers

### Instrumentation Request: payment_error_details
**Event name:** checkout_payment_error
**Trigger:** When payment processing returns any non-success response
**Properties:**
| Property | Type | Required | Description |
|----------|------|----------|-------------|
| error_code | string | Y | Payment processor error code |
| error_category | string | Y | declined / timeout / validation / fraud |
| payment_method | string | Y | credit_card / paypal / apple_pay |
| retry_count | int | Y | Number of payment attempts in this session |

**Priority:** P1-High
**Justification:** Payment step has 23% drop-off but we can't diagnose the cause without error details. This unblocks targeted fixes.
**Estimated effort:** 4-8 hours (backend event + processor error mapping)

Example 2: Derivable Workaround

markdown
### Gap: User role/job title
**Impact:** Can't segment feature adoption by persona (PM vs. Engineer vs. Designer)
**Workaround:** Derive role from feature usage patterns:
- Users who primarily use roadmap features → likely PM
- Users who primarily use code integration features → likely Engineer
- Users who primarily use design review features → likely Designer
**Confidence with workaround:** Low-Medium — users who use multiple feature types will be misclassified
**Workaround limitations:** Only works for active users (can't classify churned users who didn't use enough features). Accuracy estimated at ~65% based on users with known roles.

Example 3: Dataset Type Mismatch

Analysis goal: Measure how feature adoption differs by user role (PMs vs. Engineers) in a B2B product.

Dataset: e-commerce data (tracks shopping behavior, not product feature usage)

markdown
### Fundamental Gap: Wrong Dataset Type

**What's missing:** This analysis requires B2B product analytics data, but the active dataset is an e-commerce dataset.

**Why the mismatch matters:**
- Active dataset tracks: product categories (Electronics, Clothing), customer types (New/Returning), checkout conversion
- Analysis needs: feature usage events, user job roles, product adoption metrics

**Analysis Status:** BLOCKED — Cannot answer this question with the current dataset.

**Recommended paths forward:**

1. **Reframe for e-commerce context:**
   - Original: "Do PMs use roadmap features more than Engineers?"
   - Reframed: "Do returning customers browse different product categories than new customers?"
   - Data available: Yes (user_type × category in checkout_sessions table)

2. **Switch datasets:** Use `/datasets` and `/switch-dataset` (both in the datasets skill) to move to a product analytics database that tracks feature usage and user roles.

3. **Connect new data:** Use `/connect-data` to add a product analytics source (Mixpanel, Amplitude, product database).

Anti-Patterns

  1. Never skip Step 1 (Define Requirements) — Always start by listing what data the analysis NEEDS in a structured table before checking what's AVAILABLE. Jumping straight to "here's what exists" causes you to miss gaps.

  2. Never assume data exists without checking — "we should have that" is not the same as "it's in the events table"

  3. Never proceed with an analysis that requires MISSING data without flagging it — if you can't answer the question, say so early

  4. Never write instrumentation requests without priority and justification — engineering needs to know what it unblocks. Always use the exact format: P0-Critical, P1-High, P2-Medium, or P3-Low.

  5. Never treat DERIVABLE as AVAILABLE — derived metrics are approximations; always state the confidence level and limitations

  6. Never skip the workaround assessment — sometimes a good workaround makes new instrumentation unnecessary, saving weeks of engineering time

よくある質問

AIスキル「Tracking Gaps」では何ができますか?

Assess whether the data needed for an analysis exists, identify what's missing, and produce prioritized instrumentation requests for engineering. Trigger on "do we track...", "is there data for...", "can we measure...", writing an instrumentation request, queries returning unexpected nulls, or verifying data exists before committing to an analytical approach. Produces workarounds for partial data and realistic expectations.

TypingMindでTracking Gapsを使うメリットは何ですか?

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

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

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

Tracking Gapsを使えるAIモデルはどれですか?

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

Tracking Gapsは何個のAIモデルで使えますか?

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

AIスキル「Tracking Gaps」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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