Neva is a statically typed programming language in which programs are message-passing graphs: nodes exchange data through ports and run concurrently by default. It is for developers building compiled programs with dataflow control, visual editing, and interoperability with Go. The catalogue includes skills and instructions for working with Neva.
Borrowing it
Nothing to install: this file belongs to nevalang/neva. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/nevalang/neva/main/.codex/skills/neva-to-mermaid/SKILL.mdgit clone --depth 1 https://github.com/nevalang/nevaWrote 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/nevalang/neva/neva-to-mermaid)<a href="https://agentmods.dev/skills/nevalang/neva/neva-to-mermaid"><img src="https://agentmods.dev/badge/skills/nevalang/neva/neva-to-mermaid/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/nevalang/neva/neva-to-mermaid"><img src="https://agentmods.dev/badge/skills/nevalang/neva/neva-to-mermaid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00028 | $0.00911 |
| Opus 5.5 | $0.00011 | $0.00364 |
| Sonnet 5.5 | $0.00006 | $0.00182 |
| Haiku 4.5 | $0.00003 | $0.00091 |
Grade A, and why
neva-to-mermaid 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Neva to Mermaid
Use this skill to convert any Neva source code into a Mermaid flowchart.
Instructions
-
Read the Neva code to be converted.
-
Generate a Mermaid
flowchart TBdiagram using the following rules:-
Layout: Always include this header at the top:
--- config: layout: elk --- flowchart TB -
Ports:
- Use stadium shapes for external ports
:in/:out:([":data"]),([":res"]),([":err"]), etc.
- In edges, label with the port name (
data,res,err,sig,case[0], etc).
- Use stadium shapes for external ports
-
Components:
- Use unique Mermaid node IDs.
- Render component nodes as regular boxes using only their declared
instance name:
id["name"]. - Do not annotate component nodes with type names, generic parameters, or usage information.
-
Literals:
- Render numeric and string literals as rectangles using Mermaid shape syntax:
zero@{ label: "0", shape: rect }dot@{ label: "'.'", shape: rect }
- Render numeric and string literals as rectangles using Mermaid shape syntax:
-
Connections:
- Use
-- <port> -->labels for the wire’s port name. - For
a:out -> b:in, label the edge with the output port name (out), unless Neva explicitly uses the input port name in the wiring (e.g.,b:sig). - Only label an edge with a port name when the Neva source explicitly names a port on that connection.
- Examples that MUST be labeled:
x:res -> y→ label edge asresx -> y:sig→ label edge assigx:case[0] -> y→ label edge ascase[0]
- Use
-
If a port name is omitted in Neva, do not infer or guess it. Render an unlabeled edge:
x -> y→x --> y
-
Fan-out / Fan-in (IMPORTANT):
- Mermaid edges do not create real “ports as objects”, so list-wiring must be represented explicitly with virtual junction nodes.
- A junction node is a small circle:
jX(( ))wherejXis a unique ID.
Fan-out:
src -> [a, b, :out]- Insert a junction node
jX(( )). - Wire:
src -- <port> --> jX - Then wire:
jX --> a,jX --> b,jX --> out_port
-
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.
- 2mo ago First seen · 91 lines · 28 tokens per session scan A 9493c8b7c3ab
neva-to-mermaid is a skill published in the GitHub repository nevalang/neva (1,086 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 911 once invoked, about $0.0001 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-09-01.
neva-to-mermaid compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| neva-to-mermaidnevalang/neva | Skill | 1.1k | 2mo ago | MIT | A | 28 | Codex |
| editing-model-diagramsgoadesign/model | Skill | 467 | 4d ago | MIT | A | 69 | Claude Code, Codex |
| write-zot-themespatriceckhart/zot | Skill | 359 | yesterday | MIT | A | 23 | Claude Code, Codex |
| archlangChanMeng666/archlang | Skill | 32 | today | MIT | A | 105 | Claude Code |
| design-conventionsaddit-digital/addit-harness | Skill | 4 | 1mo ago | MIT | A | 72 | Claude Code |
| prototyperengwu/wayfinder-maps | Skill | 143 | 1mo ago | MIT | A | 39 | Claude Code |
| designormastes/simple | Skill | 2 | yesterday | none | A | 41 | Claude Code, Codex |