← 返回 Skills 市场
Stock
作者
asterisk622
· GitHub ↗
· v1.0.3
· MIT-0
317
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install xiaoding-stock
功能描述
Retrieve real-time stock data including price, change, volume, and turnover for A-share, Hong Kong, and US markets via Sina Finance.
安全使用建议
This skill appears safe to run from a permissions standpoint (no secrets requested, only outgoing HTTPS to Sina), but it misrepresents functionality: despite examples and description claiming US-market support (AAPL, MSFT), the bundled CLI only accepts numeric A-share (6 digits) and Hong Kong (5 digits) tickers and will reject letter-based US symbols. If you need US stocks, do not rely on this skill. If you want to proceed: (1) test it locally with numeric A/HK tickers to confirm behavior, (2) avoid providing any extra credentials (none are required), and (3) request or inspect an updated version from the author if US support is required. If you are unsure, consider installing in a controlled environment or asking the maintainer to fix the documentation/examples to match the implementation.
功能分析
Type: OpenClaw Skill
Name: xiaoding-stock
Version: 1.0.3
The skill is a legitimate stock query tool that fetches real-time market data from the Sina Finance API (hq.sinajs.cn). While there is a minor discrepancy where SKILL.md claims US stock support but bin/stock.js only implements A-share and HK stock logic, the code is safe and well-structured. It uses standard Node.js modules, includes input validation via regex to prevent injection, and shows no signs of data exfiltration or malicious execution.
能力评估
Purpose & Capability
The description and SKILL.md claim support for A-share, Hong Kong, and US markets and show examples like AAPL/MSFT (US). The runtime code (bin/stock.js) only accepts 6-digit numeric symbols for A-shares and 5-digit numeric symbols for Hong Kong; it explicitly rejects non-numeric tickers and therefore does not support US tickers as claimed. Other than that mismatch, the code's use of Sina Finance (hq.sinajs.cn) is consistent with the stated A/HK purpose.
Instruction Scope
SKILL.md instructs users to call the 'stock' CLI with examples including US tickers; the instructions therefore promise behavior the code cannot perform. The runtime instructions do not reference system files, extra env vars, or unexpected endpoints — network activity is limited to https://hq.sinajs.cn with a Referer header.
Install Mechanism
No install spec is provided and the package is a simple Node CLI using only built-in 'https'. Nothing is downloaded from untrusted URLs or written to uncommon locations.
Credentials
The skill requests no environment variables, no credentials, and no config paths — there are no secret or privileged requirements beyond normal network egress.
Persistence & Privilege
always is false and the skill is user-invocable only. It does not modify other skills or system-wide settings and does not request persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xiaoding-stock - 安装完成后,直接呼叫该 Skill 的名称或使用
/xiaoding-stock触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
No notable changes in this version.
- No file changes or feature updates detected.
- All supported markets and usage remain the same.
v1.0.2
- No user-visible changes in this version.
- Documentation, features, and usage remain the same as the previous release.
v1.0.1
- Added support for querying real-time stock data from A-shares, Hong Kong stocks, and US stocks using the Sina Finance API.
- Single command interface for checking stocks from all supported markets, with automatic market recognition for A-shares.
- Outputs key stock information: current price, change percentage, change amount, opening price, highest/lowest price, trading volume, trading value, and turnover rate.
元数据
常见问题
Stock 是什么?
Retrieve real-time stock data including price, change, volume, and turnover for A-share, Hong Kong, and US markets via Sina Finance. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 317 次。
如何安装 Stock?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xiaoding-stock」即可一键安装,无需额外配置。
Stock 是免费的吗?
是的,Stock 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Stock 支持哪些平台?
Stock 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Stock?
由 asterisk622(@asterisk622)开发并维护,当前版本 v1.0.3。
推荐 Skills