A Stock Market
v1.0.0Provides real-time A-share stock and index quotes from Sina Finance using stock codes for Shanghai and Shenzhen exchanges.
Security Scan
OpenClaw
Benign
medium confidencePurpose & Capability
The skill's stated purpose (fetch A‑share quotes) matches the included script which queries a public finance endpoint and formats results. However, the SKILL.md claims 'Sina Finance' while README and the code actually use Tencent's API (https://qt.gtimg.cn). This is a documentation inconsistency but does not change the observable behavior.
Instruction Scope
Runtime instructions and the script only perform HTTP GET requests to a public finance endpoint, parse returned text, and print formatted output. The SKILL.md/README examples and the a-stock.py script do not read unrelated files, environment variables, or send data to unexpected endpoints.
Install Mechanism
There is no formal install spec (instruction-only skill), and the code is included in the package. README suggests creating a symlink into /usr/local/bin with sudo — that step writes to a system path and requires elevated privileges; it's optional but worth caution. The skill does not download or execute remote code during install.
Credentials
The skill requests no environment variables, credentials, or config paths. The network access it needs (public HTTP requests to a finance endpoint) is proportional to its stated function.
Persistence & Privilege
The skill is not always-enabled and does not request persistent elevated privileges. It does not modify other skills or system-wide agent settings.
Assessment
This skill's code simply fetches and parses stock quotes from a public Tencent endpoint and prints them — that matches the core purpose. Before installing: (1) note the documentation mismatch (SKILL.md mentions Sina but the script uses qt.gtimg.cn/Tencent); (2) avoid blindly running the suggested sudo ln -sf /usr/local/bin/... command — inspect the a-stock.py file first and, if you prefer, run it directly from the skill directory without creating a system-wide symlink; (3) be aware the script makes outbound HTTP requests (no credentials used), so if you need to restrict network access run it in a sandbox or environment where outbound requests are controlled; (4) if you need higher assurance, verify the skill source (publisher) or obtain the script from a trusted repository before placing it in a system path.Like a lobster shell, security has layers — review code before you run it.
latest
A 股行情 Skill
实时获取 A 股股票行情数据(使用新浪财经免费 API)
命令
# 查询单只股票
a-stock <股票代码>
# 查询多只股票
a-stock <代码 1> <代码 2> ...
# 查询指数
a-stock sh000001 # 上证指数
a-stock sz399001 # 深证成指
a-stock sh000300 # 沪深 300
股票代码格式
- 上交所:
sh+ 6 位数字 (如sh600519贵州茅台) - 深交所:
sz+ 6 位数字 (如sz000858五粮液)
示例
a-stock sh600519
a-stock sz000858 sh600519
Comments
Loading comments...
