Data Explorationのロゴ

Data Exploration

組織
AI-ModCon
data-exploration

Writes python scripts to ingest the user provided data and perform analysis needed to determine key configuration components. Use this skill after the configuration-planner skill completes.

概要

公開者AI-ModCon
リポジトリgenesis-skills
スキル名data-exploration
スター
37
フォーク
16
同梱ファイル
2
ライセンスBSD-2-Clause
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AI-ModCon/genesis-skills.git /tmp/genesis-skills
mkdir -p .claude/skills
cp -r /tmp/genesis-skills/skills/baseeval-skills/lm-eval-harness-skills/data-exploration .claude/skills/data-exploration
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Steps

  1. Read the configuration plan in tasks/{benchmark_name}/plan.md to understand the initial plan for the evaluation.

  2. Determine what data analysis steps will be needed to fully define the configuration. Use the Data Analysis Checklist below to guide your exploration.

  3. Write Python scripts to implement the planned analysis. Save all scripts in tasks/{benchmark_name}/scratch/. Scripts should be modular and reusable, not just one-off commands. See assets/analyze_multiple_choice.py and assets/analyze_generative_qa.py for example templates that can be adapted.

  4. Run the analysis scripts and analyze the results. Document findings systematically.

  5. Update tasks/{benchmark_name}/plan.md to incorporate new information from the analysis, focusing on a concrete plan for the process_docs, doc_to_text, doc_to_target, output parsing, and process_results implementations. Add a Decision Log section documenting key findings and choices.

  6. Verify analysis completeness using the Data Analysis Checklist below. Track checklist progress in plan.md.

  7. Provide a concise checkpoint summary. Ask the user for concurrence before proceeding to implementation.

CRITICAL: Do not create the YAML file or utils.py at this stage. Only modify plan.md and add analysis artifacts under tasks/{benchmark_name}/scratch/.

Data Analysis Checklist

Use this checklist to systematically explore the data. Copy this checklist into plan.md and track progress there.

Data Quality & Structure

  • Null/missing values: Check for null, empty, or missing fields in key columns
  • Field consistency: Verify all samples have expected fields with consistent types
  • Record count: Confirm number of samples matches expectations
  • Split distribution: Check size of train/val/test splits

Input Data (Questions/Prompts)

  • Format variations: Identify different question formats or templates
  • Length distribution: Min/max/median length of questions
  • Special characters: Check for problematic characters (quotes, newlines, Unicode)
  • Encoding issues: Verify text encoding is correct

Target Data (Ground Truth Answers)

  • Answer format: Document the format(s) of correct answers
  • Multiple correct answers: Check if multiple valid answers exist per question
  • Answer variations: Identify synonyms, case variations, punctuation differences
  • Numeric answers: If applicable, check for formatting (1,000 vs 1000, decimals, units)
  • List/structured answers: If answers are lists/JSON, verify structure consistency

Multiple Choice Specific (if applicable)

  • Number of choices: Verify all questions have same number of options (or document variations)
  • Choice labels: Check if options use consistent labels (A/B/C, 0/1/2, etc.)
  • Correct answer encoding: Verify how correct answer is indicated (index, letter, text)
  • Distractor quality: Sample some incorrect options to understand patterns

Edge Cases & Special Handling

  • Empty answers: Check for questions with empty or very short answers
  • Long answers: Identify extremely long answers that might need truncation
  • Ambiguous cases: Flag questions that might have unclear correct answers
  • Context dependencies: Check if questions require external context or images
  • Code/math/special formatting: Identify if answers contain code, LaTeX, or special notation

Metric Implementation

  • Exact match feasibility: Can answers be compared with exact string match?
  • Normalization needs: Document what normalization is needed (case, whitespace, punctuation)
  • Parsing complexity: Estimate complexity of extracting answer from model output
  • Metric appropriateness: Verify planned metrics match the task (e.g., BLEU for translation, accuracy for MC)

Analysis Script Template

When writing analysis scripts, follow this structure:

python
#!/usr/bin/env python3
"""
Analysis: <What this script analyzes>
Purpose: <Why this analysis is needed>
"""

import json
from collections import Counter
from datasets import load_dataset
# Add other imports as needed

def load_data():
    """Load the dataset for analysis."""
    # Implementation
    pass

def analyze_field_types():
    """Check field presence and types across all samples."""
    # Implementation
    pass

def analyze_answer_formats():
    """Analyze the format and variations in answers."""
    # Implementation
    pass

def check_edge_cases():
    """Identify edge cases and special formatting needs."""
    # Implementation
    pass

def main():
    print("="*60)
    print("Data Analysis for <benchmark_name>")
    print("="*60)
    
    data = load_data()
    
    print("\n1. Field Types and Consistency")
    analyze_field_types()
    
    print("\n2. Answer Format Analysis")
    analyze_answer_formats()
    
    print("\n3. Edge Cases")
    check_edge_cases()
    
    print("\n" + "="*60)
    print("Analysis Complete")
    print("="*60)

if __name__ == "__main__":
    main()

Decision Log Format

When updating plan.md, append a section like:

markdown
## Data Exploration Decision Log

**Date**: <date>

**Key Findings**:
- Finding 1: <observation>
- Finding 2: <observation>

**Decisions Made**:
- Decision 1: <choice> - **Why**: <rationale>
- Decision 2: <choice> - **Why**: <rationale>

**Implementation Impact**:
- `doc_to_target`: <specific change needed>
- Output parsing: <specific change needed>
- Metrics: <specific change needed>

**Edge Cases Identified**:
- Edge case 1: <description> - **Handling**: <approach>

**Assumptions**:
- Assumption 1: <assumption> - **Risk**: <if wrong, what breaks?>

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Data Exploration」では何ができますか?

Writes python scripts to ingest the user provided data and perform analysis needed to determine key configuration components. Use this skill after the configuration-planner skill completes.

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

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AI-ModCon/genesis-skills/tree/main/skills/baseeval-skills/lm-eval-harness-skills/data-explorationを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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