← 返回 Skills 市场
2805
总下载
3
收藏
11
当前安装
1
版本数
在 OpenClaw 中安装
/install tushare-base
功能描述
Fetch Chinese stock and futures market data via Tushare API. Supports stock quotes, futures data, company fundamentals, and macroeconomic indicators. Use when the user needs financial data from Chinese markets. Requires TUSHARE_TOKEN environment variable.
安全使用建议
This skill appears to implement exactly what it claims (fetching Chinese market data via Tushare) and the included script looks benign, but the registry metadata omission is a red flag. Before installing or running it: (1) Confirm the publisher/source — no homepage is provided. (2) Don't paste your TUSHARE_TOKEN into shared or public files; prefer exporting it in a shell session or use a secrets manager rather than committing it to dotfiles. (3) Review scripts/market.py yourself (you have the file) to ensure no hidden endpoints or logging of secrets; the visible code only calls the tushare library. (4) Install dependencies in a virtualenv or sandbox (pip3 install --user or venv) to limit impact. (5) Ask the publisher/registry owner to update the metadata to declare TUSHARE_TOKEN as a required credential so automated checks and users are not misled.
功能分析
Type: OpenClaw Skill
Name: tushare-base
Version: 1.0.0
The skill bundle is benign. It provides a legitimate interface to the Tushare financial data API. The `SKILL.md` clearly documents the skill's purpose, prerequisites (including the `TUSHARE_TOKEN` environment variable), and usage examples. The `scripts/market.py` script correctly utilizes `os.getenv` to retrieve the API token and interacts solely with the `tushare` library to fetch and display financial data. There is no evidence of data exfiltration, malicious execution, persistence, prompt injection against the agent, or obfuscation. All actions are aligned with the stated purpose of fetching financial market data.
能力评估
Purpose & Capability
The skill's name, description, SKILL.md, and scripts/market.py all clearly rely on a TUSHARE_TOKEN for the Tushare API, but the registry metadata lists no required environment variables or primary credential — a mismatch between claimed purpose and declared requirements.
Instruction Scope
SKILL.md gives concrete instructions: register at tushare.pro, set TUSHARE_TOKEN in your shell, pip install tushare/pandas, and run scripts/market.py with specific commands. The instructions focus on the stated purpose and do not ask the agent to read unrelated files or send data to unknown endpoints.
Install Mechanism
There is no install spec (instruction-only plus a bundled script). The code uses the public 'tushare' Python package; SKILL.md recommends installing it via pip. No downloads from arbitrary URLs or archive extraction are present.
Credentials
The code and documentation expect a single API secret (TUSHARE_TOKEN), which is proportionate to the functionality. However, the registry metadata failing to declare this required environment variable is an incoherence that could mislead users and permissioning systems.
Persistence & Privilege
The skill does not request permanent presence (always=false) and does not modify other skills or system-wide settings. It relies on runtime environment variables but does not request elevated platform privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tushare-base - 安装完成后,直接呼叫该 Skill 的名称或使用
/tushare-base触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the tushare skill.
- Fetch Chinese stock and futures market data via the Tushare API.
- Supports stock quotes, futures data, company fundamentals, and macroeconomic indicators.
- Requires TUSHARE_TOKEN environment variable.
- Includes usage instructions, command quick reference, and troubleshooting FAQ.
元数据
常见问题
tushare-base 是什么?
Fetch Chinese stock and futures market data via Tushare API. Supports stock quotes, futures data, company fundamentals, and macroeconomic indicators. Use when the user needs financial data from Chinese markets. Requires TUSHARE_TOKEN environment variable. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2805 次。
如何安装 tushare-base?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tushare-base」即可一键安装,无需额外配置。
tushare-base 是免费的吗?
是的,tushare-base 完全免费(开源免费),可自由下载、安装和使用。
tushare-base 支持哪些平台?
tushare-base 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 tushare-base?
由 WdBlink(@wdblink)开发并维护,当前版本 v1.0.0。
推荐 Skills