跳到正文
cccskills
免费在 GitHub 公开

discord-reader

Read and search Discord discussions for financial research through opencli. Review servers, channels, members, and recent messages, then organize comments about stocks or crypto by topic, attribution, and bullish or bearish views.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Read Discord for financial research through opencli connected to the Discord desktop app: servers, channels, members, recent messages in the active channel, and message search. Use this skill whenever the user wants to check their Discord, list servers or channels, read or search messages in trading, crypto, or market communities, or gauge what a Discord community is saying about a ticker or coin. Read-only: it cannot send, react to, edit, or delete messages.

集成工具Discord
查看安装方法

适用场景

  • Reviewing recent posts in a market discussion channel
  • Searching Discord conversations about a stock or coin
  • Checking available servers, channels, and online members
  • Summarizing bullish and bearish community views

包含的文件(3)

  • SKILL.md7.4 KB
  • README.md2.2 KB
  • references/commands.md6.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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/opencli

If 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:

  1. Start Discord with remote debugging enabled:
# macOS
/Applications/Discord.app/Contents/MacOS/Discord --remote-debugging-port=9232 &

# Linux
discord --remote-debugging-port=9232 &
  1. 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.

  1. Verify connectivity:
opencli discord-app status

Common setup issues

SymptomFix
CDP connection refusedEnsure Discord is running with --remote-debugging-port=9232
OPENCLI_CDP_ENDPOINT not setRun export OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9232"
status shows disconnectedRestart Discord with the CDP flag and retry
Discord not on expected portCheck 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 RequestCommandKey Flags
Connection checkopencli discord-app status—
List serversopencli discord-app servers-f json
List channelsopencli discord-app channels-f json
List online membersopencli discord-app members-f json
Read recent messagesopencli discord-app readN (count), -f json
Search messagesopencli 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 json

Key rules

  1. Check connection first — run opencli discord-app status before any other command
  2. Use -f json or -f yaml for structured output when processing data programmatically
  3. Navigate in Discord first — opencli reads from the currently active server/channel in the Discord app
  4. Start with small reads — use opencli discord-app read 20 unless the user asks for more
  5. Use search for keywords — opencli discord-app search uses Discord's built-in search (Cmd+F / Ctrl+F)
  6. Read-only — opencli also exposes discord-app send and discord-app delete; don't invoke them, and don't send messages, react, edit, delete, or manage server settings.

Output format flag (-f)

FormatFlagBest for
Table-f table (default)Human-readable terminal output
JSON-f jsonProgrammatic processing, LLM context
YAML-f yamlStructured output, readable
Markdown-f mdDocumentation, reports
CSV-f csvSpreadsheet 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 json

Step 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:

  1. Is Discord running with CDP?
# Check if the port is open
lsof -i :9232
  1. Is the environment variable set?
echo $OPENCLI_CDP_ENDPOINT
  1. Can opencli connect?
opencli discord-app status

If 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 status

Error Reference

ErrorCauseFix
CDP connection refusedDiscord not running with CDP or wrong portStart Discord with --remote-debugging-port=9232
OPENCLI_CDP_ENDPOINT not setMissing environment variableexport OPENCLI_CDP_ENDPOINT="http://127.0.0.1:9232"
No active channelNot viewing any channel in DiscordNavigate to a channel in the Discord app
Rate limitedToo many requestsWait 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Estimate a public company's value using projected cash flows, peer comparisons, and separate business segments where applicable. Produce an implied share price, compare it with the market price, and show how different assumptions change the result.

中文简介正在准备中。当前显示英语简介。

  • Estimating a company's fair share price
  • Comparing valuation multiples with industry peers
  • Testing how growth and discount rates affect value
himself65/finance-skills34402026年10月19日 更新

Prepare a briefing before a company's earnings report using Yahoo Finance data. Review the reporting schedule, expected earnings and revenue, past results versus forecasts, analyst views, and company-specific points to watch.

中文简介正在准备中。当前显示英语简介。

  • Preparing for an upcoming earnings report
  • Checking earnings and revenue forecast ranges
  • Comparing past earnings with analyst estimates
himself65/finance-skills34402026年10月19日 更新

Review a company's latest or specified past earnings report using Yahoo Finance data. Compare earnings per share with estimates, examine revenue and profit margins, and measure the stock's price reaction against previous earnings moves.

中文简介正在准备中。当前显示英语简介。

  • Check whether reported earnings beat estimates
  • Review quarterly revenue and profit margin trends
  • Compare the stock reaction with earlier earnings reports
himself65/finance-skills34402026年10月19日 更新

Analyze company earnings and revenue forecasts using Yahoo Finance data. Compare analyst consensus, meaning their combined expectations, across periods, track upward and downward revisions, assess forecast ranges, and review how past estimates compared with actual results.

中文简介正在准备中。当前显示英语简介。

  • Tracking changes in earnings forecasts
  • Comparing optimistic and pessimistic estimates
  • Comparing growth forecasts with industry benchmarks
himself65/finance-skills34402026年10月19日 更新

Calculate how far an ETF’s market price sits above or below its net asset value, the value of its holdings. Compare funds, screen for large gaps, and investigate sudden moves using holdings data and options-based estimates.

中文简介正在准备中。当前显示英语简介。

  • Check an ETF’s price gap relative to its net asset value
  • Compare premiums and discounts across similar ETFs
  • Screen ETFs for unusually large price gaps
himself65/finance-skills34402026年10月19日 更新

Compare how stocks are discussed on Reddit, X.com, financial news, and Polymarket using the Adanos Finance API. Get attention scores, bullish percentages, activity counts, and trends to identify agreement or differences across sources and stocks.

中文简介正在准备中。当前显示英语简介。

  • Checking how much a stock is discussed on Reddit
  • Comparing sentiment across X.com and financial news
  • Comparing attention across several stocks
himself65/finance-skills34402026年10月19日 更新

查看 himself65 的全部技能

报告此技能的问题