Microsoft Clarity Automation
できること
このツールは、Microsoft Clarityからユーザー行動の分析データをダウンロードできるようにします。ブラウザ、デバイス、国などのカテゴリごとに、ユーザーがウェブサイトをどのように利用しているかを確認できます。
使う場面
- ✓ユーザーがどのブラウザを最もよく使っているかを確認したいとき。
- ✓訪問者がどこから来ているか(国、流入元)を把握したいとき。
- ✓モバイルとデスクトップのユーザーによるサイトの利用状況を比較したいとき。
スキルのリンク
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/microsoft-clarity-automation/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“過去2日間のClarityのデータを、デバイスと国別に分けて表示して。”
毎週5つの新しいスキル。1分で読めます。
仕組み
まず、Microsoft Clarityのアカウントを接続します。次に、AIにデータの書き出しを依頼します。その際、何日分のデータを対象とするか、また分析したいカテゴリ(デバイスや国など)を指定します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
- Add the Composio MCP server to your configuration:
https://rube.app/mcp - Connect your Microsoft Clarity account when prompted. The agent will provide an authentication link.
- 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), or3(last 72h)dimension1-- first breakdown dimensiondimension2-- second breakdown dimension (optional)dimension3-- third breakdown dimension (optional)
Available dimensions:
Browser-- Chrome, Firefox, Safari, Edge, etc.Device-- Desktop, Mobile, TabletCountry/Region-- geographic location of usersOS-- Windows, macOS, iOS, Android, etc.Source-- traffic source (e.g., google, direct, referral)Medium-- traffic medium (organic, cpc, referral, etc.)Campaign-- marketing campaign nameChannel-- traffic channel groupingURL-- 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
numOfDaysparameter 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/Regionnotcountryorregion). 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.
…
よくある質問
3日より前のデータも見られますか?
いいえ、このツールでダウンロードできるのは、直近1日、2日、3日のデータのみです。
一度に多くのカテゴリでデータを分けることはできますか?
一度に最大3つのカテゴリ(ディメンション)で分けることができます。
ウェブサイトに何かをインストールする必要はありますか?
いいえ、必要なのはMicrosoft Clarityのアカウントを接続することだけです。ツールがそこから直接データを取得します。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 77k
- ランキング
- #2246
- ライセンス
- —
- 更新日
- 2026/9/18
コメント
- …
このリポジトリの他のスキル
artifacts-builder
77kエージェントが複雑なユーザーインターフェースを構築できるようにします。最新の技術を使い、リッチで対話的なWebページを作成します。
brand-guidelines
77kエージェントが資料に公式のブランドカラーとフォントを適用できるようにします。会社らしく見せる必要がある制作物で、ビジュアルアイデンティティを保つのに役立ちます。
canvas-design
77kエージェントが.pngや.pdf形式のオリジナルのビジュアルアートを作成できるようにします。ポスター、アート、その他の静的なデザインを依頼されたときに使います。
changelog-generator
77kエージェントがコードのコミットから、ユーザー向けのリリースノートを作成します。技術的な情報を、わかりやすい文章に変換します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。