Discord Reader
Alex YangCommunityCreated by Alex Yang
- Skill
- Tool integration
- Automation and integrations
- MIT
- Low risk
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The discord-reader skill enables AI agents to perform read-only financial research by connecting to the Discord desktop application via the Chrome DevTools Protocol (CDP). By leveraging opencli, the agent can access server lists, channel information, member status, and message history directly from the active Discord window. This tool is specifically designed for gathering market sentiment, tracking ticker discussions, and monitoring crypto or trading communities without requiring bot tokens or external API access.
What it does
- Lists joined Discord servers and available channels
- Retrieves recent messages from the currently active Discord channel
- Searches message history for specific financial keywords or tickers
- Provides structured output in JSON, YAML, or CSV for data analysis
- Displays online member status for active servers
- Operates in a strictly read-only mode to ensure safety
When to use it
- When you need to gauge community sentiment on a specific stock or cryptocurrency
- When researching market discussions within private or public trading servers
- When you need to extract recent message data from Discord for programmatic analysis
- When you want to monitor multiple financial channels without manual navigation
Advantages
- No bot accounts or complex token management required
- Directly utilizes the user's existing Discord desktop session
- Supports multiple output formats for easy integration with other tools
- Strictly read-only design prevents accidental message sending or deletion
Usage examples
- “What is the current sentiment on BTC in my active Discord channel?”
- The agent executes a search for 'BTC' and summarizes the recent messages, highlighting bullish or bearish trends.
- “List all channels in my current server.”
- The agent returns a structured list of channels, including their names and types, for the active server.
- “Read the last 50 messages from the current channel.”
- The agent retrieves the 50 most recent messages and presents them with author and timestamp details.
- “Search for 'AAPL earnings' in the current channel.”
- The agent performs a targeted search and reports the relevant discussions found regarding AAPL earnings.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/himself65/discord-reader/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip discord-reader.zip -d .agents/skills
Documentation by Alex Yang
Discord Skill (Read-Only)
If your host has not already executed the shell probes below (for example, in Codex), run the commands inside the ! wrappers with its shell tool before choosing a setup path. Use the actual output; if shell access is unavailable, report that limitation.
Reads Discord for financial research using opencli, a universal CLI tool that bridges desktop apps and web services to the terminal via Chrome DevTools Protocol (CDP).
This skill is read-only. It is designed for financial research: searching trading server discussions, monitoring crypto/market groups, tracking sentiment in financial communities, and reading messages. It does NOT support sending messages, reacting, editing, deleting, or any write operations.
Important: opencli connects to the Discord desktop app via CDP — no bot account or token extraction needed. Just have Discord Desktop running.
Step 1: Ensure opencli Is Installed and Discord Is Ready
Current environment status:
!`(command -v opencli && opencli discord-app status 2>&1 | head -5 && echo "READY" || echo "SETUP_NEEDED") 2>/dev/null || echo "NOT_INSTALLED"`If the status above shows READY, skip to Step 2. If NOT_INSTALLED, install first:
# Install opencli globally
npm install -g @jackwener/opencliIf SETUP_NEEDED, guide the user through setup:
Setup
opencli requires Node.js >= 20. It connects to Discord Desktop via CDP (Chrome DevTools Protocol) — no Browser Bridge extension is needed for the Discord adapter. Two things are required:
Start Discord with remote debugging enabled:
# macOS
/Applications/Discord.app/Contents/MacOS/Discord --remote-debugging-port=9232 &
# Linux
discord --remote-debugging-port=9232 &Set the CDP endpoint environment variable:
export OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9232"Add this to your shell profile (.zshrc / .bashrc) so it persists across sessions.
Verify connectivity:
opencli discord-app statusCommon setup issues
| Symptom | Fix |
|---|---|
CDP connection refused | Ensure Discord is running with --remote-debugging-port=9232 |
OPENCLI_CDP_ENDPOINT not set | Run export OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9232" |
status shows disconnected | Restart Discord with the CDP flag and retry |
| Discord not on expected port | Check that no other app is using port 9232, or use a different port |
Tip: create a shell alias
alias discord-cdp='/Applications/Discord.app/Contents/MacOS/Discord --remote-debugging-port=9232 &'Step 2: Identify What the User Needs
Match the user's request to one of the read commands below, then use the corresponding command from references/commands.md.
| User Request | Command | Key Flags |
|---|---|---|
| Connection check | opencli discord-app status | — |
| List servers | opencli discord-app servers | -f json |
| List channels | opencli discord-app channels | -f json |
| List online members | opencli discord-app members | -f json |
| Read recent messages | opencli discord-app read | N (count), -f json |
| Search messages | opencli discord-app search "QUERY" | -f json |
Note: opencli operates on the currently active server and channel in Discord. To read from a different channel, the user must navigate to it in the Discord app first, or use the channels command to identify what's available.
Step 3: Execute the Command
General pattern
# Use -f json or -f yaml for structured output
opencli discord-app servers -f json
opencli discord-app channels -f json
# Read recent messages from the active channel
opencli discord-app read 50 -f json
# Search for financial topics in the active channel
opencli discord-app search "AAPL earnings" -f json
opencli discord-app search "BTC pump" -f jsonKey rules
Check connection first — run
opencli discord-app statusbefore any other commandUse
-f jsonor-f yamlfor structured output when processing data programmaticallyNavigate in Discord first — opencli reads from the currently active server/channel in the Discord app
Start with small reads — use
opencli discord-app read 20unless the user asks for moreUse search for keywords —
opencli discord-app searchuses Discord's built-in search (Cmd+F / Ctrl+F)Read-only — opencli also exposes
discord-app sendanddiscord-app delete; don't invoke them, and don't send messages, react, edit, delete, or manage server settings.
Output format flag (-f)
| Format | Flag | Best for |
|---|---|---|
| Table | -f table (default) | Human-readable terminal output |
| JSON | -f json | Programmatic processing, LLM context |
| YAML | -f yaml | Structured output, readable |
| Markdown | -f md | Documentation, reports |
| CSV | -f csv | Spreadsheet export |
Typical workflow for reading a server
# 1. Verify connection
opencli discord-app status
# 2. List servers to confirm you're in the right one
opencli discord-app servers -f json
# 3. List channels in the current server
opencli discord-app channels -f json
# 4. Read recent messages (navigate to target channel in Discord first)
opencli discord-app read 50 -f json
# 5. Search for topics of interest
opencli discord-app search "price target" -f jsonStep 4: Present the Results
Lead with what matters for the user's research question rather than a raw dump. Attribute each message (username, timestamp, content), group search results by theme, and note the bullish or bearish lean and where views are consensus or contrarian. Show server and channel listings as a table of names and types. Keep CDP endpoints and session details private.
Step 5: Diagnostics
If something isn't working, check:
Is Discord running with CDP?
# Check if the port is open
lsof -i :9232Is the environment variable set?
echo $OPENCLI_CDP_ENDPOINTCan opencli connect?
opencli discord-app statusIf all checks fail, restart Discord with the CDP flag:
/Applications/Discord.app/Contents/MacOS/Discord --remote-debugging-port=9232 &
export OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9232"
opencli discord-app statusError Reference
| Error | Cause | Fix |
|---|---|---|
CDP connection refused | Discord not running with CDP or wrong port | Start Discord with --remote-debugging-port=9232 |
OPENCLI_CDP_ENDPOINT not set | Missing environment variable | export OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9232" |
No active channel | Not viewing any channel in Discord | Navigate to a channel in the Discord app |
| Rate limited | Too many requests | Wait a few minutes, then retry |
Reference Files
references/commands.md— Complete read command reference with all flags and usage examples
Read the reference file when you need exact command syntax or detailed flag descriptions.
Files
- ATTRIBUTION.mdAdded by AutoGineer888 B
- LICENSELicence file added by AutoGineer1.0 KiB
- README.md2.2 KiB
- SKILL.md7.4 KiB
- references/commands.md6.1 KiB
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs Node.js
Security
What our scanner noticed· Low risk
- Instructions that use the network
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Alex Yang
- Publisher
- Alex Yang (Community)
- Source
- himself65/finance-skills · plugins/social-readers/skills/discord-reader · commit a085078
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Alex Yang or Alex Yang.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download discord-reader.zip