← 返回 Skills 市场
zhikun9

Stocki

作者 zhikun9 · GitHub ↗ · v0.4.3 · MIT-0
cross-platform ✓ 安全检测通过
250
总下载
2
收藏
0
当前安装
21
版本数
在 OpenClaw 中安装
/install stocki
功能描述
AI financial analyst with institutional-grade data covering A-shares, HK stocks, US stocks, ETFs, and indices. Supports real-time quotes, sector/industry ana...
安全使用建议
This skill appears internally consistent with its described purpose, but consider these practical safety steps before installing: - Only set STOCKI_API_KEY and STOCKI_GATEWAY_URL if you trust the Stocki service (https://api.stocki.com.cn). The API key grants access to your Stocki account—treat it like a password and prefer a key with limited scope if possible. - The skill will make outbound network requests (to your configured gateway and to raw.githubusercontent.com for version checks) and will create a local workspace (~/stocki/) and downloaded reports. If you run in a sensitive environment, consider installing in a sandbox or container. - The doctor can reinstall itself using clawhub/git and runs an rm -rf on the skill directory after a basic basename check; review the _reinstall_skill() logic if you are concerned about self-updating scripts. - Scheduled monitoring via cron is suggested in SKILL.md—cron jobs will cause periodic outbound queries. Only enable scheduling if you want automated polling. - If you need additional assurance, inspect the full scripts locally (already bundled) and run python3 scripts/stocki.py diagnose to verify behavior with a test API key. Overall: coherent and expected for a gateway-backed financial analysis CLI, but exercise standard caution around API keys, automatic updates, and scheduled tasks.
功能分析
Type: OpenClaw Skill Name: stocki Version: 0.4.3 The Stocki skill bundle is a financial analysis tool designed to provide market data and quantitative analysis via a remote gateway. The code in `stocki.py` and `_gateway.py` uses standard Python libraries to interact with its API and includes a 'doctor' command for self-repair that can re-install the skill via Git or ClawHub. While the self-update mechanism and the management of a local workspace in `~/stocki/` involve high-privilege file system operations, they are aligned with the stated purpose of the tool, and the inclusion of path traversal checks in the `download` command suggests a non-malicious, security-conscious implementation.
能力评估
Purpose & Capability
Name/description (financial analyst, real-time quotes, quant/backtesting) align with required binaries (python3), required env vars (STOCKI_GATEWAY_URL, STOCKI_API_KEY), and the included scripts which call the Stocki gateway endpoints. No unrelated credentials or unusual binaries are requested.
Instruction Scope
Runtime instructions (SKILL.md) direct the agent to run the provided CLI scripts and to set the two declared env vars. The skill creates a local workspace (~/stocki/) for preferences, portfolio (only if user consents), and quant reports; it also recommends cron schedules for periodic queries. The doctor/diagnose steps perform network checks and a remote SKILL.md fetch from GitHub. These actions are consistent with the stated purpose but give the skill discretion to perform network calls, create local files, and run scheduled tasks — users should be aware of scheduled polling and local storage of reports.
Install Mechanism
No packaged install spec in the registry (instruction-only), and INSTALL.md points to GitHub or clawhub/skillhub installs. The code bundled with the skill uses only Python stdlib and standard git/cli operations. There are no downloads from obscure URLs or use of URL shorteners.
Credentials
Only STOCKI_GATEWAY_URL and STOCKI_API_KEY are required (primaryEnv = STOCKI_API_KEY). That is proportionate for a gateway-based data service. The scripts only read those env vars and do not request other unrelated secrets or system tokens.
Persistence & Privilege
The skill does not request always:true and does not modify other skills' configs. The doctor can reinstall the skill (runs clawhub/git and rm -rf on the skill directory) but checks that 'stocki' is in the skill directory name before removing; this is normal for self-update behavior. The skill will create and write to ~/stocki/ when used.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install stocki
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /stocki 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.4.3
Soften scope claims, expand coverage to ETFs/indices/sectors, tighten security
v0.4.2
Fix ClawHub flags: stocki.py visible in manifest, remove curl|bash install
v0.4.1
Republish with doctor command, checksums, updated docs
v0.4.0
Add stocki doctor: setup diagnostics, version check, file integrity, auto-repair
v0.3.1
Default to instant mode for Q&A, diagnose instant-only, version in SKILL.md
v0.3.0
Unified stocki CLI, remove API details from published skill, add quant terminology
v0.2.3
Fix contradictions: scope output rules by mode, minimize instant latency
v0.2.2
Emphasize using provided scripts to avoid response delays
v0.2.1
Translate API reference to English
v0.2.0
Rewrite all scripts to match actual Gateway API (question field, /v1/quant, quota_exceeded)
v0.1.10
Profile starts empty, only record user-demonstrated preferences
v0.1.9
Fix security review: soften directive, context injection with user consent for private data
v0.1.8
Fix KeyError, unbound var, doc contradictions, git timeout
v0.1.7
Add README.md and INSTALL.md GitHub fallback link
v0.1.6
Add INSTALL.md, publish script, self-diagnostic improvements
v0.1.5
Use clawhub/skillhub commands directly, per-command git config for clone
v0.1.4
Add self-diagnostic with verifiable questions, automatic status polling, result delivery workflow
v0.1.3
Fix review issues, add automatic status polling and result delivery workflow
v0.1.2
Rename to Stocki
v0.1.1
Fix review: remove stale design docs, soften always-prefer directive, consistent env vars
元数据
Slug stocki
版本 0.4.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 21
常见问题

Stocki 是什么?

AI financial analyst with institutional-grade data covering A-shares, HK stocks, US stocks, ETFs, and indices. Supports real-time quotes, sector/industry ana... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 250 次。

如何安装 Stocki?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install stocki」即可一键安装,无需额外配置。

Stocki 是免费的吗?

是的,Stocki 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Stocki 支持哪些平台?

Stocki 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Stocki?

由 zhikun9(@zhikun9)开发并维护,当前版本 v0.4.3。

💬 留言讨论