jpskill.com
💼 ビジネス コミュニティ 🟡 少し慣れが必要 👤 経営者・事業責任者・マーケ

💼 Microsoft Clarity Automation

Microsoft Clarity Automation

Microsoft Clarityを使って、ウェブサイト訪問者の行動分析

⏱ 営業メール作成 15分/通 → 1分/通

📺 まず動画で見る(YouTube)

▶ 【自動化】AIガチ勢の最新活用術6選がこれ1本で丸分かり!【ClaudeCode・AIエージェント・AI経営・Skills・MCP】 ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

Automate user behavior analytics with Microsoft Clarity -- export heatmap data, session metrics, and engagement analytics segmented by browser, device, country, source, and more through the Composio Microsoft Clarity integration.

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

一言でいうと

Microsoft Clarityを使って、ウェブサイト訪問者の行動分析

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

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して microsoft-clarity-automation.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → microsoft-clarity-automation フォルダができる
  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

💬 こう話しかけるだけ — サンプルプロンプト

  • Microsoft Clarity Automation で、私のビジネスを分析して改善案を3つ提案して
  • Microsoft Clarity Automation を使って、来週の会議用の資料を作って
  • Microsoft Clarity Automation で、現状の課題を整理してアクションプランに落として

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

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

Microsoft Clarity 自動化

Microsoft Clarity のユーザー行動分析データを Claude Code から直接エクスポートします。ヒートマップデータ、セッション指標、エンゲージメントインサイトを、複数のディメンションでセグメント化して、ターミナルから離れることなく取得できます。

ツールキットのドキュメント: composio.dev/toolkits/microsoft_clarity


セットアップ

  1. Composio MCP サーバーを構成に追加します。
    https://rube.app/mcp
  2. プロンプトが表示されたら、Microsoft Clarity アカウントを接続します。エージェントが認証リンクを提供します。
  3. 分析したいディメンションについて、Clarity プロジェクトで十分なデータ収集が有効になっていることを確認してください。

主要なワークフロー

1. 最新の分析データをエクスポートする

過去1~3日間の Clarity 分析データを、最大3つのディメンションで同時にセグメント化してエクスポートします。

ツール: MICROSOFT_CLARITY_DATA_EXPORT

主要なパラメーター:

  • numOfDays (必須) -- エクスポートする日数: 1 (過去24時間)、2 (過去48時間)、または 3 (過去72時間)
  • dimension1 -- 最初の内訳ディメンション
  • dimension2 -- 2番目の内訳ディメンション (オプション)
  • dimension3 -- 3番目の内訳ディメンション (オプション)

利用可能なディメンション:

  • Browser -- Chrome、Firefox、Safari、Edge など
  • Device -- デスクトップ、モバイル、タブレット
  • Country/Region -- ユーザーの地理的位置
  • OS -- Windows、macOS、iOS、Android など
  • Source -- トラフィックソース (例: google、direct、referral)
  • Medium -- トラフィック媒体 (organic、cpc、referral など)
  • Campaign -- マーケティングキャンペーン名
  • Channel -- トラフィックチャネルのグループ化
  • URL -- 特定のページURL

プロンプトの例: "過去24時間のClarityデータをデバイスと国/地域別に内訳してエクスポートしてください"


2. デバイスパフォーマンス分析

レスポンシブデザインを最適化するために、デバイスタイプによってユーザー行動がどのように異なるかを分析します。

ツール: MICROSOFT_CLARITY_DATA_EXPORT

設定: numOfDays: 3dimension1: "Device"dimension2: "Browser"

プロンプトの例: "過去3日間のClarity指標をデバイスとブラウザ別に表示してください"


3. トラフィックソースの内訳

最もエンゲージメントの高いユーザーを牽引しているトラフィックソースを理解します。

ツール: MICROSOFT_CLARITY_DATA_EXPORT

設定: numOfDays: 2dimension1: "Source"dimension2: "Medium"

プロンプトの例: "過去48時間のClarityデータをソースと媒体別に内訳してエクスポートしてください"


4. 地域別ユーザー行動

異なる国や地域におけるユーザーエンゲージメントパターンを分析します。

ツール: MICROSOFT_CLARITY_DATA_EXPORT

設定: numOfDays: 3dimension1: "Country/Region"dimension2: "Device"

プロンプトの例: "過去72時間のClarityデータを国/地域とデバイスタイプ別にセグメント化して取得してください"


5. ページレベルのパフォーマンス

どの特定のURLが最も高いまたは低いエンゲージメント指標を持っているかを調べます。

ツール: MICROSOFT_CLARITY_DATA_EXPORT

設定: numOfDays: 1dimension1: "URL"dimension2: "Device"

プロンプトの例: "昨日のClarityデータをURLとデバイス別に内訳してエクスポートしてください"


6. キャンペーンアトリビューション分析

ユーザー行動指標を通じてマーケティングキャンペーンの効果を評価します。

ツール: MICROSOFT_CLARITY_DATA_EXPORT

設定: numOfDays: 3dimension1: "Campaign"dimension2: "Channel"dimension3: "Device"

プロンプトの例: "過去3日間のClarityエンゲージメントデータをキャンペーン、チャネル、デバイス別に表示してください"


