Token导航 LogoToken导航

Agent Skill · 效率

discord-ai-dispatcher(Discord AI dispatcher 控制)

用于处理 Discord 服务器、频道、消息、成员和机器人交互。它适合让 Agent 辅助查询社区对话、整理频道内容、发布通知或管理基础协作流程。使用时需要确认 bot 权限、频道可见范围和服务器规则;涉及删除消息、管理成员、批量通知或读取私密频道时,应先获得明确授权并控制操作范围。

discord-ai-dispatcher 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 12,189。

总安装 4,247周安装 192GitHub Stars 公开资料未说明下载 1,521核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.7.8

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:discord-ai-dispatcher(Discord AI dispatcher 控制)
来源仓库:https://github.com/bhupendrafire-ai/discord-ai-dispatcher
安装命令:
openclaw skills install discord-ai-dispatcher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install discord-ai-dispatcher

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

使用硬编码规则和本地 AI 通过两层系统路由 Discord 通知,支持消息更新以减少混乱,并优化资源使用。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install discord-ai-dispatcher;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

discord-ai-dispatcher 怎么安装?

在终端执行 openclaw skills install discord-ai-dispatcher。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

discord-ai-dispatcher 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

discord-ai-dispatcher 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

discord-ai-dispatcher 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

discord-ai-dispatcher 用的人多吗?

公开数据是累计安装 4,247 次,近一周安装 192 次,下载 1,521 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

discord-ai-dispatcher 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
discord-ai-dispatcher

Discord AI dispatcher 控制 · 本页

4,247—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Generic Webhook Notifier: Advanced Skill Guide

The Webhook Notifier skill provides a robust architecture that combines hard heuristics with local AI reasoning tools to ensure 100% routing accuracy and high-density visual formatting.


🚀 The High-Consistency Architecture: Deterministic Routing

Instead of relying solely on AI categorization, this dispatcher implements a Deterministic Prefix Engine to ensure 100% routing accuracy:

  1. Prefix Identification: An updateId (e.g., systemevent00100) directly dictates the target channel.

- systemevent -> Infrastructure Events - appalert -> Application Monitoring - userupdate -> User Activity

  1. Zero-Guessing: This removes "Classification Drift" where an AI might misinterpret an update, ensuring data always reaches the correct stakeholders.

🔢 Deterministic Sequential Deduplication

To handle out-of-order API deliveries or network retries, the dispatcher uses a Sequential State Tracker:

  • Logic: It extracts a numeric suffix from the ID (the XXXXX in prefixXXXXX).
  • State: The highest seen ID for each category is stored locally.
  • Rule: Use Numeric Comparison (100 > 99) instead of Alphabetical (100 < 99). Regex-extract digits [^\d] and cast to [long] to ensure the sequence advances even as ID lengths change.
  • Result: You never see a stale update overwrite new data, and duplicate notifications are prevented.

🔒 Global Pipeline Locking (Self-Protection)

To prevent race conditions and file corruption when the AI takes longer than the polling interval:

  1. Lock File: Create a dispatcher.lock at the start of the orchestrator.
  2. Abort Logic: If a lock exists and is "fresh" (< 30 mins), the next pulse must exit immediately.
  3. Atomic Recovery: Always use try/finally blocks to ensure the lock is released even if the script crashes.

🏗️ Self-Healing JSON Recovery

State files can be corrupted by power loss or interrupted writes.

  1. Integrity Checks: Wrap every ConvertFrom-Json call in a try/catch.
  2. Auto-Reset: If parsing fails, log the corruption, delete the broken file, and re-initialize the state from the API source.
  • Benefit: The system self-recovers from disk errors without manual developer intervention.

🩹 The "Healing Cleaner" Pattern

Instead of a "Negative Filter" (which deletes bad formatting), this skill uses a Positive Healing logic to repair inconsistent AI output:

  1. Label Extraction: It scans for colons and automatically wraps the text before them in **Bold Labels**.
  2. Normalization: It forcefully standardizes fluctuating terms to established vocabulary.
  3. Noise Blacklist: It aggressively strips AI conversational filler.
  4. Artifact Stripping: It cleans up redundant formatting artifacts (** **), escaped characters, and unwanted markdown blocks.
  • Result: You get a professional, uniform feed even if the AI model gets "creative".

📊 Dashboard Mode (Clean Chat Strategy)

Prevent chat clutter by updating existing messages instead of posting new ones.

  1. Logic: Use PATCH (or corresponding update paradigm) instead of POST for webhooks.
  2. State: Store the created message ID in a local state file.
  • Advantage: Provides a single "Living" source of truth for your system status without generating unnecessary notification spam.

🪙 Token & Cost Optimization

...

  • Payload Pruning: Strip all non-essential JSON keys before the AI sees them.
  • Compressed Instructions: Use strict list-based prompts instead of paragraphs.
  • Low Effort Fallback: If the AI is offline, use a hardcoded template for high availability.

🧠 The AI Improvement Layer: Learning From Gaps

The Webhook Notifier is built to be a self-improving system. When a gap is found, the agent must shift from Monitor to Diagnostician:

1. The RCA Feed (Log Diagnostics)

Instead of guessing, the agent must scan the dispatcher.log for the "Missing IDs":

  • Skipped (duplicate) but not Delivered: Indicates the deduplication logic was too aggressive (Historical Logic Flaw).
  • Timeout: Indicates the Local LLM needs a higher timeout or more GPU resources.
  • No Log Record: Indicates a failure at the Poller or API fetch stage.

2. Strategic Improvement Loop

When the user feeds you an RCA report, you should automatically suggest (or implement) one of the following:

  1. State Realignment: Resetting last-seen-ids.json or polling-state.json to the actual last-delivered marker to ensure the "Gaps" are re-sent.
  2. Logic Tuning: If sequential IDs are conflicting with timestamp IDs, adjust the Test-IsSequentialDuplicate helper to be more specific.
  3. High-Precision Recovery: Creating a one-time "Healing Queue" to force-inject missed notifications into Discord.

🛡️ Recovery Best Practices:

  • Bypass Deduplication: When in "Heal Mode", always bypass the Test-IsSequentialDuplicate filter to ensure recovery happens.
  • Audit History: Perform a "Log Audit" before making changes. Never assume a file is missing just because it's not in the DB—always check the logs to confirm if the Dispatcher ever saw it.

🎨 Best Practices for Professional Formatting

To maintain aesthetics and readability:

  • Mandatory Bolding: Always wrap labels in visual emphasis (e.g., Key: Value).
  • Horizontal Dividers: Every notification should logically separate from the next.
  • Tool-Calling First: Calculate your metrics in code; use the AI *only* for the final beautification.

⚙️ Automation & Version Compatibility

  • Scheduling Reliability: Use Headless Discrete Execution (Windows Task Scheduler / Cron). Avoid infinite while($true) loops to prevent memory leaks and handle system reboots gracefully.
  • PowerShell 5.1 Compatibility:

- Hashtables: Modern PS 7.0 -AsHashtable fails in 5.1. Use manual property-looping to convert PSCustomObjects into Hashtables for reliable $state[$key] access. - Encoding: Always specify -Encoding UTF8 on Set-Content to prevent character corruption in mixed-version environments.

  • Webhook First: Always provide users the option to setup webhooks immediately after configuring the skill for instant "out-of-box" operation.

*Designed for extensible and robust notification pipelines.*

平台分布

OpenClaw

85.88%
按下载量换算1,306

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills