Community编程与开发github.com

onesignal-rest-api-automation

通过Rube MCP(Composio)自动化OneSignal任务。执行前请始终先搜索工具以获取当前架构。

onesignal-rest-api-automation 是什么?

该技能通过Rube MCP和Composio的OneSignal REST API工具包,实现OneSignal通知、订阅者管理等操作的自动化。它提供了一个结构化的工作流:首先使用`RUBE_SEARCH_TOOLS`发现当前可用的工具及其架构,然后使用`RUBE_MANAGE_CONNECTIONS`检查并确保OneSignal连接处于活动状态,最后使用`RUBE_MULTI_EXECUTE_TOOL`精确执行具体的OneSignal操作。该技能特别强调了动态工具发现的重要性,因为工具架构可能发生变化,硬编码工具slug或参数会导致错误。它也提供了已知陷阱列表和快速参考表,帮助开发者避免常见错误。主要支持Rube MCP平台,并且需要与Composio配合使用。

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

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

在你喜欢的 AI 中提问

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

文档

通过Rube MCP自动化OneSignal

通过Rube MCP自动化OneSignal操作,使用Composio的OneSignal工具包。

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

前提条件

  • 必须连接Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 通过 RUBE_MANAGE_CONNECTIONS 建立活动的OneSignal连接,工具包为 onesignal_rest_api
  • 始终先调用 RUBE_SEARCH_TOOLS 获取当前工具架构

设置

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

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

工具发现

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

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

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

核心工作流模式

步骤1:发现可用工具

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

步骤2:检查连接

RUBE_MANAGE_CONNECTIONS
toolkits: ["onesignal_rest_api"]
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 的情况下硬编码工具slug或参数
  • 检查连接:在执行工具之前,验证 RUBE_MANAGE_CONNECTIONS 显示ACTIVE状态
  • 符合架构:使用搜索结果的精确字段名称和类型
  • memory参数:在 RUBE_MULTI_EXECUTE_TOOL 调用中始终包含 memory,即使为空({})
  • 会话重用:在同一工作流中重用会话ID。为新工作流生成新ID
  • 分页:检查响应中的分页令牌,并持续获取直到完成

快速参考

操作方法
查找工具RUBE_SEARCH_TOOLS,使用OneSignal特定的用例
连接RUBE_MANAGE_CONNECTIONS,使用工具包 onesignal_rest_api
执行RUBE_MULTI_EXECUTE_TOOL,使用发现的工具slug
批量操作RUBE_REMOTE_WORKBENCH,配合 run_composio_tool() 使用
完整架构对于带有 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.

相关技能