← 返回 Skills 市场
guanhang89

Stock Prediction

作者 guanhang89 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
255
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install stock-prediction
功能描述
自动化股票预测工作流。当用户发送包含股票代码的图片,并提及"预测"、"未来x天"、"采样次数"等关键词时触发。包含:图片中股票代码提取、预测环境检查与自启动、模型版本校验与切换、批量预测脚本执行、结果回传。
安全使用建议
This skill will run local commands (conda activate, python main.py, batch_predict.py), start processes, call localhost:8000, and read/write files under C:\Users\Administrator\Desktop\kronos. Before installing or running it: 1) Verify where image OCR/stock-code-extraction is implemented (the provided scripts don't do OCR); 2) Inspect the backend code (main.py, batch_predict.py) that the skill will start — those files are not included here and could perform arbitrary actions; 3) Do not run on a production or sensitive host — test inside an isolated VM or sandbox first; 4) Update hardcoded paths and conda environment names to point to a non-privileged, known directory or use a dedicated user; 5) Ensure you trust the source (no homepage/unknown owner) and consider firewalling localhost:8000 or monitoring outbound connections while testing. The package is coherent for a local workflow but missing components and hardcoded assumptions make it risky without further review.
功能分析
Type: OpenClaw Skill Name: stock-prediction Version: 1.0.0 The skill bundle is classified as suspicious primarily due to the high risk of command injection in scripts/run_prediction.py and scripts/health_check.py, which use subprocess.run and subprocess.Popen to execute PowerShell commands constructed via string formatting with user-influenced variables. Additionally, the skill relies on hardcoded absolute paths to the 'Administrator' desktop (C:\Users\Administrator\Desktop\kronos), which is a poor security practice and suggests a highly privileged or specific environment requirement. While the logic appears consistent with its stated purpose of stock prediction, the lack of input sanitization and the use of shell execution make it vulnerable to exploitation.
能力评估
Purpose & Capability
The skill claims end-to-end image→prediction behavior and includes scripts to check/start a local backend, switch models, run batch predictions, and read result files. That broadly matches a local prediction workflow. However, the SKILL.md promises image stock-code extraction but none of the provided scripts perform OCR or image parsing — that functionality is missing from the bundle. The code is also tightly tied to a Windows Administrator Desktop path and a specific conda environment, which is a strong environmental assumption that may not match users' systems.
Instruction Scope
Runtime instructions explicitly tell the agent to create folders under C:\Users\Administrator\Desktop\kronos, start/ensure a local service via localhost:8000, activate a conda env, run batch_predict.py, and read result files to send to the user. These actions stay within the claimed purpose (local prediction), but they require the agent to run local commands, spawn processes, and write files to a specific Administrator directory — operations that have real side effects and should not be executed on a machine you don't control or without verifying the backend code.
Install Mechanism
No install spec / no external downloads. The skill is instruction-first and ships three helper scripts. Nothing in the manifest downloads arbitrary code or uses third-party registries.
Credentials
The skill requests no environment variables or external credentials, and makes only localhost HTTP calls. That is proportionate. However, it hardcodes sensitive-looking local paths (Administrator Desktop) and a conda environment name; these assumptions elevate risk if run with elevated privileges or on a multi-user host. Also the skill will spawn processes (python main.py) and could run arbitrary code present in the local backend.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings in the provided files. It does, however, start a local service process and launch commands while running, which is expected for a local workflow but is an action with privilege implications at runtime.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install stock-prediction
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /stock-prediction 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the stock-prediction skill. - Automates stock prediction workflow triggered by images with stock codes and specific keywords. - Extracts stock codes from images, manages environment and model selection, and performs batch predictions. - Supports self-healing: checks service health and auto-starts prediction backend if needed. - Persists prediction data, executes scripts, and automatically returns prediction results to users.
元数据
Slug stock-prediction
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Stock Prediction 是什么?

自动化股票预测工作流。当用户发送包含股票代码的图片,并提及"预测"、"未来x天"、"采样次数"等关键词时触发。包含:图片中股票代码提取、预测环境检查与自启动、模型版本校验与切换、批量预测脚本执行、结果回传。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 255 次。

如何安装 Stock Prediction?

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

Stock Prediction 是免费的吗?

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

Stock Prediction 支持哪些平台?

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

谁开发了 Stock Prediction?

由 guanhang89(@guanhang89)开发并维护,当前版本 v1.0.0。

💬 留言讨论