Daily Review Assistant
v1.0.0Generate A-share daily review report (stock-analysis/daily_review.py). Supports --email.
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
Name/description (daily A-share report, optional email) matches the instructions. Required binary python3 is appropriate. However, the SKILL.md references the script stock-analysis/daily_review.py and the akshare dependency while the skill bundle contains no code and does not declare akshare as a required dependency — the skill appears to assume an external workspace/project that it does not provide.
Instruction Scope
Instructions direct the agent to run python3 stock-analysis/daily_review.py, read/write files under stock-analysis/ (reports and email_config.json), and optionally send mail via SMTP. The SKILL.md also reads environment variables (DAILY_REVIEW_EMAIL_CONFIG, SMTP_PASSWORD) but the skill metadata did not declare these env vars. The package contains no script, so following the instructions will depend on files existing elsewhere; the instructions allow overriding config paths via env var which could point the script at arbitrary files.
Install Mechanism
No install spec — lowest install risk. Nothing is downloaded or written by the skill package itself. That said, dependencies (akshare) are listed in prose only and are not installed automatically.
Credentials
The instructions expect an SMTP password from an environment variable (default SMTP_PASSWORD) and allow overriding the email config path via DAILY_REVIEW_EMAIL_CONFIG, but the skill metadata declares no required env vars. Requesting an SMTP credential is reasonable for email functionality, but the undeclared env vars and the ability to point to arbitrary config paths increases the risk that sensitive files or credentials might be read or used unintentionally.
Persistence & Privilege
always is false and the skill does not request persistent privileges or modify other skills' configs. The skill will run commands in the workspace and write report files under stock-analysis/, which is expected for its purpose.
What to consider before installing
This skill is an instruction-only wrapper that expects an existing 'stock-analysis' project in your workspace and an SMTP credential to send mail. Before installing or running it: ensure you actually have the stock-analysis/daily_review.py script and akshare installed; provide a dedicated email account with an app-specific/authorization code (not your primary password); verify the content of stock-analysis/email_config.json (or any file you point DAILY_REVIEW_EMAIL_CONFIG to) so you don't accidentally expose other secrets; and run the script in an isolated or test environment first. The missing script and undeclared env vars are the main inconsistencies — they don't prove malicious intent but do warrant caution.Like a lobster shell, security has layers — review code before you run it.
Runtime requirements
📈 Clawdis
Binspython3
latest
每日复盘小助手
功能
生成 A 股每日复盘 Markdown 报告(基于 AkShare),并可选通过 SMTP 发送邮件。
包含:
- 全市场概览(指数、涨跌家数、成交额等)
- 连板统计与明细(含成交额/换手/封板时间)
- 板块涨幅榜(行业板块;失败时回退概念板块)
- 龙虎榜(标题带总数;列出全部净买入个股,含涨幅;并附“其他上榜”简表)
- 舆情监控(涨停股新闻标题关键词打分)
- 次日策略
使用方式
命令触发(推荐)
- 生成报告:
/daily-review 2026-02-27 - 发送邮件:
/daily-review 2026-02-27 --email - 不传日期:默认今日
由助手在工作区执行:python3 stock-analysis/daily_review.py <date> [--email]。
手动生成
在工作区运行:
python3 stock-analysis/daily_review.py 20260227
日期支持:
YYYYMMDDYYYY-MM-DD- 不传日期:默认今日
发送邮件(可选)
python3 stock-analysis/daily_review.py 20260227 --email
邮件配置文件:
- 默认:
stock-analysis/email_config.json - 可用环境变量覆盖:
DAILY_REVIEW_EMAIL_CONFIG=/path/to/email_config.json
SMTP 密码(授权码)从环境变量读取:
- 默认:
SMTP_PASSWORD
配置示例:
stock-analysis/email_config.example.json
输出
- 报告保存路径:
stock-analysis/reports/YYYYMMDD.md
依赖
- Python 3
akshare
注意
- AkShare 数据源偶发断连,脚本已对板块接口做退避重试与回退。
- 邮件发送使用 SMTP,建议使用服务商的“授权码”而不是登录密码。
Comments
Loading comments...
