agentleFS
bighamxbighamx/openclaw-android-node-apk/.agents/skills/discrawl/SKILL.md

discrawl

Skill59 starsChanged 16 days agoMITView on GitHub

Discord archive: search, sync freshness, DMs, summaries, TUI, repo/release work.

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use local Discord archives first.

    line 19
  2. Very specific:

    Use --full only for deliberate historical backfills.

    line 28
  3. Distinctive:

    Use the sandbox reader only:

    line 62

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.