market-analysis SKILL.md skillA
market-analysis from qusong0627/quantmind is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add qusong0627/quantmind/market-analysis@git:20261003.8b2ea6aPins git:20261003.8b2ea6a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- qusong0627/quantmind
- Path
skills/market-analysis/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261003.8b2ea6a, committed Oct 3, 2026
- First version recorded
- Aug 29, 2026
- Size
- 7,629 bytes
- Repository stars
- 1,774
- License
- AGPL-3.0
市场分析报告(大盘快照版)— 复用市场分析页面全部数据能力:核心指数、市场广度与情绪温度、行业板块/热门概念热力图、行业多日涨跌幅对比(1/3/5日)、板块资金流(1日/5日/10日)、个股主力资金 Top20、标签体系统计。用户说「市场分析」「大盘分析」「行情分析」「今天市场怎么样」「市场报告」时使用:跑取数脚本(market_analysis.py)→ AI 基于 facts 撰写解读 → Markdown → PDF(研报风)→ 落盘股票报告目录 → 聊天回复速览。触发词:市场分析、大盘分析、行情分析、市场报告、看盘、今天市场、今日市场、市场怎么样.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
> ⚙️ 本技能遵循公共运行环境契约(最高优先级,先于本文其余内容执行):
> 详见 [_shared/env-contract.md](../_shared/env-contract.md),执行前先读它。
# market-analysis — 市场分析报告(大盘快照版)
把市场分析页面的数据能力(指数/广度/行业/概念/资金流/标签)变成一份结构固定的报告(Markdown + PDF),落盘到前端「股票报告」页可见目录,并在聊天里回复速览。**报告必含「八、市场解读与次日关注」——AI 必须基于 facts 数据撰写,禁止编造数字。**
与 [[daily-review]] 的区别:daily-review 是盘后复盘(含新闻情绪、模型推理信号、次日六维研判);本 skill 是**市场快照**(行情结构 + 资金流 + 板块强弱),适合盘中/盘后随时输出当日市场状态。
## ⚠️ 单位铁律(先查 [[quantdb-fields]],最高优先级)
| 陷阱 | 正确口径 |
|---|---|
| `l2_factors.flow_*` 金额是**万元**(2026-09 起;读入后归一为元再转亿元) | 报告统一换算**亿元**(脚本 `_yi()` 已处理) |
| `index_daily.amount` 是**万元** | 指数成交额脚本已转亿元 |
| `technical_indicators.pct_change` = **%** | 涨跌家数/涨停/行业均涨幅全用它;涨停≈≥9.8%、跌停≈≤-9.8% |
| `index_daily.preClose` **全 NULL** | 指数涨跌幅由 close 序列自算(后端已处理,勿另算) |
| 资金流依赖 `l2_factors` | 最新日期可能与行情日不同步(L2 更新滞后 1 日属正常),facts 里以 trade_date 为准,滞后时在报告中声明 |
**写报告时所有数字必须来自 `{date}_facts.json`,不得自行推算或编造。**
## 执行流程(每次 5 步)
### 第 1 步:跑取数脚本(宿主机)
```bash
cd <repo>/skills/market-analysis/scripts
python3 market_analysis.py # 最新交易日;--out 自定义输出目录(默认 data/reports/market_analysis/)
```
脚本复用后端 `quantdb_feed` 聚合口径,产出 `{date}_facts.json`(全部原始数据)+ `{date}_report.md`(骨架)。QuantDB 不可用时脚本报错退出——不要假装出报告,直接告诉用户数据未同步。
…Read the whole file at its exact version.
How to install
mdr add qusong0627/quantmind/market-analysis@sha256:aeb9f461f1fafd29The line at the top of this page pins the label git:20261003.8b2ea6a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_iwesxkal7s4taerk)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Aug 29, 2026 and Oct 3, 2026, about one every 9 days. Its first recorded version is graded B and its latest A.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261003.8b2ea6a latest | 2026-10-03 | 8b2ea6a | 7,629 B | A | view · diff |
| git:20260919.2eecb38 | 2026-09-19 | 2eecb38 | 7,631 B | A | view · diff |
| git:20260919.a5c8006 | 2026-09-19 | a5c8006 | 7,569 B | A | view · diff |
| git:20260829.c9fd96c | 2026-08-29 | c9fd96c | 9,406 B | B | view · diff |
| git:20260829.cda0e48 | 2026-08-29 | cda0e48 | 9,416 B | B | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7629 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
qusong0627/quantmind · 1,774 stars · license AGPL-3.0 · pushed 2026-10-22 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_iwesxkal7s4taerk GET https://markdownregistry.com/api/v1/resolve?ref=qusong0627/quantmind/market-analysis GET https://markdownregistry.com/api/v1/blob/aeb9f461f1fafd29fbff8c93165b02707b1650fa35fdbbad9aa0a887ae2bf88d
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.