jpskill.com
📄 ドキュメント コミュニティ

csv-data-analyst

アップロードされたCSVファイルをPythonとpandasで分析し、要約統計量や可視化を通じてデータ構造や品質に関する洞察を提供するSkill。

📜 元の英語説明(参考)

Analyze CSV files, generate summary statistics, and create visualizations using Python and pandas. Use when the user uploads, attaches, or references a CSV file, asks to summarize or analyze tabular data, requests insights from CSV data, or wants to understand data structure and quality.

🇯🇵 日本人クリエイター向け解説

一言でいうと

アップロードされたCSVファイルをPythonとpandasで分析し、要約統計量や可視化を通じてデータ構造や品質に関する洞察を提供するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o csv-data-analyst.zip https://jpskill.com/download/6539.zip && unzip -o csv-data-analyst.zip && rm csv-data-analyst.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/6539.zip -OutFile "$d\csv-data-analyst.zip"; Expand-Archive "$d\csv-data-analyst.zip" -DestinationPath $d -Force; ri "$d\csv-data-analyst.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して csv-data-analyst.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → csv-data-analyst フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] csv-data-analyst

CSV データアナリスト

このスキルは CSV ファイルを分析し、統計的な洞察と視覚化を含む包括的な要約を提供します。

このスキルを使用するタイミング

ユーザーが以下のいずれかを行った場合、Claude は必ずこのスキルを使用してください。

  • CSV ファイルをアップロード、添付、または参照した場合
  • 表形式データの要約、分析、または視覚化を要求した場合
  • CSV データから洞察を求めた場合
  • データ構造と品質を理解したい場合

⚠️ 重要な行動要件 ⚠️

ユーザーにデータで何をしたいか尋ねないでください。 オプションや選択肢を提示しないでください。 「どのようなお手伝いができますか?」と言わないでください。 可能な分析をリストアップしないでください。

直ちに、そして自動的に:

  1. 包括的な分析を実行します
  2. すべての関連する視覚化を生成します
  3. 完全な結果を提示します
  4. 質問なし、オプションなし、ユーザー入力を待たない

ユーザーはすぐに完全な分析を求めています。ただ実行してください。

自動分析ステップ:

このスキルは、まずデータを検査し、次に最も関連性の高い分析を決定することで、さまざまなデータ型や業界にインテリジェントに適応します。

  1. CSV ファイルを pandas DataFrame に読み込み、検査します

  2. データ構造を特定します - 列の型、日付列、数値列、カテゴリ

  3. 実際にデータに含まれるものに基づいて関連する分析を決定します

    • 販売/Eコマースデータ (注文日、収益、製品):時系列トレンド、収益分析、製品パフォーマンス
    • 顧客データ (人口統計、セグメント、地域):分布分析、セグメンテーション、地理的パターン
    • 財務データ (取引、金額、日付):トレンド分析、統計的要約、相関関係
    • 運用データ (タイムスタンプ、メトリクス、ステータス):時系列、パフォーマンスメトリクス、分布
    • アンケートデータ (カテゴリカルな回答、評価):頻度分析、クロス集計、分布
    • 一般的な表形式データ:見つかった列の型に基づいて適応します
  4. 特定のデータセットに意味のある視覚化のみを作成します

    • 日付/タイムスタンプ列が存在する場合にのみ時系列プロット
    • 複数の数値列が存在する場合にのみ相関ヒートマップ
    • カテゴリカル列が存在する場合にのみカテゴリ分布
    • 関連する場合に数値分布のヒストグラム
  5. 以下を含む包括的な出力を自動的に生成します

    • データ概要 (行、列、型)
    • データ型に関連する主要な統計とメトリクス
    • 欠損データ分析
    • 複数の関連する視覚化 (適用されるもののみ)
    • この特定のデータセットで見つかったパターンに基づく実用的な洞察
  6. すべてを1つの完全な分析として提示します - 追加の質問はしません

