Sync Discord messages to local storage. Use when user asks to sync, pull, fetch, or download Discord messages.
/plugin marketplace add lycfyi/community-agent-plugin/plugin install discord-agent@community-agent-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Syncs messages from Discord servers to local Markdown files for reading and analysis.
When user is vague, apply these defaults instead of asking:
| User Says | Default Action |
|---|---|
| "sync my Discord" | Sync recommended servers from profile (use discord_recommend.py) |
| "sync those active ones" | Pick top 3 from recommendations |
| "sync [server name]" | Find server by name, sync with 7 days default |
| No --days specified | Default to 7 days |
| "sync everything" | Sync all recommended, 30 days |
Get smart recommendations:
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_recommend.py --json
This returns servers sorted by:
priority_servers from config (highest)profile.interests and profile.watch_keywordsOnly ask for clarification when:
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_sync.py
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_sync.py --channel CHANNEL_ID
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_sync.py --server SERVER_ID
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_sync.py --days 7
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_sync.py --full
All paths are relative to cwd (current working directory):
Messages saved to: ./data/{server_id}/{channel_name}/messages.md
Sync state tracked in: ./data/{server_id}/sync_state.yaml
./.env file with DISCORD_USER_TOKEN set (in cwd)./config/server.yaml with server_id configured (unless using --server flag)By default, sync is incremental - only new messages since last sync are fetched.
Use --full to re-sync all messages within the date range.
After syncing, use discord-read skill to view or search messages.