diagram
Skill4 starsChanged 6 months agoApache-2.0View on GitHub
Renders interactive diagrams in the browser using Cytoscape.js. Use when the user asks to visualize, diagram, draw, render, or show a graph, flowchart, dependency tree, roadmap, architecture diagram, or any node-and-edge structure. Always renders live in browser — never as a static image.
51 other projects use a version of this.
Adopted by
Most recently taken up by
- jame-hv/brse-toolkittheir own version, first seen Nov 8, 2026
- clearsmog/claude-skillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- ActuallyNodejam/openpaperworktheir own version, first seen Nov 8, 2026
- seayniclabs/homelab-infra-mcptheir own version, first seen Nov 8, 2026
Used with
Projects with it also use ios-sync, benchmark-models and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Saqlain-811Skillios-sync
Regenerate the iOS debug bridge against the latest upstream gstack templates. (gstack)
Also in 4 projects that use this
ShreyRaviSkillbenchmark-models
Cross-model benchmark for gstack skills. Runs the same prompt through Claude, GPT (via Codex CLI), and Gemini side-by-side — compares latency, tokens, cost, and optionally quality via LLM judge. Answers "which model is actually best for this skill?" with data instead of vibes. Separate from /benchmark, which measures web page performance. Use when: "benchmark models", "compare models", "which model is best for X", "cross-model comparison", "model shootout". (gstack) Voice triggers (speech-to-text aliases): "compare models", "model shootout", "which model is best".
Also in 5 projects that use this
ShreyRaviSkilllanding-report
Read-only queue dashboard for workspace-aware ship. Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next". (gstack)
Also in 5 projects that use this
timurgaleevSkilldocument-generate
Generate missing docs for a feature, module or project as tutorials, how-tos, reference and explanation.
Also in 4 projects that use this
Saqlain-811Skillios-clean
Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)
Also in 3 projects that use this
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 4 projects that use this
- +2 more from ShreyRavi
- +1 more from Saqlain-811
Other versions51 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 51
- garrytan/gstack★ 141ksame name
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- HybridAIOne/hybridclaw★ 159same name
- Kastalien-Research/thoughtbox★ 64same name
- jantichy/claude★ 45same name
- domengabrovsek/agent-config★ 22same name
- domengabrovsek/claude★ 22same name
- heathdutton/claude-d2-diagrams★ 16same name
- johnlindquist/claude-workshop-skills★ 16same name
41 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository57 other files it gives its agents.
- autopilotSkill
- build-python-librarySkill
- build-temporalSkill
- canon-design-reviewSkill
- canon-pr-reviewSkill
- canon-reviewSkill
- ccr-modelsSkill
- ccr-runSkill
- chartSkill
- ci-health-reportSkill
- code-quality-trendsSkill
- competitive-matrixSkill
- councilSkill
- create-skillSkill
- deep-debug-ensemble-v1Skill
- deep-debugSkill
- deep-designSkill
- deep-ideaSkill
- deep-planSkill
- deep-qa-ensemble-v1Skill
- deep-qaSkill
- deep-researchSkill
- dependency-auditSkill
- deploy-status-reportSkill
- develop-board-gameSkill
- docxSkill
- dora-lite-reportSkill
- find-skillSkill
- flaky-test-diagnoserSkill
- gap-finderSkill
- gen-crash-testSkill
- gen-smokeSkill
- goal-managerSkill
- init-github-repoSkill
- loop-until-doneSkill
- magic-fetchSkill
- ml-pipeline-reportSkill
- monitorSkill
- napSkill
- pipeline-health-reportSkill
- platform-friction-detectorSkill
- pptxSkill
- prod-readinessSkill
- prompt-clash-ensembleSkill
- prompt-clashSkill
- retrospectSkill
- slack-digestSkill
- slidesSkill
- specSkill
- sprint-retroSkill
- tableSkill
- team-temporalSkill
- timelineSkill
- update-stop-gateSkill
- user-activity-reportSkill
- vc-gauntletSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 43 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Before delivering, verify ALL:
- Very specific: line 44
Never render to PNG: Always write /tmp/diagram.html and open in browser.
- Very specific: line 46
Always use
new_pagefor first open: Use mcp__chrome-devtools__new_page with url: file:///tmp/diagram.html. - Very specific: line 47
Always wait before screenshotting: Call wait_for on a text string that appears after Cytoscape renders (legend text or a node label).
- Very specific: line 48
Never set node dimensions to
label: Always use explicit pixel widths and heights (e.g.
“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Diagram
Renders interactive, draggable diagrams in the browser using Cytoscape.js from context-supplied nodes and edges.
Workflow
- Extract nodes and edges — read labels, connections, and any grouping/color hints from the user's request or conversation context.
- Assign colors and positions — choose a color scheme and set x/y coordinates for a readable layout. See TEMPLATE.md for layout patterns.
- Write the HTML file — write a complete self-contained file to
/tmp/diagram.htmlusing the Cytoscape.js template. See TEMPLATE.md for the full template. - Render in browser — follow
_shared/chrome-devtools-render.mdto open/tmp/diagram.html, wait for render, screenshot, and fix-and-reload if needed.wait_fora string from the legend or a node label. See TROUBLESHOOTING.md for diagram-specific fixes.
Self-review checklist
Before delivering, verify ALL:
- Screenshot shows all nodes with readable text — no overflow, no overlap
- Solid edges are solid, dashed edges are dashed (check
dashed: 'yes'notdashed: true) cy.fit(cy.elements(), 60)is the last line of the script- CDN URL is exactly
https://cdnjs.cloudflare.com/ajax/libs/cytoscape/3.29.2/cytoscape.min.js - Legend matches the color scheme used in the diagram
- Hint text
drag nodes · scroll to zoom · drag background to panis present - No node has
widthorheightset tolabel— always use explicit pixel values wait_foris called beforetake_screenshot
Golden rules
Hard rules. Never violate these.
- Never use boolean edge attributes. Cytoscape selectors do not reliably match boolean data values. Always store edge style flags as strings:
dashed: 'yes'ordashed: 'no'. Use selectoredge[dashed = "yes"]. - Never render to PNG. Always write
/tmp/diagram.htmland open in browser. Static images cannot be dragged or zoomed by the user. - Always call
cy.fitlast.cy.fit(cy.elements(), 60)must be the final line in the script block. Without it, the diagram may render off-screen or at wrong zoom. - Always use
new_pagefor first open. Usemcp__chrome-devtools__new_pagewithurl: file:///tmp/diagram.html. Only usenavigate_pagewithtype: reloadfor subsequent reloads. - Always wait before screenshotting. Call
wait_foron a text string that appears after Cytoscape renders (legend text or a node label). Never calltake_screenshotimmediately afternew_page. - Never set node dimensions to
label. Always use explicit pixel widths and heights (e.g.width: 200px,height: 80px). Thelabelvalue causes unpredictable sizing. - Always use
text-wrap: wrapwithtext-max-width. Without these, long labels overflow node boundaries invisibly.
Reference files
| File | Contents |
| TEMPLATE.md | Complete Cytoscape.js HTML template, color palette, layout patterns for common diagram types |
| TROUBLESHOOTING.md | Failure diagnosis table: symptoms, causes, fixes |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

