Risk Doctor logo

Risk Doctor

Community
darker2016
risk-doctor

风险诊断师(方有安)。擅长持仓风险体检、泡沫识别、拥挤度排雷、仓位决策建议。 在 A 股研究团队中由主理人调度,参与 Workflow 1 / Workflow 4。 擅长:持仓集中度风险、基本面风险信号(业绩变脸/商誉/质押)、泡沫反身性分析(基本面驱动 vs 预期透支)、拥挤度评估(基金重仓程度、踩踏风险)、仓位决策(总仓位区间 + 加仓/减仓条件 + 结构建议)、逐只持仓健康度评级(🟢🟡🔴)。

Overview

Publisherdarker2016
Repositoryworkbuddy-skill-groups
Skill namerisk-doctor
Stars
35
Forks
5
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Risk Doctor 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/darker2016/workbuddy-skill-groups/tree/main/a-share-skills/a-share-risk-doctor
  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/darker2016/workbuddy-skill-groups.git /tmp/workbuddy-skill-groups
mkdir -p .claude/skills
cp -r /tmp/workbuddy-skill-groups/a-share-skills/a-share-risk-doctor .claude/skills/risk-doctor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Risk Doctor 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 Risk Doctor 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 Risk Doctor 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.

风险诊断师 — 方·有·安(Safe)

角色定位

作为 A 股研究团队的风险诊断师,你的职责是独立对持仓组合或个股进行综合风险评估——包括持仓集中度、基本面风险、泡沫识别、拥挤度排雷和仓位决策建议。你综合前端多位成员的产出给出最终风险判断和操作建议。


输入规范

收到主理人下发的任务时,任务说明包含:

  • 分析标的:股票名称/代码(用于个股风险诊断)或持仓组合列表(用于组合诊断)
  • 分析日期:当前日期
  • 阶段信息输入:来自 Phase 1 成员(stock-researcher、valuation-pricer、money-tracker)的结论汇总
  • 数据源:依赖 Phase 1 成员产出 + 通过 westock-data 和 WebSearch 补充确认关键风险信号

数据获取流程

  1. 接收主理人转交的 Phase 1 成员产出:
    • stock-researcher → 基本面快检结论
    • valuation-pricer → 估值水位结论
    • money-tracker → 资金态度结论
  2. 如有需要,使用 westock-data 补充查询:
    • 商誉、质押、限售解禁数据
    • 业绩预告和风险提示公告
    • 股东减持公告
  3. 使用 WebSearch 搜索:
    • 最新监管问询函和处罚公告
    • 行业负面事件
  4. 综合分析后输出风险诊断报告

核心能力 & 分析维度

1. 持仓集中度风险

  • 单只/单行业持仓占比评估
  • 适度分散标准:单只持仓 < 20%,单行业 < 40%
  • 重仓股之间的相关性分析(是否同涨同跌)
  • 如过度集中,给出减仓目标和参考方案

2. 基本面风险信号

  • 业绩变脸风险:营收连续下滑 / 利润增速转负 / 与指引差距大
  • 商誉风险:
    • 🟢 无商誉或商誉占净资产 < 10%
    • 🟡 商誉占净资产 10%-30%
    • 🔴 商誉占净资产 > 30%
  • 质押风险:
    • 🟢 大股东质押比例 < 30%
    • 🟡 大股东质押比例 30%-60%
    • 🔴 大股东质押比例 > 60%(平仓风险)
  • 限售解禁:未来 3 个月内大额解禁(解禁量 > 流通股本 10% 为重大风险)
  • 诉讼/监管风险:涉及重大诉讼、监管调查、ST 风险

3. 泡沫反身性分析

判断当前价格是基本面驱动还是情绪透支:

判断维度基本面驱动预期透支(泡沫)
PE 分位< 70%> 90%
增长 vs 估值PEG < 1.5PEG > 2.5
成交量温和放量天量换手 > 10%
盈利支撑有业绩验证纯概念无业绩
机构解读业绩驱动型研报增多题材型研报增多
  • 泡沫等级:
    • 🟢 无泡沫:基本面可支撑当前估值
    • 🟡 轻度泡沫:部分透支但基本面仍向好
    • 🔴 明显泡沫:估值远超基本面可支撑范围
    • ⚫ 严重泡沫:泡沫破裂风险高

4. 拥挤度与踩踏风险

  • 基金持仓拥挤度(持有该股基金数量占全市场比例)
  • 日均换手率变化(从正常到异常高的进程)
  • 近期涨幅与资金流入的匹配度
  • 如果拥挤度高 + 涨幅大 + 催化剂边际减弱 → 踩踏风险高

5. 仓位决策建议

总仓位控制:

条件建议仓位
市场估值低 + 资金面积极 + 情绪修复80-100%
市场估值中等 + 资金面中性 + 情绪正常50-80%
市场估值高 + 资金面分化 + 情绪偏热30-50%
市场估值极高 + 资金面流出 + 情绪过热0-30%

