← 返回 Skills 市场
bensema

通达信TDX股票查询技能

作者 bensema · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
145
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tdx-api-skill
功能描述
基于TDX API的股票数据查询技能,提供全面的A股市场数据查询功能,包括实时行情、K线数据、分时数据、分时成交、股票搜索、指数数据、ETF数据、市场统计、个股新闻、股票公告等31个API接口。当用户询问股票相关信息时调用。
安全使用建议
This package is functionally coherent with a TDX API client, but note that SKILL.md and main.py require you to set TDX_API_URL (and optionally AKSHARE_API_URL) even though the registry metadata did not declare those environment variables. Before installing or enabling the skill: 1) Inspect and confirm the API URL you will set is a trusted server (the skill will send requests and any user-provided query data to that URL). 2) If you plan to use the included tests, be aware the test files reference a private IP (10.0.0.8) — replace with your own trusted endpoint. 3) Because the metadata omission could be accidental, consider asking the publisher to correct the registry fields or review the code yourself; run the skill in a sandboxed environment until you verify behavior. If you need higher assurance, validate network traffic from the skill to ensure it only communicates with the configured API endpoints.
功能分析
Type: OpenClaw Skill Name: tdx-api-skill Version: 1.0.0 The TDX Stock Query skill bundle provides a comprehensive interface for accessing A-share market data via user-configured TDX and AkShare API endpoints. The core logic in `main.py` is a standard Python wrapper using the `requests` library to perform HTTP calls, with no evidence of data exfiltration, unauthorized command execution, or malicious persistence. The `SKILL.md` instructions are strictly functional and lack any prompt injection attempts, and while some test scripts (`test_disclosure.py`) reference private IP addresses (10.0.0.8), these appear to be legitimate artifacts of a local development and testing environment.
能力评估
Purpose & Capability
The code and SKILL.md match the stated purpose: a client for a TDX-style stock data API. Requiring a TDX API endpoint (TDX_API_URL) and optionally an AKSHARE_API_URL is appropriate for this functionality. However, the registry metadata claims no required env vars/credentials while the runtime instructions and code require TDX_API_URL (and optionally AKSHARE_API_URL), which is an inconsistency between metadata and actual requirements.
Instruction Scope
Runtime instructions and code are narrowly scoped: they direct the agent to read TDX_API_URL (and optionally AKSHARE_API_URL), call HTTP endpoints on that API, and expose many query methods. The SKILL.md does not instruct reading unrelated files, broad environment data, or sending data to unexpected third‑party endpoints. The code uses requests to call only the configured API URL(s).
Install Mechanism
No install spec is provided (instruction-only install), and included requirements are standard libraries (requests, python-dotenv). No downloads from arbitrary URLs or archive extraction are present. This is low-risk from an install mechanism perspective.
Credentials
The skill legitimately needs a user-supplied API URL (TDX_API_URL) and optionally AKSHARE_API_URL, which are not secrets but are required to function. The registry metadata, however, lists no required env vars/primary credential while SKILL.md and main.py require them — this mismatch is concerning because it can mislead users about what will be accessed. There are no requests for unrelated secrets or broad credentials.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not modify other skills or system-wide settings. It performs network calls to the user-configured API only and does not appear to persist data on the host beyond what the remote API might do; no elevated privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tdx-api-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tdx-api-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
tdx-api-skill v1.0.0 - Initial release of the tdx-stock-query skill. - Provides comprehensive A-share market stock data queries via TDX API, covering real-time quotes, K-line data, TICK/minute data, trade details, stock search, indices, ETFs, statistics, news, announcements, and more (31+ API endpoints). - Environment variable configuration required for API usage (`TDX_API_URL` is mandatory, `AKSHARE_API_URL` for news is optional). - Includes data ingestion tasks, batch query support, and advanced stock/ETF/history interfaces.
元数据
Slug tdx-api-skill
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

通达信TDX股票查询技能 是什么?

基于TDX API的股票数据查询技能,提供全面的A股市场数据查询功能,包括实时行情、K线数据、分时数据、分时成交、股票搜索、指数数据、ETF数据、市场统计、个股新闻、股票公告等31个API接口。当用户询问股票相关信息时调用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 145 次。

如何安装 通达信TDX股票查询技能?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install tdx-api-skill」即可一键安装,无需额外配置。

通达信TDX股票查询技能 是免费的吗?

是的,通达信TDX股票查询技能 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

通达信TDX股票查询技能 支持哪些平台?

通达信TDX股票查询技能 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 通达信TDX股票查询技能?

由 bensema(@bensema)开发并维护,当前版本 v1.0.0。

💬 留言讨论