分析上市公司财报(美/日/港/A股),生成估值分析和投资报告
Stock Master
分析全球上市公司财报,生成结构化报告。
触发条件
当用户请求以下内容时使用此 Skill:
支持市场
| 市场 | 代码格式 | 示例 |
|---|---|---|
| 美股 | SYMBOL |
AAPL, MSFT, GOOGL |
| 日股 | CODE.T |
7203.T (丰田) |
| A股 | CODE.SH/SZ |
600519.SH (茅台) |
| 港股 | CODE.HK |
0700.HK (腾讯) |
执行流程
1. 环境检查(首次)
cd "$SKILL_DIR"
if [ ! -d "scripts/.venv" ]; then
python3 -m venv scripts/.venv
scripts/.venv/bin/pip install -r scripts/requirements.txt
fi
2. 运行分析
cd "$SKILL_DIR"
scripts/.venv/bin/python scripts/run_report.py --symbol <SYMBOL> --output output
3. 读取并呈现结果
分析完成后,读取生成的报告文件并向用户呈现关键信息:
cat output/<SYMBOL>_report.md
参数说明
| 参数 | 说明 | 默认值 |
|---|---|---|
--symbol |
股票代码 | 必填 |
--years |
财报年数 | 1 |
--output |
输出目录 | output |
--refresh |
强制刷新缓存 | false |
输出文件
每个公司的文件放在独立文件夹中:output/<SYMBOL>_<MARKET>/
output/
└── AAPL_US/ # 公司文件夹(代码_市场)
├── report.md # 主报告(呈现给用户)
├── data.json # 原始数据
├── analysis.json # 分析结果
├── valuation.json # 估值数据
└── analyst.json # 分析师预期
呈现指南
向用户呈现结果时:
- 先展示公司基本信息和最新股价
- 重点呈现估值分析(P/E 分位数、与同行对比)
- 展示关键财务指标趋势
- 最后给出投资建议摘要
常见问题
| 问题 | 解决方案 |
|---|---|
| A股数据获取失败 | 检查网络,akshare 需要访问国内数据源 |
| 缓存数据过旧 | 使用 --refresh 强制刷新 |
注意事项
- 数据缓存 24 小时,使用
--refresh强制更新 - 本 Skill 仅提供分析参考,不构成投资建议
- A股使用 AkShare,其他市场使用 yfinance
You Might Also Like
Related Skills

summarize
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
openclaw
prompt-lookup
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
f
skill-lookup
Activates when the user asks about Agent Skills, wants to find reusable AI capabilities, needs to install skills, or mentions skills for Claude. Use for discovering, retrieving, and installing skills.
f
seo-review
Perform a focused SEO audit on JavaScript concept pages to maximize search visibility, featured snippet optimization, and ranking potential
leonardomso

