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 | $0.00014 | $0.00456 |
| Sonnet 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 10d 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.
- 10d 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,079 stars, last pushed 19d ago), licensed MIT. It adds 28 tokens to every session and 911 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
write-zot-themes
Help the user create, install, or package zot themes, including theme-only extensions.
editing-model-diagrams
Creates, edits, reviews, and regenerates C4 architecture diagrams written with goa.design/model and the mdl CLI. Use when changing Model DSL, model.go or views.go files, system landscape, context, container, component, dynamic, or deployment views, element relationships, boundaries, layout, or generated SVG diagrams.
archlang
Use when the user wants to create, edit, or inspect an architectural floor plan / building layout as code — e.g. "draw a 2-bedroom apartment", "add a bathroom to this plan", "make the bedroom 1 m wider", "lay out an office floor". ArchLang is a tiny text language that compiles a .arch file to a professional floor-plan…
design-conventions
Scan the current TS/React project's existing UI layer and write .claude/design-conventions.md — a project-specific visual design convention file that rules/typescript.md loads before UI work. Use when starting UI work in an existing project, when design conventions have drifted, or when --refresh is passed to merge in…
frontend-design
A tool for generating a complete single-file web page, such as a landing page, dashboard, form, or prototype. The output is a self-contained site.html file that can be previewed.
wuji-dashiai-deck
Produce an editable browser-native HTML deck through the installed DashiAI runtime.