notification-routing

Route agent notifications to topic-specific channels using CHANNEL tags and a JSON config.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/codebytes/btt --skill notification-routing-codebytes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: notification-routing
Source: https://github.com/codebytes/btt/tree/main/.squad/templates/skills/notification-routing
Command: npx skills add https://github.com/codebytes/btt --skill notification-routing-codebytes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a multi-agent team sends every notification to a single channel, critical alerts get buried under routine messages, causing missed security findings and team members disabling notifications entirely. ## Core Features & Use Cases - Topic-Based Routing: Agents tag output with a CHANNEL:<type> prefix, and a dispatcher function routes each message to the matching channel defined in a JSON config. - Provider-Agnostic Adapter: A swappable adapter script (Teams, Slack, Discord, webhook) keeps routing config and tags unchanged across platforms. - Channel ID Resolution: The config stores resolved channel IDs alongside names to avoid name-collision bugs at runtime. - Use Case: A security agent emits "CHANNEL:security" before its CVE findings, and the dispatcher sends them to the security-findings channel instead of flooding the general alerts channel. ## Quick Start Set up notification routing for my agent team by creating a channels config and tagging each agent's output with the appropriate CHANNEL type.

Frequently Asked Questions about notification-routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route agent notifications to different channels?

Define a JSON config mapping notification types to channel names or IDs, then have agents prefix output with a CHANNEL:<type> tag. A dispatcher function parses the tag and sends the message to the matching channel, defaulting to a general notifications channel.

How to prevent alert fatigue in multi-agent team notifications?

Use topic-based routing so each notification type goes to its own channel instead of one shared feed. Agents tag messages by type, and team members subscribe only to the topics they care about, mirroring pub-sub patterns like Kafka topics or SNS filtering.

Does this notification routing work with Slack and Microsoft Teams?

Yes, the routing layer is provider-agnostic. You plug in a platform-specific adapter script for Teams, Slack, Discord, or a generic webhook, while the channel config and CHANNEL tags remain unchanged across deployments.

Why should I use channel IDs instead of channel names?

Display names can collide across teams or workspaces, causing messages to land in the wrong channel. Resolve channel IDs once during setup, store them in the config alongside names, and use the opaque IDs at runtime for reliable delivery.

What happens when a notification has no CHANNEL tag?

The dispatcher falls back to a default channel, typically the general notifications channel. This ensures untagged agent output is still delivered rather than dropped, while tagged messages route to their specific topics.