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:
31
skills/alphaear-logic-visualizer/SKILL.md
Normal file
31
skills/alphaear-logic-visualizer/SKILL.md
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
name: alphaear-logic-visualizer
|
||||
description: Create visualize finance logic diagrams (e.g., Draw.io XML) to explain complex finance transmission chains or finance logic flows.
|
||||
---
|
||||
|
||||
# AlphaEar Logic Visualizer Skill
|
||||
|
||||
## Overview
|
||||
|
||||
This skill specializes in creating visual representations of logic flows, specifically generating Draw.io XML compatible diagrams. It is useful for visualizing investment theses or signal transmission chains.
|
||||
|
||||
## Capabilities
|
||||
|
||||
### 1. Generate Draw.io Diagrams
|
||||
|
||||
### 1. Generate Draw.io Diagrams (Agentic Workflow)
|
||||
|
||||
**YOU (the Agent)** are the Visualizer. Use the prompts in `references/PROMPTS.md` to generate the XML.
|
||||
|
||||
**Workflow:**
|
||||
1. **Generate XML**: Use the **Draw.io XML Generation Prompt** from `references/PROMPTS.md` to convert your logical chain into XML.
|
||||
2. **Save/Render**: Use `scripts/visualizer.py` method `render_drawio_to_html(xml_content, filename)` to save the XML into a viewable HTML file for the user.
|
||||
|
||||
**Example Usage (Conceptual):**
|
||||
- **Agent Action**: "I will now generate a Draw.io XML for the transmission chain..."
|
||||
- **Tool Call**: `visualizer.render_drawio_to_html(xml_content="<mxGraphModel>...", filename="chain_visual.html")`
|
||||
|
||||
|
||||
## Dependencies
|
||||
|
||||
- None (Standard Library for string manipulation).
|
||||
Reference in New Issue
Block a user