Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

discord-clawdDiscord clawd 搜索

Agent Skill

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

总安装

494

周安装

21

GitHub Stars

2,526

下载量

173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:discord-clawd(Discord clawd 搜索)
来源仓库:https://github.com/steipete/agent-scripts
仓库路径:skills/discord-clawd
安装命令:
npx skills add https://github.com/steipete/agent-scripts --skill discord-clawd
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/steipete/agent-scripts --skill discord-clawd

简介

用于检索本地归档或刷新 Discord 聊天记录。

  • 适合搜索特定频道内容、统计发言分布或生成周报摘要。
  • 使用时优先读取本地数据库,仅在需要新鲜度时才调用 live refresh。
  • 安装前请确认权限范围和维护状态,注意可能触发文件读写与网络请求。
  • discord-clawd 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Discord Clawd

Use this for Discord questions first. Local archive first; live Discord only when freshness matters and the archive is stale.

Trigger

Use when the user asks things like:

  • "what happened in #maintainers"
  • "who posted the most in discord"
  • "search discord for..."
  • "how many messages/users/channels"
  • "summarize this week in #channel"
  • "is Discord fully synced"

Data Sources

Prefer in this order:

  1. ~/.discrawl/discrawl.db
  2. /tmp/discrawl --config ~/.discrawl/config.toml...
  3. Live refresh from ~/Projects/discrawl only if needed

Do not browse the web for Discord archive questions unless the user explicitly wants external context too.

Freshness Check

For latest, recent, today, this week, or sync questions, check freshness first.

Useful queries:

sqlite3 ~/.discrawl/discrawl.db \
  "select coalesce(max(updated_at),'') from sync_state where scope like 'channel:%';"
sqlite3 ~/.discrawl/discrawl.db "
select count(*)
from channels c
where coalesce(c.kind,'') in (
  'text','news','announcement',
  'thread_public','thread_private','thread_news','thread_announcement'
)
and not exists (
  select 1 from sync_state s
  where s.scope = 'channel:' || c.id || ':history_complete'
)
and not exists (
  select 1 from sync_state s
  where s.scope = 'channel:' || c.id || ':unavailable'
);"

Interpretation:

  • 0 remaining = fully synced for real message-bearing channels
  • forum parents are metadata containers; their post history lives in thread channels

Query Workflow

  1. Resolve scope: channel, date range, author, keyword.
  2. Check freshness if the user asked for recent/current data.
  3. Use SQL for counts/rankings/exact filters.
  4. Use search/FTS for discovery, then SQL for precise slices.
  5. Prefer the messages CLI for exact channel+date slices before dropping to raw SQL.
  6. Report with absolute dates, counts, and channel names.

Common Queries

Resolve channel name:

sqlite3 ~/.discrawl/discrawl.db \
  "select id, name, kind from channels where name like '%maintainers%' order by name;"

Top channels:

sqlite3 ~/.discrawl/discrawl.db "
select c.name, c.kind, count(m.id) as messages
from channels c
join messages m on m.channel_id = c.id
group by c.id
order by messages desc
limit 20;"

Top authors with names:

sqlite3 ~/.discrawl/discrawl.db "
select
  coalesce(mem.display_name, mem.username, m.author_id) as author,
  m.author_id,
  count(*) as messages
from messages m
left join members mem
  on mem.user_id = m.author_id
 and mem.guild_id = m.guild_id
where coalesce(m.author_id,'') != ''
group by m.author_id, coalesce(mem.display_name, mem.username, m.author_id)
order by messages desc
limit 20;"

Messages in one channel for the last X days:

/tmp/discrawl --config ~/.discrawl/config.toml \
  messages --channel maintainers --days 7 --all

Messages in one channel since a date:

/tmp/discrawl --config ~/.discrawl/config.toml \
  messages --channel '#maintainers' --since 2026-03-01T00:00:00Z --all

Keyword search:

/tmp/discrawl --config ~/.discrawl/config.toml search "query terms"

Read-only SQL via CLI:

/tmp/discrawl --json --config ~/.discrawl/config.toml sql \
  "select count(*) from messages;"

Summaries

For channel summaries:

  • pull the exact slice first
  • include counts: messages, authors, date span
  • identify recurring topics, decisions, blockers
  • do not claim certainty beyond the retrieved slice

For release-window summaries, anchor on exact timestamps, not vague relative dates.

Name Resolution

Prefer:

  1. members.display_name
  2. members.username
  3. messages.raw_json -> $.author.username
  4. raw author id

If a user asks "who is this id", resolve locally before answering.

Live Refresh

Only do this if the user wants fresher data than the archive has.

Repo:

cd ~/Projects/discrawl

Token source:

ssh peters-mac-studio-1 \
  "zsh -lc 'source ~/.profile >/dev/null 2>&1; printf %s \"\$DISCORD_BOT_ID_FLAWD\"'"

Targeted refresh is better than full sync for ad hoc questions:

DISCORD_BOT_TOKEN="..." /tmp/discrawl \
  --config ~/.discrawl/config.toml \
  sync --full --channels <channel-id> --concurrency 1

Guardrails

  • never expose bot tokens
  • prefer local DB over network
  • use absolute dates in answers
  • if freshness is uncertain, say so
  • if the archive is stale, either sync first or label the answer as archive-based

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.94%
按下载量换算60

Claude

30.56%
按下载量换算53

Cursor

17.7%
按下载量换算31

Gemini CLI

8.37%
按下载量换算14

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

未通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills