← 返回 Skills 市场
rix-zhang

Quant Stock

作者 Rix Zhang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
96
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install quant-stock
功能描述
AI量化选股系统 - 基于多维度评分模型的A股选股分析工具。扫描新能源、电力、半导体、医药、AI、机器人、军工、贵金属等行业,输出每日量化选股报告。
安全使用建议
What to consider before installing or enabling this skill: - Don’t run the scripts or install the cron job until you inspect and, if needed, modify them. install_cron.sh will edit your crontab and run_task.sh will attempt to run on a schedule. - Inspect and remove or replace hard-coded recipients: run_task.sh calls openclaw message send --target "oc_9fc66a80f86a4b97f925e526ca35887e" and main.py has FEISHU_CHAT_ID = "oc_0142a8d63ace2e4db368ae7b607e702f". Those IDs will cause reports (potentially sensitive) to be sent to external targets. Change these to IDs under your control or make them configurable before running. - The SKILL.md suggests creating feishu_config.json, but main.py expects it in an odd location (parent of the project directory). Confirm where the code reads the file and place credentials accordingly; do not reuse high-privilege credentials. Prefer to create a dedicated Feishu bot/tenant with minimal permissions. - The skill fetches data from multiple public sources (EastMoney, Sina, Tencent, Baostock) — expected for this purpose — but network access is needed. If you are concerned about data leaving your environment, run the tool in an isolated environment or air-gapped VM. - The repo references update_hot.sh in install_cron.sh but that file is missing; the cron installer may be incomplete or buggy — verify and test manually first. - If you plan to automate, run the scripts manually first to verify outputs, logs, and recipients. Review run_task.sh, main.py and any CLI calls (openclaw) to ensure no unexpected exfiltration. - If you are not comfortable editing code, ask the publisher for a homepage or source repository to verify provenance. The package owner is anonymous in the registry metadata; that reduces trust. Primary risk vectors: hard-coded external recipient IDs (possible exfiltration of reports) and crontab persistence. These are actionable and should be remediated (make recipients configurable, remove hard-coded OpenClaw sends) before allowing scheduled runs.
功能分析
Type: OpenClaw Skill Name: quant-stock Version: 1.0.0 The skill bundle implements a stock analysis tool that exhibits several concerning behaviors. It includes hardcoded messaging targets in scripts/main.py (FEISHU_CHAT_ID) and scripts/run_task.sh (openclaw target ID), which could result in data being sent to the author's accounts rather than the user's. Furthermore, the instructions in references/RULES.md explicitly command the AI agent to be deceptive by filtering out all negative scoring tags from the final report. The bundle also establishes persistence via a crontab installation script (scripts/install_cron.sh) and performs extensive automated network requests to various financial news and data providers.
能力标签
requires-oauth-token
能力评估
Purpose & Capability
Name/description, SKILL.md and most scripts align with a quant stock picker (pool init, data fetch, scoring, report). However the skill asks the user to create a feishu_config.json but then the code uses a hard-coded FEISHU_CHAT_ID and run_task.sh calls the OpenClaw CLI with a hard-coded target ID. Those hard-coded targets are not documented in SKILL.md and are not justified by the stated purpose.
Instruction Scope
SKILL.md instructs running scripts, installing cron jobs and creating feishu_config.json. The runtime scripts do expected tasks (fetch quotes/news, score stocks), but run_task.sh also invokes 'openclaw message send --target "oc_9fc66..."' with the full report, and main.py contains a hardcoded FEISHU_CHAT_ID. That means report contents may be transmitted to external recipients not described in the documentation. The scripts also write and read files under workspace/quant_engine and modify crontab when install_cron.sh is run.
Install Mechanism
There is no formal install spec (instruction-only), which reduces automatic risk. However included shell scripts (install_cron.sh, run_task.sh) will modify crontab and expect a specific workspace layout and venv paths. install_cron.sh references an update_hot.sh that is not present (inconsistency). The scripts also attempt to install Python packages in a venv if present.
Credentials
The skill declares no required env vars, but requires a feishu_config.json (app_id/app_secret) to send Feishu messages. The SKILL.md asks the user to create that file but does not document the code’s hardcoded chat IDs. Additionally run_task.sh relies on an OpenClaw CLI invocation with a hardcoded target ID which could transmit data externally — this is a credential/recipient mismatch versus the skill's declared requirements.
Persistence & Privilege
always:false (good). However the provided install_cron.sh will add cron entries if the user runs it, creating persistent scheduled tasks that will repeatedly run the scripts. That persistence is user-triggered (not automatic) but is a lasting privilege once installed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install quant-stock
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /quant-stock 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
quant-stock version 1.0.0 - 首发上线,支持A股多行业量化选股分析 - 基于6大评分模块对股票进行多维度评分与筛选 - 自动生成每日精选股票及行业分析报告 - 支持飞书消息推送及文本报告输出 - 提供详细加分/扣分规则与配置说明 - 支持股票池初始化与每日定时自动分析
元数据
Slug quant-stock
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Quant Stock 是什么?

AI量化选股系统 - 基于多维度评分模型的A股选股分析工具。扫描新能源、电力、半导体、医药、AI、机器人、军工、贵金属等行业,输出每日量化选股报告。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 96 次。

如何安装 Quant Stock?

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

Quant Stock 是免费的吗?

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

Quant Stock 支持哪些平台?

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

谁开发了 Quant Stock?

由 Rix Zhang(@rix-zhang)开发并维护,当前版本 v1.0.0。

💬 留言讨论