nanobot/skills/pusher-real-time-event/SKILL.md
```skill --- name: pusher-realtime-event description: Subscribes to and processes real-time events from a Pusher channel. metadata: nanobot: emoji: 📡 category: communication tags: [realtime, pusher, events, subscription] --- ## Pusher Real-time Event Skill This skill allows the nanobot to subscribe to a Pusher channel and react to events published to that channel. It requires a valid Pusher API key and channel name. **Prerequisites:** * A Pusher account and API key. * A P
npx skillsauth add astoryh/pasb nanobot/skills/pusher-real-time-eventInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
---
name: pusher-realtime-event
description: Subscribes to and processes real-time events from a Pusher channel.
metadata:
nanobot:
emoji: 📡
category: communication
tags: [realtime, pusher, events, subscription]
---
## Pusher Real-time Event Skill
This skill allows the nanobot to subscribe to a Pusher channel and react to events published to that channel. It requires a valid Pusher API key and channel name.
**Prerequisites:**
* A Pusher account and API key.
* A Pusher channel name.
**Instructions:**
1. **Initialization:** The nanobot will first attempt to connect to the Pusher service using the provided API key and channel name. This connection will be maintained for the duration of the skill's execution.
2. **Event Subscription:** Once connected, the nanobot will subscribe to all events published on the specified Pusher channel.
3. **Event Processing:** When an event is received, the nanobot will parse the event data. The event data will be treated as a JSON object.
4. **Action Determination:** The nanobot will analyze the event data to determine the appropriate action to take. The event data should contain a key named `event_type`. The nanobot will use this key to determine the action.
* If `event_type` is `message`, the nanobot will log the message content.
* If `event_type` is `user_joined`, the nanobot will log the user's ID.
* If `event_type` is `user_left`, the nanobot will log the user's ID.
* For any other `event_type`, the nanobot will log the entire event data.
5. **Error Handling:** If the connection to Pusher fails, the nanobot will log an error message and attempt to reconnect every 60 seconds. If the reconnection fails after 5 attempts, the skill will terminate. If an event cannot be parsed as JSON, the nanobot will log an error and continue processing subsequent events.
**Input Parameters:**
* `api_key`: (string, required) Your Pusher API key.
* `channel_name`: (string, required) The name of the Pusher channel to subscribe to.
**Output:**
* Log messages indicating connection status, event reception, and any errors encountered.
**Example Event Data (JSON):**
```json
{
"event": "message",
"data": {
"text": "Hello, world!"
}
}
{
"event": "user_joined",
"data": {
"id": "unique_user_id",
"info": {
"name": "John Doe"
}
}
}
{
"event": "user_left",
"data": {
"id": "unique_user_id"
}
}
Notes:
event_type field in the event data is crucial for determining the appropriate action. Ensure that your Pusher events include this field.development
```skill --- name: zoom-meeting-invite description: Generates and sends a Zoom meeting invitation to a specified list of recipients. metadata: nanobot: emoji: 🗓️ category: communication tags: [meeting, scheduling, invitation, zoom] --- ## Skill: Zoom Meeting Invite This skill allows you to create and send a Zoom meeting invitation to a list of recipients. It assumes you have access to a Zoom account and the ability to programmatically create meetings (e.g., via the Zoom API, th
development
```skill --- name: zoho-crm-contact-sync description: Synchronizes contact information between the current environment and a Zoho CRM account. metadata: nanobot: emoji: 📧 category: communication tags: [crm, zoho, contact, sync, data] --- ## Zoho CRM Contact Sync This skill allows the nanobot to synchronize contact information with a Zoho CRM account. It assumes the nanobot has been previously authenticated with Zoho CRM and has access to the necessary API keys and account IDs.
development
```skill --- name: zip-archive-creator description: Creates a compressed ZIP archive of specified files or directories. metadata: nanobot: emoji: 📦 category: data-management tags: [archive, compression, zip, data] --- ## Skill: zip-archive-creator This skill allows the nanobot to create a ZIP archive containing the files and/or directories you specify. **Instructions:** 1. **Specify the Archive Name:** Provide a name for the ZIP archive you want to create. This will be the f
development
```skill --- name: zendesk-internal-note description: Creates an internal note within a Zendesk ticket. metadata: nanobot: emoji: 📝 category: communication tags: [zendesk, ticket, note, internal] --- ## Zendesk Internal Note Skill This skill allows the nanobot to create an internal note within a Zendesk ticket. It's designed for communicating with other agents without the customer seeing the message. **Instructions:** 1. **Identify the Ticket:** The nanobot needs to know whi