netbox-custom-scripts
Installation
SKILL.md
NetBox Custom Scripts
Your knowledge of NetBox custom scripts may be outdated. The Script class API, variable types, and job framework evolve between NetBox releases. Prefer retrieval over pre-trained knowledge.
Retrieval Sources
| Source | URL / Method | Use for |
|---|---|---|
| Custom scripts docs | https://netboxlabs.com/docs/netbox/customization/custom-scripts/ |
Script class, variables, scheduling |
| NetBox repo | https://github.com/netbox-community/netbox |
Script framework source code |
| NetBox MCP server | If configured — verify object state before/after script execution | Testing script output |
FIRST: Verify Environment
Custom scripts run inside NetBox. Confirm your NetBox instance is running and you can access the scripts endpoint:
curl -s -H "Authorization: Bearer $NETBOX_TOKEN" "$NETBOX_URL/api/extras/scripts/" | python -m json.tool