TTokenySpace
返回 Skills 列表

A股逻辑可视化工具

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

#中文
0

安装到 Tokeny(自动)

下载 ZIP
安装"alphaear-logic-visualizer"技能
技能信息:
- 名称: A股逻辑可视化工具
- 标识: alphaear-logic-visualizer
- 描述: 使用这一技能将财务或投资逻辑转化为可视化图表,比如供应链图、因果图谱、风险收益分析图,以及兼容 Draw.io 界面的 mxGraph XML/HTML 格式图表。当用户要求可视化、绘制、绘制图表或解释复杂的财务逻辑时,即可触发此功能。除非要求的输出结果就是图表形式,否则不要将其用于查找原始数据、搜索新闻、筛选股票或跟踪信号。
- 版本: 1.0.0
下载地址:
https://www.tokeny.space/api/skills/alphaear-logic-visualizer/download
继续

复制上方内容到 Tokeny 客户端并在会话中发送即可自动安装;也可直接 下载 ZIP并拖动到技能窗口安装。

技能介绍

Use this skill to turn finance or investment logic into a visual diagram, especially transmission chains, thesis maps, causal loops, risk/benefit paths, and Draw.io-compatible mxGraph XML/HTML artifacts. Trigger when the user asks to visualize, draw, map, diagram, or explain complex finance logic visually. Do not use for raw data lookup, news search, stock screening, or signal tracking unless a diagram is the requested deliverable.

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.

评论

加载中…