← Back to Skills Marketplace
145
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install tdx-api-skill
Description
基于TDX API的股票数据查询技能,提供全面的A股市场数据查询功能,包括实时行情、K线数据、分时数据、分时成交、股票搜索、指数数据、ETF数据、市场统计、个股新闻、股票公告等31个API接口。当用户询问股票相关信息时调用。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install tdx-api-skill - After installation, invoke the skill by name or use
/tdx-api-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 通达信TDX股票查询技能?
基于TDX API的股票数据查询技能,提供全面的A股市场数据查询功能,包括实时行情、K线数据、分时数据、分时成交、股票搜索、指数数据、ETF数据、市场统计、个股新闻、股票公告等31个API接口。当用户询问股票相关信息时调用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 145 downloads so far.
How do I install 通达信TDX股票查询技能?
Run "/install tdx-api-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 通达信TDX股票查询技能 free?
Yes, 通达信TDX股票查询技能 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 通达信TDX股票查询技能 support?
通达信TDX股票查询技能 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 通达信TDX股票查询技能?
It is built and maintained by bensema (@bensema); the current version is v1.0.0.
More Skills