Навык opencli-reader
✓ ПровереноПредоставляет режим «только чтение» в качестве резервного варианта для получения данных с более чем 100 поддерживаемых сайтов, включая финансовые, социальные, исследовательские и медиа-платформы.
- Звёзды на GitHub
- 3 526
- Файлы
- 4
- Последний коммит
- 4 нояб. 2026 г.
- Лицензия
- MIT
- Разрешённые инструменты
- —
Что делает навык opencli-reader?
opencli-reader — это Agent Skill. Предоставляет режим «только чтение» в качестве резервного варианта для получения данных с более чем 100 поддерживаемых сайтов, включая финансовые, социальные, исследовательские и медиа-платформы.
Сводка сгенерирована из SKILL.md навыка.
О skill opencli-reader
opencli-reader позволяет извлекать данные из различных веб-источников, таких как финансовые платформы, социальные сообщества и исследовательские репозитории. Он служит резервным инструментом «только чтение» для агентов, когда отсутствуют специализированные навыки для таких платформ, как Twitter, LinkedIn или Discord. Благодаря доступу к реестру адаптеров, поддерживающих более 100 сайтов, пользователи могут получать структурированную информацию с таких ресурсов, как Bloomberg, Reddit, arXiv и Substack.
Агенту следует загружать этот skill, когда пользователь запрашивает информацию с сайта, который не охвачен специализированным ридером. Он опирается на CLI-инструмент opencli и может использовать различные стратегии подключения: от простых публичных HTTP-запросов до взаимодействия через браузер с использованием cookies или UI-автоматизации. Skill выдает структурированные данные, предпочтительно в формате JSON, для обеспечения надежной обработки. Он строго ограничен операциями чтения и не будет выполнять команды для публикации, лайков или комментариев на любой платформе.
Что агент может делать с ним
- 1Получение заголовков финансовых рынковИзвлечение последних рыночных новостей и заголовков с Bloomberg.
- 2Поиск научных работПоиск по конкретным темам на arXiv для нахождения свежих публикаций.
- 3Мониторинг трендов в социальных сообществахЧтение популярных постов в конкретном сабреддите на Reddit.
- 4Отслеживание рейтингов фондового рынкаПолучение текущих рейтингов популярных акций с Eastmoney.
Написано на основе skill SKILL.md. Каждый сценарий использования проверен по цитате из него.
Как установить навык opencli-reader
Каждая команда копирует папку навыка в каталог навыков клиента. Перезапустите клиент или начните новую сессию, чтобы загрузить его.Установка навыка opencli-reader в Плагин
/plugin marketplace add himself65/finance-skills /plugin install finance-social-readers@finance-skills
Установка навыка opencli-reader в Claude Code
~/.claude/skills/opencli-reader/SKILL.md
$ npx degit himself65/finance-skills/plugins/social-readers/skills/opencli-reader ~/.claude/skills/opencli-readerУстановка навыка opencli-reader в Claude Code (project)
.claude/skills/opencli-reader/SKILL.md
$ npx degit himself65/finance-skills/plugins/social-readers/skills/opencli-reader .claude/skills/opencli-readerУстановка навыка opencli-reader в Codex
~/.agents/skills/opencli-reader/SKILL.md
$ npx degit himself65/finance-skills/plugins/social-readers/skills/opencli-reader ~/.agents/skills/opencli-readerУстановка навыка opencli-reader в Gemini CLI
~/.gemini/skills/opencli-reader/SKILL.md
$ npx degit himself65/finance-skills/plugins/social-readers/skills/opencli-reader ~/.gemini/skills/opencli-readerУстановка навыка opencli-reader в Claude.ai
npx degit himself65/finance-skills/plugins/social-readers/skills/opencli-reader opencli-reader && zip -r opencli-reader.zip opencli-reader # claude.ai → Customize → Skills → + → Create skill → Upload a skill → opencli-reader.zip
Автоматические проверки
Запущено 15 нояб. 2026 г.Полный отчёт →Прошёл наши автоматические проверки. Это не аудит безопасности: прочитайте скрипты, прежде чем агент их запустит. Как работают проверки
- Связанный и доступный исходный репозиторийhimself65/finance-skills/plugins/social-readers/skills/opencli-reader is public and reachablegithub.com/himself65/finance-skills/tree/HEAD/plugins/social ↗Пройдено
- Open source лицензия (OSI)MITspdx.org/licenses/MIT.html ↗Пройдено
- Коммит или релиз за последний годLast commit 2026-11-04github.com/himself65/finance-skills/commits ↗Пройдено
- В скриптах нет загрузки с запуском и кражи учётных данныхNo scripts in the skill folderПройдено
- В SKILL.md нет скрытых инструкцийNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/himself65/finance-skills/blob/HEAD/plugins/social ↗Пройдено
- Заранее разрешённые инструменты ограниченыNo pre-approved tools; the agent asks before using onegithub.com/himself65/finance-skills/blob/HEAD/plugins/social ↗Пройдено
- SKILL.md соответствует формату Agent SkillsValid name and description; says when to use it; 252 linesgithub.com/himself65/finance-skills/blob/HEAD/plugins/social ↗Пройдено
SKILL.md
Открыть на GitHubopencli 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/X | twitter-reader |
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):
- Download the latest
opencli-extension-v{version}.zipfrom the GitHub Releases page - Unzip it, open
chrome://extensionsin Chrome, enable Developer mode - Click Load unpacked and select the unzipped folder
- 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 neededdescription,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 |
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 |
(see --help) |
|
| Bilibili | bilibili |
hot, video + more |
| Xiaohongshu (小红书) | xiaohongshu |
(see --help) |
| Rednote (小红书 international) | rednote |
(see --help — mirrors xiaohongshu) |
| Zhihu | zhihu |
(see --help) |
| Baidu Scholar | baidu-scholar |
(see --help) |
| Wanfang | wanfang |
(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
- Always use
opencli <site> <command> --helpbefore constructing a command you haven't run this session — don't assume flag names. - Use
-f jsonfor programmatic processing. - Start with a small
--limit(10–20) to validate the shape before pulling more. - Check
strategybefore running a browser-backed adapter — if the user isn't logged in, aCOOKIE/UIadapter will fail. - 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 thedescriptioninopencli 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:
- If the user has the
opencli-autofixskill installed, tell them to run that skill. - If not, suggest they file an issue at https://github.com/jackwener/opencli/issues with the
RepairContextoutput. - 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
- Summarize the data for the user's actual question, don't just dump the raw JSON.
- Include source attribution — site name + URL for each item where available.
- For market data, surface price / % change / volume / market cap and flag anomalies.
- For news/posts, highlight headlines, timestamps, and key quotes.
- For research (arXiv, Scholar), include title, authors, abstract, and link.
- Treat browser sessions as private — never echo CDP endpoints, cookies, or auth tokens.
Reference Files
references/discovery.md— How to navigateopencli list,opencli <site> --help, and the JSON schema of registry entriesreferences/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.
Файлы в этом навыке
4Вопросы о навыке opencli-reader
Как установить навык opencli-reader в Claude Code?
Выполните npx degit himself65/finance-skills/plugins/social-readers/skills/opencli-reader ~/.claude/skills/opencli-reader. Claude Code загружает навыки из ~/.claude/skills (все проекты) или .claude/skills (один проект) и использует навык, когда его описание соответствует задаче.
Какие клиенты могут использовать навык opencli-reader?
Любой клиент, который читает формат Agent Skills: Claude Code, Codex, Gemini CLI и claude.ai (загрузить как ZIP). Скрипты в навыке выполняются только там, где клиент разрешает выполнение кода.
Когда следует использовать opencli-reader skill?
Используйте этот skill как универсальный резервный вариант для любого источника, поддерживаемого opencli, если нет специализированного навыка (например, twitter-reader или discord-reader).
Может ли этот skill публиковать посты или оставлять комментарии на сайтах?
Нет, этот skill работает строго в режиме чтения и никогда не должен использоваться для выполнения команд записи, таких как публикация постов, лайки или подписки.
Что делать, если сайт требует авторизации?
Для адаптеров, использующих стратегии COOKIE, HEADER, INTERCEPT или UI, вы должны быть авторизованы на целевом сайте в Chrome с загруженным расширением Browser Bridge.