alphaear-logic-visualizer

$npx mdskill add RKiding/Awesome-finance-skills/alphaear-logic-visualizer

Generate Draw.io XML diagrams to visualize finance logic flows.

  • Explains complex finance transmission chains or logic flows visually.
  • Uses Draw.io XML format and a Python script to render HTML.
  • Follows prompts from references/PROMPTS.md to generate XML.
  • Saves diagram as an HTML file viewable in a browser.

SKILL.md

.github/skills/alphaear-logic-visualizerView on GitHub ↗
---
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).

More from RKiding/Awesome-finance-skills

SkillDescription
alphaear-deepear-liteFetch the latest financial signals and transmission-chain analyses from DeepEar Lite. Use when the user needs immediate insights into financial market trends, stock performance factors, and reasoning from the DeepEar Lite dashboard.
alphaear-newsFetch 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-predictorMarket prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments.
alphaear-reporterPlan, write, and edit professional financial reports; generate finance chart configurations. Use when condensing finance analysis into a structured output.
alphaear-searchPerform 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-sentimentAnalyze finance text sentiment using FinBERT or LLM. Use when the user needs to determine the sentiment (positive/negative/neutral) and score of financial text markets.
alphaear-signal-trackerTrack finance investment signal evolution and update logic based on new finance market information. Use when monitoring finance signals and determining if they are strengthened, weakened, or falsified.
alphaear-stockSearch A-Share/HK/US finance stock tickers and retrieve finance stock price history. Use when user asks about finance stock codes, recent price changes, or specific company finance stock info.