Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

discrawl

Skill by openclaw

Discrawl lets an AI assistant search and report on a local Discord archive before it calls Discord APIs. It covers message search, sync freshness checks, DMs and read-only SQL counts. It suits people who query Discord history from a local SQLite copy.

  • Score 80
  • 866 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install discrawl

Built from the published package, never by AI.

git clone --depth 1 https://github.com/openclaw/discrawl /tmp/discrawl && mkdir -p ~/.claude/skills && cp -r /tmp/discrawl/.agents/skills/discrawl ~/.claude/skills/discrawl

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install discrawl in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Discrawl is an agent skill that tells an AI assistant to use a local Discord archive first for Discord questions. It calls Discord APIs only when the archive is stale, missing the requested scope, or when the user asks for current external context. The skill covers scoping by guild, channel, DM, author, keyword and date range, with absolute date spans and known gaps reported in answers.

The archive is a local SQLite database in the platform's XDG data directory. The skill checks freshness with the status and doctor commands and a database timestamp query, and refreshes with sync, using a desktop-local wiretap source or Bot API credentials. It also covers read-only SQL for exact counts and rankings, a terminal UI, and verification with Go tests. It is aimed at people who want to query Discord history from a local copy and at contributors working in the openclaw/discrawl repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Archive searchSearches the local Discord archive by keyword and lists matching messages.
  • Freshness checksChecks how current the archive is with status, doctor and a sync_state timestamp query.
  • Channel and DM readsLists recent messages in a channel or DM slice and reads recent DMs.
  • SQL queriesRuns read-only SQL for exact counts, joins and author or channel rankings.
  • Sync refreshRefreshes the archive via desktop wiretap or Bot API, with an optional full backfill.
  • Terminal UIOpens a TUI view of the archive, including DMs.

What you need

  • Local Discord archive created by discrawl
  • sqlite3 for the direct freshness query
  • Discord bot credentials for Bot API sync
  • Discord Desktop artifacts for wiretap mode
  • Go toolchain for repo tests

Try asking

  • Search my Discord archive for messages about the release from last week.
  • Check whether my Discord archive is up to date before summarizing today's chats.
  • Count messages per channel in the archive and list the top 20.

Good to know

  • SQL runs read-only by default; mutations need an explicit user request and review.
  • Wiretap and Desktop cache DMs are local-only and not part of the Git snapshot.
  • Git-share snapshots must not include secrets or @me DM rows.
  • The skill must not extract credentials, use user tokens or write to Discord application storage.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/discrawl/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to discrawl

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

discrawl: common questions

When should the assistant call Discord APIs instead of the local archive?

Only when the archive is stale, missing the requested scope, or the user asks for current external context.

Does discrawl store DMs in the published snapshot?

No. Wiretap and Desktop cache DMs are local-only and must not be described as part of the published Git snapshot.

What is the difference between sync and sync --full?

Plain sync refreshes the archive with the latest data, while --full is meant only for deliberate historical backfills.

How do I install discrawl?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is discrawl free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is discrawl safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to discrawl?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

discrawl Install

Add to stack

Loading.