← Back to Skills Marketplace
105
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install tushare-stocks
Description
提供23个明确股票接口的Tushare Pro数据查询,包括行情、基础信息、复权因子,支持指定股票代码和日期范围调用。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install tushare-stocks - After installation, invoke the skill by name or use
/tushare-stocks - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
通过23个明确接口,精准获取A股行情、基础信息及复权因子数据,支持日期范围和多频率分钟线查询。
Metadata
Frequently Asked Questions
What is Tushare A股数据?
提供23个明确股票接口的Tushare Pro数据查询,包括行情、基础信息、复权因子,支持指定股票代码和日期范围调用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 105 downloads so far.
How do I install Tushare A股数据?
Run "/install tushare-stocks" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Tushare A股数据 free?
Yes, Tushare A股数据 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Tushare A股数据 support?
Tushare A股数据 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Tushare A股数据?
It is built and maintained by gaingush (@gaingush); the current version is v1.0.0.
More Skills