global-stock-data

global-stock-data is a skill for Claude Code, Codex from spy007111/Vibe-Research. It costs 183 tokens per session (15,782 once invoked), scanned A, original, MIT.

A Python toolkit for collecting and analysing United States and Hong Kong stock data. It covers prices, historical charts, common indicators, company financial statements, money flows, options, SEC filings, news, and stock searches.

In plain words
What is it for?
Use it to inspect individual stocks, screen markets, review financial reports, calculate moving averages or RSI, track money flows, examine US options, and find US SEC filings.
Why use it?
It brings data from several public sources into one self-contained reference, so stock research does not require assembling separate requests and calculations by hand.

Skill for Claude CodeCodex

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

Good fit Use it to inspect individual stocks, screen markets, review financial reports, calculate moving averages or RSI, track money flows, examine US options, and find US SEC filings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spy007111/vibe-research/global-stock-data
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 spy007111/Vibe-Research --skill global-stock-data
Clone the repo
git clone --depth 1 https://github.com/spy007111/Vibe-Research

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 global-stock-data

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/spy007111/vibe-research/global-stock-data"><img src="https://agentmods.dev/badge/skills/spy007111/vibe-research/global-stock-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 15,782 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00183 $0.15782
Opus 5 $0.00092 $0.07891
Sonnet 5 $0.00037 $0.03156
Haiku 4.5 $0.00018 $0.01578

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

Security

Grade A, and why

global-stock-data scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

r = requests.get(DATACENTER_URL, params=params, headers={"User-Agent": UA}, timeout=15)
global-stock-data/SKILL.md · 1,438 lines

How it starts

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

📦 项目主页:https://github.com/simonlin1212/global-stock-data — 更新、反馈、支持作者

作者:Simon 林 · 抖音「Simon林」· 公众号「硅基世纪」

美股港股全栈数据工具包 V1.0.1

八层数据架构,18 个端点,5 个数据源,全部零鉴权,实测可用(2026-05-20 验证)。

使用方式: 将本文件放入 ~/.claude/skills/global-stock-data/SKILL.md,Claude Code 会自动识别并在美股/港股相关对话中激活。

行情层(实时/延时)
├── 新浪财经     → 美股 gb_XXXX 36字段 / 港股 rt_hkXXXXX 25字段
├── 腾讯财经     → 美股 usXXXX 71字段 / 港股 r_hkXXXXX 78字段
└── 东财 push2   → 美股/港股 secid 实时行情,含中文名/涨跌幅/换手率

K线层(日/周/月/分钟)
├── 新浪          → 美股日K (回溯至1984年)
└── Yahoo chart   → 美股+港股 (v8 API, 零crumb)

技术指标层(纯计算,零额外依赖)
└── MA/EMA + MACD + RSI + KDJ + 布林带    基于K线OHLCV,纯Python计算

基本面层
├── 东财 datacenter → 美股/港股三表(资产负债+利润+现金流) + GMAININDICATOR(关键指标)
├── Yahoo crumb     → 23个模块(财务数据+关键指标+分析师+机构持仓)
└── SEC EDGAR XBRL  → 美股503个GAAP指标 (仅美股)

资金面层
└── 东财 push2his → 日级资金流(主力/大单/中单/小单) 美股+港股

期权层(仅美股)
└── Yahoo crumb → 期权链(calls+puts, 所有到期日) 仅美股(港股期权不在Yahoo覆盖范围)

SEC Filing层(仅美股)
├── EDGAR submissions → 10-K/10-Q/8-K 完整Filing列表
└── EDGAR XBRL        → 结构化财务指标(营收/净利/EPS等)

工具层
├── 东财 search    → 股票搜索(中英文, 含市场代码映射)
├── 东财 push2     → 全市场股票列表(涨跌幅/成交量排名, 美股5925只+港股18000+只)
├── Yahoo search   → 新闻资讯(按股票代码)
└── SEC CIK mapping → ticker↔CIK 映射 (仅美股)

When to Activate

  • 用户要查美股/港股行情(价格/涨跌幅/成交量)
  • 用户要拉 K 线(日线/周线/月线/分钟线)
  • 用户要看财报(资产负债表/利润表/现金流量表)
  • 用户要看关键财务指标(PE/PB/ROE/利润率/目标价)
  • 用户要看分析师预期(EPS预测/评级/目标价区间)
  • 用户要看机构持仓(前十大机构/持股比例)
  • 用户要看资金流向(主力/大单/中单/小单净流入)
  • 用户要查期权链(calls/puts/到期日/Greeks)
  • 用户要查 SEC Filing(10-K/10-Q/8-K/年报/季报)
  • 用户要做美股财报量化分析(从 XBRL 拉多年营收/净利/EPS 趋势)
  • 用户要搜索股票(中英文均可)
  • 用户要看美股/港股新闻
  • 用户要看全市场涨跌幅排名(当日涨幅/跌幅最大的股票)
  • 用户要做全市场筛选(遍历美股/港股列表做初筛)
  • 用户要看关键财务指标概览(营收/净利/EPS/ROE/ROA/资产负债率 中文版)
  • 用户要看技术指标(MACD/RSI/KDJ/布林带/均线)
  • 用户要判断金叉死叉/超买超卖/变盘信号
  • 关键词:美股、港股、AAPL、苹果、腾讯、00700、TSLA、特斯拉、BABA、阿里巴巴、行情、K线、财报、PE、PB、ROE、分析师、目标价、期权、call、put、SEC、10-K、年报、季报、资金流、主力、机构持仓、新闻、涨幅排名、全市场、筛选、关键指标、MACD、RSI、KDJ、布林带、均线、金叉、死叉、超买、超卖、技术分析

Prerequisites

pip install requests
依赖 版本要求 用途
requests any 所有 HTTP API 直连

Read the full file on GitHub · 1,438 lines

Files

What ships with it

6 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. 11d ago First seen · 1,438 lines · 183 tokens per session scan A 39005851f179

Subscribe to this mod's changes

global-stock-data is a skill published in the GitHub repository spy007111/Vibe-Research (5 stars, last pushed 1mo ago), licensed MIT. It adds 183 tokens to every session and 15,782 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

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