A Stock Daily Report logo

A Stock Daily Report

Community
lxyeternal
a-stock-daily-report

A股每日简报自动生成系统。抓取东方财富实时数据,生成包含大盘指数、热门板块、资金动向等完整信息的日报报告。

Overview

Publisherlxyeternal
RepositoryMalSkillBench
Skill namea-stock-daily-report
Stars
64
Forks
14
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by lxyeternal on GitHub. Read the source before you install it.

Installation

Install the A Stock Daily Report AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/lxyeternal/MalSkillBench/tree/main/Dataset/Skills/benign/a-stock-daily-report
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lxyeternal/MalSkillBench.git /tmp/MalSkillBench
mkdir -p .claude/skills
cp -r /tmp/MalSkillBench/Dataset/Skills/benign/a-stock-daily-report .claude/skills/a-stock-daily-report
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable A Stock Daily Report in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads A Stock Daily Report on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so A Stock Daily Report is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

A股日报自动生成系统

自动抓取 A 股市场数据,生成日报。

触发关键词

用户可以通过以下关键词触发此技能:

  • A股日报
  • A股简报
  • A股每日简报
  • 股市日报
  • 股市简报
  • 股市每日简报

功能

  • 📊 大盘概览:上证、深证、创业板、科创板指数
  • 🔥 热门板块:涨幅 TOP 5 板块
  • 📈 明日关注:技术面突破、政策利好板块
  • ⚠️ 风险提示:高估值、资金流出板块
  • 💰 资金动向:北向资金、主力净流入

快速开始

生成日报

bash
node scripts/a-stock-report.js

直接运行即可生成 A股日报报告(格式化输出)。

获取 JSON 数据

bash
node scripts/a-stock-report.js json

获取 JSON 格式的数据,便于程序处理。

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:暂不可用数据,固定为 "--"

保存到文件(可选)

bash
# 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

数据来源

  • 东方财富网:板块排行、指数行情
  • API:免费,无需密钥

⚠️ 重要提示

数据获取失败处理

当部分数据获取失败时(如指数或板块数据),报告会继续生成并在报告中标注失败原因,对应数据显示为 --。

API 使用限制

  • 指数数据 API 在非交易时间(晚间、周末)可能关闭
  • 建议运行时间:交易日收盘后 15:30-16:00(A股15:00收盘)
  • 如需在晚间获取数据,建议:
    1. 缓存机制:在收盘后 30 分钟内运行一次并缓存数据
    2. 手动维护:使用本地存储的指数数据
    3. 降级处理:指数数据不可用时仍可生成板块数据报告

环境变量

无需配置环境变量。

依赖项

  • Node.js 14+
  • 无需额外依赖包(使用 Node.js 内置模块)

故障排除

运行失败或数据异常

  1. 确认 Node.js 版本 >= 14:node --version
  2. 检查网络连接
  3. 查看错误日志(stderr 输出)
  4. 确认 API 是否可用(非交易时间、周末/节假日可能关闭)
  5. 检查是否为交易日并确认运行时间合适

输出格式

报告以 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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the A Stock Daily Report AI skill do?

A股每日简报自动生成系统。抓取东方财富实时数据,生成包含大盘指数、热门板块、资金动向等完整信息的日报报告。

Why use A Stock Daily Report on TypingMind?

Because you install it once and use it with any model. A Stock Daily Report is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install A Stock Daily Report in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lxyeternal/MalSkillBench/tree/main/Dataset/Skills/benign/a-stock-daily-report. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use A Stock Daily Report?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with A Stock Daily Report?

As many as you like. As long as a model supports skills, you can use A Stock Daily Report with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the A Stock Daily Report AI skill free?

It is published on GitHub by lxyeternal. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