From rkiding-awesome-finance-skills-1
Forecasts market trends using the Kronos time-series model and adjusts predictions based on news sentiment. Useful for financial market analysis and news-aware forecasting.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rkiding-awesome-finance-skills-1:alphaear-predictorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill utilizes the Kronos model (via `KronosPredictorUtility`) to perform time-series forecasting and adjust predictions based on news sentiment.
references/PROMPTS.mdscripts/__init__.pyscripts/forecast_agent.pyscripts/json_utils.pyscripts/kronos_predictor.pyscripts/predictor/model/__init__.pyscripts/predictor/model/kronos.pyscripts/predictor/model/module.pyscripts/prompts/fin_agent.pyscripts/prompts/forecast_analyst.pyscripts/prompts/intent_agent.pyscripts/prompts/isq_prompt_generator.pyscripts/prompts/report_agent.pyscripts/prompts/trend_agent.pyscripts/prompts/visualizer.pyscripts/schema/isq_template.pyscripts/schema/models.pyscripts/utils/__init__.pyscripts/utils/database_manager.pyscripts/utils/json_utils.pyThis skill utilizes the Kronos model (via KronosPredictorUtility) to perform time-series forecasting and adjust predictions based on news sentiment.
Workflow:
scripts/kronos_predictor.py (via KronosPredictorUtility) to generate the technical/quantitative forecast.references/PROMPTS.md to subjectively adjust the numbers based on latest news/logic.Key Tools:
KronosPredictorUtility.get_base_forecast(df, lookback, pred_len, news_text): Returns List[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)
This skill requires the Kronos model and an embedding model.
exports/models directory exists in the project root.kronos_news_v1.pt) in exports/models/.[!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.
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.torchtransformerssentence-transformerspandasnumpyscikit-learnnpx claudepluginhub rkiding/awesome-finance-skillsForecasts future values from historical time series data using ARIMA, Prophet models; analyzes trends, seasonality, autocorrelation; outputs predictions with confidence intervals. For sales, traffic, stock forecasts.
Zero-shot univariate time-series forecasting with Google's TimesFM foundation model. Produces point forecasts and prediction intervals from CSV/DataFrame/array inputs with a preflight system checker.
Forecasts univariate time series zero-shot with Google's TimesFM model. Handles CSV/DataFrame/array inputs for sales, sensors, weather with point forecasts and prediction intervals.