daily-stock-analysis
Deterministic daily stock analysis skill for global equities. Use when users need daily analysis, next-trading-day close prediction, prior forecast review, rolling accuracy, and reliable markdown report output.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/hexavi8/daily-stock-analysisDaily Stock Analysis
Perform market-aware, evidence-based daily stock analysis with prediction, next-run review, rolling accuracy tracking, and a structured self-evolution mechanism that updates future assumptions from observed forecast errors.
Hard Rules
- Read and write files only under
working_directory. - Save new reports only to:
<working_directory>/daily-stock-analysis/reports/
- Use filename:
YYYY-MM-DD-<TICKER>-analysis.md
- If same ticker/day file exists, ask user:
overwriteornew_version(-v2,-v3, ...)- For unattended runs, default to
new_version
- Always review history before new prediction.
- Limit history read count to control token usage:
- Script mode: max 5 files (default)
- Compatibility mode: max 3 files
Required Scripts (Use First)
- Plan output path + collect history:
python3 {baseDir}/scripts/report_manager.py plan \
--workdir <working_directory> \
--ticker <TICKER> \
--run-date <YYYY-MM-DD> \
--versioning auto \
--history-limit 5
- Compute rolling accuracy from existing reports:
python3 {baseDir}/scripts/calc_accuracy.py \
--workdir <working_directory> \
--ticker <TICKER> \
--windows 1,3,7,30 \
--history-limit 60
- Optional: migrate legacy files after explicit user confirmation:
python3 {baseDir}/scripts/report_manager.py migrate \
--workdir <working_directory> \
--file <ABS_PATH_1> --file <ABS_PATH_2>
Compatibility Mode (No Python / Small Model)
If Python scripts are unavailable or model capability is limited, switch to minimal mode:
- Read at most 3 recent reports for the same ticker.
- Use only a minimal source set:
- one official disclosure source
- one reliable market data source (Yahoo Finance acceptable)
- Output concise result only:
- recommendation
pred_close_t1- prior review (
prev_pred_close_t1,prev_actual_close_t1,AE,APE) if available - one
improvement_action
- Save report with same filename rules in canonical reports directory.
See references/minimal_mode.md.
Minimal Run Protocol
- Resolve ticker/exchange/market (ask if ambiguous).
- Run
report_manager.py plan. - Read
history_filesreturned by script. - If
legacy_filesexist, list all absolute paths and ask whether to migrate. - Gather data using
references/sources.md+references/search_queries.md. - Run
calc_accuracy.pyfor consistent metrics. - Render report using
references/report_template.md. - Save to
selected_output_filereturned byreport_manager.py.
Required Output Fields
Must include:
recommendationpred_close_t1prev_pred_close_t1prev_actual_close_t1AE,APE- rolling strict/loose accuracy fields
improvement_actions
Self-Improvement (Required)
Each run must include 1-3 concrete improvement_actions from recent misses and use them in the next run.
Do not skip this step.
Scheduling Recommendation
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-hexavi8-daily-stock-analysis": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Qrcode
Skill by hexavi8
embodied-ai-news
Aggregates publicly available Embodied AI and Robotics news from curated sources (robotics media, arXiv, company blogs). Delivers structured briefings on humanoid robots, foundation models, hardware, deployments, and funding with direct links to original articles.
file-compression
Compress files to reduce storage and transfer size. Use this skill when users ask to shrink PDFs or images, optimize upload/share size, or balance quality and size. Supports PDF compression and image compression with Python-first workflows plus Node.js fallback when Python dependencies are unavailable.