返回技能市场已安装?在 Tokeny 中打开
A股逻辑可视化工具
使用这一技能将财务或投资逻辑转化为可视化图表,比如供应链图、因果图谱、风险收益分析图,以及兼容 Draw.io 界面的 mxGraph XML/HTML 格式图表。当用户要求可视化、绘制、绘制图表或解释复杂的财务逻辑时,即可触发此功能。除非要求的输出结果就是图表形式,否则不要将其用于查找原始数据、搜索新闻、筛选股票或跟踪信号。
在 Tokeny 中使用「A股逻辑可视化工具」
- 下载 Tokeny 客户端
- 一键安装此技能
- 直接在对话中使用
在电脑上打开此页面
Tokeny 是桌面客户端,请在 Windows、macOS 或 Linux 电脑上打开此页面下载。
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,typeorimpact,logic, and optionalevidence. - Ask a follow-up if the causal direction or main deliverable is unclear.
Workflow
- Extract nodes, causal edges, and impact polarity from the user's thesis.
- Classify nodes as positive, negative, or neutral.
- Use
references/PROMPTS.mdorscripts/visualizer_prompt.pyto generate plain mxGraph XML. - Validate that the XML starts with
<mxGraphModel>and ends with</mxGraphModel>. - Render to HTML with
VisualizerTools.render_drawio_to_html(xml_content, filename)fromscripts/visualizer.pywhen the user needs a file artifact. - 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.pyafter changing scripts. - Use
evals/evals.jsonfor routing and output-contract checks.
Tokeny 是什么
- 免费的桌面 AI 助手,支持 Windows、macOS 和 Linux。
- 说一句话就能处理文件、生成文档与表格、执行多步骤任务。
- 通过技能和 MCP 扩展能力,一键安装市场里的资源。
评论与讨论
0/2000
还没有评论,分享你的体验吧。