既知の落とし穴

  • 限られた時間枠: データのエクスポートは過去1、2、または3日間に限定されます。numOfDays パラメーターは1、2、または3の値のみを受け入れます。より長い履歴分析を行うには、定期的にエクスポートを実行し、外部で集計する必要があります。
  • ディメンション名の完全一致: ディメンション値は、リストされているとおりに正確に一致する必要があります (例: Country/Region であり countryregion ではありません)。大文字と小文字、スラッシュが重要です。
  • 最大3つのディメンション: エクスポートごとに最大3つのディメンションでセグメント化できます。より複雑な分析を行うには、異なるディメンションの組み合わせで複数のエクスポートを実行してください。
  • データ利用可能性の遅延: Clarity データには短い処理遅延がある場合があります。ごく最近のセッション (過去数分間) はエクスポートに表示されないことがあります。
  • 単一ツールの制限: Clarity 統合は現在、データエクスポートツールのみを提供しています。ヒートマップの視覚化やセッション記録については、Clarity ウェブダッシュボードを直接使用してください。
  • 応答サイズ: URL のような高カーディナリティのディメンションと他のディメンションを組み合わせたエクスポートは、大きな応答ペイロードを生成する可能性があります。時間枠を狭めるか、使用するディメンションの数を減らすことを検討してください。

クイックリファレンス

ツールスラッグ 説明
MICROSOFT_CLARITY_DATA_EXPORT 最大3つのディメンション内訳で分析データをエクスポートします

利用可能なディメンション:

ディメンション 説明
Browser ウェブブラウザ (Chrome、Firefox、Safari など)
Device デバイスタイプ (デスクトップ、モバイル、タブレット)
Country/Region 地理的位置
OS オペレーティングシステム
Source トラフィックソース
Medium トラフィック媒体
Campaign マーケティングキャンペーン
Channel トラフィックチャネルのグループ化
URL 特定のページURL

Powered by Composio

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Microsoft Clarity Automation

Export Microsoft Clarity user behavior analytics directly from Claude Code. Pull heatmap data, session metrics, and engagement insights segmented by multiple dimensions without leaving your terminal.

Toolkit docs: composio.dev/toolkits/microsoft_clarity


Setup

  1. Add the Composio MCP server to your configuration:
    https://rube.app/mcp
  2. Connect your Microsoft Clarity account when prompted. The agent will provide an authentication link.
  3. Ensure your Clarity project has sufficient data collection enabled for the dimensions you want to analyze.

Core Workflows

1. Export Recent Analytics Data

Export Clarity analytics data for the last 1-3 days, segmented by up to three dimensions simultaneously.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Key parameters:

  • numOfDays (required) -- number of days to export: 1 (last 24h), 2 (last 48h), or 3 (last 72h)
  • dimension1 -- first breakdown dimension
  • dimension2 -- second breakdown dimension (optional)
  • dimension3 -- third breakdown dimension (optional)

Available dimensions:

  • Browser -- Chrome, Firefox, Safari, Edge, etc.
  • Device -- Desktop, Mobile, Tablet
  • Country/Region -- geographic location of users
  • OS -- Windows, macOS, iOS, Android, etc.
  • Source -- traffic source (e.g., google, direct, referral)
  • Medium -- traffic medium (organic, cpc, referral, etc.)
  • Campaign -- marketing campaign name
  • Channel -- traffic channel grouping
  • URL -- specific page URLs

Example prompt: "Export Clarity data for the last 24 hours broken down by Device and Country/Region"


2. Device Performance Analysis

Analyze how user behavior differs across device types to optimize responsive design.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 3, dimension1: "Device", dimension2: "Browser"

Example prompt: "Show me Clarity metrics for the last 3 days by Device and Browser"


3. Traffic Source Breakdown

Understand which traffic sources drive the most engaged users.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 2, dimension1: "Source", dimension2: "Medium"

Example prompt: "Export Clarity data for the last 48 hours broken down by Source and Medium"


4. Geographic User Behavior

Analyze user engagement patterns across different countries and regions.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 3, dimension1: "Country/Region", dimension2: "Device"

Example prompt: "Get Clarity data for the last 72 hours segmented by Country/Region and Device type"


5. Page-Level Performance

Examine which specific URLs have the highest or lowest engagement metrics.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 1, dimension1: "URL", dimension2: "Device"

Example prompt: "Export yesterday's Clarity data broken down by URL and Device"


6. Campaign Attribution Analysis

Evaluate marketing campaign effectiveness through user behavior metrics.

Tool: MICROSOFT_CLARITY_DATA_EXPORT

Configuration: numOfDays: 3, dimension1: "Campaign", dimension2: "Channel", dimension3: "Device"

Example prompt: "Show Clarity engagement data for the last 3 days by Campaign, Channel, and Device"


Known Pitfalls

  • Limited time window: Data export is limited to the last 1, 2, or 3 days only. The numOfDays parameter only accepts values of 1, 2, or 3. For longer historical analysis, you need to run exports periodically and aggregate them externally.
  • Dimension name exact match: Dimension values must match exactly as listed (e.g., Country/Region not country or region). Case and slashes matter.
  • Maximum three dimensions: You can segment by up to three dimensions per export. For more complex analysis, run multiple exports with different dimension combinations.
  • Data availability lag: Clarity data may have a short processing delay. Very recent sessions (last few minutes) may not appear in exports.
  • Single tool limitation: The Clarity integration currently offers only the data export tool. For heatmap visualizations and session recordings, use the Clarity web dashboard directly.
  • Response size: Exports with high-cardinality dimensions like URL combined with other dimensions can produce large response payloads. Consider narrowing your time window or using fewer dimensions.

Quick Reference

Tool Slug Description
MICROSOFT_CLARITY_DATA_EXPORT Export analytics data with up to 3 dimensional breakdowns

Available Dimensions:

Dimension Description
Browser Web browser (Chrome, Firefox, Safari, etc.)
Device Device type (Desktop, Mobile, Tablet)
Country/Region Geographic location
OS Operating system
Source Traffic source
Medium Traffic medium
Campaign Marketing campaign
Channel Traffic channel grouping
URL Specific page URL

Powered by Composio