返回顶部
d

discord-context

Sync and cache per-thread context for Discord Forum channels. Use when handling /discord-context commands to poll active threads, list cached context, inspect a thread cache, or link a thread to a memory QMD file.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.1
安全检测
已通过
889
下载量
0
收藏
概述
安装方式
版本历史

discord-context

# discord-context Run `node {baseDir}/scripts/discord-context-cli.js <command> ...`. ## Commands - `poll [--guild <id>] [--forum <id>] [--workspace <path>]` - Pull active threads from Discord and refresh cache for new/updated threads. - Requires `DISCORD_TOKEN` plus guild/forum IDs (flags or env vars). - `context [threadId] [--workspace <path>] [--json]` - Without `threadId`: list cached threads. - With `threadId`: print cached context and metadata for one thread. - `link <threadId> <qmdName> [--workspace <path>]` - Link a thread to `memory/<qmdName>.md` and refresh cached context text. ## Environment - `DISCORD_TOKEN` (required for `poll`) - `DISCORD_GUILD_ID` (default guild id for `poll`) - `DISCORD_FORUM_CHANNEL_ID` (default forum id for `poll`) - `OPENCLAW_WORKSPACE` (defaults to `~/.openclaw/workspace`) ## Security Rules - Never hardcode Discord tokens. - Accept only numeric thread/guild/forum IDs. - Accept only `[a-zA-Z0-9_-]+` for `qmdName`. - Keep all reads/writes inside the workspace `memory/` tree. ## Paths - Cache metadata: `memory/discord-cache/thread-<id>.json` - Cache text: `memory/discord-cache/thread-<id>-context.txt` - Source context files: `memory/*.md`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 discord-context-1776420000 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 discord-context-1776420000 技能

通过命令行安装

skillhub install discord-context-1776420000

下载 Zip 包

⬇ 下载 discord-context v0.1.1

文件大小: 5.78 KB | 发布时间: 2026-4-17 18:47

v0.1.1 最新 2026-4-17 18:47
- No file changes detected; this is a metadata-only version update.
- No new features or bug fixes included in this release.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部