Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add bobby1129/stock-analysis-pro --skill stock-analysis-progit clone --depth 1 https://github.com/bobby1129/stock-analysis-proWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/bobby1129/stock-analysis-pro/stock-analysis-pro)<a href="https://agentmods.dev/skills/bobby1129/stock-analysis-pro/stock-analysis-pro"><img src="https://agentmods.dev/badge/skills/bobby1129/stock-analysis-pro/stock-analysis-pro/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/bobby1129/stock-analysis-pro/stock-analysis-pro"><img src="https://agentmods.dev/badge/skills/bobby1129/stock-analysis-pro/stock-analysis-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.02814 |
| Opus 5 | $0.00018 | $0.01407 |
| Sonnet 5 | $0.00007 | $0.00563 |
| Haiku 4.5 | $0.00004 | $0.00281 |
Grade A, and why
chinese-stock-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.
chinese-stock-analysis (stock-analysis-pro)
A股全维度分析 + ETF 期权分析工具,覆盖个股深度分析、概念板块扫描、宏观市场概览、每日复盘、ETF 期权扫描五大核心功能。
首次安装
# 1. 克隆到 ~/.hermes/skills/ 下
git clone https://github.com/bobby1129/stock-analysis-pro.git ~/.hermes/skills/stock-analysis-pro
cd ~/.hermes/skills/stock-analysis-pro
# 2. 安装依赖
pip install -r requirements.txt
# 3. 安装 Playwright 浏览器 (用于东财F10/股吧/研报采集, 概念板块用HTTP API不需要)
playwright install chromium
# 4. 配置
cp config/config.example.yaml config/config.yaml
# 编辑 config.yaml,填入东财 Cookie (见下方说明)
# 如有代理需求,配置 proxy.https 或设置 HTTPS_PROXY 环境变量
Cookie 获取步骤:
- 浏览器打开 https://quote.eastmoney.com/bk/
- F12 → Network → 刷新页面
- 找到
push2.eastmoney.com请求 - 复制 Request Headers 中的 Cookie 值
⚠️ Cookie 有效期 1-7 天,过期后概念板块功能降级为离线缓存模式。
验证安装
# 1. 验证基本功能(不需要Cookie)
python core/cli.py analyze 600519 --brief
# 预期输出:贵州茅台 实时价格 + PE/PB/市值
# 2. 验证概念板块(需要有效Cookie)
python core/cli.py concept
# 预期输出:Top10概念列表 + 成分股分析
# 如果提示Cookie过期,按提示重新获取
# 3. 验证HTML报告
python core/cli.py analyze 600519 --html
# 预期输出:output/stock_600519.html 生成
如果第1步就失败,检查:
playwright install chromium是否执行成功pip install -r requirements.txt是否完整config/config.yaml是否存在(从config.example.yaml复制)
命令参考
所有命令在项目根目录下执行:
# ── 每日复盘 ──
python core/cli.py review # 文本输出
python core/cli.py review --html # HTML 报告(推荐,微信/浏览器查看)
# ── ETF 期权扫描 ──
python core/cli.py options # 全合约扫描(卖方+买方机会)
python core/cli.py options --top 10 # 取前10个
python core/cli.py options --symbol 510050 # 指定标的(默认自动检测)
# ── 持仓管理 ──
python core/cli.py portfolio # 查看持仓(默认list)
python core/cli.py portfolio --action list # 查看持仓
python core/cli.py portfolio --action add --code 603893 --name 瑞芯微
python core/cli.py portfolio --action rm --code 603893
python core/cli.py portfolio --action update --code 603893 --cost 120 --shares 100
# ── 个股分析 ──
python core/cli.py analyze 600519 # 全维度分析 (文本)
python core/cli.py analyze 600519 --html # HTML 报告
python core/cli.py analyze 600519 --json # JSON 输出
python core/cli.py analyze 600519 --brief # 简要模式
# ── 概念板块扫描 ──
python core/cli.py concept # 资金流入 Top10
python core/cli.py concept --html # HTML 报告
# ── 宏观市场概览 ──
python core/cli.py market # 文本输出
python core/cli.py market --html # HTML 报告
# ── 自选股 ──
python core/cli.py add 600519 # 加入自选
python core/cli.py rm 600519 # 移除
python core/cli.py list # 查看列表
python core/cli.py analyze-all # 批量分析自选股
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago Changed ccfba65c2c26
- 10d ago First seen · 248 lines · 37 tokens per session scan A 6ca611892fde
chinese-stock-analysis is a skill published in the GitHub repository bobby1129/stock-analysis-pro (23 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 2,814 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.
trading-risk-gate
Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.
furusato
A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.