← Back to Skills Marketplace
250
Downloads
2
Stars
0
Active Installs
21
Versions
Install in OpenClaw
/install stocki
Description
AI financial analyst with institutional-grade data covering A-shares, HK stocks, US stocks, ETFs, and indices. Supports real-time quotes, sector/industry ana...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stocki - After installation, invoke the skill by name or use
/stocki - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 250 downloads so far.
How do I install Stocki?
Run "/install stocki" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Stocki free?
Yes, Stocki is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Stocki support?
Stocki is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Stocki?
It is built and maintained by zhikun9 (@zhikun9); the current version is v0.4.3.
More Skills