mcpField
A
alphaear-logic-visualizer

alphaear-logic-visualizer

github.com/rkidingDesign & UI3.1k497 installsUpdated 31w ago
Repository

About alphaear-logic-visualizer

alphaear-logic-visualizer is a skill for agents that turns logical flows, such as investment theses or signal chains, into Draw.io XML diagrams. A script renders the generated XML into a viewable HTML file.

Key features

  1. 01Generate Draw.io-compatible XML
  2. 02Use prompts to structure diagram generation
  3. 03Render XML as an HTML file

Use cases

  1. 01Visualize an investment thesis
  2. 02Map a signal transmission chain

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/rkiding/awesome-finance-skills --skill alphaear-logic-visualizer

After installing, type/alphaear-logic-visualizerin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
PROMPTS.md
scripts/
__init__.py
visualizer_prompt.py
visualizer.py
tests/
test_visualizer.py

Details

From the project README

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).

Comments

Markdown supported