← Back to Skills Marketplace
tencent-finance-stock-price
by
Zhe (Phil) Yang
· GitHub ↗
· v1.1.0
· MIT-0
1815
Downloads
1
Stars
16
Active Installs
3
Versions
Install in OpenClaw
/install tencent-finance-stock-price
Description
Query real-time stock market data using Tencent Finance API. Supports Chinese A-shares, Hong Kong stocks, and US stocks. No API key required.
Usage Guidance
This skill appears coherent and implements exactly what it claims: it issues HTTP requests to qt.gtimg.cn and formats the returned stock data. Before installing, note: (1) the skill makes outbound network requests to qt.gtimg.cn — if you are in a restricted or sensitive environment, consider that these queries are visible to that remote host; (2) the source/homepage is unknown (code is included in the package so you can inspect it); (3) there's a minor robustness issue where stdout encoding handling may raise an error in some environments. If those points are acceptable, the skill is reasonable to use.
Capability Analysis
Type: OpenClaw Skill
Name: tencent-finance-stock-price
Version: 1.1.0
The skill provides a straightforward utility to query real-time stock market data from the public Tencent Finance API (qt.gtimg.cn). The Python script (query_stock.py) uses standard libraries to fetch and parse data based on user-provided stock codes or names, and it contains no evidence of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description say 'query Tencent Finance' and the bundled Python script implements exactly that: it maps names to codes, constructs a query to http://qt.gtimg.cn/q=<codes>, decodes GB encodings, and formats results. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs the agent to run the included script and documents input/output formats. The runtime instructions and script only perform HTTP GETs to qt.gtimg.cn and local parsing/printing. They do not read other system files, access unrelated environment variables, or transmit data to unexpected endpoints. (Minor implementation note: the script assumes sys.stdout.encoding is non-null and calls .lower(), which could raise in some constrained environments — this is a robustness bug, not a scope expansion.)
Install Mechanism
No install spec; skill is instruction-only with a single included Python script. Nothing is downloaded or written during install, so there is no high-risk install mechanism.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The script operates with network access only to the documented Tencent endpoint. Requested environment/credential access is proportional (none) to the stated purpose.
Persistence & Privilege
Defaults are used (not always:true). The skill is user-invocable and may be invoked autonomously by the agent (platform default), which is expected for a simple query skill. It does not modify other skills or system-wide settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install tencent-finance-stock-price - After installation, invoke the skill by name or use
/tencent-finance-stock-price - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Fix cron stdout UTF-8 encoding bug, add deepsz/dj index, fix urllib ascii crash
v1.0.1
Updated description: No API key required
v1.0.0
Initial release: Query real-time stock data from Tencent Finance API
Metadata
Frequently Asked Questions
What is tencent-finance-stock-price?
Query real-time stock market data using Tencent Finance API. Supports Chinese A-shares, Hong Kong stocks, and US stocks. No API key required. It is an AI Agent Skill for Claude Code / OpenClaw, with 1815 downloads so far.
How do I install tencent-finance-stock-price?
Run "/install tencent-finance-stock-price" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is tencent-finance-stock-price free?
Yes, tencent-finance-stock-price is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does tencent-finance-stock-price support?
tencent-finance-stock-price is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created tencent-finance-stock-price?
It is built and maintained by Zhe (Phil) Yang (@yangzhe1991); the current version is v1.1.0.
More Skills