Stock Research Skill — Data skill for Claude Code
A股个股投研 Agent Skill:数据工具层(baostock/akshare 多源取数+降级)+ 评估流水线方法论框架 A-share stock research Agent Skill with data layer and evaluation pipeline.
How to install Stock Research Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kyrenbo/stock-research-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Stock Research Skill does
A股个股投研 Agent Skill:数据工具层(baostock/akshare 多源取数+降级)+ 评估流水线方法论框架 A-share stock research Agent Skill with data layer and evaluation pipeline.
Alternatives in Data
- A Stock Data — A股全栈数据工具包 · 十一层架构 · 54端点 · 19数据源 · 零鉴权 Full-stack China A-share data toolkit for AI agents — 11 layers, 54 end 9.4k ★
- Ars Full — ARS full pipeline — research → write → review → revise → finalize 4.5k ★
- Global Stock Data — US stock market data for AI coding assistants — zero-auth, official sources 1.5k ★
README
📈 stock-research-skill
[](https://github.com/kyrenbo/stock-research-skill/actions/workflows/ci.yml)   
**A股个股投研 Agent Skill:数据工具层 + 方法论框架层**
An [Agent Skill](https://agent-skills.dev) for A-share stock research — "run the data first, judge later" evaluation pipeline with a multi-source real-time data layer.
[核心特性](#-核心特性) · [快速开始](#-快速开始) · [评估流水线](#-评估流水线) · [English](#english)
✨ 核心特性
- 数据纪律优先:强制"先跑数据命令,再下判断"——WebSearch 只许搜事实(公告/日期/行业数据),严禁搜"怎么看/还能涨吗"这类分析结论
- 多源实时取数:1018 行纯 Python 数据层——baostock 主源(不限流)+ akshare 补充(令牌桶限流 + 指数退避重试),标准 schema、三级降级、绝不中断
- 评估流水线:轻档 9 步(15-25min)→ 深档追加 6 块(
--depth deep)→ 短线三信号视角(--mode short) - 市场阶段总开关:宏观先定仓位和模式,趋势不明宁可空仓——个股再好也要看天
- 选股第一性原理:稀缺性 > 全球生意 > 想象空间 > 当期财务数据的三层漏斗
- 模型无关:数据层是纯 Python,任何 Agent 框架(Claude Code / 其他支持 SKILL.md 的环境)均可直接使用
🚀 快速开始
安装为 Agent Skill
# 拷贝到项目的 skills 目录(或全局 ~/.claude/skills/)
git clone https://github.com/kyrenbo/stock-research-skill.git
cp -r stock-research-skill /path/to/your-project/.claude/skills/stock-research
# 安装数据源依赖
pip install baostock akshare pandas
之后对 Agent 说"分析 600519" / "这几个股怎么样" / "深度尽调XX" 即自动触发。
数据层独立使用(不需要 Agent)
python data/data_fetch.py valuation sh.600519 # PE/PB/PS + 历史分位
python data/data_fetch.py technical sh.600519 # MA/RSI/MACD/布林
python data/data_fetch.py profitcast sh.600519 # 机构一致预期
python data/data_fetch.py reports sh.600519 # 研报覆盖度/评级分布
python data/data_fetch.py selftest sh.600519 # 一键自测全部命令
完整命令清单与各数据源实测状态见 [data/data_sources.md](data/data_sources.md)。
🔬 评估流水线
| 模式 | 耗时 | 内容 |
|---|---|---|
| 轻档(默认) | 15-25min | 画像 → 行业景气 → 龙头对比 → 护城河/稀缺性 → 估值+PEG+盈利质量 → 资金面 → 技术面 → 择时仓位 |
Related Skills
Idea Evaluation Pipeline
8-step pipeline for evaluating PhD research ideas to top-3 finance journal quality. Works with any AI coding a
Crucible
Multi-agent adversarial research swarm. LLM agents compete to optimize ML artifacts -- and both independently
Keep Warm Skill
A Claude Code skill that keeps your sales pipeline warm: fresh research per contact, contextual no-ask share n
AlphaAnalyst Open Source Autonomous Equity Research Agent
Enter a US stock ticker, get an analyst grade memo with DCF valuation, peer comparables, news sentiment, and e
Invest Committee
Institutional-grade six-stage stock research pipeline for retail investors, as a Claude Code Agent Skill. Taiw
Xvary Stock Research
Claude Code skill for public SEC EDGAR + market data: /analyze, /score, /compare. MIT.
Related Agents
Pipeline Risk Reviewer
Read-only review of a sub-spec's complete change for silent ML and data-pipeline correctness bugs — leakage, b
Analysis Worker
Use this agent for pattern recognition, data analysis, insight extraction, and strategic evaluation. This work
Ripperdoc
Research supervisor. Reviews, questions and sanity-checks a research result, data analysis, model evaluation,