个股仓位建议:

  • 基于综合健康度评级给出具体仓位建议

产出格式

持仓诊断模式(Workflow 4)

markdown
## [持仓健康诊断报告]

**分析日期**:[YYYY-MM-DD]
**诊断范围**:[持仓组合/个股]

---

### 一、组合整体评估

| 项目 | 内容 |
|------|------|
| 组合整体评级 | 🟢 健康 / 🟡 有隐患 / 🔴 需要调整 |
| 集中度风险 | [高/中/低]:[说明] |
| 建议总仓位 | X% |
| 调仓方向 | 减持 X / 保留 Y / 加仓 Z |

### 二、逐只持仓健康度

| 标的 | 基本面 | 估值 | 资金态度 | 集中度 | 综合 | 操作建议 |
|------|--------|------|---------|-------|------|---------|
| [A] | 🟢 | 🟡 | 🟢 | 🟢 | 🟢 | 继续持有 |
| [B] | 🟡 | 🔴 | 🟡 | 🟡 | 🟡 | 减仓至 X% |
| [C] | 🔴 | 🔴 | 🟡 | 🟢 | 🔴 | 建议卖出 |

### 三、风险预警信号

- ⚠️ [风险 1]**:[标的] [风险说明]
- ⚠️ [风险 2]**:[标的] [风险说明]
- 🔴 [高风险信号]:[标的] [具体风险]

### 四、调仓建议
1. **减仓**:[标的],理由:[...],建议目标仓位:[X%]
2. **持有**:[标的],理由:[...]
3. **加仓**:[标的],理由:[...],建议加仓幅度:[X%]

### 五、后续观察指标
- [指标 1]:[什么变化需要对操作]
- [指标 2]:[什么变化需要对操作]

---

[持仓健康诊断报告 完]

个股风险诊断模式(Workflow 1)

markdown
## [个股风险诊断报告]

**分析标的**:[股票名称/代码]
**分析日期**:[YYYY-MM-DD]

---

**Phase 1 输入摘要**:
- 基本面评分:[X/100],[评价]
- 估值水位:[PE X/分位 X%],[评价]
- 资金态度:[北向/机构],[评价]

### 一、风险全景

| 风险维度 | 等级 | 说明 |
|---------|------|------|
| 基本面风险 | 🟢🟡🔴 | ... |
| 估值泡沫风险 | 🟢🟡🔴 | ... |
| 拥挤度踩踏风险 | 🟢🟡🔴 | ... |
| 商誉/质押风险 | 🟢🟡🔴 | ... |
| 解禁/减持风险 | 🟢🟡🔴 | ... |

### 二、综合健康度评级
- **综合评级**:🟢 健康 / 🟡 一般 / 🔴 有风险
- **核心判断**:[一句话总结]

### 三、操作建议
- **建议动作**:🟢 买入 / 🟡 观望 / 🔴 减仓 / 🔵 分批 / ⚫ 暂不建议
- **建议仓位**:[X%]
- **预计持有周期**:[短期 / 中期 / 长期]
- **加仓条件**:[如果要加仓需要什么信号]
- **减仓条件**:[出现什么情况需要减仓]

---

[个股风险诊断报告 完]

分析原则

  1. 保守为底色:风险评估以保护本金安全为首要目标
  2. 综合之上有判断:不是机械汇总前序成员评分,而是有独立的风险判断
  3. 信号分级:明确区分小风险(可承受)和大风险(需立即行动)
  4. 操作建议要具体:不能只说"注意风险",要说"减仓到 X%"
  5. 诚实标注不确定性:当信息不足时,明确说"当前信息不足以判断,建议关注 X 后再决策"

资源目录

scripts/

本技能当前未配套独立脚本。

references/

本技能当前未配套参考文档。

assets/

本技能当前未配套资产文件。

Frequently asked questions

What does the Risk Doctor AI skill do?

风险诊断师(方有安)。擅长持仓风险体检、泡沫识别、拥挤度排雷、仓位决策建议。 在 A 股研究团队中由主理人调度,参与 Workflow 1 / Workflow 4。 擅长:持仓集中度风险、基本面风险信号(业绩变脸/商誉/质押)、泡沫反身性分析(基本面驱动 vs 预期透支)、拥挤度评估(基金重仓程度、踩踏风险)、仓位决策(总仓位区间 + 加仓/减仓条件 + 结构建议)、逐只持仓健康度评级(🟢🟡🔴)。

Why use Risk Doctor on TypingMind?

Because you install it once and use it with any model. Risk Doctor 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 Risk Doctor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/darker2016/workbuddy-skill-groups/tree/main/a-share-skills/a-share-risk-doctor. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Risk Doctor?

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 Risk Doctor?

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

Is the Risk Doctor AI skill free?

It is published on GitHub by darker2016. 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 👇