Community编程与开发github.com

ComposioHQ/Affinity 自动化

通过 Rube MCP (Composio) 自动执行 Affinity 任务。务必先搜索工具以获取当前模式。

Affinity 自动化 是什么?

此技能通过 Rube MCP 和 Composio 的 Affinity 工具包,自动化 Affinity CRM 操作。它充当 AI 代理与 Affinity REST API 之间的桥梁,允许代理执行搜索联系人、管理列表等操作,而无需手动处理底层 API 调用。该技能要求先连接 Rube MCP 服务器,并通过 `RUBE_MANAGE_CONNECTIONS` 创建并验证到 Affinity 的有效连接。核心工作流程包括三个步骤:使用 `RUBE_SEARCH_TOOLS` 发现当前可用的工具模式,使用 `RUBE_MANAGE_CONNECTIONS` 检查连接状态,然后使用 `RUBE_MULTI_EXECUTE_TOOL` 以及从搜索结果中获取的正确参数来执行特定工具。此技能适用于 Claude Code 等支持 MCP 的客户端,强调动态模式发现——始终在运行工作流之前搜索工具,以确保使用最新的 API 结构和参数,避免因模式变更导致执行失败。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/affinity-automation

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

通过 Rube MCP 自动化 Affinity

通过 Composio 的 Affinity 工具包(经由 Rube MCP)自动执行 Affinity 操作。

工具包文档:composio.dev/toolkits/affinity

先决条件

  • 必须已连接 Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 通过 RUBE_MANAGE_CONNECTIONS 并指定工具包 affinity 建立有效的 Affinity 连接
  • 始终首先调用 RUBE_SEARCH_TOOLS 以获取当前工具模式

设置

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

  1. 通过确认 RUBE_SEARCH_TOOLS 响应来验证 Rube MCP 是否可用
  2. 使用工具包 affinity 调用 RUBE_MANAGE_CONNECTIONS
  3. 如果连接状态不是 ACTIVE,请按照返回的认证链接完成设置
  4. 在运行任何工作流之前,确认连接状态显示 ACTIVE

工具发现

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

RUBE_SEARCH_TOOLS
queries: [{use_case: "Affinity 操作", known_fields: ""}]
session: {generate_id: true}

这将返回可用的工具标识符、输入模式、推荐的执行计划和已知陷阱。

核心工作流模式

步骤 1:发现可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "你的具体 Affinity 任务"}]
session: {id: "existing_session_id"}

步骤 2:检查连接

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

步骤 3:执行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "来自搜索结果的 TOOL_SLUG",
  arguments: {/* 来自搜索结果的、符合模式的参数 */}
}]
memory: {}
session_id: "your_session_id"

已知陷阱

  • 始终先搜索:工具模式会变化。切勿硬编码工具标识符或参数,而不调用 RUBE_SEARCH_TOOLS
  • 检查连接:在执行工具之前,确认 RUBE_MANAGE_CONNECTIONS 显示 ACTIVE 状态
  • 符合模式:使用搜索结果的准确字段名称和类型
  • 内存参数:在 RUBE_MULTI_EXECUTE_TOOL 调用中始终包含 memory,即使为空 ({})
  • 会话重用:在同一个工作流中重用会话 ID。为新的工作流生成新的会话 ID
  • 分页:检查响应中的分页令牌,并持续获取直到完成

快速参考

操作方法
查找工具RUBE_SEARCH_TOOLS 并指定 Affinity 相关的用例
连接RUBE_MANAGE_CONNECTIONS 并使用工具包 affinity
执行RUBE_MULTI_EXECUTE_TOOL 并使用发现的工具标识符
批量操作RUBE_REMOTE_WORKBENCH 配合 run_composio_tool()
完整模式RUBE_GET_TOOL_SCHEMAS 获取带有 schemaRef 的工具

由 Composio 提供支持

Individual skills in this repo

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

ComposioHQ/-21risk-automation

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

ComposioHQ/-2chat-automation

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

ComposioHQ/ably-automation

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

ComposioHQ/abstract-automation

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

ComposioHQ/abuselpdb-automation

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

ComposioHQ/abyssale-automation

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

ComposioHQ/accelo-automation

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

ComposioHQ/accredible-certificates-automation

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

ComposioHQ/acculynx-automation

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

ComposioHQ/active-campaign-automation

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

ComposioHQ/addresszen-automation

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

ComposioHQ/adobe-automation

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

ComposioHQ/adrapid-automation

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

ComposioHQ/adyntel-automation

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

ComposioHQ/aeroleads-automation

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

ComposioHQ/aero-workflow-automation

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

ComposioHQ/affinda-automation

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

ComposioHQ/agencyzoom-automation

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

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

ComposioHQ/agent-mail-automation

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

相关技能