← 返回 Skills 市场
ai-hub-admin

China Stock Market Shanghai Shenzhen Index

作者 AI-Hub-Admin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
141
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cn-stock-market-shanghai-shenzhen
功能描述
Get China A-share market data (Shanghai/SH and Shenzhen/SZ) 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/financeagent
  • api_id: get_cn_stock_market_shanghai_shenzhen

Tool

get_cn_stock_market_shanghai_shenzhen

Get China stock market data for Shanghai (SH) and Shenzhen (SZ).

Parameters:

  • symbol_list (array of string, required): Stock symbols to query.
    • Use SH / SZ prefixes, e.g. "SH600519", "SH600036".
    • Example: ["SH600519", "SH600036"]

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 when success=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_cn_stock_market_shanghai_shenzhen '{"symbol_list": ["SH600519", "SH600036"]}'

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_cn_stock_market_shanghai_shenzhen",
    "data": {
      "symbol_list": ["SH600519", "SH600036"]
    }
  }'
安全使用建议
This skill appears coherent for fetching China market data via the OneKey Gateway. Before installing or running the suggested npm command: (1) verify the npm package @aiagenta2z/onekey-gateway on the npm registry or its repository to ensure it is legitimate; (2) avoid global installation when possible (use npx or a local install) to reduce risk; (3) use a least-privileged OneKey access key (read-only if supported) and confirm you trust the endpoint (https://agent.deepnlp.org) before sending your credentials; (4) if you cannot verify the npm package or gateway, do not install and consider contacting the publisher for provenance.
功能分析
Type: OpenClaw Skill Name: cn-stock-market-shanghai-shenzhen Version: 1.0.0 The skill is a standard API wrapper designed to fetch Chinese stock market data from the DeepNLP OneKey Gateway (agent.deepnlp.org). It requires an API key (DEEPNLP_ONEKEY_ROUTER_ACCESS) and utilizes a specific npm dependency (@aiagenta2z/onekey-gateway) consistent with its stated purpose. No evidence of data exfiltration, malicious execution, or prompt injection was found in SKILL.md or the metadata.
能力评估
Purpose & Capability
The name/description (fetch China SH/SZ market data) matches the declared runtime behavior: it requires a OneKey Gateway access key and calls the FinanceAgent API. The env var DEEPNLP_ONEKEY_ROUTER_ACCESS is appropriate for this gateway-based integration.
Instruction Scope
SKILL.md only instructs setting the OneKey access key, using the provided npm package or calling the documented endpoint (agent.deepnlp.org) with the appropriate payload. It does not request unrelated files, system configuration, or other credentials.
Install Mechanism
The skill is instruction-only (no code files), but SKILL.md lists a dependency (@aiagenta2z/onekey-gateway) and an npm -g install command. The registry metadata indicated 'No install spec', creating a minor inconsistency. Installing a third-party npm package globally can execute arbitrary code from that package — verify the package source, version, and trustworthiness before installing and prefer non-global or ephemeral usage (npx) if possible.
Credentials
Only one environment variable (DEEPNLP_ONEKEY_ROUTER_ACCESS) is required and is directly relevant to connecting to the OneKey Gateway. No other secrets, keys, or config paths are requested.
Persistence & Privilege
The skill does not request 'always:true' or other elevated persistence. It is user-invocable and allows autonomous invocation by default (platform default), which is expected for skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cn-stock-market-shanghai-shenzhen
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cn-stock-market-shanghai-shenzhen 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of cn-stock-market-shanghai-shenzhen skill. - Provides access to China A-share (Shanghai/SH and Shenzhen/SZ) market data. - Uses OneKey Gateway and FinanceAgent for data retrieval. - Requires a OneKey Gateway API key for authentication. - Supports CLI and HTTP (curl) usage for querying stock symbols with SH/SZ prefixes. - Returns stock quote data in JSON format.
元数据
Slug cn-stock-market-shanghai-shenzhen
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

China Stock Market Shanghai Shenzhen Index 是什么?

Get China A-share market data (Shanghai/SH and Shenzhen/SZ) via FinanceAgent on OneKey Gateway. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 141 次。

如何安装 China Stock Market Shanghai Shenzhen Index?

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

China Stock Market Shanghai Shenzhen Index 是免费的吗?

是的,China Stock Market Shanghai Shenzhen Index 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

China Stock Market Shanghai Shenzhen Index 支持哪些平台?

China Stock Market Shanghai Shenzhen Index 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 China Stock Market Shanghai Shenzhen Index?

由 AI-Hub-Admin(@ai-hub-admin)开发并维护,当前版本 v1.0.0。

💬 留言讨论