mirror of
https://github.com/himself65/finance-skills.git
synced 2026-09-14 14:40:40 +08:00
b5b316a2f8
* feat: add opencli-reader fallback skill Generic read-only fallback for any site opencli supports but this repo doesn't have a dedicated reader for. Routes to the right adapter by discovering commands at runtime via `opencli list -f json` and `opencli <site> --help` — never relying on a hand-maintained list. Covers 90+ sources including Yahoo Finance, Bloomberg, Reuters, Barchart, Eastmoney, Xueqiu, Sinafinance, Reddit, HackerNews, Substack, Medium, arXiv, Google Scholar, Weibo, Bilibili, Xiaohongshu, Zhihu, 36kr, Jike, Bluesky, Apple Podcasts, Xiaoyuzhou, Spotify, YouTube, Amazon, Taobao, JD, etc. The skill explicitly defers to dedicated readers when the source matches one (twitter-reader, linkedin-reader, discord-reader, telegram-reader, yc-reader) and forbids write operations across all adapters. Two reference files: - discovery.md: how to navigate `opencli list` and distinguish read vs write commands - finance-sources.md: curated per-adapter notes for finance-heavy sources with read/write split * fix: shorten opencli-reader description to pass lint Lint requires description under 1024 chars and no angle brackets. Previous description was 1424 chars and contained `<site>` placeholder. * fix: trim opencli-reader description further to pass lint Previous shortening only got to 1035 chars per the linter's measurement (likely counting the full folded content including triggers). Removed a few less-essential site names and redundant trigger examples to bring the description comfortably under the 1024-char limit. * feat(web): list opencli-reader skill on finance-skills.himself65.com - Adds opencli-reader to the skills data with 'new' badge, sentiment category, and social-readers plugin group - Adds a mock terminal session showing the discover → fetch flow (opencli list -> eastmoney hot-rank -> hackernews top) Verified with `pnpm build`: now generates 22 static skill pages (was 21).