stock_analysis

stock_analysis is a skill for Claude Code, Codex from ssmurfgg04-gif/context-m. It costs 168 tokens per session (1,518 once invoked), scanned A, original, Apache-2.0.

A stock-analysis tool for companies listed in China, Hong Kong, and the United States. It examines market data, company fundamentals, price charts, dividends, sentiment, and rumors.

In plain words
What is it for?
Reviewing stocks by ticker, comparing dividend shares, analyzing chart images, scanning market rumors, and monitoring watchlists.
Why use it?
It brings several parts of investment research into one stock report, including analysis based on an existing position. It can also track watchlists, targets, and stop-loss levels.

Skill for Claude CodeCodex

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

Good fit Reviewing stocks by ticker, comparing dividend shares, analyzing chart images, scanning market rumors, and monitoring watchlists.

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

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_analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/stock-analysis-skill/github.svg)](https://agentmods.dev/skills/ssmurfgg04-gif/context-m/stock-analysis-skill)
Your own site
<a href="https://agentmods.dev/skills/ssmurfgg04-gif/context-m/stock-analysis-skill"><img src="https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/stock-analysis-skill/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_analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/ssmurfgg04-gif/context-m/stock-analysis-skill"><img src="https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/stock-analysis-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,518 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.00168 $0.01518
Opus 5 $0.00084 $0.00759
Sonnet 5 $0.00034 $0.00304
Haiku 4.5 $0.00017 $0.00152

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

Security

Grade A, and why

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 9d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (src/analyzer.ts, src/dataFetcher.ts, src/dividend.ts, …), 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.

skills/stock-analysis-skill/SKILL.md · 157 lines

How it starts

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

Stock Analysis Skill

依赖平台 Skills

  • finance skill — 所有市场数据(A股/港股/美股统一)
  • pdf skill — PDF 研报生成
  • docx skill — Word 文档生成
  • vlm skill(内置)— K线图形态识别

Commands & Triggers

命令 触发词示例
个股分析 分析600519 / AAPL值不值得买 / 帮我看看腾讯
带持仓分析 我持仓成本1450分析茅台 / AAPL我170买的现在怎样
股息分析 JNJ股息怎么样 / 帮我分析这几只股的股息 KO PG JNJ
传闻扫描 今日有什么并购传闻 / 扫描一下市场早期信号
添加自选股 关注AAPL / 把600519加入自选,目标价1600止损1350
查看自选股 我的自选股列表 / 看一下我关注的股票
检查提醒 检查自选股提醒 / 有没有触发止损
删除自选股 从自选股删除TSLA
K线图分析 (上传图片)帮我分析这个K线图
大盘复盘 附带大盘复盘分析600519

Input Schemas

个股分析

{
  stocks: (string | { code: string; position?: { status: "empty"|"holding"; cost?: number; shares?: number } })[],
  outputFormat?: "markdown" | "pdf" | "word",  // 默认 markdown
  mode?: "full" | "quote",                      // 默认 full
  includeMarketReview?: boolean,                // 默认 false
  includeGlobalMacro?: boolean,                 // 默认 true
  includeDividend?: boolean,                    // 美股附加股息分析,默认 false
}

股息分析

runDividend(tickers: string | string[])

传闻扫描

runRumorScan()  // 无需参数,自动扫描今日信号

自选股管理

runWatchlistAdd(ticker, { targetPrice?, stopPrice?, alertOnSignal?, notes? })
runWatchlistRemove(ticker)
runWatchlistList()
runWatchlistCheck()  // 检查是否触发价格/信号提醒

Report Structure

# 股票智能分析报告

## 🌍 全球宏观速览(默认开启)
## 🎯 大盘复盘(需开启)
## 📊 个股决策仪表盘(每只)
   ### 📰 重要信息速览(舆情/业绩预期/🚨风险/✨利好/最新动态)
   ### 📌 核心结论(结论/一句话/空仓者建议/持仓者建议+盈亏)
   ### 📈 当日行情
   ### 📊 数据透视(技术面/基本面/资金面)
   ### 🎯 作战计划(狙击点位表/仓位/风控)
   ### ✅ 检查清单(综合结论)
   ### 💰 股息分析(美股,需开启 includeDividend)

Dividend Analysis Metrics

指标 说明
安全评分 0-100,综合派息率/增长/连续年数
收入评级 excellent/good/moderate/poor
派息率状态 safe(<40%)/moderate/high/unsustainable
5年CAGR 股息复合增长率
连续增长年数 25年以上为股息贵族

Rumor Scanner Signal Types

类型 冲击分 说明
并购传闻 (ma) +5 M&A/收购/要约
内部人动态 (insider) +4 CEO/董事买卖
分析师调整 (analyst) +3 评级上调/下调/目标价变动
监管动态 (regulatory) +3 SEC调查/合规风险
业绩预期 (earnings) +2 盈利预警/上调

Read the full file on GitHub · 157 lines

Files

What ships with it

9 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. 9d ago First seen · 157 lines · 168 tokens per session scan A a7b8d4ff7c6b

Subscribe to this mod's changes

stock_analysis is a skill published in the GitHub repository ssmurfgg04-gif/context-m (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 168 tokens to every session and 1,518 once invoked, about $0.0008 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-09-03.

Related

Other skills, from other repositories