Generated banner for Opencli Reader
Generated logo for Opencli Reader

Opencli Reader

Alex YangCommunityCreated by Alex Yang

  • Skill
  • Tool integration
  • Automation and integrations
  • MIT
  • Low risk

From the author

Generic read-only fallback for sources opencli supports but no dedicated skill covers: finance sites (Yahoo Finance, Bloomberg, Reuters, Barchart, Eastmoney, Xueqiu, Sinafinance), communities (Reddit, HackerNews, Weibo, Zhihu, Xiaohongshu, Bilibili), newsletters and blogs (Substack, Medium), research (arXiv, Google Scholar), podcasts and video (Apple Podcasts, Xiaoyuzhou, Spotify, YouTube), Weixin, Amazon, and more. Use it when the user asks to read or fetch from such a site — for example r/wallstreetbets, the HackerNews front page, Eastmoney hot stocks, the Xueqiu feed, Bloomberg markets headlines, or an arXiv search — or says "use opencli to read". Prefer twitter-reader, linkedin-reader, discord-reader, telegram-reader, or yc-reader when the source matches. Read-only: never runs write commands.
— the description by Alex Yang

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

opencli-reader serves as a universal, read-only fallback for accessing data from a wide range of websites, including financial platforms, community forums, news outlets, and research databases. It leverages the opencli adapter registry to provide structured data extraction. This skill is strictly read-only and should only be used when no dedicated reader skill (such as those for Twitter, LinkedIn, or Discord) is available for the target source.

What it does

  • Fetches data from over 100 supported websites using the opencli registry.
  • Provides structured JSON output for programmatic processing.
  • Supports various access strategies including public HTTP, cookie-based sessions, and browser-based interaction.
  • Includes built-in diagnostic tools to troubleshoot adapter failures.
  • Enforces a strict read-only policy to prevent accidental state changes on target sites.

When to use it

  • When you need to fetch data from a site supported by opencli that lacks a dedicated reader skill.
  • When performing market research on platforms like Bloomberg, Yahoo Finance, or Eastmoney.
  • When gathering information from community sites like Reddit or HackerNews.
  • When retrieving academic or research papers from sources like arXiv or Google Scholar.
  • When you need to convert web content into readable markdown or structured data.

Advantages

  • Centralizes access to a vast array of disparate data sources.
  • Standardizes output formats across different websites.
  • Reduces the need for custom scraping logic by using maintained adapters.
  • Provides clear diagnostic paths for handling site changes or failures.

Usage examples

“Get the latest hot stocks from Eastmoney.”
The agent executes 'opencli eastmoney hot-rank -f json' and summarizes the top-ranked stocks for the user.
“Read the top posts from the wallstreetbets subreddit.”
The agent runs 'opencli reddit subreddit wallstreetbets --limit 10 -f json' and presents the headlines and links.
“Search for papers on volatility surfaces on arXiv.”
The agent uses 'opencli arxiv search "volatility surface" --limit 5 -f json' to return a list of relevant research papers.
“Fetch the latest quote for AAPL from Yahoo Finance.”
The agent calls 'opencli yahoo-finance quote AAPL -f json' and displays the current price and market data.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/himself65/opencli-reader/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip opencli-reader.zip -d .agents/skills

Documentation by Alex Yang

