chinese-stock-analysis

chinese-stock-analysis is a skill for Claude Code, Codex from bobby1129/stock-analysis-pro. It costs 37 tokens per session (2,870 once invoked), scanned A, original, MIT.

A tool for analysing Chinese mainland stocks, market sectors, the wider economy, daily market activity, and ETF options. ETFs are funds traded like shares, and options are contracts linked to an asset's price.

In plain words
What is it for?
Analysing individual stocks, scanning concept sectors, reviewing the broader market, producing daily reviews, scanning ETF options, and generating HTML reports.
Why use it?
It brings several types of market research into one workflow, while noting that some sector data depends on a current Eastmoney cookie and may fall back to stored data when it expires.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Analysing individual stocks, scanning concept sectors, reviewing the broader market, producing daily reviews, scanning ETF options, and generating HTML reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bobby1129/stock-analysis-pro/stock-analysis-pro
Install

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.

Any agent
npx skills add bobby1129/stock-analysis-pro --skill stock-analysis-pro
Clone the repo
git clone --depth 1 https://github.com/bobby1129/stock-analysis-pro

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for chinese-stock-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/bobby1129/stock-analysis-pro/stock-analysis-pro/github.svg)](https://agentmods.dev/skills/bobby1129/stock-analysis-pro/stock-analysis-pro)
Your own site
<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.

agentmods 80×15 button for chinese-stock-analysis

Your own site · 80×15
<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>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,870 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.02870
Opus 5.5 $0.00015 $0.01148
Sonnet 5.5 $0.00007 $0.00574
Haiku 4.5 $0.00004 $0.00287

Measured 1mo ago against content hash 303acf54df1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo ago.

The scan reads SKILL.md. This mod also ships 34 executable files (scripts/build_ths_885_mapping.py, scripts/build_ths_industry_mapping.py, scripts/check_concept_mapping.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

SKILL.md · 249 lines

How it starts

The opening of the file, as written. The whole thing — 249 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 获取步骤:

  1. 浏览器打开 https://quote.eastmoney.com/bk/
  2. F12 → Network → 刷新页面
  3. 找到 push2.eastmoney.com 请求
  4. 复制 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             # 批量分析自选股

Read the full file on GitHub · 249 lines

Files

What ships with it

54 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 1mo ago Changed · +1 lines 303acf54df1b
  2. 1mo ago Changed 946f513ab57e
  3. 2mo ago Changed ccfba65c2c26
  4. 2mo ago First seen · 248 lines · 37 tokens per session scan A 6ca611892fde

Subscribe to this mod's changes

chinese-stock-analysis is a skill published in the GitHub repository bobby1129/stock-analysis-pro (25 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 2,870 once invoked, about $0.0001 per session on Opus 5.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.

Related

chinese-stock-analysis compared with skills from other repositories

chinese-stock-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chinese-stock-analysisbobby1129/stock-analysis-proSkill25yesterdayMITA37Claude Code, Codex
sector-rotationHKUDS/Vibe-TradingSkill38kyesterdayMITA39Claude Code, Codex
twitter-readerhimself65/finance-skillsSkill3.5k2d agoMITA110Claude Code
strategy-pivot-designertradermonty/claude-trading-skillsSkill3.7k2d agoMITA28Claude Code, Codex
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.5kyesterdayApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill269yesterdayApache-2.0A54Claude Code, Codex
multi-expert-analyzerdigoal/blogSkill8.6k2d agoGPL-2.0A292Codex