🦀 ClawHub
Discrawl
by @openclaw
Discord archive: search, sync freshness, DMs, channel slices, SQL counts, and Discrawl repo work.
TERMINAL
clawhub install discrawl📖 About This Skill
name: discrawl description: Mirror Discord guild data into a local SQLite archive for search, inspection, and agent queries. Bot-token only, no user-token hacks. Data stays local. homepage: https://github.com/steipete/discrawl metadata: {"clawdbot":{"emoji":"🎮","os":["darwin","linux"],"requires":{"bins":["discrawl"],"env":["DISCORD_BOT_TOKEN"]},"install":[{"id":"brew","kind":"brew","tap":"steipete/tap","formula":"discrawl","bins":["discrawl"],"label":"Install discrawl (brew)"}]}}
Discrawl
Local-first Discord crawler. Pulls guild metadata, channels, and message history into ~/.discrawl/discrawl.db (SQLite) so an agent can query history without depending on Discord search.
Requirements
discrawl binary on PATH.Setup
export DISCORD_BOT_TOKEN="your-bot-token"
discrawl doctor # verify token + permissions
discrawl init # create local config + database
discrawl sync --full # initial sync of all accessible guilds
If you already use OpenClaw, discrawl can reuse ~/.openclaw/openclaw.json for shared config.
State
~/.discrawl/config.toml~/.discrawl/discrawl.dbCommon Commands
discrawl status # last sync, row counts
discrawl sync --incremental # pull new messages since last run
discrawl guilds list --json
discrawl channels list --guild --json
discrawl messages list --channel --limit 100 --json
discrawl search "keyword" --json
discrawl sql 'SELECT count(*) FROM messages' # raw SQL
Integration Notes
--json on every command for agent-parseable output.⚙️ Configuration
export DISCORD_BOT_TOKEN="your-bot-token"
discrawl doctor # verify token + permissions
discrawl init # create local config + database
discrawl sync --full # initial sync of all accessible guilds
If you already use OpenClaw, discrawl can reuse ~/.openclaw/openclaw.json for shared config.