自动抓取 A 股市场数据,生成日报。
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiona-stock-daily-reportExecute the skills CLI command in your project's root directory to begin installation:
Fetches a-stock-daily-report from zsxink/skills-hub and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate a-stock-daily-report. Access via /a-stock-daily-report in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
4
total installs
4
this week
2
GitHub stars
0
upvotes
Run in your terminal
4
installs
4
this week
2
stars
自动抓取 A 股市场数据,生成日报。
用户可以通过以下关键词触发此技能:
node scripts/a-stock-report.js
直接运行即可生成 A股日报报告(格式化输出)。
node scripts/a-stock-report.js json
获取 JSON 格式的数据,便于程序处理。
{
"sh_index": "3250.45", // 上证指数收盘点位
"sh_index_change": "+1.25%", // 上证指数涨跌幅
"sz_index": "10890.32", // 深证成指收盘点位
"sz_index_change": "-0.35%", // 深证成指涨跌幅
"cy_index": "2150.18", // 创业板指收盘点位
"cy_index_change": "+0.82%", // 创业板指涨跌幅
"kc_index": "850.76", // 科创板指收盘点位
"kc_index_change": "-1.12%", // 科创板指涨跌幅
"market_sentiment": "偏多", // 市场情绪(偏多/偏空/中性)
"hot_boards": [ // 热门板块(涨幅前5)
{
"name": "人工智能", // 板块名称
"change": "+5.23%", // 涨跌幅
"leader": "--", // 领涨股(当前为占位)
"reason": "资金关注" // 热门理由
}
],
"focus_boards": [ // 明日关注板块
{
"name": "人工智能", // 板块名称
"reason": "资金持续流入", // 关注理由
"technical": "趋势向好", // 技术面分析
"suggestion": "逢低关注" // 操作建议
}
],
"risk_boards": [ // 风险板块(跌幅前3)
{
"name": "房地产", // 板块名称
"reason": "资金流出", // 风险理由
"suggestion": "谨慎参与" // 操作建议
}
],
"north_money": "--", // 北向资金净流入(暂不可用)
"main_inflow": "人工智能、半导体、新能源", // 主力流入方向(热门板块前3)
"margin_balance": "--", // 融资余额(暂不可用)
"board_failed": false, // 板块数据是否获取失败
"index_failed": [], // 获取失败的指数列表(如指数获取失败则显示名称)
"index_success": ["上证指数", "深证成指", "创业板指", "科创板指"], // 成功获取的指数列表
"strategy": "1. **仓位控制**:建议维持6-7成仓位\n2. **关注方向**:今日热点板块的持续性\n3. **风险控制**:设置止损位,避免追高\n4. **操作节奏**:低吸高抛,不追涨杀跌" // 操作策略
}
字段说明:
*_index, *_index_change):获取失败时值为 "--"board_failed:板块数据是否获取失败(true/false)index_failed:获取失败的指数名称数组,空数组表示全部成功index_success:成功获取的指数名称数组north_money、margin_balance:暂不可用数据,固定为 "--"# Linux/Mac
mkdir -p ~/documents/reports/a-stock-daily-report
node scripts/a-stock-report.js > ~/documents/reports/a-stock-daily-report/report_$(date +%Y%m%d).md
# Windows
if not exist %USERPROFILE%\documents\reports\a-stock-daily-report mkdir %USERPROFILE%\documents\reports\a-stock-daily-report
node scripts/a-stock-report.js > %USERPROFILE%\documents\reports\a-stock-daily-report\report_%date:~0,4%%date:~5,2%%date:~8,2%.md
当部分数据获取失败时(如指数或板块数据),报告会继续生成并在报告中标注失败原因,对应数据显示为 --。
无需配置环境变量。
node --version报告以 Markdown 格式输出,包含以下部分:
# 📊 A股市场日报
**YYYY年MM月DD日**
---
## 🎯 大盘概览
| 指数 | 收盘点位 | 涨跌幅 |
|------|---------|--------|
| 上证指数 | xxxx.xx | ±x.xx% |
| 深证成指 | xxxx.xx | ±x.xx% |
| 创业板指 | xxxx.xx | ±x.xx% |
| 科创板指 | xxxx.xx | ±x.xx% |
**市场情绪**: 偏多/偏空/中性
⚠️ **数据获取提示**: 以下数据获取失败 (指数数据 - 上证指数、深证成指、创业板指、科创板指),可能原因:非交易时间/网络异常/API 暂时不可用
---
## 🔥 热门板块 TOP 5
| 排名 | 板块名称 | 涨跌幅 | 领涨股 |
|------|---------|--------|--------|
| 1 | 板块名 | ±x.xx% | 股票名 |
| ...
---
## 📈 明日关注
| 板块名称 | 关注理由 | 技术面 | 操作建议 |
|---------|---------|--------|---------|
| 板块名 | 理由 | 分析 | 建议 |
| ...
---
## ⚠️ 风险提示
| 板块名称 | 风险理由 | 建议 |
|---------|---------|------|
| 板块名 | 原因 | 建议 |
| ...
---
## 💰 资金动向
- **主力流入方向**: 板块1、板块2、板块3
- **北向资金**: 金额
- **融资余额**: 金额
---
## 📝 操作策略
1. **仓位控制**: 建议
2. **关注方向**: 建议
3. **风险控制**: 建议
4. **操作节奏**: 建议
---
**数据来源**: 东方财富网
**生成时间**: YYYY-MM-DD
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
liusai0820/stock-analysis-skill
molezzz/openclaw-stock-skill
davila7/claude-code-templates
intellectronica/agent-skills
am-will/codex-skills
sickn33/antigravity-awesome-skills
a-stock-daily-report is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in a-stock-daily-report — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Solid pick for teams standardizing on skills: a-stock-daily-report is focused, and the summary matches what you get after install.
a-stock-daily-report fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
a-stock-daily-report has been reliable in day-to-day use. Documentation quality is above average for community skills.
I recommend a-stock-daily-report for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Useful defaults in a-stock-daily-report — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
We added a-stock-daily-report from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Solid pick for teams standardizing on skills: a-stock-daily-report is focused, and the summary matches what you get after install.
We added a-stock-daily-report from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
showing 1-10 of 60