← Back to Skills Marketplace
asterisk622

Stock

by asterisk622 · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
317
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install xiaoding-stock
Description
Retrieve real-time stock data including price, change, volume, and turnover for A-share, Hong Kong, and US markets via Sina Finance.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xiaoding-stock
  3. After installation, invoke the skill by name or use /xiaoding-stock
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug xiaoding-stock
Version 1.0.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Stock?

Retrieve real-time stock data including price, change, volume, and turnover for A-share, Hong Kong, and US markets via Sina Finance. It is an AI Agent Skill for Claude Code / OpenClaw, with 317 downloads so far.

How do I install Stock?

Run "/install xiaoding-stock" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Stock free?

Yes, Stock is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Stock support?

Stock is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Stock?

It is built and maintained by asterisk622 (@asterisk622); the current version is v1.0.3.

💬 Comments