New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Generic read-only fallback for any source opencli covers but

opencli Reader (Generic Fallback, Read-Only)

by himself65 · MIT license · ★ 3,347 on GitHub · updated Aug 27

opencli Reader (Generic Fallback, Read-Only) cover

Generic read-only fallback for any source opencli covers but this repo has no dedicated reader for — Yahoo Finance, Bloomberg, Reuters, Barchart, Eastmoney, Xueqiu, Sinafinance, Reddit, HackerNews, Substack, Medium, Weibo, Bilibili,…

---
name: opencli-reader
description: >
  Generic read-only fallback for any source opencli covers but this repo has no dedicated
  reader for — Yahoo Finance, Bloomberg, Reuters, Barchart, Eastmoney, Xueqiu, Sinafinance,
  Reddit, HackerNews, Substack, Medium, Weibo, Bilibili, Xiaohongshu, Zhihu, arXiv,
  Google Scholar, Apple Podcasts, Xiaoyuzhou, Spotify, YouTube, Weixin, Amazon, and more.
  Triggers: "use opencli to read", "grab the frontpage from hackernews",
  "read reddit r/wallstreetbets", "fetch Eastmoney hot stocks", "pull Xueqiu feed",
  "get Bloomberg markets headlines", "search arXiv for", any request to read from a site
  where a specialized skill does not exist but opencli does.
  FALLBACK — prefer twitter-reader, linkedin-reader, discord-reader, telegram-reader, or
  yc-reader when the source matches. READ-ONLY — never invoke write operations.
---

# opencli Reader (Generic Fallback, Read-Only)

