← 返回 Skills 市场
nannyu

Discord Task Center

作者 nannyu · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
345
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install discord-task-center
功能描述
Manage Discord task-center forums by creating task threads with tags, archiving tasks by updating tags, and following model tag settings per thread.
使用说明 (SKILL.md)

Discord 任务中心 (供 OpenClaw Agent 使用)

你当前对话所在的 Discord 论坛帖子(thread)对应一个任务一个 session。本 skill 约定你如何响应用户在任务帖内的请求:新建任务、归档任务、以及如何理解帖子上的模型标签。

何时遵循本 Skill

  • 用户身处 Discord 任务中心论坛的某个帖子(thread)内与你对话;或
  • 用户说 「新建一个任务」「开个任务:xxx」;或
  • 用户说 「归档这个任务」「归档当前任务」;或
  • 用户要求根据其任务事项/待办/日历主动开一个任务帖。

上下文约定

  • 一帖 = 一任务 = 一 session:每个论坛帖子绑定一个独立任务和会话。
  • 模型标签:帖子当前所打的「模型」标签(如 gpt-4o、claude-3-5)表示本对话应使用的模型。若用户或管理员在 Discord 上修改了该帖的模型标签,下一轮对话会由后端按新标签切换模型,你无需在回复里改模型,只需知道这一点即可。
  • 标签体系:论坛预置状态(待开始、进行中、已完成)、属性(开发、学习、工作)、归档、以及若干模型标签。每个帖子最多 5 个标签。

当用户说「新建一个任务」或「开个任务:xxx」

你要做:

  1. 创建论坛帖子:调用可用的「在任务中心论坛发帖」工具/接口(例如 Discord 插件提供的创建 forum thread 或 createTaskPost 等)。传入:
    • 标题:用户给出的任务名,或从「开个任务:xxx」中提取;若未给出则根据上下文生成简短标题。
    • 首条消息:任务描述或检查项(可选),可从用户话中提取或留空。
    • 标签:至少包含 待开始(或 进行中 若业务默认)、一个属性(开发/学习/工作,按用户意图选,否则默认一个)、以及当前会话的模型标签(与当前帖或系统默认一致)。
  2. 回复用户:确认已创建任务,并附上新帖子的链接(若工具返回了链接)。可写:「已创建任务 [标题],点这里进入帖子继续推进。」

若用户是从「任务事项/待办/日历」让你开任务,同样:在任务中心论坛新建一帖,打上上述标签,并在回复中说明已根据其事项创建了任务帖。


当用户说「归档这个任务」或「归档当前任务」

你要做:

  1. 更新当前帖子标签:调用可用的「修改帖子/thread 标签」工具/接口(例如更新 thread 的 applied_tags)。将当前帖的标签改为:加入「归档」,并移除「进行中」(若有)。其他标签(如属性、模型)可保留。
  2. 回复用户:确认已归档。可写:「已归档当前任务,之后可在论坛里用「归档」标签筛选查看。」

当用户要求「建一个任务管理频道」或首次配置

若用户要求创建专门用于任务管理的论坛频道(仅当你有创建频道权限时):

  • 使用 GUILD_FORUM(论坛频道),建议名称如「任务中心」或 task-center
  • 在频道中预置 available_tags:待开始、进行中、已完成、归档、开发、学习、工作、以及若干模型标签(如 gpt-4o、claude-3-5)。
  • 具体 API 与字段见 reference.md

与 ClawHub / 官方 Discord skill 配合使用

本 skill 与 OpenClaw 的 discord skill 一起使用:由 discord skill 提供 discord 工具(发消息、thread、频道管理等),你按本 skill 的语义调用即可。

  • 安装 Discord skill(若尚未安装):
    • ClawHub:clawhub install steipete/discordopenclaw add @steipete/discord
    • 需在配置中启用 channels.discord 并设置 bot token。
  • 新建任务帖:使用 discord 工具的 threadCreate。在论坛频道下创建 thread 时,若后端支持「论坛帖」(不传 messageId),则用 channelId(论坛频道 ID)、name(帖子标题)、首条内容(若工具支持 message/content)。若该工具支持 applied_tags 或创建后可用 channelEdit 打标签,则传入或随后编辑为:待开始 + 属性 + 模型标签。
  • 归档任务:使用 discord 工具的 channelEdit(目标为当前 thread 的 channelId),更新 applied_tags:在现有标签中加入「归档」、移除「进行中」。
  • 建任务中心频道:使用 channelCreatetype: 15(GUILD_FORUM),并设 available_tags(若工具支持);否则需在 Discord 后台或通过其他方式预置标签。详见 reference.md 的「与 ClawHub Discord skill 结合」一节。

