返回技能市场

A股逻辑可视化工具

使用这一技能将财务或投资逻辑转化为可视化图表,比如供应链图、因果图谱、风险收益分析图,以及兼容 Draw.io 界面的 mxGraph XML/HTML 格式图表。当用户要求可视化、绘制、绘制图表或解释复杂的财务逻辑时,即可触发此功能。除非要求的输出结果就是图表形式,否则不要将其用于查找原始数据、搜索新闻、筛选股票或跟踪信号。

版本: 1.0.1分类: 商业运营
中文

在 Tokeny 中使用「A股逻辑可视化工具」

  1. 下载 Tokeny 客户端
  2. 一键安装此技能
  3. 直接在对话中使用
已安装?在 Tokeny 中打开

SKILL.md

AlphaEar Logic Visualizer

Create Draw.io-compatible finance logic diagrams from structured or semi-structured investment reasoning.

Inputs

  • Required: title or topic plus the logic chain to visualize.
  • Preferred node shape: each node has name, type or impact, logic, and optional evidence.
  • Ask a follow-up if the causal direction or main deliverable is unclear.

Workflow

  1. Extract nodes, causal edges, and impact polarity from the user's thesis.
  2. Classify nodes as positive, negative, or neutral.
  3. Use references/PROMPTS.md or scripts/visualizer_prompt.py to generate plain mxGraph XML.
  4. Validate that the XML starts with <mxGraphModel> and ends with </mxGraphModel>.
  5. Render to HTML with VisualizerTools.render_drawio_to_html(xml_content, filename) from scripts/visualizer.py when the user needs a file artifact.
  6. Return the rendered HTML path and a concise explanation of the diagram structure.

Output Contract

  • Deliver Draw.io XML or an HTML file that embeds the diagram.
  • Use left-to-right layout for transmission chains and top-to-bottom layout for hierarchies.
  • Use green for positive, red for negative, and grey for neutral impacts.
  • Avoid overlapping nodes and make edge labels short.

Failure Handling

  • If the thesis lacks enough structure, first produce a node/edge outline and ask for confirmation.
  • If rendering fails, still return validated XML and explain how to open it in Draw.io.
  • Do not invent unsupported financial relationships; mark uncertain links as assumptions.

Validation

  • Run or review tests/test_visualizer.py after changing scripts.
  • Use evals/evals.json for routing and output-contract checks.

Tokeny 是什么

  • 免费的桌面 AI 助手,支持 Windows、macOS 和 Linux。
  • 说一句话就能处理文件、生成文档与表格、执行多步骤任务。
  • 通过技能和 MCP 扩展能力,一键安装市场里的资源。
了解 Tokeny

评论与讨论

0/2000

还没有评论,分享你的体验吧。