amplitude-automation
自動化 Amplitude 分析任務
此技能讓 Claude 能夠透過 Rube MCP 自動化 Amplitude 產品分析工作流程,包括事件追蹤、使用者活動查詢、群組管理以及使用者識別。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「amplitude-automation」。 為使用者 'user123' 傳送 'purchase' 事件,事件屬性為 'item': 'premium_plan', 'price': 99
預期結果:
事件已成功傳送至 Amplitude。事件 ID:evt_abc123。資料將在幾分鐘內於儀表板中顯示。
正在使用「amplitude-automation」。 尋找使用者 'john@example.com' 並取得其最近 10 筆事件
預期結果:
找到使用者:Amplitude ID 'amp_xyz789'。已擷取 10 筆事件,包括 'page_view'、'button_click'、'form_submit',按時間倒序排列。
安全審計
安全All 87 static findings are false positives. The skill is documentation for Amplitude API operations via Rube MCP. Backtick characters in markdown code blocks were misidentified as shell execution. URLs and API operations are legitimate product analytics functionality, not security risks.
品質評分
你能建構什麼
追蹤使用者事件
當使用者在您的應用程式中執行重要操作時,自動傳送追蹤事件至 Amplitude。
分析使用者行為
查詢使用者活動歷史,以了解使用者如何與您的產品互動。
管理使用者分群
建立並更新群組成員資格,將使用者分群以進行目標分析或行銷活動。
試試這些提示
使用 amplitude-automation 技能傳送 'page_view' 事件至 Amplitude,user_id 為 'user123'。
在 Amplitude 中尋找使用者 'user456',然後取得他們最近的活動。
列出可用的群組,然後將使用者 'user789' 新增至 'premium_users' 群組。
使用 IDENTIFY 操作為使用者 'user101' 設定使用者屬性,包括 plan='enterprise' 與 company='Acme Corp'。
最佳實務
- 在使用前務必先呼叫 RUBE_SEARCH_TOOLS 以取得最新的工具架構
- 在執行工作流程前驗證 Amplitude 連線狀態為 ACTIVE
- 傳送多個事件時使用批次事件以減少 API 呼叫
- 使用狀態輪詢來處理群組更新等非同步操作
避免
- 不要直接使用應用程式的使用者 ID 呼叫 GET_USER_ACTIVITY — 必須先解析為 Amplitude 內部 ID
- 不要使用秒為單位的時間戳記 — 必須使用毫秒(13 位元 epoch 時間)
- 不要假設使用者屬性變更會立即生效 — 它們為最終一致性