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:
35
skills/alphaear-search/SKILL.md
Normal file
35
skills/alphaear-search/SKILL.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
name: alphaear-search
|
||||
description: Perform finance web searches and local context searches. Use when the user needs general finance info from the web (Jina/DDG/Baidu) or needs to retrieve finance information from a local document store (RAG).
|
||||
---
|
||||
|
||||
# AlphaEar Search Skill
|
||||
|
||||
## Overview
|
||||
|
||||
Unified search capabilities: web search (Jina/DDG/Baidu) and local RAG search.
|
||||
|
||||
## Capabilities
|
||||
|
||||
### 1. Web Search
|
||||
|
||||
Use `scripts/search_tools.py` via `SearchTools`.
|
||||
|
||||
- **Search**: `search(query, engine, max_results)`
|
||||
- Engines: `jina`, `ddg`, `baidu`, `local`.
|
||||
- Returns: JSON string (summary) or List[Dict] (via `search_list`).
|
||||
- **Smart Cache (Agentic)**: If you want to avoid redundant searches, use the **Search Cache Relevance Prompt** in `references/PROMPTS.md`. Read the cache first and decide if it's usable.
|
||||
- **Aggregate**: `aggregate_search(query)`
|
||||
- Combines results from multiple engines.
|
||||
|
||||
|
||||
### 2. Local RAG
|
||||
|
||||
Use `scripts/hybrid_search.py` or `SearchTools` with `engine='local'`.
|
||||
|
||||
- **Search**: Searches local `daily_news` database.
|
||||
|
||||
## Dependencies
|
||||
|
||||
- `duckduckgo-search`, `requests`
|
||||
- `scripts/database_manager.py` (search cache & local news)
|
||||
Reference in New Issue
Block a user