alphaear-predictor
Market prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments.
How do I install this agent skill?
npx skills add https://github.com/rkiding/awesome-finance-skills --skill alphaear-predictorIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The alphaear-predictor skill provides tools for financial market analysis and forecasting. While well-designed, it contains a security risk in its model loading logic where it may deserialize local files using the insecure pickle format. Additionally, the skill's reliance on processing external financial news creates a surface for indirect prompt injection attacks.
- Socketwarn
1 alert: gptAnomaly
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerfail
10/33 files flagged
What does this agent skill do?
AlphaEar Predictor Skill
Overview
This skill utilizes the Kronos model (via KronosPredictorUtility) to perform time-series forecasting and adjust predictions based on news sentiment.
Capabilities
1. Forecast Market Trends
1. Forecast Market Trends
Workflow:
- Generate Base Forecast: Use
scripts/kronos_predictor.py(viaKronosPredictorUtility) to generate the technical/quantitative forecast. - Adjust Forecast (Agentic): Use the Forecast Adjustment Prompt in
references/PROMPTS.mdto subjectively adjust the numbers based on latest news/logic.
Key Tools:
KronosPredictorUtility.get_base_forecast(df, lookback, pred_len, news_text): ReturnsList[KLinePoint].
Example Usage (Python):
from scripts.utils.kronos_predictor import KronosPredictorUtility
from scripts.utils.database_manager import DatabaseManager
db = DatabaseManager()
predictor = KronosPredictorUtility()
# Forecast
forecast = predictor.predict("600519", horizon="7d")
print(forecast)
Configuration
This skill requires the Kronos model and an embedding model.
- Kronos Model:
- Ensure
exports/modelsdirectory exists in the project root. - Place trained news projector weights (e.g.,
kronos_news_v1.pt) inexports/models/. - Or depend on the base model (automatically downloaded).
- Ensure
[!CAUTION] Model Security: This skill loads model weights from
exports/models. We useweights_only=Trueand only scan for thekronos_news_*.ptpattern. Ensure you only place trusted checkpoints in this directory.
- Environment Variables:
EMBEDDING_MODEL: Path or name of the embedding model (default:sentence-transformers/all-MiniLM-L6-v2).KRONOS_MODEL_PATH: Optional path to override model loading.
Dependencies
torchtransformerssentence-transformerspandasnumpyscikit-learn
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/rkiding/awesome-finance-skills/alphaear-predictor">View alphaear-predictor on skillZs</a>