Community写作与编辑github.com

ComposioHQ/contentful-graphql-automation

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

contentful-graphql-automation 是什么?

该技能旨在通过 Composio 的 Contentful GraphQL 工具包和 Rube MCP 协议,自动化处理 Contentful GraphQL 操作。它要求用户首先使用 `RUBE_SEARCH_TOOLS` 发现当前可用的工具模式(schema),然后通过 `RUBE_MANAGE_CONNECTIONS` 建立并验证与 Contentful GraphQL 的连接,最后使用 `RUBE_MULTI_EXECUTE_TOOL` 执行具体任务。技能强调了“先搜索、后执行”的核心理念,避免硬编码工具参数,并确保每次操作前连接状态为 ACTIVE。支持包括批量操作(通过 `RUBE_REMOTE_WORKBENCH`)和获取完整模式(通过 `RUBE_GET_TOOL_SCHEMAS`)在内的多种工作流。主要适用于需要与 Contentful CMS 的 GraphQL 端点进行自动化交互的开发者或 AI 代理,例如内容查询、数据迁移或批量内容管理。平台方面,该技能基于 Rube MCP 作为桥梁,因此任何支持 MCP 客户端(如 Claude Code、Cursor 等)的环境均可使用。

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

Installed? Explore more 写作与编辑 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

在你喜欢的 AI 中提问

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

文档

通过 Rube MCP 自动执行 Contentful GraphQL 任务

通过 Composio 的 Contentful GraphQL 工具包,借助 Rube MCP 自动化 Contentful GraphQL 操作。

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

前提条件

  • 必须连接 Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 通过 RUBE_MANAGE_CONNECTIONS 建立有效的 Contentful GraphQL 连接,工具包为 contentful_graphql
  • 始终先调用 RUBE_SEARCH_TOOLS 以获取当前工具模式

设置

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

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

工具发现

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

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

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

核心工作流模式

步骤 1:发现可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "你的特定 Contentful GraphQL 任务"}]
session: {id: "existing_session_id"}

步骤 2:检查连接

RUBE_MANAGE_CONNECTIONS
toolkits: ["contentful_graphql"]
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
  • 分页:检查响应中的分页令牌,并持续获取直到完成

快速参考

操作方法
查找工具使用包含 Contentful GraphQL 特定用例的 RUBE_SEARCH_TOOLS
连接使用工具包 contentful_graphql 的 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.

相关技能