← 返回 Skills 市场
552
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install sina-stock
功能描述
获取 A 股实时股票行情数据(上证指数、深证成指、创业板指等),使用新浪财经 API。无需 API Key。
安全使用建议
This skill is a small Python script that makes outbound HTTPS requests to Sina's public hq.sinajs.cn endpoint and prints parsed results; it requests no credentials and has no install steps. If you plan to use it in a controlled environment, note: it requires network access (may be blocked by firewalls), respects no credentials so it cannot access protected accounts, and you should follow Sina's usage/rate-limit terms. As always, run the script in a safe environment or review the included scripts/get_stock.py before installing to confirm it meets your policies.
功能分析
Type: OpenClaw Skill
Name: sina-stock
Version: 0.1.0
The skill's core script, `scripts/get_stock.py`, directly concatenates user-provided stock codes into the URL string for `urllib.request` without robust input sanitization. While `urllib.request` mitigates shell injection risks, this constitutes a URL injection vulnerability. This flaw, though not indicative of intentional malice, represents a risky capability that could potentially be exploited for malformed requests or unintended interactions with the target API, classifying it as suspicious rather than benign.
能力评估
Purpose & Capability
Name/description match the included code and docs. The script fetches data from https://hq.sinajs.cn and parses GBK CSV responses; required functionality (no API key, A‑share indices and stocks) is consistent with files and metadata.
Instruction Scope
SKILL.md only instructs running the bundled Python script; the script only performs outbound HTTP(S) requests to Sina, decodes and parses the response, and prints/formats results. It does not read other system files, environment variables, or send data to other third-party endpoints.
Install Mechanism
No install spec; the skill is instruction-only with a small included Python script. There are no downloads, package installs, or extracted archives. Risk from installation is minimal.
Credentials
No environment variables, credentials, or config paths are requested. _meta.json notes python3 as a required binary which is proportionate for a Python script. No unrelated secrets are required.
Persistence & Privilege
Skill does not request always:true, does not modify other skills or system configs, and has no persistent background components. It runs on demand as a simple script.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sina-stock - 安装完成后,直接呼叫该 Skill 的名称或使用
/sina-stock触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Sina Stock skill initial release – fetch real-time A-share stock data easily.
- Get real-time data for major China stock indices and any A-share stock code via Sina Finance API.
- Supports multiple output formats: standard text, JSON, and simplified view.
- No API key required; free to use.
- Displays price, percent change, trading volume, turnover, and detailed quote info.
- CLI script with flexible arguments for batch queries and easy integration.
元数据
常见问题
Sina Stock 是什么?
获取 A 股实时股票行情数据(上证指数、深证成指、创业板指等),使用新浪财经 API。无需 API Key。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 552 次。
如何安装 Sina Stock?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sina-stock」即可一键安装,无需额外配置。
Sina Stock 是免费的吗?
是的,Sina Stock 完全免费(开源免费),可自由下载、安装和使用。
Sina Stock 支持哪些平台?
Sina Stock 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sina Stock?
由 Sunnyfo(@sunnyfo)开发并维护,当前版本 v0.1.0。
推荐 Skills