| name | netbox-lookup |
| description | Look up infrastructure devices, VMs, IPs, VLANs, and interfaces from NetBox CMDB. Use this skill FIRST for any question about what a host is, where it lives, its IP, VLAN, or role. Covers all NL and GR sites (310+ objects). Preferred over LibreNMS for device identification. |
| allowed-tools | Bash |
| user-invocable | true |
| metadata | {"openclaw":{"always":true}} |
NetBox Infrastructure Lookup
NetBox is the source of truth for device/VM identity, IP addressing, VLANs, and cabling across all sites.
WHEN to use this skill (ALWAYS for these):
- "what is nl-gpu01?" -> run
./skills/netbox-lookup/netbox-lookup.sh device nl-gpu01
- "what VM has VMID VMID_REDACTED?" -> run
./skills/netbox-lookup/netbox-lookup.sh vmid VMID_REDACTED
- "what IPs does gr-fw01 have?" -> run
./skills/netbox-lookup/netbox-lookup.sh ip gr-fw01
- "what VLANs at gr?" -> run
./skills/netbox-lookup/netbox-lookup.sh vlans gr
- "list all GR VMs" -> run
./skills/netbox-lookup/netbox-lookup.sh site-vms gr
- "list all NL devices" -> run
./skills/netbox-lookup/netbox-lookup.sh site-devices nl
- "what interfaces on nl-sw01?" -> run
./skills/netbox-lookup/netbox-lookup.sh interfaces nl-sw01
- Any question about device identity, location, role, IP, VLAN, or cabling
HOW to use
Run the appropriate command using the exec tool:
./skills/netbox-lookup/netbox-lookup.sh device <hostname>
./skills/netbox-lookup/netbox-lookup.sh vmid <vmid>
./skills/netbox-lookup/netbox-lookup.sh ip <hostname>
./skills/netbox-lookup/netbox-lookup.sh vlans <site>
./skills/netbox-lookup/netbox-lookup.sh site-vms <site>
./skills/netbox-lookup/netbox-lookup.sh site-devices <site>
./skills/netbox-lookup/netbox-lookup.sh interfaces <device>
./skills/netbox-lookup/netbox-lookup.sh search <keyword>
CRITICAL RULES
- RUN THE TOOL FIRST. Do NOT answer from memory. NetBox is the source of truth for infrastructure identity.
- Do NOT escalate lookups. Questions about device info, IPs, VLANs are YOUR job (Tier 1).
- Do NOT recommend the command to the user. YOU run it yourself using the
exec tool.
- Use this BEFORE infra-triage.sh when you need to identify what a host is.