適応例:

  • 患者IDを含む医療データ → 人口統計、治療パターン、時間的トレンドに焦点を当てる
  • 在庫レベルを含む在庫データ → 数量分布、再注文パターン、SKU 分析に焦点を当てる
  • タイムスタンプを含むウェブ分析 → トラフィックパターン、コンバージョンメトリクス、時間帯分析に焦点を当てる
  • アンケート回答 → 回答分布、人口統計の内訳、感情パターンに焦点を当てる

行動ガイドライン

正しいアプローチ - これを言ってください:

  • 「このデータを今すぐ包括的に分析します。」
  • 「視覚化を含む完全な分析結果です:」
  • 「これを[タイプ]データとして特定し、関連する洞察を生成しました:」
  • その後、直ちに完全な分析を表示します

実行すること:

  • 分析スクリプトを直ちに実行する
  • すべての関連するグラフを自動的に生成する
  • 尋ねられることなく完全な洞察を提供する
  • 最初の応答で徹底的かつ完全であること
  • 許可を求めずに断固として行動する

これらのフレーズは決して言わないでください:

  • 「このデータで何をしたいですか?」
  • 「どのようなお手伝いができますか?」
  • 「いくつかの一般的なオプションは次のとおりです:」
  • 「どのようなお手伝いが必要か教えてください」
  • 「よろしければ、包括的な分析を作成できます!」
  • ユーザーの指示を求める「?」で終わる文
  • オプションや選択肢のリスト
  • 「XをしたいならYができます」のような条件付きの文

禁止されている行動:

  • ユーザーが何を望んでいるか尋ねる
  • ユーザーが選択するためのオプションをリストアップする
  • 分析する前にユーザーの指示を待つ
  • フォローアップが必要な部分的な分析を提供する
  • 何ができるかを説明するのではなく、それを実行する

使用方法

このスキルは、以下の Python 関数 summarize_csv(file_path) を提供します。

  • CSV ファイルへのパスを受け入れます
  • 統計情報を含む包括的なテキスト要約を返します
  • データ構造に基づいて複数の視覚化を自動的に生成します

プロンプト例

sales_data.csv です。このファイルを要約してもらえますか?」

「この顧客データ CSV を分析し、トレンドを示してください。」

orders.csv からどのような洞察を見つけることができますか?」

出力例

データセットの概要

  • 5,000 行 × 8 列
  • 数値列 3、日付列 1

要約統計

  • 平均注文額:$58.2
  • 標準偏差:$12.4
  • 欠損値:2% (100 セル)

洞察

  • 売上は時間の経過とともに上昇傾向を示しています
  • 第4四半期に活動がピークに達します (添付:トレンドプロット)

ファイル

  • scripts/analyze.py - コア分析ロジック
  • assets/sample.csv - テスト用のサンプルデータセット

注意事項

  • 日付列 (名前に 'date' または 'time' を含む列) を自動的に検出します
  • 欠損データを適切に処理します
  • 存在するデータ型に基づいて視覚化を生成します (時系列、分布、相関、カテゴリカル)
  • すべての数値列が統計的要約に含まれます
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

CSV Data Analyst

This skill analyzes CSV files and provides comprehensive summaries with statistical insights and visualizations.

When to Use This Skill

Claude MUST use this Skill whenever the user:

  • Uploads, attaches or references a CSV file
  • Asks to summarize, analyze, or visualize tabular data
  • Requests insights from CSV data
  • Wants to understand data structure and quality

⚠️ CRITICAL BEHAVIOR REQUIREMENT ⚠️

DO NOT ASK THE USER WHAT THEY WANT TO DO WITH THE DATA. DO NOT OFFER OPTIONS OR CHOICES. DO NOT SAY "What would you like me to help you with?" DO NOT LIST POSSIBLE ANALYSES.

IMMEDIATELY AND AUTOMATICALLY:

  1. Run the comprehensive analysis
  2. Generate ALL relevant visualizations
  3. Present complete results
  4. NO questions, NO options, NO waiting for user input

THE USER WANTS A FULL ANALYSIS RIGHT AWAY - JUST DO IT.

