stock-advisor

stock-advisor is a skill for Claude Code, Codex from isjiamu/jiamu-skills. It costs 97 tokens per session (2,373 once invoked), scanned A, original, MIT.

An automated analysis workflow for mainland Chinese stocks, using a stock code, name, chart image, or financial-report screenshot. It combines technical indicators, company fundamentals, cross-checking, and a structured discussion into an investment report.

In plain words
What is it for?
It is for reviewing A-share stocks with indicators such as moving averages, MACD, KDJ, RSI, and Bollinger Bands, alongside fundamental analysis and a final investment assessment.
Why use it?
It organises several kinds of stock research into one process instead of requiring separate manual analyses.

Skill for Claude CodeCodex

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

Good fit It is for reviewing A-share stocks with indicators such as moving averages, MACD, KDJ, RSI, and Bollinger Bands, alongside fundamental analysis and a final investment assessment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/isjiamu/jiamu-skills/stock-advisor
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 isjiamu/jiamu-skills --skill stock-advisor
Clone the repo
git clone --depth 1 https://github.com/isjiamu/jiamu-skills

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 stock-advisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/isjiamu/jiamu-skills/stock-advisor/github.svg)](https://agentmods.dev/skills/isjiamu/jiamu-skills/stock-advisor)
Your own site
<a href="https://agentmods.dev/skills/isjiamu/jiamu-skills/stock-advisor"><img src="https://agentmods.dev/badge/skills/isjiamu/jiamu-skills/stock-advisor/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 stock-advisor

Your own site · 80×15
<a href="https://agentmods.dev/skills/isjiamu/jiamu-skills/stock-advisor"><img src="https://agentmods.dev/badge/skills/isjiamu/jiamu-skills/stock-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,373 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00097 $0.02373
Opus 5 $0.00048 $0.01187
Sonnet 5 $0.00019 $0.00475
Haiku 4.5 $0.00010 $0.00237

Measured 12d ago against content hash 83e2bccc4e58, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

stock-advisor 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 12d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/fetch_market_data.py, scripts/fundamental_analysis.py, scripts/html_to_pdf.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.

stock-advisor/SKILL.md · 265 lines

How it starts

The opening of the file, as written. The whole thing — 265 lines — stays where its author put it; the contents beside it link to each section on GitHub.

A股投资顾问 (Stock Advisor)

全自动编排型投资分析流水线。用户只需提供股票截图或代码,系统自动完成技术面分析、基本面分析、多维交叉验证、私董会决策讨论,最终输出精美排版的投资报告。

流水线架构

用户输入(截图 / 股票代码)
        │
        ▼
  ① 技术面分析 → ② 基本面分析 → ③ 多维交叉验证 → ④ 私董会讨论 → ⑤ 排版输出

启动流程

首次使用:投资风格档案

检查 memory 中是否存在用户投资风格档案。如不存在,提 3-4 个简短问题:

  1. 风险偏好:保守 / 稳健 / 激进?
  2. 投资周期:短线(1-2周)/ 中线(1-3月)/ 长线(3月以上)?
  3. 关注行业:有没有特别关注的行业板块?
  4. 仓位上限:单只股票最大仓位占比?

用户可选择跳过,后续在私董会环节自然补充。收集到的信息保存到 memory。

识别入口模式

根据用户输入自动判断:

  • 截图模式:用户上传了图片(K线图、财报截图)→ 图像识别 + AKShare 交叉验证
  • 代码模式:用户提供了股票代码或名称 → 纯 AKShare 数据驱动

两种模式均进入同一流水线,差异仅在数据获取方式。


模块一:技术面分析

截图模式

  1. 图像识别:从 K 线图中提取:

    • 股票名称和代码
    • 当前股价
    • K 线形态(近 5 日表现)
    • 均线排列状态(MA5/MA10/MA20)
    • MACD 状态(DIF/DEA 位置关系、柱状图趋势)
  2. AKShare 交叉验证:用识别出的股票代码调用脚本获取精确数据

    python scripts/technical_analysis.py --symbol <股票代码> --days 120
    
  3. 冲突处理:若图像识别与 API 数据有差异,以 API 数据为准,在报告中标注差异

代码模式

直接调用脚本获取数据并计算指标:

python scripts/technical_analysis.py --symbol <股票代码> --days 120

输出:技术面速读表格

维度 指标 数值 信号
趋势 MA20/MA60 上升/震荡/下降
MACD DIF/DEA 金叉/死叉/多头/空头
KDJ K/D/J 超买/超卖/中性
RSI RSI14 超买/超卖/中性
布林带 上轨/中轨/下轨 突破/偏多/偏空
支撑压力 支撑位/压力位

模块二:基本面分析

截图模式

  1. 图像识别:从财报截图提取关键指标(营收、净利润、ROE、毛利率等)
  2. AKShare 补充:拉取 PE/PB/PS 估值数据、行业对比数据
    python scripts/fundamental_analysis.py --symbol <股票代码>
    

代码模式

直接调用脚本:

python scripts/fundamental_analysis.py --symbol <股票代码>

合并输出

综合评级表格:

维度 评分 判断
技术面 X/5 趋势方向 + 关键信号
基本面 X/5 盈利能力 + 估值水平
资金面 X/5 成交量变化趋势
综合评级 强烈推荐/推荐/中性/谨慎/回避

操作建议:

  • 短期(1-2周)策略
  • 中期(1-3月)策略
  • 关键支撑位和压力位

模块三:多维交叉验证

使用内置 WebSearch 工具搜索以下信息:

  1. 研报观点:搜索 "<股票名称> 研报 <当前年份>" 获取机构评级和目标价
  2. 行业动态:搜索 "<所属行业> 行业趋势 <当前年份>" 了解上下游变化
  3. 重大新闻:搜索 "<股票名称> 最新消息" 排查重大利好/利空事件
  4. 政策影响:搜索相关产业政策、监管动态

交叉验证逻辑

Read the full file on GitHub · 265 lines

Files

What ships with it

7 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. 12d ago First seen · 265 lines · 97 tokens per session scan A 83e2bccc4e58

Subscribe to this mod's changes

stock-advisor is a skill published in the GitHub repository isjiamu/jiamu-skills (134 stars, last pushed 2mo ago), licensed MIT. It adds 97 tokens to every session and 2,373 once invoked, about $0.0005 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

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

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens