Community编程与开发github.com

mem-automation (Mem 自动化)

通过 Rube MCP(Composio)自动化 Mem 任务。始终先搜索工具以获取最新的 Schema。

mem-automation (Mem 自动化) 是什么?

该技能通过 Composio 的 Mem 工具包及 Rube MCP 协议,实现了对 Mem 应用(一款 AI 原生的知识管理工具)的自动化操作。其核心价值在于:开发者无需手动编写 Mem API 调用代码,而是通过 Rube MCP 提供的标准化接口(如 `RUBE_SEARCH_TOOLS`、`RUBE_MANAGE_CONNECTIONS`、`RUBE_MULTI_EXECUTE_TOOL`)来发现工具、管理连接并执行操作。技能适用于 Claude Code、Cursor、Codex 等支持 MCP 的 AI 代理平台。工作流程遵循三步模式:首先调用 `RUBE_SEARCH_TOOLS` 获取当前可用的工具 Schema,然后通过 `RUBE_MANAGE_CONNECTIONS` 确保与 Mem 的连接处于 ACTIVE 状态,最后使用 `RUBE_MULTI_EXECUTE_TOOL` 执行具体的 Mem 操作(如创建笔记、搜索内容等)。已知陷阱包括:必须始终先搜索工具而非硬编码 Schema、执行前需验证连接状态、调用 `RUBE_MULTI_EXECUTE_TOOL` 时必须包含 `memory` 参数(可为空),以及注意分页令牌处理。

兼容平台~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 以获取当前工具 Schema

设置

获取 Rube MCP:在您的客户端配置中将 https://rube.app/mcp 添加为 MCP 服务器。无需 API 密钥——只需添加端点即可工作。

  1. 确认 RUBE_SEARCH_TOOLS 有响应,以验证 Rube MCP 可用
  2. 调用 RUBE_MANAGE_CONNECTIONS,toolkit 参数设为 mem
  3. 如果连接状态不是 ACTIVE,请按照返回的授权链接完成设置
  4. 运行工作流前确认连接状态显示为 ACTIVE

工具发现

在执行工作流之前,始终先发现可用工具:

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

这将返回可用的工具 slug、输入 Schema、推荐执行计划以及已知陷阱。

核心工作流模式

步骤 1:发现可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "您的具体 Mem 任务"}]
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: {/* 来自搜索结果的符合 Schema 的参数 */}
}]
memory: {}
session_id: "your_session_id"

已知陷阱

  • 始终先搜索:工具 Schema 会变化。切勿在不调用 RUBE_SEARCH_TOOLS 的情况下硬编码工具 slug 或参数
  • 检查连接:执行工具前,验证 RUBE_MANAGE_CONNECTIONS 显示 ACTIVE 状态
  • 遵循 Schema:使用搜索返回结果中的精确字段名称和类型
  • memory 参数:调用 RUBE_MULTI_EXECUTE_TOOL 时始终包含 memory,即使为空({})
  • 会话复用:在同一工作流内复用会话 ID。新工作流则生成新会话 ID
  • 分页处理:检查响应中的分页令牌,并持续获取直到完成

快速参考

操作方法
查找工具使用 Mem 特定用例调用 RUBE_SEARCH_TOOLS
连接使用 toolkit mem 调用 RUBE_MANAGE_CONNECTIONS
执行使用已发现的工具 slug 调用 RUBE_MULTI_EXECUTE_TOOL
批量操作使用 run_composio_tool() 调用 RUBE_REMOTE_WORKBENCH
完整 Schema对包含 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.

相关技能