Skip to content
Skillpedia
Databases394k · #3

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.md

Copy 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

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/.agents/skills/discrawl/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills