← 返回 Skills 市场
261
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install a-stock-market-1-0-0
功能描述
Provides real-time A-share stock market data from Sina Finance API for individual stocks and indices by code.
使用说明 (SKILL.md)
A 股行情 Skill
实时获取 A 股股票行情数据(使用新浪财经免费 API)
命令
# 查询单只股票
a-stock \x3C股票代码>
# 查询多只股票
a-stock \x3C代码 1> \x3C代码 2> ...
# 查询指数
a-stock sh000001 # 上证指数
a-stock sz399001 # 深证成指
a-stock sh000300 # 沪深 300
股票代码格式
- 上交所:
sh+ 6 位数字 (如sh600519贵州茅台) - 深交所:
sz+ 6 位数字 (如sz000858五粮液)
示例
a-stock sh600519
a-stock sz000858 sh600519
安全使用建议
This script appears to do what it says (fetch A‑share quotes) and does not request secrets, but there are inconsistencies you should clear up before installing: 1) SKILL.md and the package description mention Sina Finance while the actual script and README use Tencent's API (qt.gtimg.cn) — confirm which data source you trust. 2) The README advises creating a system symlink with sudo; avoid using sudo on untrusted code — you can run the script directly (python3 a-stock.py ...) or put a copy in a user-local bin directory (~/.local/bin) instead. 3) Review the a-stock.py source yourself (it is short and readable) or run it in an isolated environment to observe network calls. If you need guarantees about provenance or updates, ask the publisher for a canonical homepage or repository and verify the owner metadata mismatch before granting any elevated install actions.
功能分析
Type: OpenClaw Skill
Name: a-stock-market-1-0-0
Version: 1.0.0
The skill is a straightforward tool for querying A-share stock market data using the public Tencent Finance API. The Python script (a-stock.py) uses standard libraries (urllib) to fetch and parse data, and the documentation (SKILL.md, README.md) aligns perfectly with the code's functionality without any suspicious instructions or hidden behaviors.
能力评估
Purpose & Capability
The skill claims to use Sina Finance in the package description and SKILL.md, but the README and the included a-stock.py actually call Tencent's API (https://qt.gtimg.cn). Functionality (fetching A‑share quotes) is coherent, but the declared data source and some metadata owner IDs are inconsistent and potentially misleading.
Instruction Scope
Runtime instructions and the script stay within the stated purpose: they take stock codes, call a public quote API, parse and print results. The code does not read other files, environment variables, or send data to unexpected endpoints beyond the quote API.
Install Mechanism
There is no automated install spec. This is an instruction-only skill with an included Python script. README suggests creating a symlink into /usr/local/bin (requires sudo) or running the script directly. No downloads or archive extraction are performed by the skill itself.
Credentials
The skill requests no environment variables, no credentials, and accesses no config paths. Network access to the public Tencent quote endpoint is the only external resource used, which is proportional to its function.
Persistence & Privilege
The skill does not request always:true and does not modify other skills. README suggests a system-wide symlink (/usr/local/bin) which requires elevated privileges — this is a local install choice and not required by the skill, but users should be cautious about running sudo for third-party code.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install a-stock-market-1-0-0 - 安装完成后,直接呼叫该 Skill 的名称或使用
/a-stock-market-1-0-0触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of A 股行情 Skill
- Provides real-time A股 stock quotes via Sina Finance API.
- Supports querying single or multiple stocks by code.
- Can fetch major index data (e.g., 上证, 深证, 沪深300).
- Accepts standardized stock code formats for both Shanghai and Shenzhen exchanges.
元数据
常见问题
A Stock Market 1.0.0 是什么?
Provides real-time A-share stock market data from Sina Finance API for individual stocks and indices by code. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 261 次。
如何安装 A Stock Market 1.0.0?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install a-stock-market-1-0-0」即可一键安装,无需额外配置。
A Stock Market 1.0.0 是免费的吗?
是的,A Stock Market 1.0.0 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
A Stock Market 1.0.0 支持哪些平台?
A Stock Market 1.0.0 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 A Stock Market 1.0.0?
由 niceNASA(@nicenasa)开发并维护,当前版本 v1.0.0。
推荐 Skills