跳到正文
Skillpedia
自动化77k · #2294

onesignal_rest_api-automation

它能做什么

这个工具可以让你控制 OneSignal(一个用于发送应用通知的服务)。你可以自动发送消息、创建用户列表,还能管理消息模板。

适用场景

  • ✓向应用用户发送推送通知时。
  • ✓创建或更新用于精准投放的用户列表时。
  • ✓管理营销活动的消息模板时。

技能链接

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/onesignal_rest_api-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/onesignal_rest_api-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“给居住在圣保罗的所有用户发送一条推送通知。”

每周 5 个新技能,1 分钟读完。

工作原理

该工具会连接到 OneSignal,并使用特定命令来完成任务。它会先检查有哪些命令可用,然后根据你提供的信息执行你需要的命令。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

OneSignal Automation via Rube MCP

Automate OneSignal operations through Composio's OneSignal toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/onesignal_rest_api

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active OneSignal connection via RUBE_MANAGE_CONNECTIONS with toolkit onesignal_rest_api
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit onesignal_rest_api
  3. If connection is not ACTIVE, follow the returned auth link to complete setup
  4. Confirm connection status shows ACTIVE before running any workflows

Tool Discovery

Always discover available tools before executing workflows:

RUBE_SEARCH_TOOLS: queries=[{"use_case": "push notifications, segments, templates, and messaging", "known_fields": ""}]

This returns:

  • Available tool slugs for OneSignal
  • Recommended execution plan steps
  • Known pitfalls and edge cases
  • Input schemas for each tool

Core Workflows

1. Discover Available OneSignal Tools

RUBE_SEARCH_TOOLS:
  queries:
    - use_case: "list all available OneSignal tools and capabilities"

Review the returned tools, their descriptions, and input schemas before proceeding.

2. Execute OneSignal Operations

After discovering tools, execute them via:

RUBE_MULTI_EXECUTE_TOOL:
  tools:
    - tool_slug: "<discovered_tool_slug>"
      arguments: {<schema-compliant arguments>}
  memory: {}
  sync_response_to_workbench: false

3. Multi-Step Workflows

For complex workflows involving multiple OneSignal operations:

  1. Search for all relevant tools: RUBE_SEARCH_TOOLS with specific use case
  2. Execute prerequisite steps first (e.g., fetch before update)
  3. Pass data between steps using tool responses
  4. Use RUBE_REMOTE_WORKBENCH for bulk operations or data processing

Common Patterns

Search Before Action

Always search for existing resources before creating new ones to avoid duplicates.

Pagination

Many list operations support pagination. Check responses for next_cursor or page_token and continue fetching until exhausted.

Error Handling

  • Check tool responses for errors before proceeding
  • If a tool fails, verify the connection is still ACTIVE
  • Re-authenticate via RUBE_MANAGE_CONNECTIONS if connection expired

Batch Operations

For bulk operations, use RUBE_REMOTE_WORKBENCH with run_composio_tool() in a loop with ThreadPoolExecutor for parallel execution.

Known Pitfalls

  • Always search tools first: Tool schemas and available operations may change. Never hardcode tool slugs without first discovering them via RUBE_SEARCH_TOOLS.
  • Check connection status: Ensure the OneSignal connection is ACTIVE before executing any tools. Expired OAuth tokens require re-authentication.
  • Respect rate limits: If you receive rate limit errors, reduce request frequency and implement backoff.
  • Validate schemas: Always pass strictly schema-compliant arguments. Use RUBE_GET_TOOL_SCHEMAS to load full input schemas when schemaRef is returned instead of input_schema.

Quick Reference

Operation Approach
Find tools RUBE_SEARCH_TOOLS with OneSignal-specific use case
Connect RUBE_MANAGE_CONNECTIONS with toolkit onesignal_rest_api
Execute RUBE_MULTI_EXECUTE_TOOL with discovered tool slugs
Bulk ops RUBE_REMOTE_WORKBENCH with run_composio_tool()
Full schema RUBE_GET_TOOL_SCHEMAS for tools with schemaRef

Toolkit docs: composio.dev/toolkits/onesignal_rest_api

常见问题

我需要有 OneSignal 账户吗?

需要,你要有一个有效的 OneSignal 账户,并把它连接到这个工具上。

工具怎么知道该做什么?

你需要告诉工具要执行的任务,比如“发送通知”或“创建分群”,并提供必要的详细信息。

我可以把消息发送给特定的用户群体吗?

可以。你可以根据特定条件创建用户分群(即用户组),然后把消息发送给他们。

详情

作者的原始描述

Automate OneSignal tasks via Rube MCP (Composio): push notifications, segments, templates, and messaging. Always search tools first for current schemas.

repo: ComposioHQ/awesome-claude-skills

热度

GitHub 星标
77k
排名
#2294
许可证
—
更新时间
2026/9/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能