About alphaear-predictor
alphaear-predictor is a skill for forecasting market time series with the Kronos model. It combines a quantitative base forecast with agent-led adjustments informed by recent news and reasoning.
Key features
- 01Kronos-based base forecasts
- 02Adjust forecasts using recent news
- 03Configurable forecast horizon
- 04Optional news projector model weights
Use cases
- 01Generating a market trend forecast
- 02Revising a forecast in light of news
- 03Using an embedding model with forecasts
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ rkiding/ awesome-finance-skills --skill alphaear-predictorAfter installing, type/alphaear-predictorin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/PROMPTS.mdscripts/__init__.pyforecast_agent.pyjson_utils.pykronos_predictor.pyscripts/predictor/model/__init__.pykronos.pymodule.pyscripts/prompts/fin_agent.pyforecast_analyst.pyintent_agent.pyisq_prompt_generator.pyreport_agent.pytrend_agent.pyvisualizer.pyscripts/schema/isq_template.pymodels.pyscripts/utils/__init__.pydatabase_manager.pyjson_utils.pylogging_setup.pyscripts/utils/llm/capability.pyfactory.pyrouter.pyscripts/utils/predictor/evaluation.pykline_generate.pytraining.pyscripts/utils/predictor/model/__init__.pykronos.pymodule.pyDetails
From the project READMEAlphaEar 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