← Back to Skills Marketplace
pandasky

A股指数温度计

by Yujie Pan · GitHub ↗ · v1.0.8 · MIT-0
cross-platform ✓ Security Clean
113
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install a-share-thermometer
Description
查询A股市场温度。当用户询问"今日市场温度"、"今日A股温度"、"市场热度"、"大盘温度"或类似问题时触发此技能。支持"上证50", "沪深300", "上证380", "创业板50", "中证500", "上证180", "深证红利", "深证100", "中证1000", "上证红利", "中证100", "...
README (SKILL.md)

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 \x3C指数名称>

3. 判断温度状态

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

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

配置文件说明

config.json 结构:

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

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

Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill Name: a-share-thermometer Version: 1.0.8 The skill bundle is designed to calculate and report A-share market 'temperature' based on historical price-to-earnings (PE) ratios. The Python script `scripts/a_share_therm.py` uses the legitimate `akshare` financial library to fetch data and performs standard statistical calculations. There is no evidence of data exfiltration, malicious command execution, or harmful prompt injection; the instructions in `SKILL.md` are focused on output formatting and logical flow consistent with the stated purpose.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install a-share-thermometer
  3. After installation, invoke the skill by name or use /a-share-thermometer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.8
a-share-thermometer 1.0.8 - Updated SKILL.md with clearer trigger instructions and improved sample output formatting. - Added stricter requirements for output: fixed format, date in East 8 timezone, and no explanatory text. - Detailed workflow steps for script and config usage. - Enhanced instructions for status determination based on temperature. - Clarified configuration file structure and customization options.
Metadata
Slug a-share-thermometer
Version 1.0.8
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is A股指数温度计?

查询A股市场温度。当用户询问"今日市场温度"、"今日A股温度"、"市场热度"、"大盘温度"或类似问题时触发此技能。支持"上证50", "沪深300", "上证380", "创业板50", "中证500", "上证180", "深证红利", "深证100", "中证1000", "上证红利", "中证100", "... It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.

How do I install A股指数温度计?

Run "/install a-share-thermometer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is A股指数温度计 free?

Yes, A股指数温度计 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does A股指数温度计 support?

A股指数温度计 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created A股指数温度计?

It is built and maintained by Yujie Pan (@pandasky); the current version is v1.0.8.

💬 Comments