Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add coco-research/coco --skill coco-diagramgit clone --depth 1 https://github.com/coco-research/cocoWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/coco-research/coco/coco-diagram)<a href="https://agentmods.dev/skills/coco-research/coco/coco-diagram"><img src="https://agentmods.dev/badge/skills/coco-research/coco/coco-diagram/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/coco-research/coco/coco-diagram"><img src="https://agentmods.dev/badge/skills/coco-research/coco/coco-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.09459 |
| Opus 5.5 | $0.00024 | $0.03784 |
| Sonnet 5.5 | $0.00012 | $0.01892 |
| Haiku 4.5 | $0.00006 | $0.00946 |
Grade A, and why
coco-diagram scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
2 near-identical copies found in the catalogue:
- diagram-design — 95% identical, 41 lines differ
- diagram-design — 84% identical, 428 lines differ
How it starts
The opening of the file, as written. The whole thing — 570 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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 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 § URLto fetch the site, extract palette + fonts, propose a diff, and writestyle-guide.md. - (b) → follow
references/onboarding.md § Skill— ask which skill, read its SKILL.md / CSS / token files, map to semantic roles, propose diff. - (c) → follow
references/onboarding.md § Folder— 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.mdunder 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.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/example-architecture-dark.html 12 KB
- assets/example-architecture-full.html 15 KB
- assets/example-architecture.html 12 KB
- assets/example-bar-dark.html 8.9 KB
- assets/example-bar-full.html 11 KB
- assets/example-bar.html 8.7 KB
- assets/example-data-flow-dark.html 13 KB
- assets/example-data-flow-full.html 15 KB
- assets/example-data-flow.html 13 KB
- assets/example-datalake-dark.html 25 KB
- assets/example-datalake-full.html 28 KB
- assets/example-datalake.html 26 KB
- assets/example-dp-integration-dark.html 14 KB
- assets/example-dp-integration-full.html 17 KB
- assets/example-dp-integration.html 14 KB
- assets/example-dp-security-matrix-dark.html 10 KB
- assets/example-dp-security-matrix-full.html 12 KB
- assets/example-dp-security-matrix.html 11 KB
- assets/example-er-dark.html 14 KB
- assets/example-er-full.html 17 KB
- assets/example-er.html 14 KB
- assets/example-flowchart-dark.html 9.0 KB
- assets/example-flowchart-full.html 12 KB
- assets/example-flowchart.html 9.0 KB
- assets/example-gantt-dark.html 10 KB
- assets/example-gantt-full.html 12 KB
- assets/example-gantt.html 9.8 KB
- assets/example-high-level-dark.html 24 KB
- assets/example-high-level-full.html 28 KB
- assets/example-high-level-vertical-dark.html 24 KB
- assets/example-high-level-vertical-full.html 28 KB
- assets/example-high-level-vertical.html 30 KB
- assets/example-high-level.html 26 KB
- assets/example-import-drawio.html 12 KB
- assets/example-import-mermaid.html 7.9 KB
- assets/example-it-state-dark.html 12 KB
- assets/example-it-state-full.html 14 KB
- assets/example-it-state.html 12 KB
- assets/example-layers-dark.html 6.8 KB
- assets/example-layers-full.html 9.8 KB
- assets/example-layers.html 6.7 KB
- assets/example-line-dark.html 7.4 KB
- assets/example-line-full.html 9.8 KB
- assets/example-line.html 7.3 KB
- assets/example-loop-dark.html 6.7 KB
- assets/example-loop-full.html 9.7 KB
- assets/example-loop-terminal.html 9.8 KB
- assets/example-loop.html 6.6 KB
- assets/example-medallion-dark.html 13 KB
- assets/example-medallion-full.html 16 KB
- assets/example-medallion.html 13 KB
- assets/example-nested-dark.html 6.6 KB
- assets/example-nested-full.html 9.6 KB
- assets/example-nested.html 6.7 KB
- assets/example-org-chart-dark.html 11 KB
- assets/example-org-chart-full.html 12 KB
- assets/example-org-chart.html 11 KB
- assets/example-policy-trace-animated.html 25 KB
- assets/example-process-dark.html 15 KB
- assets/example-process-full.html 17 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -88 tokens per session 44c12442e838
- 2mo ago First seen · 570 lines · 147 tokens per session scan A 80fcf1ab2bc0
coco-diagram is a skill published in the GitHub repository coco-research/coco (785 stars, last pushed yesterday), licensed Apache-2.0. It adds 59 tokens to every session and 9,459 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
coco-diagram compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coco-diagramcoco-research/coco | Skill | 785 | yesterday | Apache-2.0 | A | 59 | Claude Code, Codex |
| nothing-designmarcusquinn/aidevops | Skill | 439 | today | MIT | A | 50 | Claude Code |
| custom-brand-designKbWen/agentic-os | Skill | 227 | 4d ago | MIT | A | 23 | Claude Code, Codex |
| architectural-civil-drafterwonsukchoi/domain-experts | Skill | 24 | 3d ago | MIT | A | 82 | Claude Code, Codex |
| architecture-teacher-postsecondarywonsukchoi/domain-experts | Skill | 24 | 3d ago | MIT | A | 78 | Claude Code, Codex |
| art-directorwonsukchoi/domain-experts | Skill | 24 | 3d ago | MIT | A | 68 | Claude Code, Codex |
| commercial-industrial-designerwonsukchoi/domain-experts | Skill | 24 | 3d ago | MIT | A | 67 | Claude Code, Codex |