brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
discord-watcherUse this skill to keep up to date with specific Discord channels by fetching recent messages. Requires DISCORD_TOKEN.
Independent GitHub snapshot · Automated classification · Original documentation governs
This skill uses DiscordChatExporter to fetch recent messages from ALL accessible Discord channels.
dce subdirectory.Download the CLI version of DiscordChatExporter from GitHub:
https://github.com/Tyrrrz/DiscordChatExporter/releases
(Look for DiscordChatExporter.Cli.linux-x64.zip or your OS equivalent)
Extract it to a dce folder inside this skill's directory:
mkdir -p skills/discord-watcher/dce
unzip DiscordChatExporter.Cli.linux-x64.zip -d skills/discord-watcher/dce
chmod +x skills/discord-watcher/dce/DiscordChatExporter.Cli
Run the update script to fetch messages from the last 24 hours across all channels:
./skills/discord-watcher/update.sh [TOKEN]
The script can be run from any directory (it auto-detects its location).
This will:
exports/updates/.If you need help obtaining DISCORD_TOKEN from a logged-in browser session, the following in-page technique (run from a page context where script evaluation is allowed) reliably extracts the token from localStorage using an injected iframe. Treat the token as a secret once retrieved.
JavaScript snippet (run in the page context via an automation tool that can evaluate page scripts):
// Inject a hidden iframe and read its localStorage 'token' key
(() => {
try {
const iframe = document.createElement('iframe');
iframe.style.display = 'none';
document.documentElement.appendChild(iframe);
const token = iframe.contentWindow.localStorage.getItem('token');
iframe.remove();
return {ok: !!token, method: 'iframe', token};
} catch (e) {
return {ok: false, error: e.toString()};
}
})();
Notes and alternatives:
To keep updated automatically, you can add a HEARTBEAT.md entry:
- [ ] Every 6 hours: Run `skills/discord-watcher/update.sh` and summarize any new important discussions in `memory/discord-news.md`.
The exported text files are perfect for indexing with qmd.
Create a collection:
qmd collection add exports/updates --name discord-logs --mask "**/*.txt"
Note: Ensure you use the --mask "**/*.txt" flag as the exporter saves plain text files.
Update index:
qmd update
Search:
qmd search "query"