discrawl
What it does
This skill teaches your agent to search a saved copy of Discord history. It is for people who want quick answers from older Discord conversations without scrolling through the app.
When to use it
- ✓When you want to find what was said about a topic in a Discord server you have archived.
- ✓When you need to know how recent the Discord archive is before trusting its answers.
- ✓When you want a count or summary of messages in a certain channel over the last few days.
Skill link
https://github.com/openclaw/openclaw/blob/main/.agents/skills/discrawl/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Search our Discord archive for everything people said about the pricing change last week.”
5 new skills a week. 1 minute to read.
How it works
The agent runs the discrawl command-line tool on the saved archive, reads results in small batches, and reports dates, channels, and any gaps in coverage.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Discrawl
Use local Discord archives first. For recent/current questions, check
discrawl status --json; use discrawl doctor for source/config readiness.
Refresh only when stale, missing the requested scope, or explicitly requested.
discrawl sync --source wiretap # local Discord Desktop artifacts
discrawl sync # configured source; bot API requires credentials
Use --full only for deliberate historical backfills. Do not interrupt another
archive writer to resolve a busy/locked database. Resolve configured paths
instead of assuming default macOS, XDG, or legacy locations.
Read Bounded Slices
DISCRAWL_NO_AUTO_UPDATE=1 discrawl search --limit 20 "query"
discrawl messages --channel '<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 suppresses git-share updates during read smokes.
discrawl sql is read-only by default and accepts SQL arguments or stdin. Use
it for exact counts/joins when normal reads are too coarse; never use
--unsafe --confirm without an explicitly requested and reviewed database
mutation. Consult subcommand help for filters. Report absolute date spans,
channel/DM names, counts, freshness, and source gaps.
Source Boundaries
Desktop wiretap reads local artifacts; it must not extract credentials, use
user tokens, call Discord as the user, or write Discord application storage.
Bot sync needs configured bot credentials; never infer availability. Desktop
DMs are local-only, not part of the published Git snapshot. Git-share snapshots
must exclude secrets and @me DM rows.
For implementation work or a genuinely missing CLI feature, verify the checkout
remote is openclaw/discrawl and follow its instructions. Do not assume a
machine-specific historical checkout path.
ClawSweeper Sandbox
Use the sandbox reader only:
discrawl-sandbox search --limit 20 "query"
discrawl-sandbox messages --channel clawtributors --days 7 --all
discrawl-sandbox status --json
This reader imports https://github.com/openclaw/discord-store.git into
/root/clawsweeper-sandbox-workspace/.discrawl/discrawl.db with
discord.token_source = "none". The published Git snapshot is public-channel
filtered; do not use /root/.discrawl/config.toml or the rich writer DB from
sandboxed public Discord sessions.
FAQ
Does the agent need Discord access to search?
Searching uses the local archive. Refreshing from Discord needs the configured source or credentials, and the agent refreshes only when asked or when the archive looks stale.
Can the agent change or delete messages in the archive?
Not by default. Its database queries are read-only unless someone explicitly requests and reviews a change.
How does it know whether the archive is up to date?
It checks the sync status first and reports how recent the saved messages are.
Details
Original description by the author
Discord archive: search, sync freshness, DMs, summaries, TUI, repo/release work.
repo: openclaw/openclaw
Popularity
- GitHub stars
- 394k
- Ranking position
- #3
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
Similar skills
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.
scientific-db-uspto-database
280kAllows the agent to look up official US patent and trademark data. It's useful for intellectual property research.