← Back to Skills Marketplace
113
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install query-main-board-stocks
Description
查询沪深主板 A 股股票列表(排除创业板、科创板)
Usage Guidance
此技能看起来与其描述一致,但在安装/运行前请注意:
- 需要在运行环境中用 pip 安装 baostock 和 pandas(pip install baostock pandas)。
- 脚本会进行网络请求到 Baostock 的公开接口并在当前目录写出 main_board_stocks.json 与 main_board_stocks.csv;若担心数据泄露或权限,先在受控环境(容器或沙箱)中运行。
- 仓库包含一个 package.json(Node 元数据),可忽略——这是元信息不一致的痕迹但不影响脚本本身。
- 如需更高信心,可审阅 query_main_board_stocks.py 源码(已包含)或在隔离环境中执行。
Capability Analysis
Type: OpenClaw Skill
Name: query-main-board-stocks
Version: 1.0.0
The skill bundle is a legitimate tool designed to query and filter Chinese main board stock data using the Baostock API. The Python script (query_main_board_stocks.py) performs standard data processing using pandas and saves results locally to JSON and CSV files, with no evidence of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
名称与描述(查询沪深主板 A 股、排除创业板/科创板)与代码和说明一致:脚本使用 baostock 获取股票基本信息并按前缀过滤主板股票,所需二进制仅 python3,所需库为 baostock 和 pandas,属于预期范围。
Instruction Scope
SKILL.md 指示运行 Python 脚本并 pip install 所需库。脚本只调用 Baostock API、处理数据并写入本地 JSON/CSV 文件;没有读取系统敏感路径或访问未声明的环境变量,也未把数据发送到除 Baostock 之外的外部端点。
Install Mechanism
没有安装规范(instruction-only),这是低风险。但仓库包含 package.json(Node 风格)列出 baostock/pandas,这与 Python 项目不一致(小的元数据杂项),无直接安全风险但值得注意。依赖需通过 pip 安装,未包含自动下载不可信二进制。
Credentials
不要求任何环境变量或凭据。脚本调用 bs.login(),Baostock 免费接口通常不需用户凭据;没有索取或使用与功能无关的密钥/令牌。
Persistence & Privilege
no special persistence requested (always=false). 该技能不会修改其他技能或系统级代理配置,也不请求长期驻留权限。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install query-main-board-stocks - After installation, invoke the skill by name or use
/query-main-board-stocks - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of query-main-board-stocks.
- Query and retrieve the main board A-share stocks from Shanghai and Shenzhen exchanges.
- Excludes ChiNext (创业板) and STAR Market (科创板) stocks.
- Supports output in both JSON and CSV formats.
- Utilizes Baostock API for data access.
- Example outputs and usage instructions included.
Metadata
Frequently Asked Questions
What is 主板股票查询?
查询沪深主板 A 股股票列表(排除创业板、科创板). It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.
How do I install 主板股票查询?
Run "/install query-main-board-stocks" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 主板股票查询 free?
Yes, 主板股票查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 主板股票查询 support?
主板股票查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 主板股票查询?
It is built and maintained by dxyu94 (@dxyu94); the current version is v1.0.0.
More Skills