Community编程与开发github.com

ComposioHQ/better-stack-automation

通过 Rube MCP 自动化 Better Stack 任务(由 Composio 提供)。始终先搜索工具以获取当前 schema。

better-stack-automation 是什么?

该技能让开发者通过 Composio 的 Better Stack 工具包和 Rube MCP 协议,自动执行 Better Stack 的操作流程,如日志管理、事件响应和基础设施监控。其核心价值在于:每次执行前必须调用 `RUBE_SEARCH_TOOLS` 获取最新的工具 schemas,避免硬编码的过时问题。它支持在 Rube MCP 客户端(如 Claude Code、Cursor 等)中使用,且配置简单——只需添加 MCP 端点,无需 API 密钥。工作流分三步:发现工具、检查连接状态(通过 `RUBE_MANAGE_CONNECTIONS`)、执行工具(通过 `RUBE_MULTI_EXECUTE_TOOL` 或批量操作的 `RUBE_REMOTE_WORKBENCH`)。已知陷阱包括:必须始终搜索工具、确保连接 ACTIVE、严格遵循 schema 的字段类型、即使在空参数时也要传递 `memory`,以及复用会话 ID。

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

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

在你喜欢的 AI 中提问

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

文档

通过 Rube MCP 实现 Better Stack 自动化

通过 Composio 的 Better Stack 工具包,利用 Rube MCP 自动执行 Better Stack 操作。

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

前提条件

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

设置

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

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

工具发现

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

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

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

核心工作流模式

步骤 1:发现可用工具

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

步骤 2:检查连接

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

快速参考

操作方法
查找工具RUBE_SEARCH_TOOLS,指定 Better Stack 相关的 use case
连接RUBE_MANAGE_CONNECTIONS,工具包设置为 better_stack
执行RUBE_MULTI_EXECUTE_TOOL,使用发现到的工具 slug
批量操作RUBE_REMOTE_WORKBENCH,配合 run_composio_tool()
完整 schemaRUBE_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/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.

相关技能