nerdgram-diagrams

nerdgram-diagrams is a skill for Claude Code from automateyournetwork/netclaw. It costs 104 tokens per session (2,974 once invoked), scanned A, original, Apache-2.0.

A library for keeping network diagrams as Mermaid text files, where Mermaid is a format that describes diagrams in text.

In plain words
What is it for?
Use it to list, search, read, validate, render, compare, and update network diagrams, including diagrams built from routing, device-discovery, CSV, or JSON data.
Why use it?
It keeps diagram revisions in one place and allows them to be searched, compared, checked, and regenerated from network data.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Use it to list, search, read, validate, render, compare, and update network diagrams, including diagrams built from routing, device-discovery, CSV, or JSON data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automateyournetwork/netclaw/nerdgram-diagrams
Install

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.

Any agent
npx skills add automateyournetwork/netclaw --skill nerdgram-diagrams
Clone the repo
git clone --depth 1 https://github.com/automateyournetwork/netclaw

Made for: Claude Code.

Wrote 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.

agentmods badge for nerdgram-diagrams

README.md
[![agentmods](https://agentmods.dev/badge/skills/automateyournetwork/netclaw/nerdgram-diagrams/github.svg)](https://agentmods.dev/skills/automateyournetwork/netclaw/nerdgram-diagrams)
Your own site
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/nerdgram-diagrams"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/nerdgram-diagrams/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.

agentmods 80×15 button for nerdgram-diagrams

Your own site · 80×15
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/nerdgram-diagrams"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/nerdgram-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,974 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.02974
Opus 5.5 $0.00042 $0.01190
Sonnet 5.5 $0.00021 $0.00595
Haiku 4.5 $0.00010 $0.00297

Measured 4d ago against content hash 8c6d43d46be5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nerdgram-diagrams 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 4d 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.

workspace/skills/nerdgram-diagrams/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NerdGram Diagram Library

NerdGram1337 is a local, self-hosted app that keeps network diagrams as Mermaid .mmd files in one workspace folder, with a revision for every save. Other diagram skills draw a picture once. This one keeps a library: diagrams that NetClaw can read, regenerate from new device data, link together and compare over time.

NerdGram never logs in to a device. Device data comes from NetClaw's read-only skills (pyats-topology for CDP/LLDP, the platform routing skills for show ip route) or from output the user pastes.

Remote, token-scoped

nerdgram-mcp is a remote HTTP MCP registered in config/openclaw.json. There is no local server. It points at your own NerdGram (NERDGRAM_MCP_URL, default http://127.0.0.1:8787/mcp) with the header Authorization: Bearer ${NERDGRAM_TOKEN}.

  • Every /mcp request needs the token, also on loopback. No token: HTTP 401.
  • The operator creates the token on the NerdGram host (Settings > Tokens on Node.js, or docker exec nerdgram1337 nerdgram token create --name netclaw --scope read). NetClaw cannot create one.
  • Scope read shows 8 tools. Scope read-write shows 21 tools. tools/list returns only the tools the token may call.
  • Recommend a read token unless the user wants NetClaw to change diagrams.
  • Never ask the user to paste a token into chat. Never write a token into a diagram, a memory, a file or a reply.
  • For a NerdGram on another host the NerdGram side must opt in (HOST=0.0.0.0 on Node.js; publish <lan-ip>:8787:8787 and set NERDGRAM_ALLOWED_HOSTS on Docker). /mcp is plain HTTP: trusted networks only, never the internet.

If a write tool is not in tools/list, the token is read. Tell the user a read-write token is required for that change. Do not look for another way to write the file.

Client-side allowlist

The tool filter is enforced with the DefenseClaw CLI, not a config block. Read token:

Read the full file on GitHub · 203 lines

Changes

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.

  1. 4d ago First seen · 203 lines · 104 tokens per session scan A 8c6d43d46be5

Subscribe to this mod's changes

nerdgram-diagrams is a skill published in the GitHub repository automateyournetwork/netclaw (740 stars, last pushed 3d ago), licensed Apache-2.0. It adds 104 tokens to every session and 2,974 once invoked, about $0.0004 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-11-30.

Related

nerdgram-diagrams compared with skills from other repositories

nerdgram-diagrams next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nerdgram-diagramsautomateyournetwork/netclawSkill7403d agoApache-2.0A104Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill38kyesterdayApache-2.0A123Claude Code
orbit-notionnexu-io/open-designSkill111kyesterdayApache-2.0A117Claude Code, Codex
report-to-pdfasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A17Claude Code, Codex
legal-holdanthropics/claude-for-legalSkill10k4d agoApache-2.0A68Claude Code
artifact-template-minimal-letterheadasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A54Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k5d agoMITA33Claude Code, Codex