Community编程与开发github.com

Discrawl

Discord 存档工具:搜索、同步、私信、摘要、终端界面及仓库/发布管理。

Discrawl 是什么?

Discrawl 是一款面向开发者的本地优先 Discord 存档工具,支持同步桌面客户端工件和机器人 API 数据。它通过 `discrawl status --json` 和 `discrawl doctor` 提供状态与配置健康检查,仅在数据过时或明确请求时进行同步,避免对存档写入器的干扰。用户可以执行限量的切片搜索、消息查看和私信检索,并通过只读 SQL 查询进行细粒度分析。该工具支持桌面监听与机器人同步两种源,确保凭证安全,私信数据仅本地保留,Git 共享快照中会排除敏感信息。此外,Discrawl 还提供了一个沙箱阅读器 `discrawl-sandbox`,用于在隔离环境中安全访问公共频道数据。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/.agents/skills/discrawl

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Discrawl 是做什么的?

首先使用本地 Discord 存档。对于近期/当前的问题,检查 discrawl status --json;使用 discrawl doctor 检查来源/配置就绪状态。仅在数据过时、缺少请求范围或明确要求时进行刷新。

discrawl sync --source wiretap  # 本地 Discord 桌面工件
discrawl sync                   # 配置的来源;机器人 API 需要凭据

仅在有意进行历史回填时使用 --full。不要中断其他存档写入器来解决忙碌/锁定的数据库。请解析配置路径,而不是假设默认的 macOS、XDG 或遗留位置。

读取有限切片

DISCRAWL_NO_AUTO_UPDATE=1 discrawl search --limit 20 "查询"
discrawl messages --channel '<频道>' --days 7 --all
discrawl dms --last 20
DISCRAWL_NO_AUTO_UPDATE=1 discrawl --json sql "select count(*) as messages from messages;"

DISCRAWL_NO_AUTO_UPDATE=1 在读取烟雾测试时抑制 git 共享更新。discrawl sql 默认是只读的,接受 SQL 参数或标准输入。在正常读取过于粗略时,使用它进行精确计数/联接;未经明确请求和审查的数据库变更,绝不使用 --unsafe --confirm。查阅子命令帮助以了解过滤选项。报告绝对日期范围、频道/私信名称、数量、新鲜度和来源缺口。

来源边界

桌面监听读取本地工件;不得提取凭据、使用用户令牌、以用户身份调用 Discord 或写入 Discord 应用程序存储。机器人同步需要配置的机器人凭据;切勿推断可用性。桌面私信仅在本地,不属于发布的 Git 快照的一部分。Git 共享快照必须排除密钥和 @me 私信行。

对于实施工作或真正缺少的 CLI 功能,请确认检出远程仓库为 openclaw/discrawl 并遵循其说明。不要假定特定机器的历史检出路径。

ClawSweeper 沙箱

仅使用沙箱阅读器:

discrawl-sandbox search --limit 20 "查询"
discrawl-sandbox messages --channel clawtributors --days 7 --all
discrawl-sandbox status --json

此阅读器将 https://github.com/openclaw/discord-store.git 导入到 /root/clawsweeper-sandbox-workspace/.discrawl/discrawl.db,并使用 discord.token_source = "none"。发布的 Git 快照经过公共频道过滤;不要在沙盒公共 Discord 会话中使用 /root/.discrawl/config.toml 或丰富的写入器数据库。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

相关技能