← 返回 Skills 市场
105
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tushare-stocks
功能描述
提供23个明确股票接口的Tushare Pro数据查询,包括行情、基础信息、复权因子,支持指定股票代码和日期范围调用。
安全使用建议
This skill appears to be what it says: a constrained Tushare Pro client that requires your TUSHARE_TOKEN and the Python packages tushare and pandas. Before installing: 1) Confirm the platform metadata (registry view) actually exposes/protects the TUSHARE_TOKEN as declared in metadata.json; the top-level summary shown earlier incorrectly said 'no env vars' — treat that as a manifest inconsistency. 2) Ensure you are comfortable supplying your Tushare token (it grants access to your Tushare account and any paid data/quotas). 3) Make sure the runtime environment will install the listed Python dependencies (pip install tushare pandas) or preinstall them. 4) If you need to audit network access, note the code uses the official tushare client (no hardcoded external endpoints), so network calls will go to Tushare servers. If you want higher assurance, request the maintainer correct the manifest inconsistency and provide a reproducible install/test procedure.
功能分析
Type: OpenClaw Skill
Name: tushare-stocks
Version: 1.0.0
The skill is a legitimate wrapper for the Tushare Pro financial data API, providing access to 23 specific stock market data interfaces. The implementation in `__init__.py` uses a whitelist (`SUPPORTED_APIS`) to validate API calls before execution, effectively mitigating risks associated with dynamic method access via `getattr`. It follows standard security practices for handling API tokens through environment variables or explicit parameters, and the documentation in `SKILL.md` and `README.md` is consistent with the code's functionality without any signs of prompt injection or malicious intent.
能力评估
Purpose & Capability
The code and documentation implement a focused Tushare Pro client exposing 23 named APIs — this matches the skill name/description. However, the top-level registry summary in the package header claimed 'Required env vars: none' while metadata.json and SKILL.md clearly require TUSHARE_TOKEN. That's an incoherence in manifests rather than a functional mismatch.
Instruction Scope
SKILL.md and the handler only describe/accept explicit query parameters and the Tushare token; the runtime code only reads TUSHARE_TOKEN (or token passed in params) and does not access unrelated files, other environment secrets, or unexpected network endpoints. Calls go through the tushare library to Tushare's API as expected.
Install Mechanism
There is no platform install spec (lowest risk), but the package includes requirements.txt (tushare, pandas) and metadata requires python3. The skill will need pip-installing those Python packages in the runtime environment; the lack of an explicit install block in the registry is an operational omission to be aware of, not a direct security problem.
Credentials
Only TUSHARE_TOKEN is required, which is appropriate for a Tushare Pro client. The inconsistency between the registry summary (which said no env vars) and metadata.json (which lists TUSHARE_TOKEN) is the main concern — confirm the platform will provide the token only to this skill and that you won't accidentally expose other secrets. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request 'always: true' and does not modify other skills or system-wide settings. It runs as a normal user-invocable skill and does not claim elevated persistence or cross-skill privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tushare-stocks - 安装完成后,直接呼叫该 Skill 的名称或使用
/tushare-stocks触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
通过23个明确接口,精准获取A股行情、基础信息及复权因子数据,支持日期范围和多频率分钟线查询。
元数据
常见问题
Tushare A股数据 是什么?
提供23个明确股票接口的Tushare Pro数据查询,包括行情、基础信息、复权因子,支持指定股票代码和日期范围调用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 105 次。
如何安装 Tushare A股数据?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tushare-stocks」即可一键安装,无需额外配置。
Tushare A股数据 是免费的吗?
是的,Tushare A股数据 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Tushare A股数据 支持哪些平台?
Tushare A股数据 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tushare A股数据?
由 gaingush(@gaingush)开发并维护,当前版本 v1.0.0。
推荐 Skills