coco-diagram
Use for architecture, current-state, process, data-flow, medallion, or DP diagrams, including redrawing .drawio and Mermaid sources.
Skill by coco-research
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/coco-research-coco-diagram
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/coco-diagram
What's inside
- Skill name
coco-diagram- Description
- Use for architecture, current-state, process, data-flow, medallion, or DP diagrams, including redrawing .drawio and Mermaid sources. Creates branded flowchart, sequence, ER, org, timeline, and chart visuals as standalone HTML/SVG/PNG.
- License
- MIT
- Metadata
- version: 2.3.2
- Instructions
- 562 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: 562 lines (spec recommends under 500)
Files (147)
- LICENSE
- SKILL.md
- THIRD-PARTY-LICENSES.md
- example-architecture-dark.html · assets/
- example-architecture-full.html · assets/
- example-architecture.html · assets/
- example-bar-dark.html · assets/
- example-bar-full.html · assets/
- example-bar.html · assets/
- example-data-flow-dark.html · assets/
- example-data-flow-full.html · assets/
- example-data-flow.html · assets/
- example-datalake-dark.html · assets/
- example-datalake-full.html · assets/
- example-datalake.html · assets/
- example-dp-integration-dark.html · assets/
- example-dp-integration-full.html · assets/
- example-dp-integration.html · assets/
- example-dp-security-matrix-dark.html · assets/
- example-dp-security-matrix-full.html · assets/
- example-dp-security-matrix.html · assets/
- example-er-dark.html · assets/
- example-er-full.html · assets/
- example-er.html · assets/
- example-flowchart-dark.html · assets/
- example-flowchart-full.html · assets/
- example-flowchart.html · assets/
- example-gantt-dark.html · assets/
- example-gantt-full.html · assets/
- example-gantt.html · assets/
- example-high-level-dark.html · assets/
- example-high-level-full.html · assets/
- example-high-level-vertical-dark.html · assets/
- example-high-level-vertical-full.html · assets/
- example-high-level-vertical.html · assets/
- example-high-level.html · assets/
- example-import-drawio.html · assets/
- example-import-mermaid.html · assets/
- example-it-state-dark.html · assets/
- example-it-state-full.html · assets/
- example-it-state.html · assets/
- example-layers-dark.html · assets/
- example-layers-full.html · assets/
- example-layers.html · assets/
- example-line-dark.html · assets/
- example-line-full.html · assets/
- example-line.html · assets/
- example-loop-dark.html · assets/
- example-loop-full.html · assets/
- example-loop-terminal.html · assets/
- example-loop.html · assets/
- example-medallion-dark.html · assets/
- example-medallion-full.html · assets/
- example-medallion.html · assets/
- example-nested-dark.html · assets/
- example-nested-full.html · assets/
- example-nested.html · assets/
- example-org-chart-dark.html · assets/
- example-org-chart-full.html · assets/
- example-org-chart.html · assets/
- …and 87 more
SKILL.md (first lines)
# CoCo Diagram Create visual diagrams as self-contained HTML files with inline SVG and CSS, following an opinionated editorial design system. Twenty-seven visual types. Semantic patterns describe behavior independently; type references describe layout. Details load from `references/` only when selected. --- ## 0. First-time setup — style guide gate **Before generating your first diagram in a new project, verify the style guide has been customized.** Don't silently ship default-skinned diagrams into a branded project. Open [`references/style-guide.md`](references/style-guide.md) and check the default tokens. If they're still the shipped defaults (paper `#f5f5f5`, ink `#2d3142`, accent `#BE185D` coco-magenta), **pause and ask the user**: > *"This is your first Schematic in this project. The style guide is still at the default (neutral white-smoke + coco-magenta). Do you want to customize it to match your brand first? Options: (a) pull from your website URL, (b) extract from an installed skill, (c) extract from a local folder / design-system directory, (d) paste tokens manually, (e) proceed with the default for now."* Then branch: - **(a)** → follow [`references/onboarding.md § URL`](references/onboarding.md) to fetch the site, extract palette + fonts, propose a diff, and write `style-guide.md`. - **(b)** → follow [`references/onboarding.md § Skill`](references/onboarding.md) — ask which skill, read its SKILL.md / CSS / token files, map to semantic roles, propose diff. - **(c)** → follow [`references/onboarding.md § Folder`](references/onboarding.md) — ask for the path, glob for CSS/JSON/MD token files, map to semantic roles, propose diff. - **(d)** → accept the user's tokens and write them into `style-guide.md` under a new "Custom tokens" section. - **(e)** → proceed; optionally remind the user they can run onboarding later. **Once the style guide has been customized** (or the user explicitly opted for default), skip this gate on subsequent runs. A simple way to detect customization: if the `accent` value in `style-guide.md` differs from `#BE185D`, assume custom. --- ## 1. Philosophy **The highest-quality move is usually deletion.** Applied to schematics: - Every node represents a distinct idea. Two nodes that always travel together are one node. - Every connection carries information. If the relationship is obvious from layout, remove the line. - Accent is **editorial, not a flag.** 1–2 focal nodes per diagram. Using it on 5 nodes erases the signal. - The schematic isn't done when everything is added. It's done when nothing can be removed. **Target density: 4/10.** Enough to be technically complete. Not so dense it needs a guide. Above 9 nodes, it's probably two diagrams. --- ## 2. When to Use Use for any of the 27 visual types (§3) when a reader will learn more from a visual than from prose, a table, or a bulleted list. **Don't use for:** - Quick unicode diagrams → use **wiretext**. - Lists of things → table or bullets. - Simple before/after → table. - One-shape "diagrams" → just write the sentence. Before drawing, ask: *Would the reader learn more from this than from a well-written paragraph?* If no, don't draw. --- ## 3. Selection: semantic pattern, then visual type When behavior, state, enforcement, or risk carries the meaning, first load [`references/semantic-patterns.md`](references/semantic-patterns.md) and choose one primary pattern. Then choose the nearest visual type for layout. If no pattern matches, choose the type directly. | Behavioral trigger | Semantic pattern → nearest type | |---|---| | Fan-in, queue depth, finite capacity, bottleneck | **Fan-in queue / bottleneck** → Data flow | | Repeated Question / Input / Governance / Output slots across stages | **Stage framework with semantic slots** → Process | | Conversation or loose input becomes a structured durable artifact | **Unstructured input → structured artifact** → Data flow | | Two rule traces need pass/fail/skipped/not-reached and first divergence | **Paired policy-evaluation traces** → Flowchart | | Trust boundaries plus permitted/forbidden ingress or deploy paths | **Secure paved road** → Architecture | | Controls grouped by where they are enforced | **Governance / control catalog** → Layer stack | | Defenses compensate for prior gaps and residual risk propagates | **Compensating security layers** → Layer stack | The pattern owns semantic primitives and its tighter budget; the type owns layout grammar. Use [`references/animation.md`](references/animation.md) only when motion is requested or materially clarifies ordered change; static remains the default. ### Visual-type guide (27) | If you're showing… | Use | Reference | |---|---|---| | Components + connections in a system | **Architecture** | [type-architecture.md](references/type-architecture.md) | | Legacy IT landscape grouped by phase/department; documents the *before* state in modernization proposals | **IT current-state** | [type-it-state.md](references/type-it-state.md) | | Decision logic with branches | **Flowchart** | [type-flowchart.md](references/type-flowchart.md) | | Time-ordered messages between actors | **Sequence** | [type-sequence.md](references/type-sequence.md) | | States + transitions + guards | **State machine** | [type-state.md](references/type-state.md) | | Entities + fields + relationships | **ER / data model** | [type-er.md](references/type-er.md) | | Events positioned in time | **Timeline** | [type-timeline.md](references/type-timeline.md) | | Cross-functional process with handoffs | **Swimlane** | [type-swimlane.md](references/type-swimlane.md) | | Two-axis positioning / prioritization | **Quadrant** | [type-quadrant.md](references/type-quadrant.md) | | Multiple entities scored across 3–5 quantitative criteria | **Radar / Spider** | [type-radar.md](references/type-radar.md) | | Reinforcing cycle / flywheel where the last step feeds the first and a shared hub accumulates state | **Loop** | [type-loop.md](references/type-loop.md) | | Hierarchy through containment / scope | **Nested** | [type-nested.md](references/type-nested.md) | | Parent → children relationships | **Tree** | [type-tree.md](references/type-tree.md) | | Human/agent/team ownership, reporting, routing, escalation | **Org chart** | [type-org-chart.md](references/type-org-chart.md) | | Stacked abstraction levels | **Layer stack** | [type-layers.md](references/type-layers.md) | | Overlap between sets | **Venn** | [type-venn.md](references/type-venn.md) | | Ranked hierarchy or conversion drop-off | **Pyramid / funnel** | [type-pyramid.md](references/type-pyramid.md) | | Quantitative comparison across categories | **Bar chart** | [type-bar.md](references/type-bar.md) | | Continuous trends over time | **Line chart** | [type-line.md](references/type-line.md) | | Tasks and phases on a timeline | **Gantt** | [type-gantt.md](references/type-gantt.md) | | Distribution and correlation between two variables | **Scatter plot** | [type-scatter.md](references/type-scatter.md) | | End-to-end data stack on a container cluster | **High-Level** | [type-high-level.md](references/type-high-level.md) | | Multi-actor sequential process with data handoffs | **Process** | [type-process.md](references/type-process.md) | | Multi-tier data storage with quality levels and access policies | **Medallion** | [type-medallion.md](references/type-medallion.md) | | Role-scoped data flow: who does what at each pipeline step | **Data flow** | [type-data-flow.md](references/type-data-flow.md) | | Integration topology of a data platform — sources → core → consumers | **DP integration** | [type-dp-integration.md](references/type-dp-integration.md) | | Per-role / per-component access permissions matrix | **DP security matrix** | [type-dp-security-matrix.md](references/type-dp-security-matrix.md) | Rules of thumb: - If a 3-column table communicates the same thing, pick the table. - If two types seem useful, pick the dominant axis; a semantic pattern may add behavior-specific primitives, not a second layout grammar. - If you're past the complexity budget (§7), split into an overview + detail. **Always load the chosen `references/type-*.md` before drawing.** When routed above, also load `semantic-patterns.md`; when animation is chosen, load `animation.md`. ### Confirm before drawing Before rendering, state the plan in one short message: the chosen visual type (and semantic pattern, if routed), the size preset, and anything the complexity budget (§7) will force out. If the user is reachable, let them redirect before you draw; if not, proceed and note the assumptions beside the deliverable. Skip the pause only when the request already pins type, size, and content exactly.
From coco-research/coco, MIT.
More from coco-research/coco
- 0.817score
visual-explainer
nicobailon
Generate self-contained HTML visual explanations for systems, code changes, plans, data, and technical concepts.
SkillAFreshness: A★ 784Claude Code +9 - 0.641score
reverse-engineering
coco-research
Provides reverse engineering techniques.
SkillAFreshness: A★ 784Claude Code - 0.641score
dotnet-reverse
coco-research
.NET / C# 二进制逆向。当目标是 .NET assembly(PE 头含 CLR、.exe/.dll 托管程序)、C# 编译产物(含 NativeAOT)、红队 Sharp* 工具(Rubeus / SharpHound / SharpHound 等)、.NET 混淆程序(ConfuserEx /…
SkillAFreshness: A★ 784Claude Code - 0.636score
hyperframes-animation
coco-research
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the…
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
figma
coco-research
Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as…
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
hyperframes
coco-research
Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo…
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
hyperframes-creative
coco-research
Non-animation creative direction for HyperFrames videos.
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
prd-generator
coco-research
Generate comprehensive Product Requirements Documents (PRDs) for product managers.
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
hyperframes-core
coco-research
The HyperFrames composition contract — build one renderable project.
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
c4-architecture
coco-research
Generate architecture documentation using C4 model Mermaid diagrams.
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
brain
coco-research
Use when the user says brain, project knowledge, what do we know about, open tasks, or recent decisions, or runs /brain or /brain-update.
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
coco-ads
coco-research
Turn the project you just shipped into a short, polished, shareable launch video (an "ad") using HyperFrames.
SkillAFreshness: A★ 784Claude Code +9
Signals
- Stars
- 784
- Forks
- 13
- Open issues
- 55
- Last commit (this folder)
- Oct 8, 2026 (22 days ago)
- Last release
- Oct 23, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.3.2
- License
- MIT
- Repository
- github.com/coco-research/coco
- Website
- cocoresearch.org/coco/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from coco-research
- 0.641score
reverse-engineering
coco-research
Provides reverse engineering techniques.
SkillAFreshness: A★ 784Claude Code - 0.641score
dotnet-reverse
coco-research
.NET / C# 二进制逆向。当目标是 .NET assembly(PE 头含 CLR、.exe/.dll 托管程序)、C# 编译产物(含 NativeAOT)、红队 Sharp* 工具(Rubeus / SharpHound / SharpHound 等)、.NET 混淆程序(ConfuserEx /…
SkillAFreshness: A★ 784Claude Code - 0.636score
brain
coco-research
Use when the user says brain, project knowledge, what do we know about, open tasks, or recent decisions, or runs /brain or /brain-update.
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
c4-architecture
coco-research
Generate architecture documentation using C4 model Mermaid diagrams.
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
prd-generator
coco-research
Generate comprehensive Product Requirements Documents (PRDs) for product managers.
SkillAFreshness: A★ 784Claude Code +9 - 0.636score
coco-ads
coco-research
Turn the project you just shipped into a short, polished, shareable launch video (an "ad") using HyperFrames.
SkillAFreshness: A★ 784Claude Code +9
Cite this page
coco-diagram skill. Agent Mart. https://agentmart.dev/skills/coco-research-coco-diagram (last updated 2026-10-24)