| name | logic-chain-visualizer |
| description | Convert a market narrative, transmission path, or catalyst explanation into a Markdown + Mermaid logic-chain diagram. |
| metadata | {"marketbot":{"emoji":"🕸️","triggers":["logic chain","transmission chain","mermaid diagram","market diagram","传导链","逻辑链","因果链"],"output":"logic-chain-diagram","risk":"low","freshness":"analysis","tools":["logic_chain_visualizer","market_news","market_event_extract"],"required_tools":["logic_chain_visualizer"],"markets":["a-share","hong-kong","us","global","mixed"],"asset_classes":["equity","etf","commodity","crypto","macro"],"task_type":"visual-explanation","determinism":"tool-backed","priority":86}} |
Logic Chain Visualizer
Use this skill to turn a market narrative into a compact visual chain that
shows causal links, transmission paths, and second-order effects.
When to use
- The user asks "why did this happen?" and the answer involves multiple linked
effects.
- A macro or sector event needs a transmission-chain explanation.
market-report, news-intelligence, or earnings-readout would benefit
from a visual explanation rather than a dense paragraph.
Workflow
- Extract the core sequence of events or effects.
- Reduce it to 3-8 nodes.
- Use
logic_chain_visualizer to render:
nodes plus optional labeled edges, or
steps if a simple linear chain is enough
- Return the generated Markdown + Mermaid block together with a short plain
language explanation.
Output format
# Logic Chain: <TITLE>
## Steps
- Step 1
- Step 2
- Step 3
## Diagram
```mermaid
graph TD
N1["Step 1"] --> N2["Step 2"]
N2 --> N3["Step 3"]
## Rules
- Prefer fewer nodes over clutter.
- Keep node labels short and factual.
- Use labels on edges only when they add meaning.
- If the chain is speculative, say so explicitly outside the diagram.