若当前 discord 工具未暴露论坛帖的 applied_tags(创建时或 channelEdit),你在执行新建/归档时尽量完成发帖与改标题,并回复用户说明「标签需在 Discord 客户端手动勾选」或建议管理员扩展工具以支持 applied_tags。详细 API 与扩展点见 reference.md

安全使用建议
This skill appears coherent and low-risk by itself, but it relies on a separate Discord skill that needs a bot token and permissions. Before installing: (1) verify and trust the referenced discord skill (steipete/discord or your provider) because that is the component that will hold your Discord bot token; (2) limit the bot's permissions to the minimum required (prefer testing in a sandbox server); grant MANAGE_THREADS / MANAGE_CHANNELS only if you want the bot to create/edit forum threads and tags; (3) if you do not want the agent to perform actions autonomously, keep platform autonomous-invocation controls restrictive; (4) confirm your discord tool supports forum applied_tags (or be prepared for the agent to request manual tagging); (5) consider gating this skill via SKILL.md frontmatter or platform config so it only loads when channels.discord is configured. If you want higher assurance, review the implementation of the referenced 'discord' skill (its code and install mechanism) before enabling this skill in a production environment.
功能分析
Type: OpenClaw Skill Name: discord-task-center Version: 1.0.0 The skill bundle provides instructions and technical details for an OpenClaw agent to manage tasks within Discord forum channels. The `SKILL.md` clearly outlines the agent's responsibilities, such as creating new task threads, archiving tasks by modifying tags, and creating task-center channels, all using specified Discord tools (e.g., `discord` skill's `threadCreate`, `channelEdit`, `channelCreate`). The `reference.md` details the underlying Discord API endpoints and required permissions for these actions. There is no evidence of prompt injection attempts, data exfiltration, malicious execution, persistence mechanisms, or obfuscation. All described actions are directly aligned with the stated purpose of Discord task management and rely on legitimate Discord API interactions and a standard OpenClaw Discord integration skill.
能力评估
Purpose & Capability
Name/description match the runtime instructions: the SKILL.md only tells the agent how to create threads, update tags, and interpret model tags in a Discord forum. It does not request unrelated credentials or binaries. The skill explicitly depends on a separate 'discord' tool/skill for actual API calls, which is coherent for this purpose.
Instruction Scope
SKILL.md stays within scope: create threads, edit applied_tags, create forum channels, and read channel/thread info to map model tags. It does instruct the agent to call the discord tool and to GET channel/thread info to determine tags (and thereby which model to use) — that is expected behavior, but it does rely on the external discord skill exposing the necessary APIs (applied_tags, threadCreate/channelEdit). The skill does not instruct reading unrelated files or secrets.
Install Mechanism
Instruction-only skill with no install spec and no embedded code — minimal filesystem footprint and low install risk.
Credentials
The skill itself declares no env vars or credentials, which is appropriate. However it explicitly expects the OpenClaw 'discord' skill and that configuration (channels.discord) to be present and configured with a bot token and appropriate permissions; those credentials will give the agent ability to act in Discord. Ensure the bot token and permissions are limited to what you intend (send messages, manage threads/channels if needed).
Persistence & Privilege
always:false and user-invocable:true — the skill does not request forced always-on presence or modify other skills. It will only act when the agent invokes it (or the agent is allowed to autonomously invoke skills by platform policy).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install discord-task-center
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /discord-task-center 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug discord-task-center
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Discord Task Center 是什么?

Manage Discord task-center forums by creating task threads with tags, archiving tasks by updating tags, and following model tag settings per thread. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 345 次。

如何安装 Discord Task Center?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install discord-task-center」即可一键安装,无需额外配置。

Discord Task Center 是免费的吗?

是的,Discord Task Center 完全免费(开源免费),可自由下载、安装和使用。

Discord Task Center 支持哪些平台?

Discord Task Center 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Discord Task Center?

由 nannyu(@nannyu)开发并维护,当前版本 v1.0.0。

💬 留言讨论