Community程式設計與開發github.com

mem-automation

透過 Rube MCP(Composio)自動化 Mem 任務。請務必先搜尋工具以取得最新結構。

mem-automation 是什麼?

此技能讓 AI 助手能夠透過 Composio 的 Mem 工具組及 Rube MCP 協定,自動化 Mem 的操作。它提供一個完整的工作流程,涵蓋工具探索、連線狀態確認及工具執行,確保與 Mem 生態系的互動既可靠又符合規範。透過強制在執行前先搜尋工具(`RUBE_SEARCH_TOOLS`),避免因硬編碼結構而導致的錯誤,並提升對 API 變更的穩定性。支援 Rube MCP 作為 MCP 伺服器,無需 API 金鑰即可使用,並提供批量操作及完整結構檢索的參考。適合需要與 Mem 進行互動式工作流程的開發者與 AI 代理。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-claude-skills/tree/master/composio-skills/mem-automation

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過 Rube MCP 自動化 Mem

透過 Composio 的 Mem 工具組搭配 Rube MCP,自動化 Mem 操作。

工具組文件:composio.dev/toolkits/mem

先決條件

  • 必須已連接 Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 透過 RUBE_MANAGE_CONNECTIONS 使用 mem 工具組並啟用 Mem 連線
  • 務必先呼叫 RUBE_SEARCH_TOOLS 以取得最新的工具結構

設定

取得 Rube MCP:在客戶端設定中新增 https://rube.app/mcp 作為 MCP 伺服器。無需 API 金鑰 — 只需新增端點即可運作。

  1. 確認 RUBE_SEARCH_TOOLS 有回應以驗證 Rube MCP 可用
  2. 使用 mem 工具組呼叫 RUBE_MANAGE_CONNECTIONS
  3. 若連線狀態不是 ACTIVE,請依照傳回的驗證連結完成設定
  4. 確認連線狀態顯示 ACTIVE 後再執行工作流程

工具探索

在執行工作流程前,務必探索可用工具:

RUBE_SEARCH_TOOLS
queries: [{use_case: "Mem operations", known_fields: ""}]
session: {generate_id: true}

這將傳回可用的工具代碼、輸入結構、建議的執行計畫及已知注意事項。

核心工作流程模式

步驟 1:探索可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Mem task"}]
session: {id: "existing_session_id"}

步驟 2:檢查連線

RUBE_MANAGE_CONNECTIONS
toolkits: ["mem"]
session_id: "your_session_id"

步驟 3:執行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* 符合搜尋結果結構的參數 */}
}]
memory: {}
session_id: "your_session_id"

已知注意事項

  • 務必先搜尋:工具結構會變更。未經呼叫 RUBE_SEARCH_TOOLS,切勿硬編碼工具代碼或參數
  • 檢查連線:執行工具前,確認 RUBE_MANAGE_CONNECTIONS 顯示 ACTIVE 狀態
  • 結構符合性:使用搜尋結果中的確切欄位名稱與型別
  • 記憶體參數:即使在 RUBE_MULTI_EXECUTE_TOOL 呼叫中,一律包含 memory 參數(即使為空 {})
  • 重複使用工作階段:在同一工作流程中重複使用工作階段 ID。新的工作流程則產生新的 ID
  • 分頁處理:檢查回應中是否有分頁權杖,並持續擷取直到完成

快速參考

操作方式
尋找工具使用 Mem 相關使用案例呼叫 RUBE_SEARCH_TOOLS
連線使用 mem 工具組呼叫 RUBE_MANAGE_CONNECTIONS
執行使用探索到的工具代碼呼叫 RUBE_MULTI_EXECUTE_TOOL
批量操作使用 run_composio_tool() 呼叫 RUBE_REMOTE_WORKBENCH
完整結構對含有 schemaRef 的工具呼叫 RUBE_GET_TOOL_SCHEMAS

技術支援:Composio

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

agent-mail-automation

Automate Agent Mail tasks via Rube MCP (Composio). Always search tools first for current schemas.

agentql-automation

Automate Agentql tasks via Rube MCP (Composio). Always search tools first for current schemas.

agenty-automation

Automate Agenty tasks via Rube MCP (Composio). Always search tools first for current schemas.

相關技能