a-share-sentiment

A股市场情绪综合研判/恐贪指数/情绪面分析。当用户说"市场情绪"、"情绪面"、"恐慌"、"贪婪"、"sentiment"、"现在市场情绪怎么样"、"市场热度"、"赚钱效应"、"亏钱效应"、"市场温度"、"是不是过热了"、"恐贪指数"、"情绪综合研判"时触发。MUST USE when user asks about market sentiment, fear/greed index, market temperature, or whether the market is overheated/panicking. 聚合多维数据(涨跌比/换手率/涨停数/北向资金/融资余额/成交量等),构建市场情绪综合判断。支持研报风格(formal)和快速解读风格(brief)。

105 stars

Best use case

a-share-sentiment is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

A股市场情绪综合研判/恐贪指数/情绪面分析。当用户说"市场情绪"、"情绪面"、"恐慌"、"贪婪"、"sentiment"、"现在市场情绪怎么样"、"市场热度"、"赚钱效应"、"亏钱效应"、"市场温度"、"是不是过热了"、"恐贪指数"、"情绪综合研判"时触发。MUST USE when user asks about market sentiment, fear/greed index, market temperature, or whether the market is overheated/panicking. 聚合多维数据(涨跌比/换手率/涨停数/北向资金/融资余额/成交量等),构建市场情绪综合判断。支持研报风格(formal)和快速解读风格(brief)。

Teams using a-share-sentiment should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/a-share-sentiment/SKILL.md --create-dirs "https://raw.githubusercontent.com/aifinlab/FinClaw/main/skills/a-share-sentiment/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/a-share-sentiment/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How a-share-sentiment Compares

Feature / Agenta-share-sentimentStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

A股市场情绪综合研判/恐贪指数/情绪面分析。当用户说"市场情绪"、"情绪面"、"恐慌"、"贪婪"、"sentiment"、"现在市场情绪怎么样"、"市场热度"、"赚钱效应"、"亏钱效应"、"市场温度"、"是不是过热了"、"恐贪指数"、"情绪综合研判"时触发。MUST USE when user asks about market sentiment, fear/greed index, market temperature, or whether the market is overheated/panicking. 聚合多维数据(涨跌比/换手率/涨停数/北向资金/融资余额/成交量等),构建市场情绪综合判断。支持研报风格(formal)和快速解读风格(brief)。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# A股市场情绪分析助手

## 数据源

```bash
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"

# 大盘行情(涨跌数据、成交量)
python "$SCRIPTS/cn_stock_data.py" quote --code SH000001,SZ399001,SZ399006

# 北向资金
python "$SCRIPTS/cn_stock_data.py" north_flow

# 大盘K线(近期趋势,用于历史对比)
python "$SCRIPTS/cn_stock_data.py" kline --code SH000001 --freq daily --start $(date -v-30d +%Y-%m-%d)

# 资金流向(全市场)
python "$SCRIPTS/cn_stock_data.py" fund_flow --code SH000001
```

补充数据(通过 akshare 或 web 搜索获取):
- 融资余额变化
- 两市成交额
- 涨停/跌停家数
- 新股上市表现

## Workflow

### Step 1: 数据采集
从多个维度获取市场情绪数据,优先使用 cn-stock-data 脚本,不足部分用 akshare 或 web 搜索补充。

### Step 2: 指标计算
- 涨跌比:上涨家数 / 下跌家数
- 涨停/跌停数量
- 两市成交额(与近20日均值对比)
- 换手率水平
- 北向资金净流向(当日 + 5日累计)
- 融资余额变化方向

### Step 3: 情绪评分
将各维度归一化为 0-100 分,加权平均得到综合评分:
- **0-20**: 极度恐慌
- **20-40**: 偏悲观
- **40-60**: 中性
- **60-80**: 偏乐观
- **80-100**: 极度贪婪

详细评分体系见 `references/sentiment-indicators.md`。

### Step 4: 历史对比
当前情绪在近1年中的百分位位置,参考历史极端值校准。

### Step 5: 输出

## 输出风格