Automatic Analysis Steps:

The skill intelligently adapts to different data types and industries by inspecting the data first, then determining what analyses are most relevant.

  1. Load and inspect the CSV file into pandas DataFrame

  2. Identify data structure - column types, date columns, numeric columns, categories

  3. Determine relevant analyses based on what's actually in the data:

    • Sales/E-commerce data (order dates, revenue, products): Time-series trends, revenue analysis, product performance
    • Customer data (demographics, segments, regions): Distribution analysis, segmentation, geographic patterns
    • Financial data (transactions, amounts, dates): Trend analysis, statistical summaries, correlations
    • Operational data (timestamps, metrics, status): Time-series, performance metrics, distributions
    • Survey data (categorical responses, ratings): Frequency analysis, cross-tabulations, distributions
    • Generic tabular data: Adapts based on column types found
  4. Only create visualizations that make sense for the specific dataset:

    • Time-series plots ONLY if date/timestamp columns exist
    • Correlation heatmaps ONLY if multiple numeric columns exist
    • Category distributions ONLY if categorical columns exist
    • Histograms for numeric distributions when relevant
  5. Generate comprehensive output automatically including:

    • Data overview (rows, columns, types)
    • Key statistics and metrics relevant to the data type
    • Missing data analysis
    • Multiple relevant visualizations (only those that apply)
    • Actionable insights based on patterns found in THIS specific dataset
  6. Present everything in one complete analysis - no follow-up questions

Example adaptations:

  • Healthcare data with patient IDs → Focus on demographics, treatment patterns, temporal trends
  • Inventory data with stock levels → Focus on quantity distributions, reorder patterns, SKU analysis
  • Web analytics with timestamps → Focus on traffic patterns, conversion metrics, time-of-day analysis
  • Survey responses → Focus on response distributions, demographic breakdowns, sentiment patterns

Behavior Guidelines

CORRECT APPROACH - SAY THIS:

  • "I'll analyze this data comprehensively right now."
  • "Here's the complete analysis with visualizations:"
  • "I've identified this as [type] data and generated relevant insights:"
  • Then IMMEDIATELY show the full analysis

DO:

  • Immediately run the analysis script
  • Generate ALL relevant charts automatically
  • Provide complete insights without being asked
  • Be thorough and complete in first response
  • Act decisively without asking permission

NEVER SAY THESE PHRASES:

  • "What would you like to do with this data?"
  • "What would you like me to help you with?"
  • "Here are some common options:"
  • "Let me know what you'd like help with"
  • "I can create a comprehensive analysis if you'd like!"
  • Any sentence ending with "?" asking for user direction
  • Any list of options or choices
  • Any conditional "I can do X if you want"

FORBIDDEN BEHAVIORS:

  • Asking what the user wants
  • Listing options for the user to choose from
  • Waiting for user direction before analyzing
  • Providing partial analysis that requires follow-up
  • Describing what you COULD do instead of DOING it

Usage

The Skill provides a Python function summarize_csv(file_path) that:

  • Accepts a path to a CSV file
  • Returns a comprehensive text summary with statistics
  • Generates multiple visualizations automatically based on data structure

Example Prompts

"Here's sales_data.csv. Can you summarize this file?"

"Analyze this customer data CSV and show me trends."

"What insights can you find in orders.csv?"

Example Output

Dataset Overview

  • 5,000 rows × 8 columns
  • 3 numeric columns, 1 date column

Summary Statistics

  • Average order value: $58.2
  • Standard deviation: $12.4
  • Missing values: 2% (100 cells)

Insights

  • Sales show upward trend over time
  • Peak activity in Q4 (Attached: trend plot)

Files

  • scripts/analyze.py - Core analysis logic
  • assets/sample.csv - Example dataset for testing

Notes

  • Automatically detects date columns (columns containing 'date' or 'time' in name)
  • Handles missing data gracefully
  • Generates visualizations based on data types present (time-series, distributions, correlations, categorical)
  • All numeric columns are included in statistical summary