Logo: Tool.Add Notification Channel.E85166861d03e25f

Tool.Add Notification Channel.E85166861d03e25f

Organisatioun
AI45Lab
tool.add_notification_channel.e85166861d03e25f

Adding a new notification channel (e.g. Teams, Discord, PagerDuty) — creating a delivery service, adding the channel type to the schema enum, registering OAuth/token routes, storing credentials encrypted at rest, wiring delivery into notification.ts, and adding per-monitor channel UI. Use when asked to 'add a notification channel', 'integrate Discord notifications', 'add Teams alerts', or 'support PagerDuty'.

Add to TypingMind

Iwwersiicht

EditeurAI45Lab
RepositoryOpenART
Skill-Nummtool.add_notification_channel.e85166861d03e25f
Stären
251
Forks
28
Matgeliwwert Dateien
1
LizenzAGPL-3.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    AI45Lab huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Tool.Add Notification Channel.E85166861d03e25f an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/AI45Lab/OpenART/tree/main/openart-tools/tool.add_notification_channel.e85166861d03e25f
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AI45Lab/OpenART.git /tmp/OpenART
mkdir -p .claude/skills
cp -r /tmp/OpenART/openart-tools/tool.add_notification_channel.e85166861d03e25f .claude/skills/tool.add_notification_channel.e85166861d03e25f
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Tool.Add Notification Channel.E85166861d03e25f an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Tool.Add Notification Channel.E85166861d03e25f automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Tool.Add Notification Channel.E85166861d03e25f net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Use this skill when the OpenART registry selects tool.add_notification_channel.e85166861d03e25f for the current task.

Overview

Notification channels in FetchTheChange follow a strict pattern: a delivery service file, an encrypted credential store, a channel type in the Zod enum, a case in the delivery switch in server/services/notification.ts, and per-monitor UI. The existing Slack and webhook implementations are the reference. This skill encodes the security constraints (encrypted tokens, no plaintext logging) and architectural rules (dedicated service file, tier gating, CSRF exemption for OAuth callbacks).

Workflow

  1. Read server/services/notification.ts — understand deliverToChannels() switch and ChannelDeliveryResult.
  2. Read server/services/slackDelivery.ts — reference for delivery service interface.
  3. Read server/services/webhookDelivery.ts — reference for delivery service interface.
  4. Read server/utils/encryption.ts — understand encryptToken() and decryptToken().
  5. Read shared/schema.ts — note notificationChannels table and slackConnections table patterns.
  6. Read shared/routes.ts — note channelTypeSchema Zod enum and channel-related route definitions.
  7. Add the new channel type string to channelTypeSchema in shared/routes.ts (e.g. z.enum(["email", "webhook", "slack", "discord"])).
  8. If the channel requires stored credentials (OAuth tokens, bot tokens, API keys), add a new table to shared/schema.ts following the slackConnections pattern with an encrypted token column.
  9. Create a delivery service at server/services/{channel}Delivery.ts following slackDelivery.ts:
    • Export a deliver() function accepting (monitor, change, channelConfig, token).
    • Return { success: boolean; error?: string }.
  10. Wire the new channel into the switch (ch.channel) block in deliverToChannels() and deliverDigestToChannels() in server/services/notification.ts:
    • Decrypt stored token with decryptToken().
    • Call the new delivery service.
    • Log delivery results via storage.addDeliveryLog().
  11. If OAuth is required, register install and callback routes in server/routes.ts:
    • Store tokens using encryptToken() — never plaintext.
    • Add the OAuth callback path to EXEMPT_PATHS or EXEMPT_PREFIXES in server/middleware/csrf.ts.
  12. Add a tier gate: new channels must enforce the same Pro/Power check pattern used by Slack and webhook routes — read from TIER_LIMITS in shared/models/auth.ts.
  13. Add storage methods to IStorage and DatabaseStorage in server/storage.ts for credential CRUD.
  14. Add per-monitor channel selection UI in the monitor notification settings, using shadcn/ui primitives.
  15. Run npm run check && npm run test.

Hard constraints

  • NEVER store a bot token, OAuth token, or API key in plaintext — always encrypt with encryptToken() from server/utils/encryption.ts
  • NEVER log a decrypted token — even at debug level; log only safe prefixes or redacted placeholders
  • NEVER return a stored credential in a GET response — return a redacted placeholder only (e.g. "••••connected")
  • NEVER add a new channel type string without adding it to channelTypeSchema in shared/routes.ts — validation will reject the value
  • NEVER wire delivery logic inline in a route handler — create a dedicated service file following slackDelivery.ts / webhookDelivery.ts
  • NEVER add an OAuth callback route without a CSRF exemption in server/middleware/csrf.ts — the callback carries no Origin header
  • NEVER skip the tier gate — new channels must enforce the same Pro/Power check pattern used by existing Slack and webhook routes, reading from TIER_LIMITS
  • NEVER skip the verification gate — run npm run check && npm run test before committing

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Tool.Add Notification Channel.E85166861d03e25f?

Adding a new notification channel (e.g. Teams, Discord, PagerDuty) — creating a delivery service, adding the channel type to the schema enum, registering OAuth/token routes, storing credentials encrypted at rest, wiring delivery into notification.ts, and adding per-monitor channel UI. Use when asked to 'add a notification channel', 'integrate Discord notifications', 'add Teams alerts', or 'support PagerDuty'.

Firwat Tool.Add Notification Channel.E85166861d03e25f op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Tool.Add Notification Channel.E85166861d03e25f besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Tool.Add Notification Channel.E85166861d03e25f an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/AI45Lab/OpenART/tree/main/openart-tools/tool.add_notification_channel.e85166861d03e25f an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Tool.Add Notification Channel.E85166861d03e25f benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Tool.Add Notification Channel.E85166861d03e25f benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Tool.Add Notification Channel.E85166861d03e25f domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Tool.Add Notification Channel.E85166861d03e25f gratis?

Jo. AI45Lab huet de Skill ënner der Lizenz AGPL-3.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