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,814 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,814 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.02814
Opus 5 $0.00018 $0.01407
Sonnet 5 $0.00007 $0.00563
Haiku 4.5 $0.00004 $0.00281

Measured 5d ago against content hash ccfba65c2c26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 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.

SKILL.md · 248 lines

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 获取步骤

  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 · 248 lines

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. 5d ago Changed ccfba65c2c26
  2. 10d 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 (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.

Related

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.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

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…

himself65/finance-skills · 161 tokens

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.

questflowai/investorskills · 44 tokens

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.

winstonkoh87/Athena-Public · 53 tokens

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.

kazukinagata/shinkoku · 102 tokens