opencli Reader (Generic Fallback, 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.

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/Xtwitter-reader
LinkedInlinkedin-reader
Discorddiscord-reader
Telegramtelegram-reader
Y Combinatoryc-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.

SourceSite slugCommon commands
Yahoo Financeyahoo-financequote
Bloombergbloombergmarkets, economics, industries, tech, politics, opinions, news, businessweek, feeds, main
Reutersreuterssearch
Eastmoney (东方财富)eastmoneyquote, rank, kline, sectors, etf, holders, money-flow, northbound, longhu, kuaixun, convertible, index-board, announcement, hot-rank
Xueqiu (雪球)xueqiustock, hot-stock, hot, feed, comments, watchlist, search, groups, fund-snapshot, fund-holdings, earnings-date, kline
Sinafinancesinafinance(see --help)
TDX / THStdx, ths(see --help)
Barchart (options)barchartquote, options, flow, greeks
Redditreddithot, popular, frontpage, search, subreddit, read, user, user-posts, user-comments, saved
HackerNewshackernewstop, best, new, ask, show, jobs, user, search
Substacksubstackfeed, publication, search
Mediummedium(see --help)
arXivarxiv(see --help)
Google Scholargoogle-scholar(see --help)
Weiboweibo(see --help)
Bilibilibilibilihot, video + more
Xiaohongshu (小红书)xiaohongshu(see --help)
Rednote (小红书 international)rednote(see --help — mirrors xiaohongshu)
Zhihuzhihu(see --help)
Baidu Scholarbaidu-scholar(see --help)
Wanfangwanfang(see --help)
36kr36kr(see --help)
Jikejike(see --help)
Blueskybluesky(see --help)
Apple Podcastsapple-podcasts(see --help)
Xiaoyuzhou (podcasts)xiaoyuzhou(see --help)
Spotifyspotify(see --help)
YouTubeyoutube(see --help)
Weixin Official Accountweixin(see --help — drafts is read; create-draft is write)
Toutiaotoutiaoarticles
Government policy / lawgov-policy, gov-law(see --help)
Web download / readerwebread, 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:

StrategyWhat it meansPreconditions
PUBLICPure HTTP; no browser neededNone
LOCALTalks to a local endpointLocal service running
COOKIE / HEADERReuses your Chrome login for the siteChrome logged into the site + Browser Bridge extension loaded
INTERCEPTOpens an automation window to capture a signed requestSame as COOKIE; be patient — may take several seconds
UIFull DOM interactionSame 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
FlagEffect
-f jsonStructured JSON — always prefer this for agent processing
-f yaml / -f csv / -f md / -f table / -f plainOther formats
-vVerbose logging (also sets OPENCLI_VERBOSE=1)
--liveKeep the automation window open after the command (browser-backed adapters only)
--focusOpen 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. Read-only — skip write commands. Common write command names 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.

Files

references/finance-sources.md

Finance-Relevant opencli Adapters

Curated notes on the opencli adapters most useful for financial research, with read commands highlighted and write commands listed as "do not invoke". Treat these as starting points — always run opencli <site> <command> --help to confirm current flags and defaults.


Market data (US)

yahoo-finance
CommandRead/WritePurpose
quote SYMBOLReadStock quote — price, change, volume, market cap

Strategy: PUBLIC. No login needed.

opencli yahoo-finance quote AAPL -f json
opencli yahoo-finance quote MSFT -f json

Columns: symbol, name, price, change, changePercent, open, high, low, volume, marketCap.

barchart
CommandRead/WritePurpose
quote SYMBOLReadEquity quote
options SYMBOLReadOptions chain
flow SYMBOLReadUnusual options flow
greeks SYMBOLReadOption greeks

Check opencli barchart <command> --help for expiry/strike filters.

bloomberg
CommandRead/WritePurpose
mainReadBloomberg homepage feed
marketsReadMarkets section
economicsReadEconomics section
industriesReadIndustries section
techReadTech section
politicsReadPolitics section
opinionsReadOpinion pieces
newsReadGeneral news feed
businessweekReadBusinessweek articles
feedsReadRSS-style feeds

Likely COOKIE or INTERCEPT — Bloomberg paywalls content for non-subscribers. Run opencli list | grep bloomberg to confirm.

reuters
CommandRead/WritePurpose
search QUERYReadReuters search

Market data (China)

eastmoney (东方财富)

13 finance adapters (opencli 1.7.5, Phase A oracle):

CommandRead/WritePurpose
quote SYMBOLReadA-shares quote
rankReadGainers / losers rank
hot-rankReadHot stocks by retail flow
kline SYMBOLReadK-line / OHLCV
sectorsReadSector performance
etfReadETF list / data
holders SYMBOLReadTop holders
money-flow SYMBOLReadCapital flow
northboundReadNorthbound (Stock Connect) flow
longhuRead龙虎榜 (big-block trading)
kuaixunRead快讯 (market news flashes)
convertibleReadConvertible bonds
index-boardReadIndex board
announcement SYMBOLReadCompany announcements

Mostly PUBLIC.

xueqiu (雪球)
CommandRead/WritePurpose
stock SYMBOLReadStock detail (e.g., SH600519, SZ002594)
hot-stockReadHot-stock list
hotReadHot discussion feed
feedReadHomepage feed
comments SYMBOLReadComments on a stock
watchlistReadUser's watchlist (requires login)
search QUERYReadSearch across Xueqiu
groupsReadDiscussion groups
fund-snapshot FUND_CODEReadFund snapshot
fund-holdings FUND_CODEReadFund holdings breakdown
earnings-date SYMBOLReadUpcoming earnings date
kline SYMBOLReadK-line data

Symbol format: exchange prefix + code (e.g., SH600519 = 贵州茅台 on Shanghai, SZ002594 = BYD on Shenzhen, HK00700 = Tencent on HKEX).

sinafinance, tdx, ths

Chinese brokerage / data provider adapters. Run opencli <site> --help to see commands — they change more often than western adapters.


Community forums / sentiment

reddit
CommandRead/WritePurpose
frontpageReadReddit front page
hotReadHot across Reddit
popularReadPopular
subreddit NAMEReadPosts from a subreddit (e.g., wallstreetbets, investing, SecurityAnalysis)
read POST_URL_OR_IDReadFull post + comments
search QUERYReadReddit search
user NAMEReadUser profile
user-posts NAMEReadUser's posts
user-comments NAMEReadUser's comments
savedReadYour saved items (requires login)
subscribeWrite — do not invoke
save / upvote / commentWrite — do not invoke
hackernews
CommandRead/WritePurpose
topReadTop stories
bestReadBest stories
newReadNewest stories
askReadAsk HN
showReadShow HN
jobsReadWho's hiring / job posts
user NAMEReadUser profile
search QUERYReadHN search (via Algolia)

All PUBLIC. No login needed.

bluesky

Check opencli bluesky --help — adapter coverage has been expanding.

jike, weibo, xiaohongshu, zhihu, douban, 36kr

Chinese social + research platforms. Usually COOKIE. Run opencli <site> --help.


Long-form / newsletters

substack
CommandRead/WritePurpose
feedReadYour Substack feed (requires login)
publication SLUGReadPosts from a specific publication
search QUERYReadSearch Substack
medium

Run opencli medium --help.

web read URL

Renders an arbitrary web page to markdown via opencli's generic reader. Great last-resort fallback when no adapter exists but the page is publicly readable.

opencli web read "https://example.com/long-article" -f json

Research databases

arxiv

Research-paper search on arXiv. Run opencli arxiv --help for search flags.

google-scholar, baidu-scholar, wanfang, cnki

Academic search adapters. COOKIE for some; PUBLIC for others.

gov-law, gov-policy

Chinese government legal / policy archives.


Podcasts & video

apple-podcasts, xiaoyuzhou, spotify, youtube

Podcast and video discovery / metadata. Some support full transcript fetching; check --help.

bilibili

hot, video, and more. See opencli bilibili --help.


Commerce (for supply-chain / competitive research)

amazon, taobao, jd, xianyu, 1688, ke, coupang

Product data, pricing, reviews. Strategies vary. Useful for surfacing competitive or supply-chain signals in equity research.


AI chat tools (for research automation)

chatgpt, gemini, deepseek, grok, doubao, yuanbao

Browser-based chat adapters. Read operations like history, read, status are safe. Write operations like ask send a prompt — allowed for research automation but count them as writes to an external account; prefer local LLM calls when possible.


Full list

Run opencli list -f json | jq '.[] | .site' | sort -u for the authoritative list — it's the only source that stays current as adapters are added weekly.

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

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download opencli-reader.zip