← 返回 Skills 市场
TuShare Stock Skill
作者
Zexun Chen
· GitHub ↗
· v1.0.3
· MIT-0
9063
总下载
8
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install tushare-stock-skill
功能描述
面向中国 A 股的 Tushare 专用技能,提供股票数据获取、个股分析与交易观察能力。
安全使用建议
Install this only in a virtual environment, provide a Tushare token through TUSHARE_TOKEN when possible, and avoid using TUSHARE_STOCK_ENV_FILE unless it points to a minimal file containing only that token. Be aware that direct fetches can reach some adjacent non-A-share or cross-market Tushare catalog entries, and consider setting TUSHARE_STOCK_CACHE_DIR to a private per-user cache directory.
能力评估
Credentials
The required TUSHARE_TOKEN, optional TUSHARE_POINTS, optional TUSHARE_STOCK_ENV_FILE, optional TUSHARE_STOCK_CACHE_DIR, and network access to Tushare are coherent for a Tushare integration. The env-file path can point anywhere if explicitly set, so users should only set it to a minimal token-only file.
Install Mechanism
Installation is a standard pip requirements flow, but requirements.txt leaves pandas, tushare, requests, and beautifulsoup4 unpinned, so installs are not reproducible and should be done in an isolated environment.
Instruction Scope
Runtime instructions are ordinary usage guidance for commands, output language, and clarification behavior. I found no instruction hijacking, hidden role changes, memory poisoning, or attempts to override the user's agent policy.
Persistence & Privilege
The skill writes a public stock-basic cache under /tmp/tushare_stock_skill by default and build_catalog.py can refresh local reference files. It does not install services, scheduled tasks, shell hooks, backdoors, or persistent token caches.
Purpose & Capability
The main script implements Tushare data fetching, natural-language endpoint routing, stock-code resolution, and stock analysis/trading-observation logic matching the stated purpose. The bundled catalog also includes adjacent Stock Connect, Hong Kong, ETF-capable, and generic pro_bar entries, which is broader than a strictly A-share-only framing but visible in the references and partly disclosed in the skill text.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tushare-stock-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/tushare-stock-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Updated skill name and description to focus clearly on China A-share stock research and analysis, with all user-facing text in Simplified Chinese.
- Revised documentation to clarify the core scenarios, values, usage boundaries, and exclude non-A-share market workflows.
- Streamlined examples, command references, and explanation style for more concise, practical guidance.
- No functional or code changes; this update is a full documentation and localization improvement.
v1.0.2
- Update metadata to clarify required and optional environment variables and Python dependencies
- Add explicit information on required and optional Python packages and dependent network domains
- Add a new "Installation" section with pip install instructions and environment variable usage
- Clarify boundaries by grouping environment variable descriptions and security details
- No core functionality or command changes; documentation and metadata improvements only
v1.0.1
- Major refactor: simplified project root, removed legacy folders and scripts.
- README and SKILL.md fully rewritten in concise English.
- Usage, entry points, and environment variable requirements are now clearly documented.
- Project metadata and homepage added for better discoverability.
- Chinese user output and Tushare use cases remain central, but developer docs are streamlined and focused.
v1.0.0
- 首次发布,支持全套 Tushare A 股股票数据与个股分析,包括行情、估值、财务、资金流、龙虎榜等多类接口。
- 根据自然语言智能匹配最优接口,自动识别股票与参数,可辨识查询、分析和交易观察等多类意图。
- 面向分析与交易观察请求,内置快档与深档机制,自动决定是否深扫龙虎榜和机构席位。
- 查询接口默认返回原始结构化数据,分析请求输出简要结论、核心指标及风险提示。
- 明确处理权限与积分受限接口,并采用环境变量配置 Token,避免本地 token 文件写入。
- 所有说明及输出均为简体中文,接口目录与指标体系支持扩展与自定义。
元数据
常见问题
TuShare Stock Skill 是什么?
面向中国 A 股的 Tushare 专用技能,提供股票数据获取、个股分析与交易观察能力。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 9063 次。
如何安装 TuShare Stock Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tushare-stock-skill」即可一键安装,无需额外配置。
TuShare Stock Skill 是免费的吗?
是的,TuShare Stock Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
TuShare Stock Skill 支持哪些平台?
TuShare Stock Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 TuShare Stock Skill?
由 Zexun Chen(@magica-chen)开发并维护,当前版本 v1.0.3。
推荐 Skills