Generic fallback for any source opencli supports via its [adapter registry](https://github.com/jackwener/opencli) (100+ sites, growing). Use this skill only when **no dedicated finance-skill covers the source** — the specialized skills (`twitter-reader`, `linkedin-reader`, `discord-reader`, `telegram-reader`, `yc-reader`) are always preferred when the request matches one of them.

Overview

Generic fallback for any source opencli supports via its adapter registry (100+ sites, growing). Use this skill only when no dedicated finance-skill covers the source — the specialized skills (twitter-reader, linkedin-reader, discord-reader, telegram-reader, yc-reader) are always preferred when the request matches one of them.

Manual install (npx, ZIP)
Claude Codenpx skills add himself65/finance-skills --skill opencli-reader -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/himself65/finance-skills/tar.gz/0a5759bca1ea \ | tar -xz -C ~/.claude/skills --strip-components=4 finance-skills-0a5759bca1ea/plugins/social-readers/skills/opencli-reader
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/c92d653425197a8f40e0/opencli-reader.zip" -OutFile "$env:TEMP\opencli-reader.zip"; Expand-Archive "$env:TEMP\opencli-reader.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md11.8 KB
  • README.md3.3 KB
  • references/2 files · 11.8 KB
Read the files here
himself65/0a5759b4 files
SKILL.md
Show the full text262 lines

opencli Reader (Generic Fallback, Read-Only)

Generic fallback for any source opencli supports via its adapter registry (100+ sites, growing). Use this skill only when no dedicated finance-skill covers the source — the specialized skills (twitter-reader, linkedin-reader, discord-reader, telegram-reader, yc-reader) are always preferred when the request matches one of them.

This skill is read-only. Write commands that opencli exposes (post, like, comment, send, save, upvote, subscribe, follow, delete, reply-dm, etc.) must not be invoked.


Step 1: Decide Whether to Use This Skill

Only use this skill if the request cannot be handled by a more specific skill.

If the user asks about… Use this skill instead
Twitter/X twitter-reader
LinkedIn linkedin-reader
Discord discord-reader
Telegram telegram-reader
Y Combinator yc-reader
Anything else opencli supports (Yahoo Finance, Bloomberg, Reuters, Reddit, HackerNews, Eastmoney, Xueqiu, Substack, arXiv, etc.) this skill

If the source is not in opencli's registry either, stop and tell the user the request isn't covered — don't fall back to ad-hoc scraping.


Step 2: Ensure opencli Is Ready

Current environment status:

!`(command -v opencli && opencli doctor 2>&1 | head -5 && echo "READY" || echo "SETUP_NEEDED") 2>/dev/null || echo "NOT_INSTALLED"`

If NOT_INSTALLED:

npm install -g @jackwener/opencli

If SETUP_NEEDED, guide the user through Browser Bridge setup (only required for adapters whose strategy is COOKIE, HEADER, INTERCEPT, or UI — PUBLIC and LOCAL adapters work without a browser):

  1. Download the latest opencli-extension-v{version}.zip from the GitHub Releases page
  2. Unzip it, open chrome://extensions in Chrome, enable Developer mode
  3. Click Load unpacked and select the unzipped folder
  4. Make sure Chrome is logged into the target site, then re-run opencli doctor

Requires Node.js >= 20 (or Bun >= 1.0).


Step 3: Discover the Right Command

Do not guess command names or flags — the registry has 500+ commands and changes weekly. Instead:

# Full registry (grouped by site), machine-readable JSON
opencli list -f json

# Filter to a site
opencli list | grep -i <site>

# Site-level help (all commands + flags)
opencli <site> --help

# Command-level help (positional args + flags + defaults)
opencli <site> <command> --help

The opencli list -f json entry for each command includes:

  • site — adapter namespace (e.g., yahoo-finance)
  • name — subcommand (e.g., quote)
  • strategy — PUBLIC / COOKIE / HEADER / INTERCEPT / UI / LOCAL — tells you if a browser login is needed
  • description, args, columns — canonical metadata

Use opencli list -f json as the source of truth. Never paste a site list into the plan from memory; adapters are added every week.

Quick map of the most common finance / research sources

The table below is a shortlist, not exhaustive — always confirm with opencli <site> --help.

Source Site slug Common commands
Yahoo Finance yahoo-finance quote
Bloomberg bloomberg markets, economics, industries, tech, politics, opinions, news, businessweek, feeds, main
Reuters reuters search
Eastmoney (东方财富) eastmoney quote, rank, kline, sectors, etf, holders, money-flow, northbound, longhu, kuaixun, convertible, index-board, announcement, hot-rank
Xueqiu (雪球) xueqiu stock, hot-stock, hot, feed, comments, watchlist, search, groups, fund-snapshot, fund-holdings, earnings-date, kline
Sinafinance sinafinance (see --help)
TDX / THS tdx, ths (see --help)
Barchart (options) barchart quote, options, flow, greeks
Reddit reddit hot, popular, frontpage, search, subreddit, read, user, user-posts, user-comments, saved
HackerNews hackernews top, best, new, ask, show, jobs, user, search
Substack substack feed, publication, search
Medium medium (see --help)
arXiv arxiv (see --help)
Google Scholar google-scholar (see --help)
Weibo weibo (see --help)
Bilibili bilibili hot, video + more
Xiaohongshu (小红书) xiaohongshu (see --help)
Rednote (小红书 international) rednote (see --help — mirrors xiaohongshu)
Zhihu zhihu (see --help)
Tieba (百度贴吧) tieba (see --help)
Hupu (虎扑) hupu (see --help)
Xianyu (闲鱼) xianyu (see --help)
1688 1688 (see --help)
Gitee gitee (see --help)
Quark quark (see --help)
Baidu Scholar baidu-scholar (see --help)
Nowcoder nowcoder (see --help)
Wanfang wanfang (see --help)
Doubao (豆包) doubao (see --help)
Yuanbao (腾讯元宝) yuanbao (see --help)
Google Gemini gemini (see --help)
NotebookLM notebooklm (see --help)
Claude claude (see --help)
36kr 36kr (see --help)
Jike jike (see --help)
Bluesky bluesky (see --help)
Apple Podcasts apple-podcasts (see --help)
Xiaoyuzhou (podcasts) xiaoyuzhou (see --help)
Spotify spotify (see --help)
YouTube youtube (see --help)
Weixin Official Account weixin (see --help — drafts is read; create-draft is write)
Toutiao toutiao articles
Government policy / law gov-policy, gov-law (see --help)
Web download / reader web read, download

For anything not listed, run opencli list -f json and filter.


Step 4: Check the Adapter's Strategy Before Running

Run opencli list -f json (or opencli <site> <command> --help) and read the strategy field:

Strategy What it means Preconditions
PUBLIC Pure HTTP; no browser needed None
LOCAL Talks to a local endpoint Local service running
COOKIE / HEADER Reuses your Chrome login for the site Chrome logged into the site + Browser Bridge extension loaded
INTERCEPT Opens an automation window to capture a signed request Same as COOKIE; be patient — may take several seconds
UI Full DOM interaction Same as COOKIE; slowest; results depend on the site's current layout

If the user doesn't have a login and the adapter's strategy is not PUBLIC / LOCAL, tell them they need to log into the site in Chrome before retrying.


Step 5: Execute the Command

General pattern
opencli <site> <command> [positional-args] [flags] -f json
Universal flags
Flag Effect
-f json Structured JSON — always prefer this for agent processing
-f yaml / -f csv / -f md / -f table / -f plain Other formats
-v Verbose logging (also sets OPENCLI_VERBOSE=1)
--live Keep the automation window open after the command (browser-backed adapters only)
--focus Open the automation window in the foreground (browser-backed adapters only)

Command-specific flags (--limit, --filter, --type, etc.) are not universal — always check opencli <site> <command> --help.

Examples
# Yahoo Finance quote (PUBLIC)
opencli yahoo-finance quote AAPL -f json

# Reddit hot posts in a subreddit (COOKIE or PUBLIC depending on subreddit)
opencli reddit subreddit wallstreetbets --limit 20 -f json
opencli reddit search "SPY options" --limit 15 -f json

# HackerNews top (PUBLIC)
opencli hackernews top --limit 20 -f json

# Eastmoney hot rank (PUBLIC)
opencli eastmoney hot-rank -f json

# Xueqiu hot stocks (PUBLIC or COOKIE)
opencli xueqiu hot-stock -f json
opencli xueqiu stock SH600519 -f json

# Bloomberg markets headlines (COOKIE)
opencli bloomberg markets -f json

# arXiv paper search (PUBLIC)
opencli arxiv search "volatility surface" --limit 10 -f json

# Substack feed
opencli substack feed --limit 20 -f json

# Web page → readable markdown (PUBLIC)
opencli web read "https://example.com/article" -f json
Key rules
  1. Always use opencli <site> <command> --help before constructing a command you haven't run this session — don't assume flag names.
  2. Use -f json for programmatic processing.
  3. Start with a small --limit (10–20) to validate the shape before pulling more.
  4. Check strategy before running a browser-backed adapter — if the user isn't logged in, a COOKIE / UI adapter will fail.
  5. NEVER execute write operations. Common write command names to avoid across adapters: post, reply, comment, like, unlike, upvote, save, subscribe, unsubscribe, follow, unfollow, block, unblock, delete, bookmark, unbookmark, send, create-draft, reply-dm, accept. If you're unsure whether a command is read or write, check the description in opencli list -f json; if it suggests a mutation, skip it.

Step 6: Handle Failures

If a command returns empty or errors out, the site may have changed its selectors / API. opencli has a built-in self-repair loop:

# Re-run with diagnostic context
OPENCLI_DIAGNOSTIC=1 opencli <site> <command> <args>

This emits a structured RepairContext that identifies the failing adapter's source path. Possible responses:

  1. If the user has the opencli-autofix skill installed, tell them to run that skill.
  2. If not, suggest they file an issue at https://github.com/jackwener/opencli/issues with the RepairContext output.
  3. Don't silently fall back to hand-rolled scraping — that hides the bug from the upstream registry.

Rate limits on the target site can also cause empty results; wait and retry.


Step 7: Present the Results

  1. Summarize the data for the user's actual question, don't just dump the raw JSON.
  2. Include source attribution — site name + URL for each item where available.
  3. For market data, surface price / % change / volume / market cap and flag anomalies.
  4. For news/posts, highlight headlines, timestamps, and key quotes.
  5. For research (arXiv, Scholar), include title, authors, abstract, and link.
  6. Treat browser sessions as private — never echo CDP endpoints, cookies, or auth tokens.

Reference Files

  • references/discovery.md — How to navigate opencli list, opencli <site> --help, and the JSON schema of registry entries
  • references/finance-sources.md — Detailed notes on the finance-heavy adapters (Yahoo Finance, Bloomberg, Eastmoney, Xueqiu, Barchart, Reuters, Reddit, HackerNews) and which commands are read vs write

Read these reference files when you need concrete examples for a specific site, or when the user asks for a capability not covered by one of the dedicated readers.

1---
2name: opencli-reader
3description: >
4 Generic read-only fallback for any source opencli covers but this repo has no dedicated
5 reader for — Yahoo Finance, Bloomberg, Reuters, Barchart, Eastmoney, Xueqiu, Sinafinance,
6 Reddit, HackerNews, Substack, Medium, Weibo, Bilibili, Xiaohongshu, Zhihu, arXiv,
7 Google Scholar, Apple Podcasts, Xiaoyuzhou, Spotify, YouTube, Weixin, Amazon, and more.
8 Triggers: "use opencli to read", "grab the frontpage from hackernews",
9 "read reddit r/wallstreetbets", "fetch Eastmoney hot stocks", "pull Xueqiu feed",
10 "get Bloomberg markets headlines", "search arXiv for", any request to read from a site
11 where a specialized skill does not exist but opencli does.
12 FALLBACK — prefer twitter-reader, linkedin-reader, discord-reader, telegram-reader, or
13 yc-reader when the source matches. READ-ONLY — never invoke write operations.
14---
15 
16# opencli Reader (Generic Fallback, Read-Only)
17 
18Generic fallback for any source opencli supports via its [adapter registry](https://github.com/jackwener/opencli) (100+ sites, growing). Use this skill only when **no dedicated finance-skill covers the source** — the specialized skills (`twitter-reader`, `linkedin-reader`, `discord-reader`, `telegram-reader`, `yc-reader`) are always preferred when the request matches one of them.
19 
20**This skill is read-only.** Write commands that opencli exposes (post, like, comment, send, save, upvote, subscribe, follow, delete, reply-dm, etc.) must not be invoked.
21 
22---
23 
24## Step 1: Decide Whether to Use This Skill
25 
26Only use this skill if the request **cannot** be handled by a more specific skill.
27 
28| If the user asks about… | Use this skill instead |
29|---|---|
30| Twitter/X | `twitter-reader` |
31| LinkedIn | `linkedin-reader` |
32| Discord | `discord-reader` |
33| Telegram | `telegram-reader` |
34| Y Combinator | `yc-reader` |
35| Anything else opencli supports (Yahoo Finance, Bloomberg, Reuters, Reddit, HackerNews, Eastmoney, Xueqiu, Substack, arXiv, etc.) | **this skill** |
36 
37If the source is not in opencli's registry either, stop and tell the user the request isn't covered — don't fall back to ad-hoc scraping.
38 
39---
40 
41## Step 2: Ensure opencli Is Ready
42 
43**Current environment status:**
44 
45```
46!`(command -v opencli && opencli doctor 2>&1 | head -5 && echo "READY" || echo "SETUP_NEEDED") 2>/dev/null || echo "NOT_INSTALLED"`
47```
48 
49If `NOT_INSTALLED`:
50 
51```bash
52npm install -g @jackwener/opencli
53```
54 
55If `SETUP_NEEDED`, guide the user through Browser Bridge setup (only required for adapters whose strategy is `COOKIE`, `HEADER`, `INTERCEPT`, or `UI` — `PUBLIC` and `LOCAL` adapters work without a browser):
56 
571. Download the latest `opencli-extension-v{version}.zip` from the [GitHub Releases page](https://github.com/jackwener/opencli/releases)
582. Unzip it, open `chrome://extensions` in Chrome, enable **Developer mode**
593. Click **Load unpacked** and select the unzipped folder
604. Make sure Chrome is logged into the target site, then re-run `opencli doctor`
61 
62Requires Node.js >= 20 (or Bun >= 1.0).
63 
64---
65 
66## Step 3: Discover the Right Command
67 
68**Do not guess command names or flags** — the registry has 500+ commands and changes weekly. Instead:
69 
70```bash
71# Full registry (grouped by site), machine-readable JSON
72opencli list -f json
73 
74# Filter to a site
75opencli list | grep -i <site>
76 
77# Site-level help (all commands + flags)
78opencli <site> --help
79 
80# Command-level help (positional args + flags + defaults)
81opencli <site> <command> --help
82```
83 
84The `opencli list -f json` entry for each command includes:
85- `site` — adapter namespace (e.g., `yahoo-finance`)
86- `name` — subcommand (e.g., `quote`)
87- `strategy` — `PUBLIC` / `COOKIE` / `HEADER` / `INTERCEPT` / `UI` / `LOCAL` — tells you if a browser login is needed
88- `description`, `args`, `columns` — canonical metadata
89 
90Use `opencli list -f json` as the source of truth. Never paste a site list into the plan from memory; adapters are added every week.
91 
92### Quick map of the most common finance / research sources
93 
94The table below is a **shortlist**, not exhaustive — always confirm with `opencli <site> --help`.
95 
96| Source | Site slug | Common commands |
97|---|---|---|
98| Yahoo Finance | `yahoo-finance` | `quote` |
99| Bloomberg | `bloomberg` | `markets`, `economics`, `industries`, `tech`, `politics`, `opinions`, `news`, `businessweek`, `feeds`, `main` |
100| Reuters | `reuters` | `search` |
101| Eastmoney (东方财富) | `eastmoney` | `quote`, `rank`, `kline`, `sectors`, `etf`, `holders`, `money-flow`, `northbound`, `longhu`, `kuaixun`, `convertible`, `index-board`, `announcement`, `hot-rank` |
102| Xueqiu (雪球) | `xueqiu` | `stock`, `hot-stock`, `hot`, `feed`, `comments`, `watchlist`, `search`, `groups`, `fund-snapshot`, `fund-holdings`, `earnings-date`, `kline` |
103| Sinafinance | `sinafinance` | (see `--help`) |
104| TDX / THS | `tdx`, `ths` | (see `--help`) |
105| Barchart (options) | `barchart` | `quote`, `options`, `flow`, `greeks` |
106| Reddit | `reddit` | `hot`, `popular`, `frontpage`, `search`, `subreddit`, `read`, `user`, `user-posts`, `user-comments`, `saved` |
107| HackerNews | `hackernews` | `top`, `best`, `new`, `ask`, `show`, `jobs`, `user`, `search` |
108| Substack | `substack` | `feed`, `publication`, `search` |
109| Medium | `medium` | (see `--help`) |
110| arXiv | `arxiv` | (see `--help`) |
111| Google Scholar | `google-scholar` | (see `--help`) |
112| Weibo | `weibo` | (see `--help`) |
113| Bilibili | `bilibili` | `hot`, `video` + more |
114| Xiaohongshu (小红书) | `xiaohongshu` | (see `--help`) |
115| Rednote (小红书 international) | `rednote` | (see `--help` — mirrors `xiaohongshu`) |
116| Zhihu | `zhihu` | (see `--help`) |
117| Tieba (百度贴吧) | `tieba` | (see `--help`) |
118| Hupu (虎扑) | `hupu` | (see `--help`) |
119| Xianyu (闲鱼) | `xianyu` | (see `--help`) |
120| 1688 | `1688` | (see `--help`) |
121| Gitee | `gitee` | (see `--help`) |
122| Quark | `quark` | (see `--help`) |
123| Baidu Scholar | `baidu-scholar` | (see `--help`) |
124| Nowcoder | `nowcoder` | (see `--help`) |
125| Wanfang | `wanfang` | (see `--help`) |
126| Doubao (豆包) | `doubao` | (see `--help`) |
127| Yuanbao (腾讯元宝) | `yuanbao` | (see `--help`) |
128| Google Gemini | `gemini` | (see `--help`) |
129| NotebookLM | `notebooklm` | (see `--help`) |
130| Claude | `claude` | (see `--help`) |
131| 36kr | `36kr` | (see `--help`) |
132| Jike | `jike` | (see `--help`) |
133| Bluesky | `bluesky` | (see `--help`) |
134| Apple Podcasts | `apple-podcasts` | (see `--help`) |
135| Xiaoyuzhou (podcasts) | `xiaoyuzhou` | (see `--help`) |
136| Spotify | `spotify` | (see `--help`) |
137| YouTube | `youtube` | (see `--help`) |
138| Weixin Official Account | `weixin` | (see `--help` — `drafts` is read; `create-draft` is write) |
139| Toutiao | `toutiao` | `articles` |
140| Government policy / law | `gov-policy`, `gov-law` | (see `--help`) |
141| Web download / reader | `web` | `read`, `download` |
142 
143For anything not listed, run `opencli list -f json` and filter.
144 
145---
146 
147## Step 4: Check the Adapter's Strategy Before Running
148 
149Run `opencli list -f json` (or `opencli <site> <command> --help`) and read the `strategy` field:
150 
151| Strategy | What it means | Preconditions |
152|---|---|---|
153| `PUBLIC` | Pure HTTP; no browser needed | None |
154| `LOCAL` | Talks to a local endpoint | Local service running |
155| `COOKIE` / `HEADER` | Reuses your Chrome login for the site | Chrome logged into the site + Browser Bridge extension loaded |
156| `INTERCEPT` | Opens an automation window to capture a signed request | Same as COOKIE; be patient — may take several seconds |
157| `UI` | Full DOM interaction | Same as COOKIE; slowest; results depend on the site's current layout |
158 
159If the user doesn't have a login and the adapter's strategy is not `PUBLIC` / `LOCAL`, tell them they need to log into the site in Chrome before retrying.
160 
161---
162 
163## Step 5: Execute the Command
164 
165### General pattern
166 
167```bash
168opencli <site> <command> [positional-args] [flags] -f json
169```
170 
171### Universal flags
172 
173| Flag | Effect |
174|---|---|
175| `-f json` | Structured JSON — always prefer this for agent processing |
176| `-f yaml` / `-f csv` / `-f md` / `-f table` / `-f plain` | Other formats |
177| `-v` | Verbose logging (also sets `OPENCLI_VERBOSE=1`) |
178| `--live` | Keep the automation window open after the command (browser-backed adapters only) |
179| `--focus` | Open the automation window in the foreground (browser-backed adapters only) |
180 
181Command-specific flags (`--limit`, `--filter`, `--type`, etc.) are **not** universal — always check `opencli <site> <command> --help`.
182 
183### Examples
184 
185```bash
186# Yahoo Finance quote (PUBLIC)
187opencli yahoo-finance quote AAPL -f json
188 
189# Reddit hot posts in a subreddit (COOKIE or PUBLIC depending on subreddit)
190opencli reddit subreddit wallstreetbets --limit 20 -f json
191opencli reddit search "SPY options" --limit 15 -f json
192 
193# HackerNews top (PUBLIC)
194opencli hackernews top --limit 20 -f json
195 
196# Eastmoney hot rank (PUBLIC)
197opencli eastmoney hot-rank -f json
198 
199# Xueqiu hot stocks (PUBLIC or COOKIE)
200opencli xueqiu hot-stock -f json
201opencli xueqiu stock SH600519 -f json
202 
203# Bloomberg markets headlines (COOKIE)
204opencli bloomberg markets -f json
205 
206# arXiv paper search (PUBLIC)
207opencli arxiv search "volatility surface" --limit 10 -f json
208 
209# Substack feed
210opencli substack feed --limit 20 -f json
211 
212# Web page → readable markdown (PUBLIC)
213opencli web read "https://example.com/article" -f json
214```
215 
216### Key rules
217 
2181. **Always use `opencli <site> <command> --help`** before constructing a command you haven't run this session — don't assume flag names.
2192. **Use `-f json`** for programmatic processing.
2203. **Start with a small `--limit`** (10–20) to validate the shape before pulling more.
2214. **Check `strategy` before running a browser-backed adapter** — if the user isn't logged in, a `COOKIE` / `UI` adapter will fail.
2225. **NEVER execute write operations.** Common write command names to avoid across adapters: `post`, `reply`, `comment`, `like`, `unlike`, `upvote`, `save`, `subscribe`, `unsubscribe`, `follow`, `unfollow`, `block`, `unblock`, `delete`, `bookmark`, `unbookmark`, `send`, `create-draft`, `reply-dm`, `accept`. If you're unsure whether a command is read or write, check the `description` in `opencli list -f json`; if it suggests a mutation, skip it.
223 
224---
225 
226## Step 6: Handle Failures
227 
228If a command returns empty or errors out, the site may have changed its selectors / API. opencli has a built-in self-repair loop:
229 
230```bash
231# Re-run with diagnostic context
232OPENCLI_DIAGNOSTIC=1 opencli <site> <command> <args>
233```
234 
235This emits a structured `RepairContext` that identifies the failing adapter's source path. Possible responses:
236 
2371. If the user has the `opencli-autofix` skill installed, tell them to run that skill.
2382. If not, suggest they file an issue at https://github.com/jackwener/opencli/issues with the `RepairContext` output.
2393. Don't silently fall back to hand-rolled scraping — that hides the bug from the upstream registry.
240 
241Rate limits on the target site can also cause empty results; wait and retry.
242 
243---
244 
245## Step 7: Present the Results
246 
2471. **Summarize the data** for the user's actual question, don't just dump the raw JSON.
2482. **Include source attribution** — site name + URL for each item where available.
2493. **For market data**, surface price / % change / volume / market cap and flag anomalies.
2504. **For news/posts**, highlight headlines, timestamps, and key quotes.
2515. **For research (arXiv, Scholar)**, include title, authors, abstract, and link.
2526. **Treat browser sessions as private** — never echo CDP endpoints, cookies, or auth tokens.
253 
254---
255 
256## Reference Files
257 
258- `references/discovery.md` — How to navigate `opencli list`, `opencli <site> --help`, and the JSON schema of registry entries
259- `references/finance-sources.md` — Detailed notes on the finance-heavy adapters (Yahoo Finance, Bloomberg, Eastmoney, Xueqiu, Barchart, Reuters, Reddit, HackerNews) and which commands are read vs write
260 
261Read these reference files when you need concrete examples for a specific site, or when the user asks for a capability not covered by one of the dedicated readers.
262 
View all files on GitHub →

Details

Updated
Aug 27, 2026
License
MIT
Stars on the repo
★ 3,347
Checked
Source
himself65/finance-skills ↗
Creator
himself65 · 24 listings
View creator

Similar skills

See all →
SkillResearch what people actually say about any topicSTEP 0: STALE-CLONE SELF-CHECK — RUN BEFORE READING BELOWmvanhorn/last30days-skill · by mvanhornResearch what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube, TikTok, Hacker News, Polymarket, GitHub, and the web. Includes a doctor health check to diagnose broken or missing sources.★ 63.5k GitHub starsSkillScrapes social platforms, business dataApifydanielmiessler/LifeOS · by danielmiesslerScrapes social platforms, business data, and e-commerce via Apify actors — Instagram, LinkedIn, TikTok, YouTube, Facebook, Google Maps, Amazon, and web crawls — filtering in code. USE WHEN scrape Instagram, scrape LinkedIn, scrape TikTok, scrape YouTube, scrape Facebook, Google Maps leads, Amazon reviews, business intelligence, multi-platform social listening, competitive analysis, lead generation, social monitoring, Apify actors, web crawl, extract contacts. NOT FOR X/Twitter account operations like posting, threads, or bookmarks (those need a dedicated X API client), 4-tier progressive scraping with proxy escalation (use BrightData), or real-Chrome bot bypass and computer use (use Interceptor).★ 19.3k GitHub starsSkill微信公众号长文增长闭环 ——tsingyuai/growth-lab · by tsingyuai微信公众号长文增长闭环 —— 从读者问题与复刻锚选题、写出可验证的公众号长文、预览与合规检查、同步微信草稿、三重确认下受控发布,到回收阅读与转化数据并复盘。用户要求写公众号、把内容改成公众号、同步或发布微信草稿、查看公众号数据或复盘时使用。★ 2k GitHub starsSkillSearch and retrieve content from Twitter/XTwitter/X SkillReScienceLab/opc-skills · by ReScienceLabSearch and retrieve content from Twitter/X. Get user info, tweets, replies, followers, communities, spaces, and trends via twitterapi.io. Use when user mentions Twitter, X, or tweets.★ 1.8k GitHub starsSkillSays 'YouTube script', 'video script'🎬 YouTube Script: Writing retention-optimized video script...cwinvestments/memstack · by cwinvestmentsUse this skill when the user says 'YouTube script', 'video script', 'write script for YouTube', 'YouTube video outline', or is creating scripted content for a YouTube video with hooks, chapters, and CTAs. Do NOT use for TikTok/Reels short-form scripts or webinar presentations.★ 423 GitHub starsSkillAgent Reach — 互联网能力路由器Ootto-AI/claude-content-skills · by Ootto-AIMUST USE when user wants to 调研/research/搜索/search/查/找/look up anything on the internet — e.g. 全网调研 X / 帮我调研一下 X / 查一下 X / 搜搜 X / 看看大家怎么评价 X / X 上有什么讨论 / research this topic。 Also MUST USE when user mentions any platform or shares any URL/链接: 小红书/xiaohongshu/xhs, Twitter/推特/X, B站/bilibili, Reddit, V2EX, LinkedIn/领英/招聘/求职/jobs, YouTube, GitHub code search, 小宇宙播客, 雪球/股票行情, RSS feeds, or any web URL. 13 platforms, multi-backend routing (OpenCLI / per-platform CLIs / APIs). Zero config for 6 channels. Run `agent-reach doctor --json` to see which backend serves each platform right now. NOT for: 写报告/数据分析/翻译等内容加工(本 skill 只负责从互联网获取内容); 发帖/评论/点赞等写操作;已有专门 skill 的平台(先用专门 skill)。 【路由方式】SKILL.md 包含路由表和常用命令,复杂场景需按需阅读对应分类的 references/*.md。 分类:search / social (小红书/推特/B站/V2EX/Reddit) / career(LinkedIn) / dev(github) / web(网页/文章/RSS) / video(YouTube/B站/播客)。★ 139 GitHub stars

More from himself65

SkillEstimate the intrinsic value of a public company using DCFCompany valuationhimself65/finance-skills · by himself65Estimate the intrinsic value of a public company using DCF, relative (peer multiple) and sum-of-parts (SOTP) methods, then triangulate to an implied share price with upside/downside versus the current market price. Use this skill whenever the user asks: what is AAPL worth", "valuation of NVDA", "fair value of TSLA", "intrinsic value", DCF for MSFT", "build a DCF", "discounted cash flow", "WACC", "terminal value", implied share price", "upside to fair value", "is X overvalued/undervalued", relative valuation", "peer comparison valuation", "EV/EBITDA target", "SOTP", sum of the parts", "how much is [company] worth", "price target from fundamentals", value this company", or any ticker in the context of computing intrinsic or relative valuation. Default to running ALL three methods (DCF + relative + SOTP-if-applicable) and presenting a blended implied price with a sensitivity table. Do not answer valuation questions from memory — always run the workflow.★ 3.3k GitHub starsSkillRead Discord for financial research using opencliDiscord Skill (Read-Only)himself65/finance-skills · by himself65Read Discord for financial research using opencli (read-only). Use this skill whenever the user wants to read Discord channels, search for messages in trading servers, view guild/channel info, monitor crypto or market discussion groups, or gather financial sentiment from Discord. Triggers include: "check my Discord", "search Discord for", "read Discord messages", what's happening in the trading Discord", "show Discord channels", "list my servers", Discord sentiment on BTC", "what are people saying in Discord about AAPL", monitor crypto Discord", any mention of Discord in context of reading financial news, market research, or trading community discussions. This skill is READ-ONLY — it does NOT support sending messages, reacting, or any write operations.★ 3.3k GitHub starsSkillGenerate a pre-earnings briefing for any stock using YahooEarnings Preview Skillhimself65/finance-skills · by himself65Generate a pre-earnings briefing for any stock using Yahoo Finance data. Use this skill whenever the user wants to prepare for an upcoming earnings report, understand what analysts expect, review a company's beat/miss track record, or get a quick overview before an earnings call. Triggers include: "earnings preview for AAPL", "what to expect from TSLA earnings", MSFT reports next week", "earnings preview", "pre-earnings analysis", what are analysts expecting for NVDA", "earnings estimates for", will GOOGL beat earnings", "earnings beat/miss history", upcoming earnings", "before earnings", "earnings setup", consensus estimates", "earnings whisper", "EPS expectations", what's the street expecting", "earnings season preview", any mention of preparing for or previewing an earnings report, or any request to understand expectations ahead of a company's earnings date. Always use this skill when the user mentions a ticker in context of upcoming earnings, even if they don't say "preview" explicitly.★ 3.3k GitHub starsSkillGenerate a post-earnings analysis for any stock using YahooEarnings Recap Skillhimself65/finance-skills · by himself65Generate a post-earnings analysis for any stock using Yahoo Finance data. Use when the user wants to review what happened after earnings, understand beat/miss results, see stock reaction, or get an earnings recap. Triggers: "AAPL earnings recap", "how did TSLA earnings go", "MSFT earnings results", did NVDA beat earnings", "post-earnings analysis", "earnings surprise", what happened with GOOGL earnings", "earnings reaction", stock moved after earnings", "EPS beat or miss", "revenue beat or miss", quarterly results for", "how were earnings", "AMZN reported last night", earnings call recap", or any request about a company's recent earnings outcome. Use this skill when the user references a past earnings event, even if they just say "AAPL reported" or "how did they do".★ 3.3k GitHub starsSkillDeep-dive into analyst estimates and revision trends for anyEstimate Analysis Skillhimself65/finance-skills · by himself65Deep-dive into analyst estimates and revision trends for any stock using Yahoo Finance data. Use when the user wants to understand analyst estimate direction, how EPS or revenue forecasts changed over time, compare estimate distributions, or analyze growth projections across periods. Triggers: "estimate analysis for AAPL", "analyst estimate trends for NVDA", EPS revisions for TSLA", "how have estimates changed for MSFT", estimate revisions", "EPS trend", "revenue estimates", consensus changes", "analyst estimates", "estimate distribution", growth estimates for", "estimate momentum", "revision trend", forward estimates", "next quarter estimates", "annual estimates", estimate spread", "bull vs bear estimates", "estimate range", or any request about tracking or comparing analyst estimates/revisions. Use this skill when the user asks about estimates beyond a simple lookup — if they want context, trends, or analysis, this is the right skill.★ 3.3k GitHub starsSkillCalculate ETF premium/discount vs NAV via Yahoo FinanceETF Premium/Discount Analysis Skillhimself65/finance-skills · by himself65Calculate ETF premium/discount vs NAV via Yahoo Finance, and decompose single-day surges into NAV-driven vs structural components (gamma squeeze, dealer hedging, blocked AP arbitrage). Use whenever the user asks about an ETF's premium or discount, NAV comparison, why an ETF diverged from its holdings, or how much of a move is dealer-hedging-driven. Triggers: "ETF premium", "ETF discount", "NAV premium", "is SPY at a premium", "BITO premium", IBIT premium", "bond ETF discount", "trading above/below NAV", "ETF premium screener", biggest discount", "compare ETF NAV", "ETF arbitrage", "ETF gamma squeeze", ETF premium surge", "decompose ETF move", "dealer gamma exposure", "GEX for ETF", why did this ETF jump", "premium convergence", "AP arbitrage blocked", or any request about the gap between an ETF's price and underlying value. Especially relevant for leveraged, inverse, international, bond, commodity, and crypto ETFs.★ 3.3k GitHub stars