discrawl
**discrawl** archives Discord guild messages, threads, and members into a local SQLite database for offline full-text and semantic search. Use it to build searchable historical records of guild activity, export data as Git-backed NDJSON snapshots, or run SQL queries against archived conversations without keeping Discord bots running continuously.
git clone --depth 1 https://github.com/moltis-org/moltis /tmp/discrawl && cp -r /tmp/discrawl/crates/skills/src/assets/messaging/discrawl ~/.claude/skills/discrawlSKILL.md
# discrawl — Discord Guild Archive `discrawl` mirrors Discord guild data (channels, threads, messages, members) into a local SQLite database for offline search and inspection. This is different from the `discord` channel skill — discrawl is for archiving and searching historical guild data; the discord channel skill is for sending messages via Moltis. ## Secret Safety (MANDATORY) - **Never** read, print, or send Discord bot tokens to LLM context. - **Never** ask the user to paste tokens into chat. - The user must set `DISCORD_BOT_TOKEN` in their environment or Moltis credential store manually. - To verify credentials, only use: `discrawl doctor`. ## One-Time User Setup (user runs these outside the agent) 1. Create a Discord application at https://discord.com/developers/applications 2. Create a bot user and copy the bot token 3. Set the token: - Via env var: `export DISCORD_BOT_TOKEN=<token>` - Via Moltis credential store (web UI → Settings → Environment Variables) - Via discrawl config: `~/.discrawl/config.toml` 4. Invite the bot to target guilds with message read permissions 5. Verify: `discrawl doctor` ## Health Check ```bash discrawl doctor ``` ## Sync Guild Data ```bash discrawl sync --guild <guild_id> discrawl sync --guild <guild_id> --full # Full resync discrawl sync --all # All configured guilds ``` ## List Guilds and Channels ```bash discrawl guilds discrawl guilds --json discrawl channels --guild <guild_id> discrawl channels --guild <guild_id> --json ``` ## Search Messages ```bash discrawl search "query" discrawl search "query" --guild <guild_id> discrawl search "query" --channel <channel_id> --limit 20 discrawl search "query" --json discrawl search "query" --after 2026-01-01 --before 2026-04-28 ``` ## Export and Backup ```bash discrawl snapshot --guild <guild_id> # NDJSON snapshot for Git backup discrawl snapshot --guild <guild_id> --output /path/to/export/ ``` ## SQL Queries ```bash discrawl sql "SELECT * FROM messages WHERE content LIKE '%keyword%' ORDER BY timestamp DESC LIMIT 10" ``` ## Saving to Memory To archive Discord data into Moltis memory: 1. Run discrawl search or sync with `--json` 2. Summarize key conversations into a daily digest 3. Save as `memory/discord/YYYY-MM-DD.md` ```markdown # Discord — 2026-04-28 ## #general - Team discussed deployment timeline for v2.0 - Decision: feature freeze on May 1st ## #engineering - Bug report: auth timeout on mobile clients — assigned to Alice - PR #234 merged: new caching layer ## #random - Bob shared article on Rust async patterns ``` ## Configuration Config file: `~/.discrawl/config.toml` ```toml [guilds.my-server] id = "123456789" channels = ["general", "engineering"] # optional filter ``` ## Notes - Database: `~/.discrawl/discrawl.db` (SQLite + FTS5). - Use `--json` for machine-readable output. - Wiretap mode: import from local Discord Desktop cache (DM recovery, no bot token needed). - Optional semantic search with embedding providers (OpenAI, Ollama, Nomic).
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
Manage Apple Notes via the memo CLI on macOS (create, view, search, edit).
Manage Apple Reminders via remindctl CLI (list, add, complete, delete).
Generate dark-themed SVG diagrams of software systems and cloud infrastructure as standalone HTML files with inline SVG graphics. Semantic component colors (cyan=frontend, emerald=backend, violet=database, amber=cloud/AWS, rose=security, orange=message bus), JetBrains Mono font, grid background. Best suited for software architecture, cloud/VPC topology, microservice maps, service-mesh diagrams, database + API layer diagrams, security groups, message buses — anything that fits a tech-infra deck with a dark aesthetic. If a more specialized diagramming skill exists for the subject (scientific, educational, hand-drawn, animated, etc.), prefer that — otherwise this skill can also serve as a general-purpose SVG diagram fallback. Based on Cocoon AI's architecture-diagram-generator (MIT).
Search and retrieve academic papers from arXiv using their free REST API. No API key needed. Search by keyword, author, category, or ID. Combine with web_extract or the ocr-and-documents skill to read full paper content.
Generate ASCII art using pyfiglet (571 fonts), cowsay, boxes, toilet, image-to-ascii, remote APIs (asciified, ascii.co.uk), and LLM fallback. No API keys required.
Production pipeline for ASCII art video — any format. Converts video/audio/images/generative input into colored ASCII character video output (MP4, GIF, image sequence). Covers: video-to-ASCII conversion, audio-reactive music visualizers, generative ASCII art animations, hybrid video+audio reactive, text/lyrics overlays, real-time terminal rendering. Use when users request: ASCII video, text art video, terminal-style video, character art animation, retro text visualization, audio visualizer in ASCII, converting video to ASCII art, matrix-style effects, or any animated ASCII output.
PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen). Use when you need to generate music from text descriptions, create sound effects, or perform melody-conditioned music generation.