Community图像github.com

ComposioHQ/html-to-image-automation (通过 Rube MCP 自动化 HTML 转图片)

通过 Composio 的 Html To Image 工具包和 Rube MCP,自动将 HTML 转换为图片。使用前请先搜索工具以获取当前架构。

html-to-image-automation (通过 Rube MCP 自动化 HTML 转图片) 是什么?

该技能允许 AI 代理通过 Rube MCP 接口自动执行 HTML 转图片任务,利用 Composio 的 Html To Image 工具包。它支持在 Claude Code、Cursor 或 Codex 等 MCP 兼容的客户端中使用,作为 Rube 服务器的一部分。工作原理是:首先使用 RUBE_SEARCH_TOOLS 发现可用的工具及其当前架构,然后通过 RUBE_MANAGE_CONNECTIONS 建立并验证与 html_to_image 工具包的连接,最后使用 RUBE_MULTI_EXECUTE_TOOL 执行转换操作。该技能强调始终搜索当前工具架构、检查连接状态、遵循架构约束以及正确管理会话和分页。它提供了一个清晰的三步工作流模式,并指出了常见陷阱,如硬编码架构、忽略内存参数和会话复用规则。

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

Installed? Explore more 图像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜欢的 AI 中提问

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

文档

通过 Rube MCP 自动化 Html 转图片

通过 Composio 的 Html To Image 工具包,经由 Rube MCP 自动执行 Html 转图片操作。

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

前提条件

  • 必须已连接 Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 通过 RUBE_MANAGE_CONNECTIONS 使用 html_to_image 工具包建立活跃的 Html To Image 连接
  • 始终先调用 RUBE_SEARCH_TOOLS 以获取当前工具架构

设置

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

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

工具发现

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

RUBE_SEARCH_TOOLS
queries: [{use_case: "Html To Image operations", known_fields: ""}]
session: {generate_id: true}

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

核心工作流模式

步骤 1:发现可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Html To Image task"}]
session: {id: "existing_session_id"}

步骤 2:检查连接

RUBE_MANAGE_CONNECTIONS
toolkits: ["html_to_image"]
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 状态
  • 遵循架构:使用搜索结果中的确切字段名称和类型
  • memory 参数:在 RUBE_MULTI_EXECUTE_TOOL 调用中始终包含 memory 参数,即使为空({})
  • 会话复用:在同一工作流中复用会话 ID。为新工作流生成新的会话 ID
  • 分页:检查响应中的分页 token,并持续获取直到完成

快速参考

操作方法
查找工具使用 Html 转图片特定用例的 RUBE_SEARCH_TOOLS
连接使用 html_to_image 工具包的 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.

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/affinity-automation

Automate Affinity 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.

相关技能