Graph writeup
A collection of agent skills for investment finance
npx -y skills add ternary-ai/skills --skill graph-writeupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Create a network diagram (peer relationships, business model, news sources) and embed it in the Thesis as a Mermaid graph block. Use when the user asks for a relationship map, peer network, business model diagram, or knowledge graph. For price/performance charts use the chart-writeup skill instead.
SKILL.md
2.0 KB, as published. Nobody here has run it
Graph Writeup
Overview
Generate deterministic Mermaid network diagrams from RDF-structured data and embed them directly in the Thesis as fenced mermaid code blocks. The frontend renders these into interactive graph visualisations.
Quick Use
- Identify the relationship to visualise (peers, news sources, business model).
- Call the appropriate graph tool to get the Mermaid block.
- Paste the returned block verbatim into the
thesisfield at the right section.
Graph Tools
Peer relationship network
graph_peer_network(ticker)
Fetches FMP peers + stock context and produces a directed graph showing sector, industry, country, and peer connections.
News source network
graph_news_sources(ticker)
Maps the ticker to its news API sources with article counts on edges.
Business model diagram
graph_business_model(ticker, extra_links_json)
Builds a top-down graph of company to sector/industry. Pass ad-hoc triples extracted from 10-K text as extra_links_json: [["ALMU", "sells to", "Data Centers"], ["ALMU", "competes with", "II-VI"]]
Writeup Insertion
Return the Mermaid block in the thesis field. Example:
graph LR
ALMU["Aeluma ALMU"]
Technology(("Technology"))
ALMU -->|sector| Technology
COHR["COHR"] -->|peer of| ALMU
Legacy SVG approach
The generate_chart tool (SVG file-based) is still available for custom time-series charts when Mermaid xychart-beta is insufficient.
Notes
- Limit peer networks to 10 nodes for readability.
- If a graph tool errors or returns no data, note it in chat only.
- Mermaid graph direction: "LR" (left-right) for wide diagrams, "TD" (top-down) for deep hierarchies.