| 维度 | formal(研报风格) | brief(快速解读) |
|------|-------------------|------------------|
| 输出 | 完整市场情绪报告 | 情绪温度计 + 核心结论 |
| 指标 | 8-10个维度逐一分析 | 综合评分 + 3个关键指标 |
| 历史对比 | 与近1年百分位对比 | 简单高/低判断 |
| 结论 | 客观描述("情绪处于偏乐观区间") | 可加判断 |

默认使用 formal 风格;用户要求"简单说说"、"快速看下"时用 brief。

## 关键规则

1. **情绪指标是辅助工具**,不能单独作为交易依据
2. **极端情绪往往是反向指标**:极度恐慌可能是底部,极度贪婪可能是顶部
3. **不同市场阶段权重不同**:牛市重点看成交量,熊市重点看跌停数
4. **标注数据时效性**:明确说明是当日盘中数据还是上一交易日收盘数据
5. **结构性行情需特别说明**:部分板块热+部分板块冷时,全市场情绪指标可能失真
6. **政策敏感性**:重磅政策可一日扭转情绪,需关注最新政策信息

Related Skills

tushare-pro

105
from aifinlab/FinClaw

专业财务数据Skill - 提供A股基本面、三大财务报表(资产/利润/现金)、股东数据、日线行情 via Tushare Pro

sentiment-xueqiu

105
from aifinlab/FinClaw

雪球社区舆情与热股榜分析,提供雪球热股榜、情绪监控、个股雪球热度等。当用户需要查看雪球社区舆情或热门股票讨论时使用。

sentiment-weibo

105
from aifinlab/FinClaw

微博财经舆情与热搜分析,提供微博财经热搜榜、股票话题热度、舆情情绪分析等。当用户需要查看微博上的财经舆情或热搜时使用。

sentiment-scan

105
from aifinlab/FinClaw

用于信托领域项目尽调中的舆情扫描助手场景。支持结构化输入处理、规则分析与Markdown结果输出。

sentiment-eastmoney

105
from aifinlab/FinClaw

东方财富股吧舆情与热度分析,提供股吧热度排行、个股情绪指标、散户情绪监控等。当用户需要查看东财股吧热度或散户情绪时使用。

sentiment-alert

105
from aifinlab/FinClaw

用于信托领域存续管理中的舆情预警助手场景,支持结构化处理与报告输出。

proprietary-sentiment-monitor

105
from aifinlab/FinClaw

自营舆情风险监测助手,适用于券商自营投资、风险管理、舆情监控、投资决策等场景。 以下情况请主动触发此技能: - 用户提供了持仓股票舆情数据,问"有什么风险""舆情怎么样" - 用户问"舆情怎么监控""负面舆情怎么处理" - 用户需要:舆情监测分析、风险预警、处置建议 - 用户提到:舆情、负面新闻、声誉风险、持仓风险、投资舆情 - 用户需要形成舆情报告、风险预警、处置方案 不要等用户明确说"舆情监测"——只要涉及持仓股票舆情分析、负面新闻预警、声誉风险评估,就应主动启动此技能。

project-sentiment-alert

105
from aifinlab/FinClaw

用于信托领域存续期管理中的项目舆情预警助手场景。支持结构化输入处理、规则分析与Markdown结果输出。

guarantor-sentiment-alert

105
from aifinlab/FinClaw

用于信托领域存续期管理中的担保方舆情预警助手场景。支持结构化输入处理、规则分析与Markdown结果输出。

entity-sentiment-alert

105
from aifinlab/FinClaw

用于信托领域存续期管理中的主体舆情预警助手场景。支持结构化输入处理、规则分析与Markdown结果输出。

client-sentiment-detection

105
from aifinlab/FinClaw

面向基金投顾与客户服务领域的情绪识别任务Skill,围绕「客户情绪识别助手」场景提供信息抽取、结构化分析与结果输出。

asset-sentiment-alert

105
from aifinlab/FinClaw

用于信托领域存续期管理中的底层资产舆情预警助手场景。支持结构化输入处理、规则分析与Markdown结果输出。