Netbox Assurance 标志

Netbox Assurance

组织
netboxlabs
netbox-assurance

NetBox Assurance drift detection and deviation management. Use when working with network state comparison, deviation review/remediation, data source configuration, or understanding how intended vs actual network state is reconciled in NetBox Cloud and Enterprise.

概览

发布者netboxlabs
代码仓库skills
技能名称netbox-assurance
星标数
21
复刻数
4
附带文件
3
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 netboxlabs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Netbox Assurance AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/netboxlabs/skills/tree/main/skills/netbox-assurance
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/netboxlabs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/netbox-assurance .claude/skills/netbox-assurance
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Netbox Assurance,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Netbox Assurance。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Netbox Assurance 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

NetBox Assurance

Your knowledge of NetBox Assurance may be outdated. Deviation types, data source configuration, and API behavior evolve between releases. Prefer retrieval over pre-trained knowledge.

Retrieval Sources

SourceURL / MethodUse for
Assurance docshttps://netboxlabs.com/docs/assurance/Overview, getting started, UI workflows
NetBox Platform MCPIf configured — query deviations, data sourcesLive drift status

NetBox Assurance detects drift between your intended network state (what NetBox says should exist) and the actual network state (what's really out there). It surfaces differences as deviations that you review and resolve through the NetBox UI.

When to Use This Skill

  • Configuring or troubleshooting Assurance deviation workflows
  • Understanding drift types and how to resolve them
  • Setting up data sources that feed actual network state
  • Integrating Assurance with Discovery and Diode
  • Building operational workflows around deviation triage

Quick Reference

Deviation States

StateMeaning
QueuedIngested data awaiting analysis
OpenDrift detected, ready for review
AppliedChange accepted and pushed to NetBox
IgnoredDismissed by operator
FailedApply attempted but errored
No ChangesAnalysis found no differences
ErroredProcessing error during analysis

Actions

ActionWhat It DoesAvailable From
ApplyAccept deviation, update NetBox to match actual stateOpen, Failed
IgnoreDismiss deviation permanentlyOpen
RediffRe-analyze against current NetBox stateOpen, Applied, Failed
ReopenBring back an ignored deviationIgnored

All actions support bulk operations on multiple deviations.

Drift Types

TypeDescriptionExample
Attribute driftObject exists in both places but properties differDevice serial number changed
Inventory drift (additive)Object discovered on network but missing from NetBoxNew interface found on device
Inventory drift (stale)Object in NetBox but not recently observed on networkDecommissioned device still in NetBox

Topology drift (relationship mismatches like device→wrong site) and configuration drift (running config vs intended) are future capabilities.

Architecture

Assurance follows a three-stage pipeline:

1. INGESTION          2. ANALYSIS              3. RESOLUTION
   ─────────            ────────                 ──────────
   Actual state    →    Compare actual     →     Review deviations
   collected from       vs intended              and take action
   network              (NetBox) state           (apply/ignore)

Data sources feed actual network state into the system:

  • Discovery agents — automated SNMP/API-based network scanning
  • Controller integrations — VMware vCenter, Cisco Catalyst Center, HPE Mist, etc.
  • Diode SDK — custom Python/Go integrations for any data source

The analysis engine compares ingested data against NetBox and produces deviations with field-level change details (before/after values for each differing attribute).

Data Sources

Assurance requires at least one data source providing actual network state. See references/data-sources.md for detailed setup.

Discovery Agents (Recommended Starting Point)

The Orb Agent from NetBox Discovery actively scans your network and feeds results directly into Assurance. This is the most common path for getting started.

See the netbox-discovery skill for agent configuration.

Controller Integrations

Pre-built integrations with infrastructure controllers (VMware vCenter, Cisco Catalyst Center, HPE Mist, etc.) pull state from management platforms.

Diode SDK (Custom Integrations)

For data sources without built-in support, use the Diode SDK (Python or Go) to push entity data programmatically.

See the netbox-diode skill for SDK usage patterns.

Deviation Lifecycle

See references/deviation-lifecycle.md for the complete state machine.

Typical Workflow

  1. Data ingested — network data arrives from a data source → deviation enters Queued
  2. Analysis runs — system compares against NetBox → deviation moves to Open (or No Changes)
  3. Operator reviews — examines field-level changes in the UI
  4. Action taken:
    • Apply → NetBox updated, deviation marked Applied
    • Ignore → deviation dismissed, marked Ignored
    • Rediff → re-analyzed against current NetBox state (useful after manual NetBox edits)

Resolution Patterns

ScenarioRecommended Action
Legitimate change detected (e.g., new interface added)Apply — update NetBox
Known discrepancy you don't want to trackIgnore — dismiss it
You manually updated NetBox alreadyRediff — re-analyze to confirm
Previously ignored but situation changedReopen → then Apply or Rediff
Apply failed due to transient errorFix the issue, then Rediff or retry Apply

UI Workflow

Navigation

Assurance adds an Assurance section to the NetBox navigation with these views:

ViewPurpose
Deviation TypesBrowse deviation categories with counts
Active DeviationsUnresolved deviations needing attention
All DeviationsComplete list including resolved
Archived DeviationsHistorical resolved deviations

Reviewing a Deviation

  1. Navigate to Assurance → Active Deviations
  2. Click a deviation to open the detail view
  3. Overview tab — source, object type, state, timestamps
  4. Changes tab — field-level before/after comparison
  5. Take action: Apply, Ignore, or Rediff

Bulk Operations

Select multiple deviations from any list view to perform bulk actions:

  • Bulk Rediff — re-analyze all selected against current NetBox state
  • Bulk Ignore — dismiss all selected
  • Bulk Apply — accept all selected changes into NetBox

Filtering

Deviation lists support filtering by:

  • State — Open, Applied, Failed, Ignored, etc.
  • Object type — e.g., devices, interfaces, IP addresses
  • Deviation type — classification of the drift
  • Data source — which integration produced it
  • Time range — when the data was ingested

Deviation Types

Deviations are classified by type, combining the action needed with the object type:

  • Create types — object needs to be added to NetBox (inventory drift)
  • Update types — object exists but attributes differ (attribute drift)

Each deviation type aggregates a count of matching deviations, making the Deviation Types view useful for understanding drift patterns at a glance.

What Gets Compared

Any entity type flowing through the ingestion pipeline can be compared. Common types:

  • Devices (dcim.device)
  • Interfaces (dcim.interface)
  • Sites (dcim.site)
  • Device types (dcim.devicetype)
  • IP addresses (ipam.ipaddress)
  • Prefixes (ipam.prefix)

The system is extensible — it compares whatever entity types the data sources provide.

Integration Patterns

See references/integration-patterns.md for detailed integration guidance.

With NetBox Discovery

Discovery agents provide the "actual state" side of the comparison:

Network Devices → Orb Agent (Discovery) → Assurance → Deviations → NetBox

Discovery and Assurance are tightly coupled — Discovery collects, Assurance compares and remediates.

With Diode SDK

The Diode SDK is the programmatic ingestion path for custom integrations:

Custom Script → Diode SDK (Python/Go) → Assurance → Deviations → NetBox

With NetBox Branching

Deviations can be scoped to NetBox branches, allowing you to:

  • Review drift against a specific branch's state
  • Apply changes to a branch rather than the main database
  • Use branches as a staging area for deviation resolution

Day 1 / Day 1.5 / Day 2 Patterns

PatternUse Case
Day 1 — Initial populationRun Discovery against a new network, bulk-apply deviations to populate NetBox
Day 1.5 — ReconciliationCompare existing NetBox data against actual network, fix discrepancies
Day 2 — Ongoing assuranceContinuous monitoring for drift, triage deviations as they appear

Permissions

Assurance defines two permission levels:

PermissionGrants
View AssuranceRead-only access to deviation views
Add AssuranceAbility to perform actions (apply, ignore, rediff, reopen)

Assign these through NetBox's standard user/group permission system.

Prerequisites

  • NetBox Cloud or NetBox Enterprise with Assurance enabled. The docs state the requirement as NetBox Enterprise 1.10+ with an Assurance entitlement (the license file determines whether Assurance services are installed) or a NetBox Cloud add-on to a Starter, Professional or Premium plan. The Assurance plugin line is v1.6.x (v1.6.0, 2026-09-03), which declares NetBox 4.4.10–4.7.x; the NetBox version you get is the one bundled with your Cloud/Enterprise platform release.
  • At least one configured data source
  • Network connectivity between data sources and the Assurance service

Assurance is an optional, licensed add-on for NetBox Cloud and NetBox Enterprise — it is not part of open-source NetBox Community.

Troubleshooting

No Deviations Appearing

  1. Verify data sources are active and sending data
  2. Check that Discovery agents are running and collecting (see netbox-discovery)
  3. Confirm ingestion is working (data should flow through to analysis)
  4. Allow time — analysis is asynchronous and may take minutes

Too Many False Positives

  • Review which object types and fields are generating noise
  • Use Ignore for known acceptable discrepancies
  • Consider whether data source configuration needs tuning (e.g., SNMP community strings, API credentials)

Failed Deviations

  • Check the error details in the deviation detail view
  • Common causes: permission issues writing to NetBox, validation errors, dependency ordering
  • After fixing the root cause, use Rediff to re-analyze

Performance with Large Networks

  • Use filtering to narrow deviation views (by state, object type, time range)
  • Address deviations incrementally — start with one object type or site
  • Bulk operations help process large batches efficiently

Anti-Patterns and Limitations

  1. Assurance compares what data sources provide — if a data source doesn't collect a field, Assurance can't detect drift on it
  2. Ordering matters for applies — some deviations depend on others (e.g., you must create a site before assigning a device to it). The system handles dependency ordering, but complex chains may need manual intervention
  3. Stale inventory detection is limited — detecting objects that should be removed from NetBox (because they no longer exist on the network) depends on observation timestamps and is an evolving capability
  4. Not a real-time system — there is inherent latency between network changes, discovery, analysis, and deviation availability
  5. Branch scoping — when using branches, ensure you're reviewing deviations against the correct branch context

Version Notes

NetBox 4.7 (2026-09-02)

  • Data sources built on diode-sdk-python 1.14.x / diode-sdk-go 1.12.0 can emit the 4.7 models (cooling, ModuleBayType) and fields (Interface.channels/channel_id, Service.port_mappings, DeviceType.end_of_life, cooling_method), so those become comparable once your platform release bundles NetBox 4.7 (plugin v1.6.0 declares 4.7.x support) — see references/data-sources.md.
  • REST responses you read while triaging (selection custom fields as {"value", "label"} objects, port_mappings on services, per-object bulk errors) changed shape — see references/deviation-lifecycle.md.

NetBox 4.6

  • Diode SDKs (python 1.12.0 / go 1.9.0) added CableBundle, RackGroup, VirtualMachineType; switch-stack discovery emits VirtualChassis + member devices.

References

DocumentWhen to Read
references/deviation-lifecycle.mdUnderstanding state transitions, resolution patterns
references/data-sources.mdSetting up what gets compared
references/integration-patterns.mdConnecting Assurance with Discovery, Diode, and the NetBox Labs stack

Related Skills

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Netbox Assurance AI 技能有什么作用?

NetBox Assurance drift detection and deviation management. Use when working with network state comparison, deviation review/remediation, data source configuration, or understanding how intended vs actual network state is reconciled in NetBox Cloud and Enterprise.

为什么在 TypingMind 中使用 Netbox Assurance?

因为您只需安装一次,就能搭配任何模型使用。Netbox Assurance 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Netbox Assurance?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/netboxlabs/skills/tree/main/skills/netbox-assurance。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Netbox Assurance?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Netbox Assurance 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Netbox Assurance 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Netbox Assurance AI 技能免费吗?

是的。netboxlabs 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