Community编程与开发github.com

Api2pdf自动化 (通过Rube MCP)

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

Api2pdf自动化 (通过Rube MCP) 是什么?

这是一项通过Rube MCP集成Composio的Api2pdf工具包,实现自动执行Api2pdf操作的AI Agent技能。它使开发者能够通过统一的MCP接口,自动完成文档转换、HTML转PDF、Office转PDF等Api2pdf支持的批量任务,无需手动调用底层API。该技能支持Rube MCP平台,核心工作流程包括:先使用`RUBE_SEARCH_TOOLS`发现最新的工具模式和参数,然后通过`RUBE_MANAGE_CONNECTIONS`检查或建立Api2pdf连接(需要用户完成OAuth授权),最后使用`RUBE_MULTI_EXECUTE_TOOL`执行具体的转换任务。文档特别强调了几个关键注意事项:始终先搜索工具,因为模式会频繁变化;切勿硬编码工具slug或参数;必须确认连接状态为ACTIVE才执行操作;每次`RUBE_MULTI_EXECUTE_TOOL`调用都必须包含`memory`参数(可为空)。该技能本质上是一个编排层,通过动态工具发现和参数校验,降低了Api2pdf的集成和维护成本。

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

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

在你喜欢的 AI 中提问

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

文档

通过Rube MCP实现Api2pdf自动化

通过Composio的Api2pdf工具包,借助Rube MCP自动执行Api2pdf操作。

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

前提条件

  • Rube MCP必须已连接(RUBE_SEARCH_TOOLS可用)
  • 通过RUBE_MANAGE_CONNECTIONS建立活跃的Api2pdf连接,工具包为api2pdf
  • 始终先调用RUBE_SEARCH_TOOLS获取当前工具模式

设置

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

  1. 确认Rube MCP可用:确保RUBE_SEARCH_TOOLS能够响应
  2. 调用RUBE_MANAGE_CONNECTIONS,工具包参数设为api2pdf
  3. 如果连接状态不是ACTIVE,按照返回的认证链接完成设置
  4. 在运行任何工作流之前,确认连接状态显示为ACTIVE

工具发现

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

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

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

核心工作流模式

步骤1:发现可用工具

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

步骤2:检查连接

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

步骤3:执行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* schema-compliant args from search results */}
}]
memory: {}
session_id: "your_session_id"

已知陷阱

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

快速参考

操作方法
查找工具使用Api2pdf特定用例的RUBE_SEARCH_TOOLS
连接使用工具包api2pdf的RUBE_MANAGE_CONNECTIONS
执行使用已发现工具slug的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.

相关技能