Who it is forAn engineer or product lead who must place one diagram in a slide deck, a README, a docs site or a social post.
The problemA diagram that works in one place may be the wrong format in another, and exporting from several tools is slow.
The outcomeA diagram file in the format that fits the destination, such as SVG for a docs site or PNG for slides, and a GIF or MP4 for motion.
What you need first
- A coding agent that supports Agent Skills, such as Claude Code, Cursor, Codex or OpenCode
- Node.js, needed for the command-line SVG export
- Chrome or Edge, needed only for command-line PNG, GIF or MP4 export
Steps
- Open the finished diagram HTML file in a browser
- Open the Export menu in the diagram and choose PNG, JPEG, SVG, GIF or MP4
- For slides or PDF, pick SVG or a high-resolution PNG
- For a README or docs site, pick SVG, and GIF if you want motion
- Ask your agent to remove the See Code mark if you do not want it on the final image
Prompt for your agent
Use the SeeCode skill from the Aryanutkarsh/SeeCode repo to export <path to diagram> as <format for the destination>. Expected output: one file in that format sized for the destination. Verify that the file opens and that its smallest labels are readable at the size you will use.
Caveat. Command-line PNG, GIF and MP4 export needs Chrome or Edge, while the in-browser Export menu needs nothing installed.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Aryanutkarsh/SeeCode and "Export a diagram as SVG, PNG, GIF or MP4 for slides, docs or posts"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer