stock-analyzer

stock-analyzer is a skill for Claude Code, Codex from Haochenhust/ch-skills. It costs 83 tokens per session (1,496 once invoked), scanned A, original, MIT.

A stock research workflow for examining one company across its business, finances, valuation, future events and risks, then writing a buy, sell or hold view.

In plain words
What is it for?
Use it for deep analysis of a specific stock, updating an existing investment note, or investigating a stock that came up during research.
Why use it?
It organizes scattered stock information into one consistent research note, making the reasoning easier to review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it for deep analysis of a specific stock, updating an existing investment note, or investigating a stock that came up during research.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/haochenhust/ch-skills/stock-analyzer"><img src="https://agentmods.dev/badge/skills/haochenhust/ch-skills/stock-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,496 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.00083 $0.01496
Opus 5.5 $0.00033 $0.00598
Sonnet 5.5 $0.00017 $0.00299
Haiku 4.5 $0.00008 $0.00150

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

Security

Grade A, and why

stock-analyzer 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 2mo 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.

skills/stock-analyzer/SKILL.md · 168 lines

How it starts

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

Stock Analyzer

Standardized deep-dive analysis for individual stocks, producing a structured research note.

When to Use

  • User asks to analyze a specific stock
  • A research task identifies a potential trading candidate
  • Updating analysis for a stock already in your research notes

Prerequisites

Data commands below use the sibling tushare-data and stock-market-data skills. Install them, then set once per shell:

export TUSHARE_TOKEN=<your Tushare Pro token>    # never hard-code; see the tushare-data skill
PY=python3                                       # a python3 with tushare/pandas/akshare (e.g. stock-market-data/.venv/bin/python3)
SKILLS=~/.claude/skills                          # where you installed these skills
TS=$SKILLS/tushare-data/scripts/fetch_tushare.py
AK=$SKILLS/stock-market-data/scripts

Analysis Workflow

Step 1: Gather Data

# Primary: Tushare Pro (richer, more stable)
$PY $TS --mode fina_indicator --symbols {CODE}.SZ
$PY $TS --mode daily_basic --symbols {CODE}.SZ --start 20260101
$PY $TS --mode income --symbols {CODE}.SZ
$PY $TS --mode forecast --symbols {CODE}.SZ
$PY $TS --mode top10_holders --symbols {CODE}.SZ
$PY $TS --mode daily --symbols {CODE}.SZ --start {3_MONTHS_AGO}
$PY $TS --mode adj_factor --symbols {CODE}.SZ --start {3_MONTHS_AGO}

# Fallback: AKShare
$PY $AK/fetch_financial_data.py --mode stock --symbols {CODE}

Step 2: Web Research

Search for recent news, analyst reports, and industry developments:

  • Use WebSearch for "{stock name} 券商研报 一致预期" (analyst consensus, earnings forecasts)
  • Use WebSearch for "{stock name} 最新研报 2026"
  • Use WebSearch for "{stock name} {industry keyword} 进展"
  • Check Xueqiu/Eastmoney for recent discussions

Step 2.5: Price & Volume Analysis (近3个月日K)

Using the daily OHLCV + adj_factor data from Step 1:

  • 走势形态: 上升趋势/下降趋势/震荡盘整?近3个月涨跌幅?
  • 均线位置: 当前价格相对5/10/20/60日均线的位置
  • 量价关系: 近期量能变化趋势(放量上涨?缩量回调?)
  • 关键价位: 近3个月高点/低点,支撑位/阻力位
  • 波动率: 近期日均振幅,判断当前波动是否正常

Read the full file on GitHub · 168 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. 2mo ago First seen · 168 lines · 83 tokens per session scan A e6481d060640

Subscribe to this mod's changes

stock-analyzer is a skill published in the GitHub repository Haochenhust/ch-skills (9 stars, last pushed 3mo ago), licensed MIT. It adds 83 tokens to every session and 1,496 once invoked, about $0.0003 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-31.

Related

stock-analyzer compared with skills from other repositories

stock-analyzer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stock-analyzerHaochenhust/ch-skillsSkill93mo agoMITA83Claude Code, Codex
rugpull-detectorDjordjeMojsilovic/Djordjes-Claude-SetupSkill43mo agononeA205Claude Code, Codex
ma-playbookalirezarezvani/claude-skillsSkill29kyesterdayMITA29Claude Code
fiscalisteromainsimon/paperasseSkill2.6kyesterdayMITA320Claude Code, Codex
comptableromainsimon/paperasseSkill2.6kyesterdayMITA153Claude Code, Codex
syndicromainsimon/paperasseSkill2.6kyesterdayMITA204Claude Code, Codex
prompt-masternidhinjs/prompt-masterSkill16k15d agoMITB78Claude Code, Codex