Our review
Runs the full investment analysis pipeline: fetches fresh stock data, runs GBM and neural network predictions, classic valuations, regenerates the dashboard, and starts the live server.
Strengths
- Automates the entire data and model update process in a single command
- Supports custom universes (sp500, japan, tech, etc.) and step skipping via flags
- Starts the dashboard in the background for immediate access
- Uses uv run python for clean, reproducible execution
Limitations
- Requires internet connectivity for yfinance data fetching
- Full pipeline can take 10–20 minutes to complete
- Does not handle port conflicts if the server is already running
When you need to refresh stock data, rerun predictions, and view the updated dashboard.
If you only need an isolated part of the analysis (e.g., predictions only without the dashboard), it's better to call the specific script directly with the appropriate options.
Security analysis
CautionThe skill uses Bash to start a local dashboard server and run a data pipeline. While the commands themselves are not malicious, they involve network services and script execution that could be risky if the local environment is insecure. No exfiltration or destructive commands are present, but caution is advised.
- •Starts a background server on port 8080 without explicit guidance on network exposure or authentication
- •Runs bash commands using `uv run python`, which can execute arbitrary code if the user's environment is compromised
Examples
/update/update --universe japan --skip-nn/update --universe sp500 --skip-fetch --skip-gbmname: update description: Fetch fresh stock data, run valuations, generate dashboard, and start the live server. Use when the user wants to update data and view the dashboard. disable-model-invocation: true argument-hint: "[--universe sp500] [--skip-fetch] [--skip-gbm] [--skip-nn] [--skip-classic] [--skip-scanner]" allowed-tools: Bash
Update Data & Launch Dashboard
Run the full investment analysis pipeline and serve the dashboard.
Steps
-
Start the dashboard server in the background so the user can see progress immediately:
uv run python neural_network/invest_training_package/scripts/dashboard_server.py &Tell the user: Dashboard is live at http://localhost:8080
-
Run the full update pipeline. Pass through any arguments the user provided (universe, skip flags):
uv run python scripts/update_all.py $ARGUMENTSThis runs (in order, unless skipped):
- Data fetching from yfinance
- GBM predictions (6 variants)
- Neural network multi-horizon predictions
- Classic valuations (DCF, RIM, ratios, etc.)
- Dashboard HTML regeneration
- Opportunity scanner
The default universe is
sp500. Common alternatives:international,japan,tech,growth,europe,spain,all,cached. -
Report completion — summarize what ran, how long it took, and remind the user the dashboard is at http://localhost:8080
Important
- Always use
uv run pythonfor all commands - Run the dashboard server FIRST so the user gets the link immediately
- The update pipeline can take 10-20 minutes for a full run; keep the user informed of progress
- If the dashboard server is already running on port 8080, skip starting it again and just run the update pipeline
- If the user only says
/updatewith no arguments, default to--universe sp500
Prompt Engineering
Data & AI
Prompt engineering best practices and templates to maximize AI outputs.
Data Visualization
Data & AI
Generates data visualizations and charts tailored to your data.
RAG Architecture Setup
Data & AI
Setup guide for RAG (Retrieval-Augmented Generation) architectures.