← 返回 Skills 市场
Hong Kong Stock Market HKEX
作者
AI-Hub-Admin
· GitHub ↗
· v1.0.0
· MIT-0
125
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hk-stock-market-hkex
功能描述
Get HKEX (Hong Kong Stock Exchange) market data via FinanceAgent on OneKey Gateway.
使用说明 (SKILL.md)
OneKey Gateway
Use one access key to connect to various commercial APIs via the DeepNLP OneKey Agent Router.
Quick Start
Set your OneKey Access Key
export DEEPNLP_ONEKEY_ROUTER_ACCESS=your_access_key
Common settings:
unique_id:aiagenta2z/financeagentapi_id:get_hk_stock_market_hkex
Tool
get_hk_stock_market_hkex
Get HKEX (Hong Kong Stock Exchange) stock market data.
Parameters:
symbol_list(array of string, required): Stock symbols to query.- For HKEX, this is typically the numeric stock code as a string (to preserve leading zeros if present), e.g.
"700","1024". - Example:
["700", "1024"]
- For HKEX, this is typically the numeric stock code as a string (to preserve leading zeros if present), e.g.
Response (JSON):
success(boolean): Whether the request succeeded.data(array): List of stock quote objects (fields depend on the upstream data source).message(string, optional): Error message whensuccess=false.
Usage
CLI Usage
## install onekey agent gateway
npm install @aiagenta2z/onekey-gateway
## CLI to Call API and Symbol List
npx onekey agent aiagenta2z/financeagent get_hk_stock_market_hkex '{"symbol_list": ["700", "1024"]}'
HTTP (curl) Usage
export DEEPNLP_ONEKEY_ROUTER_ACCESS=your_access_key
curl -v -X POST "https://agent.deepnlp.org/agent_router" \
-H "Content-Type: application/json" \
-H "X-OneKey: $DEEPNLP_ONEKEY_ROUTER_ACCESS" \
-d '{
"unique_id": "aiagenta2z/financeagent",
"api_id": "get_hk_stock_market_hkex",
"data": {
"symbol_list": ["700", "1024"]
}
}'
安全使用建议
This skill appears to do what it claims — call a OneKey FinanceAgent to get HKEX data — but two things deserve caution: (1) SKILL.md requires DEEPNLP_ONEKEY_ROUTER_ACCESS and an npm package (@aiagenta2z/onekey-gateway), but the registry metadata incorrectly claimed no env vars or install steps; confirm which is authoritative before installing. (2) The npm package will run code on your machine; inspect the package source (or prefer calling the gateway via curl) and limit the scope of the OneKey API key (use least privilege / short-lived token if possible). If you don't trust the npm package or cannot verify it, use the curl example against the listed endpoint instead and keep the gate key secret.
功能分析
Type: OpenClaw Skill
Name: hk-stock-market-hkex
Version: 1.0.0
The skill bundle provides a legitimate interface for fetching Hong Kong Stock Exchange (HKEX) data via the DeepNLP OneKey Gateway. It requires a standard API key (DEEPNLP_ONEKEY_ROUTER_ACCESS) and utilizes a specific npm package (@aiagenta2z/onekey-gateway) to communicate with the endpoint at agent.deepnlp.org. No malicious code, data exfiltration patterns, or prompt injection attacks were identified in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The skill's stated purpose (fetch HKEX data via the OneKey FinanceAgent) aligns with the runtime instructions: it requires a OneKey gateway API key and uses an aiagenta2z/financeagent API. That environment variable and the provided API endpoint are coherent with the described functionality.
Instruction Scope
SKILL.md only instructs exporting a single gateway API key, installing/using an npm package, and calling the OneKey agent endpoint (or using the provided curl). It does not instruct reading unrelated files, broad system probes, or exfiltrating data to unexpected endpoints; the external endpoint referenced (https://agent.deepnlp.org/agent_router) is consistent with the OneKey gateway usage.
Install Mechanism
The skill recommends installing an npm package (@aiagenta2z/onekey-gateway) globally. npm packages are a moderate risk because they execute code from a registry; the package name looks consistent with the agent referenced, but the registry metadata previously supplied to the catalog claimed 'No install spec'. That metadata mismatch and the fact the package will run code on the host warrant review of the npm package source before installation.
Credentials
The SKILL.md requires a single env var (DEEPNLP_ONEKEY_ROUTER_ACCESS), which is appropriate for a gateway API. However, the skill registry metadata at the top of the submission listed 'Required env vars: none' and 'No install spec', which contradicts SKILL.md. This discrepancy (manifest claims no credentials but SKILL.md requires a gateway key) reduces confidence and should be resolved before use.
Persistence & Privilege
The skill does not request always:true, does not ask to modify other skills or system-wide settings, and is user-invocable. Autonomous invocation is allowed by default but is not an additional red flag here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hk-stock-market-hkex - 安装完成后,直接呼叫该 Skill 的名称或使用
/hk-stock-market-hkex触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release for HKEX (Hong Kong Stock Exchange) market data access.
- Provides real-time HKEX stock data via FinanceAgent on OneKey Gateway.
- Supports querying multiple HKEX stock codes (stock symbols as string, e.g. "700", "1024").
- Offers CLI and HTTP (curl) usage examples for easy integration.
- Requires a OneKey Gateway API key (DEEPNLP_ONEKEY_ROUTER_ACCESS) for authentication.
- Includes step-by-step installation and setup instructions.
元数据
常见问题
Hong Kong Stock Market HKEX 是什么?
Get HKEX (Hong Kong Stock Exchange) market data via FinanceAgent on OneKey Gateway. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 125 次。
如何安装 Hong Kong Stock Market HKEX?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hk-stock-market-hkex」即可一键安装,无需额外配置。
Hong Kong Stock Market HKEX 是免费的吗?
是的,Hong Kong Stock Market HKEX 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Hong Kong Stock Market HKEX 支持哪些平台?
Hong Kong Stock Market HKEX 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Hong Kong Stock Market HKEX?
由 AI-Hub-Admin(@ai-hub-admin)开发并维护,当前版本 v1.0.0。
推荐 Skills