Give an AI assistant Flowgraph's guides with llms.txt
Point Claude, Cursor, Claude Code or any assistant at flowgraph.studio/llms.txt or llms-full.txt, so it knows the Mermaid syntax, rich nodes and tools Flowgraph Studio supports, and writes diagrams that work the first time.
Assistants write Mermaid from memory, and memory goes out of date: a keyword that changed, an icon name that doesn't exist, a rich-node option Flowgraph Studio added last month. Flowgraph Studio publishes its guides in two plain-text files written for AI assistants, following the llms.txt convention. Give an assistant one of them and it works from the current guides, not from what it half remembers.
Plan: none needed. The files are public and free to read.
The two files
| File | What it holds | Use it when |
|---|---|---|
/llms.txt |
A short index: the MCP server, API and CLI for agents, then every doc, guide and blog post, with a one-line summary and a link. | The assistant can fetch web pages, and should read only what it needs. |
/llms-full.txt |
Every guide in full, as Markdown, with its address and the date it was last updated. About 350 KB. | The assistant can't fetch pages, or you want it to know everything at once. |
Both are rebuilt with the site on every release, so they always match the guides you can read here.
Claude Code and other agents that fetch pages
Tell the agent where to look. In Claude Code, add a line to the project's CLAUDE.md:
Diagrams in this repository are Mermaid, drawn with Flowgraph Studio. Before writing or changing one,
read https://flowgraph.studio/llms.txt and fetch the guides for the diagram type you need.
The agent reads the index, picks the guides that apply, such as the flowchart cheat sheet or rich nodes and icons, and fetches only those. The same line works in AGENTS.md, Cursor rules or Copilot instructions.
Cursor
Cursor can index documentation by address. Open Cursor's settings at Indexing & Docs, add a doc, and enter https://flowgraph.studio/llms-full.txt. Then mention it in a chat with @Docs, for example:
@Docs Flowgraph Studio: draw our checkout flow as a flowchart with rich nodes and AWS icons.
Claude Projects and other chat assistants
For an assistant that can't fetch pages, add the full file as knowledge:
- Open flowgraph.studio/llms-full.txt and save it.
- In a Claude Project, add it under the project's knowledge. In other assistants, attach it to the chat or to the custom assistant's files.
- Ask for the diagram. The assistant now has the guides at hand, with the syntax Flowgraph Studio supports.
The file is large. If the assistant's limit is small, give it only the guides you need instead: llms.txt lists every one with its address.
Docs and tools work best together
The guides tell an assistant what to write. Flowgraph Studio's MCP server lets it check what it wrote: validate_mermaid catches a mistake before you see it, search_icons finds real icon names, and render_diagram shows a preview. With both, an assistant writes a diagram from the guides, checks it, fixes what failed and shows you the result.
Connect the MCP server by signing in: Claude, Claude Code, Cursor and VS Code need only its address.
Follow new guides
New guides appear in llms.txt with each release. To hear about them yourself, subscribe to the feeds in any feed reader:
- Guides:
https://flowgraph.studio/guides/rss.xml - Blog:
https://flowgraph.studio/blog/rss.xml, with each post in full.
More guides
- Edit Mermaid diagrams visually in VS CodeDrag, connect and restyle a Mermaid diagram on Flowgraph's canvas inside VS Code, and every change is written back into the .mmd file or Markdown block as ordinary code.
- Keep a diagram's style in its code with %% flowgraph-themeOne comment line keeps a Mermaid diagram's Flowgraph theme in the file, so it looks the same in your repository, in VS Code, from the CLI and through the render API.
- Preview Flowgraph diagrams in VS Code, with icons, layout and your themeInstall the Flowgraph Studio extension to preview Mermaid files and Markdown blocks in VS Code as Flowgraph draws them, see mistakes in plain words, and export SVG or PNG.