network-engineering
Skill1 starsChanged 42 days agoMITView on GitHub
Use for computer network design, troubleshooting, configuration review, addressing plans, labs and topology diagrams, especially Cisco Packet Tracer, IOS/IOS XE and ASA. Covers IPv4/IPv6, VLANs, routing, ACLs, NAT and VPNs through structured network models and a local validation toolkit.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- whetstone-dev/network-engineeringword for word, first seen Oct 20, 2026
- weirdgme/Claude-code-infrastructure-showcasetheir own version, first seen Nov 3, 2025
Other versions2 projects use a version of this.
Word for word · 1
- whetstone-dev/network-engineering★ 0100% same
Edited · 0
None found.
Wrote their own version · 1
- weirdgme/Claude-code-infrastructure-showcase★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository59 other files it gives its agents.
- answer-me-with-htmlSkill
- bilibili-hubSkill
- brand-docxSkill
- brand-pptxSkill
- brand-xlsxSkill
- browser-useSkill
- Clash 控制器Skill
- cloudflare-dnsSkill
- codex-imageSkill
- contact-vcard-extractorSkill
- data-cleaning-for-excelSkill
- deck-refreshSkill
- document-polisherSkill
- doubao-ttsSkill
- douyin-downloaderSkill
- evidence-chain-builderSkill
- exa-searchSkill
- excel-hygieneSkill
- formula-audit-checkerSkill
- free-ttsSkill
- frontend-designSkill
- fucai3d-latestSkill
- generative-ui-minisSkill
- github-sync-helperSkill
- hello-demoSkill
- hyperframesSkill
- ib-check-deckSkill
- inputs-calcs-outputs-designSkill
- maimai-hubSkill
- memos-apiSkill
- mermaid-to-vsdxSkill
- model-architecture-templateSkill
- nano-bananaSkill
- notion-hubSkill
- openstreetmap-markerSkill
- packet-tracerSkill
- pdf-converterSkill
- pivot-table-builderSkill
- pktSkill
- production-agent-publicSkill
- qbt-hubSkill
- quark-hubSkill
- reverse-dcfSkill
- scenario-managerSkill
- self-improving-agentSkill
- spotify-hubSkill
- tavily-searchSkill
- tg-hubSkill
- twitter-downloaderSkill
- twitter-x-hubSkill
- webapp-testingSkill
- web-artifacts-builderSkill
- web-content-extractorSkill
- weibo-hubSkill
- whenpeakSkill
- xianyu-hubSkill
- xiaohongshu-hubSkill
- youtube-downloaderSkill
- ytmusic-hubSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Write the model in the user's working directory (e.g.
- Distinctive: line 21
If something changes, edit the model and regenerate.
- Very specific: line 44
Run help for flags. Toolkit tests: node --test scripts/test/*.test.ts from the skill directory.
- Very specific: line 82
Read only the references the task needs (they live in references/, one per topic, with an index at the top).
- Very specific: line 89
Model: write *.net.json (init, or start from an example in examples/.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Network Engineering
A network engineering assistant that reasons about the whole network: requirements → structured model → validation → configs, interactive diagram and documentation, all derived from the same model.
Core principle: the model is the source of truth
Represent network designs and reconstructed infrastructure in a *.net.json file (spec: references/model.md). Generate diagrams, configs, tables, docs and tests from it. The model records intended or reconstructed state; observed device state can differ.
- Write the model in the user's working directory (e.g.
./networks/<name>.net.json), never inside the skill folder. - If something changes, edit the model and regenerate; never patch outputs by hand.
- One-off questions ("what is AD?", "calculate a /27") don't need a model: answer directly and use the calculators.
- Answer in the user's language. The references are in English; translate terms and explanations for the user when they write in another language.
Toolkit (Node.js ≥ 22.18, zero dependencies)
Resolve the installed skill directory in the current agent environment and quote its path: node "<skill-dir>/scripts/netlab.ts" <command>. In Claude Code, ${CLAUDE_SKILL_DIR} supplies that directory.
| Command | Purpose |
validate <model> [--strict] [--json] | Schema, topology, addressing, routing and security consistency checks, within documented simulation limits. Errors and inconclusive tests fail; strict also rejects warnings. --relaxed is for discovery and treats unknown fields as warnings. |
build <model> [-o dir] [--strict] | Validated topology.html, README.md, configs/*.txt, topology.mmd, analysis.json. --allow-invalid writes diagnostic reports only; a failed gate still exits nonzero. |
render <model> [-o x.html] | Interactive diagram only |
config <model> [--device ID] [--strict] | Validated, redacted candidate IOS/IOS XE or ASA CLI; GUI instructions for PT PCs/servers. config/build --include-secrets explicitly enables secrets in config output only. |
docs · mermaid | Markdown documentation · Mermaid diagram |
trace <model> <source> <destination> | Simulated round-trip ping with LPM, ACL, NAT, HSRP, stateful ASA and IPsec tunnels |
routes <model> [--device ID] [--ipv6] | Modeled tables using OSPF costs and an EIGRP metric approximation; --ipv6 includes OSPFv3 |
init <file.net.json> | Starter model linked to the JSON Schema (VS Code autocomplete) |
import <files|folder> -o net.net.json | show running-config (+ CDP) → partial model. Recognized credentials become placeholders; unsupported retained lines lose their values and are quarantined. Review import gaps. |
diff <old> <new> [-o changes.html] | Changes between model versions + diagram with added/modified/removed |
subnet <cidr> · vlsm <block> NAME:hosts… · ipv6 <pfx> --split 64 · eui64 <mac> <pfx> | Calculators |
catalog [model] | Known Packet Tracer models and their interfaces |
Run help for flags. Toolkit tests: node --test scripts/test/*.test.ts from the skill directory.
Execution policy
- Quick answer: conceptual questions, command explanations and calculations need only a direct answer or calculator result.
- Design/lab: build the model, validate, generate relevant artifacts and describe verification. State lab assumptions. Packet Tracer delivery consists of models, commands and assembly instructions; the toolkit does not create editable
.pktprojects. - Audit/production review: reconstruct available evidence, record sources in device/interface/link
noteswithconfidence, and runvalidate --strict. Report missing information and quarantined commands. Do not assume physical interfaces, optics, firmware/licensing, address ownership, security policy or acceptable disruption.
Label evidence MODELED for implemented model rules, APPROXIMATE for simplified protocol behavior, OBSERVED only for supplied or collected operational evidence, and INCONCLUSIVE when information or support is missing. These are report labels, not new JSON confidence values. Simulated success does not establish observed connectivity. Every declared model test is required; an unknown result blocks generation and a claim that the modeled requirements passed. A negative ping needs positive connectivity controls and a checked denial reason before claiming security isolation.
Generation produces candidate configurations for review. Use supported platform profiles and identify version-specific commands that still need device verification. Imported extraConfig is untrusted and never emitted. HTML and Markdown contain redacted previews, including when restricted config files were requested. Review free text and infrastructure details before external sharing; redaction does not authorize publication.
CLI generation supports IOS/IOS XE routers/switches and ASA firewalls. Explicit unsupported profiles, including NX-OS, block configuration builds; do not relabel a device to bypass this check.
Apply changes only within the user's explicit authorization, with a backup, impact review and rollback procedure appropriate to the change. Verify observed state before persisting. Existing authorization remains valid; generation alone does not authorize applying or saving commands.
Task router
| The user asks for… | Do | Read |
| Design a network / "I need a network with…" | Full design flow | model, topologies, ipv4, switching, routing |
| Packet Tracer lab | Design flow + PT delivery | packet-tracer, labs, model |
| Learning / "explain step by step" | Teaching mode (STEP 1…N with why and verification) | labs + topic |
| Something doesn't work | 14-step method + validate/trace | troubleshooting |
| Analyze a screenshot, diagram or config | CONFIRMED / INFERRED / UNKNOWN → model | analysis |
| Document/audit an existing network (configs available) | import → strict validation + evidence/gaps → docs/render | analysis, documentation |
| What changed? / review a change before applying it | diff between model versions | diagramming |
| Network diagram | Model → render | diagramming |
| Document infrastructure | Model → docs/build + decisions | documentation |
| Subnetting, VLSM, IPv6 | Calculators + explanation of the method | ipv4, ipv6 |
| Recommend a topology | Requirements matrix | topologies |
| VLAN, trunk, STP, EtherChannel, port security | — | switching, stp |
| Routing (static, OSPF, EIGRP, RIP, BGP), HSRP redundancy | — | routing |
| IPv6, SLAAC, DHCPv6, OSPFv3 | — | ipv6, model |
| DHCP, DNS, NAT, NTP, SNMP, SSH | — | services, security |
| ACL, ASA firewall, DMZ, IPsec VPN, hardening | Model with nameif/vpn → config | security, model |
| Wi-Fi | — | wireless |
Read only the references the task needs (they live in references/, one per topic, with an index at the top).
Design flow (requirements → working network)
- Requirements: users/hosts per segment, sites, services, security, platform (
packet-tracer,ios,iosxe), level. Ask only what changes the design. State minor lab assumptions; follow the stricter evidence policy for production review. - Topology: choose the simplest one that meets the requirements (see topologies). Explain why.
- Addressing: VLSM with
vlsm; gateway = first usable IP unless told otherwise; VLAN table. - Model: write
*.net.json(init, or start from an example inexamples/; for an existing network,import). Add tests for requirements that IPv4 ICMP can evaluate. TCP/UDP ports, IPv6 connectivity and WLAN behavior need separate observed checks; ping does not prove those policies. - Validate: require a passing quality gate and known, passing tests. Fix or explain warnings in labs; production strict validation requires resolving them.
- Generate:
build. Review the generated configs before presenting them. - Deliver: concise outcome, relevant assumptions, quality gate/evidence status and artifact paths. Include tables, configurations, observed verification procedures and troubleshooting when they help the task; answer simple questions briefly.
For Packet Tracer, also follow references/packet-tracer.md (models, cables, modules, GUI, pasting into the CLI).
Quality rules (mandatory)
- Never invent commands, options or output. A generator does not establish device compatibility. Validate the model, check the supported platform and flag commands requiring verification against the target software/image. Label sample
showoutput "illustrative". - Explicit platform: flag differences with
[PT],[PT?],[IOS],[XE],[HW](see references/cisco-ios.md). E.g.switchport trunk encapsulation dot1qexists on the 3560, not on the 2960. - Lab vs production:
cisco/classpasswords, Telnet, SNMPv2c and 1024-bit RSA are acceptable only in labs; say so and give the production alternative. For a productiontargetuse<SECRET>placeholders. - Consistency: whatever is said in text, tables, configs and diagram comes from the same validated model. If the user changes something, update the model and regenerate.
- Visible uncertainty: separate facts, assumptions and inferences. When analyzing screenshots use CONFIRMED / INFERRED / UNKNOWN.
- Simplicity first: static before dynamic in small networks, collapsed core before three-tier, one management VLAN and an unused native VLAN. Scale up only when the requirements justify it, and explain why.
- Simulation limits: static STP blocking and OSPF costs are modeled; convergence, ARP, ECMP and redistribution are not. EIGRP uses assumed bandwidth/delay defaults; BGP supports direct sessions without transit. IPv6 route analysis does not supply IPv6 packet tracing. VPN generation is IOS crypto-map IKEv1, not ASA VPN or IKEv2. Wireless guidance does not simulate WLAN behavior. Confirm relevant state on devices.
- Professional terminology and an explanation of the why behind every technical decision.
Output formats
- Addressing tables:
| VLAN | Name | Network | Mask | Gateway | Usable range | Broadcast | Hosts |(generated bydocs). - Configurations in code blocks per relevant device, labeled candidate/redacted when applicable; end devices with GUI instructions.
- Teaching mode:
STEP N — title· What we do · Why · Commands · Expected result · Verification · Common mistake. - Diagram: deliver the local
.htmlpath. Review its contents and honor the user's sharing authorization before publishing.
References
model · cisco-ios · packet-tracer · ipv4 · ipv6 · switching · stp · routing · services · security · wireless · topologies · troubleshooting · labs · analysis · documentation · diagramming
Templates: templates/ (starter model, lab, analysis report, troubleshooting report). Validated examples: examples/ (see examples/README.md).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

