A股指数温度计

v1.0.8

查询A股市场温度。当用户询问"今日市场温度"、"今日A股温度"、"市场热度"、"大盘温度"或类似问题时触发此技能。支持"上证50", "沪深300", "上证380", "创业板50", "中证500", "上证180", "深证红利", "深证100", "中证1000", "上证红利", "中证100", "...

0· 108·0 current·0 all-time
byYujie Pan@pandasky

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for pandasky/a-share-thermometer.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "A股指数温度计" (pandasky/a-share-thermometer) from ClawHub.
Skill page: https://clawhub.ai/pandasky/a-share-thermometer
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install a-share-thermometer

ClawHub CLI

Package manager switcher

npx clawhub@latest install a-share-thermometer
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill is an A‑share market thermometer and includes a Python script that uses akshare/pandas to fetch index PE data and compute percentiles — this is coherent with the stated purpose. Minor mismatch: SKILL.md and registry metadata do not declare that 'python3' or Python packages (akshare, pandas, python-dateutil) are required, although the instructions call 'python3 scripts/a_share_therm.py'.
Instruction Scope
SKILL.md instructs only to read the included scripts/config.json and run the included Python script for specified indices. The script only calls akshare to obtain market data and performs local calculations; it does not read other files, environment variables, or post data to unexpected endpoints.
Install Mechanism
There is no install spec (instruction-only + included code). That keeps risk low for arbitrary downloads, but the skill depends on third‑party Python packages (akshare, pandas, dateutil). The skill does not provide instructions to install those dependencies, so runtime will fail unless the environment already has them or the operator installs them.
Credentials
The skill requests no environment variables, credentials, or config paths. The code does not attempt to read secrets or system configs — its network activity is limited to what akshare performs to fetch market data, which is appropriate for its function.
Persistence & Privilege
The skill is not marked always:true and does not attempt to alter agent or system configurations. It has normal, non‑persistent behavior.
Assessment
This skill appears to do what it says: compute index 'temperature' using historical PE percentiles via the akshare library. Before installing or running: 1) ensure you run it in an environment with Python 3 and the required packages (akshare, pandas, python-dateutil) installed from trusted sources (pip from PyPI or your package manager); 2) be aware akshare will make outbound HTTP requests to fetch market data — if you need to restrict network access, run the skill in an isolated environment; 3) the SKILL.md enforces a strict output format and the script prints results to stdout, so if you integrate it with other systems verify the parsing; 4) if you want to be extra cautious, review/upstream the akshare dependency and its data sources to confirm they meet your trust requirements.

Like a lobster shell, security has layers — review code before you run it.

latestvk9790c4ymvtz92qd7wcktsn2w9858vya
108downloads
0stars
1versions
Updated 6d ago
v1.0.8
MIT-0

A股市场温度查询

输出格式示例(严格遵守以下格式)

📊 今日A股市场温度报告 (2026-04-20)

指数 PE 温度 状态
上证指数  12.5  25°C 低温
深证成指  18.3  45°C 中温
创业板指  35.2  86°C 高温

注意事项

  • 严格按照输出格式示例呈现数据。
  • 报告日期修改为当天的东8区日期
  • 如果程序报错或无法获取数据,输出相应的错误信息。
  • 禁止输出任何与格式无关的文本或解释。
  • 禁止输出整体判断、总结或建议。

工作流程

1. 读取配置文件

读取 scripts/config.json 配置文件,获取需要计算市场温度的指数列表。

2. 执行Python3脚本

循环调用 scripts/a_share_therm.py 脚本,为每个配置的指数获取:

  • PE(TTM)数据
  • 市场温度

脚本接受指数名称作为参数:python3 scripts/a_share_therm.py --index <指数名称>

3. 判断温度状态

将每个指数的温度划分为以下状态:

  • 低温 (< 30°C)
  • 中温 (30°C - 80°C)
  • 高温 (> 80°C)

配置文件说明

config.json 结构:

{
  "indices": [
    {"code": "000001", "name": "上证指数"},
    {"code": "399001", "name": "深证成指"},
    {"code": "399006", "name": "创业板指"}
  ]
}

用户可修改 indices 数组来自定义监控的指数。温度阈值可根据个人偏好调整。

Comments

Loading comments...