Import 9 alphaear finance skills

- alphaear-deepear-lite: DeepEar Lite API integration
- alphaear-logic-visualizer: Draw.io XML finance diagrams
- alphaear-news: Real-time finance news (10+ sources)
- alphaear-predictor: Kronos time-series forecasting
- alphaear-reporter: Professional financial reports
- alphaear-search: Web search + local RAG
- alphaear-sentiment: FinBERT/LLM sentiment analysis
- alphaear-signal-tracker: Signal evolution tracking
- alphaear-stock: A-Share/HK/US stock data

Updates:
- All scripts updated to use universal .env path
- Added JINA_API_KEY, LLM_*, DEEPSEEK_API_KEY to .env.example
- Updated load_dotenv() to use ~/.config/opencode/.env
This commit is contained in:
Kunthawat Greethong
2026-03-27 10:11:37 +07:00
parent 7edf5bc4d0
commit 58f9380ec4
149 changed files with 26867 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
---
name: alphaear-news
description: Fetch hot finance news, unified trends, and prediction financial market data. Use when the user needs real-time financial news, trend reports from multiple finance sources (Weibo, Zhihu, WallstreetCN, etc.), or Polymarket finance market prediction data.
---
# AlphaEar News Skill
## Overview
Fetch real-time hot news, generate unified trend reports, and retrieve Polymarket prediction data.
## Capabilities
### 1. Fetch Hot News & Trends
Use `scripts/news_tools.py` via `NewsNowTools`.
- **Fetch News**: `fetch_hot_news(source_id, count)`
- See [sources.md](references/sources.md) for valid `source_id`s (e.g., `cls`, `weibo`).
- **Unified Report**: `get_unified_trends(sources)`
- Aggregates top news from multiple sources.
### 2. Fetch Prediction Markets
Use `scripts/news_tools.py` via `PolymarketTools`.
- **Market Summary**: `get_market_summary(limit)`
- Returns a formatted report of active prediction markets.
## Dependencies
- `requests`, `loguru`
- `scripts/database_manager.py` (Local DB)