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
- 01Generate Draw.io-compatible XML
- 02Use prompts to structure diagram generation
- 03Render XML as an HTML file
Use cases
- 01Visualize an investment thesis
- 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-visualizerAfter installing, type/alphaear-logic-visualizerin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/PROMPTS.mdscripts/__init__.pyvisualizer_prompt.pyvisualizer.pytests/test_visualizer.pyDetails
From the project READMEAlphaEar 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:
- Generate XML: Use the Draw.io XML Generation Prompt from
references/PROMPTS.mdto convert your logical chain into XML. - Save/Render: Use
scripts/visualizer.pymethodrender_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