Network AIops

SKILL运维和基础设施
运维和基础设施 未标注权限 许可证不明确 已核验
安装这个技能

Use this skill whenever the user needs to operate a network device — read device facts, interfaces (+ counters/IP), BGP/LLDP neighbors (summary and detail), ARP/MAC tables, VLANs, routes, hardware environment (fans/temp/power/CPU/mem), optics, NTP, users, SNMP info, VRFs, and an aggregated device-health summary; run read-only RCA diagnostics on interface health and BGP neighbors; back up a switch/router config, diff a candidate config (dry-run), and merge/replace/rollback config — across Cisco IOS/IOS-XE, Nexus NX-OS, IOS-XR, Arista EOS, and Juniper Junos via NAPALM. An optional NetBox block adds source-of-truth lookups. Always use this skill for "back up switch config", "show bgp neighbors", "diff network config", "push config to router", "show interfaces on the switch", or tasks mentioning "cisco", "arista", "juniper", "nexus", "ios-xr", or "napalm". Do NOT use when the target is not a NAPALM-supported network device (Kubernetes clusters, hypervisor VMs, and cloud consoles are out of scope — route those elsewhere). Common multi-vendor device operations with a built-in governance harness (audit, policy, token budget, undo, risk-tiers).

一句话选型结论

按资料字段整理

Network AIops是运维和基础设施类的 Agent Skill,安装方式:ClawHub 市场,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类运维和基础设施 安装方式ClawHub 市场 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

ClawHub 市场
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_993b98b1/network-aiops
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

运维和基础设施
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_993b98b1仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式ClawHub 市场安装包 clawhub
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791728331
正文体量23.9 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查服务与日志

按现象定位服务状态与日志线索。

写部署与巡检脚本

把重复的部署、巡检写成脚本。

故障排查

按步骤排查网络、依赖与配置。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 已做过站内核验,页面字段与仓库对得上。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在运维和基础设施场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
Network AIops当前 未标注权限 ClawHub 市场 未标注 未标注 有
Azure 部署 调用外部服务 GitHub 仓库 664.2 万 Codex、Claude、Cursor 有
Azure diagnostics 问题管理 调用外部服务 GitHub 仓库 657.6 万 Codex、Claude、Cursor 有
Azure aigateway 部署 调用外部服务 GitHub 仓库 655.3 万 Codex、Claude、Cursor 有
Azure AI 搜索 调用外部服务 GitHub 仓库 651.4 万 Codex、Claude、Cursor 有
Azure Cloud migrate 部署 调用外部服务 GitHub 仓库 650.7 万 Codex、Claude、Cursor 有

SKILL.md 全文

23.9 KB
模型实际读到的说明书原文,来自技能仓库

Network AIops

> Disclaimer: This is a community-maintained open-source project and is not affiliated with, endorsed by, or sponsored by Cisco, Arista, Juniper, NetBox Labs, or any network vendor. Vendor and product names are trademarks of their respective owners. Source code is publicly auditable at github.com/AIops-tools/Network-AIops under the MIT license.

Governed multi-vendor network device operations — 33 MCP tools, every one wrapped with the bundled @governed_tool harness: a local unified audit log under ~/.network-aiops/, token/runaway budget guard, undo-token recording, and descriptive risk-tier labels. Devices are reached over NAPALM; an optional NetBox block adds source-of-truth lookups. Secrets (device passwords + NetBox token) are kept in an encrypted store (secrets.enc), unlocked by NETWORK_AIOPS_MASTER_PASSWORD.

> Standalone: the governance harness is bundled in the package (network_aiops.governance) — network-aiops has no external skill-family dependency. Coverage focuses on common operations and is not yet exhaustive.

What This Skill Does

Category Tools Count Read or Write
Device facts facts, interfaces, interface counters, interface IPs, BGP (+detail), LLDP (+detail), ARP 9 9 read
Inventory MAC table, VLANs, route lookup 3 3 read
Platform / env environment, optics, NTP servers, NTP stats, users, SNMP info, VRFs, device_health 8 8 read
Diagnostics / RCA interface_health_rca, bgp_neighbor_rca 2 2 read
Config backup, diff (dry-run), merge, replace, rollback 5 2 read / 3 write
NetBox list devices, get device, device interfaces 3 3 read
Undo undo_list, undo_apply 2 1 read / 1 write

Quick Install

uv tool install network-aiops
network-aiops init            # interactive wizard: device + driver + host + encrypted password (+ optional NetBox)
network-aiops doctor          # checks config, encrypted secret store, and per-device password presence

Or as an OpenClaw plugin, which installs this skill and its MCP server together:

openclaw plugins install clawhub:@zw008/network-aiops
openclaw skills info network-aiops          # expect: Visible to model: yes

Needs uvx on PATH: the MCP server is fetched with uv, pinned to this release.

init writes ~/.network-aiops/config.yaml and stores secrets encrypted in ~/.network-aiops/secrets.enc. Export NETWORK_AIOPS_MASTER_PASSWORD in your shell profile so the CLI and MCP server can unlock secrets non-interactively.

Supported Devices

Platform NAPALM driver Transport
Cisco IOS / IOS-XE ios SSH
Cisco Nexus NX-OS nxos (NX-API) / nxos_ssh (SSH) HTTPS / SSH
Cisco IOS-XR iosxr SSH (XML agent)
Arista EOS eos eAPI (HTTPS)
Juniper Junos junos NETCONF (SSH)

Other platforms (Nokia SR OS / SR Linux, Huawei VRP, etc.) are reachable via NAPALM community drivers but are not officially tested here — see Contributing.

When to Use This Skill

  • Inspect device facts, interfaces (+ counters/IP), BGP/LLDP neighbors (summary + detail), ARP/MAC tables, VLANs, and route lookups
  • Check hardware health: environment (fans/temp/power/CPU/mem), optics, NTP, users, SNMP info, VRFs, or a one-shot device_health summary
  • Root-cause a problem with read-only RCA: interface_health_rca (down/erroring/discarding/flapping ports) and bgp_neighbor_rca (down/shut/recently-reset/route-less peers) — each finding cites the measured number that tripped it, worst-first
  • Back up a switch/router running config to a file
  • Dry-run a config change as a diff before committing
  • Merge a config snippet, replace the full config, or roll back the last commit
  • Cross-check intended state in NetBox before pushing a change

Do NOT use when the target is not a NAPALM-supported network device (Kubernetes clusters, hypervisor VMs, and cloud-provider consoles are out of scope for this skill).

Related Skills — Skill Routing

If the user wants… Use
Network device config / facts (Cisco/Arista/Juniper) network-aiops (this skill)
Kubernetes cluster operations a cluster ops skill
Hypervisor VM lifecycle (power, snapshot, migrate) a hypervisor ops skill

Supported Actions

Tool R/W Risk Driver support
device_facts R low all 5
get_interfaces R low all 5
get_interfaces_counters R low all 5
get_interfaces_ip R low all 5
get_bgp_neighbors R low all 5 (varies by feature)
get_bgp_neighbors_detail R low ios/eos/junos/iosxr; nxos varies
get_lldp_neighbors R low all 5
get_lldp_neighbors_detail R low all 5
get_arp_table R low all 5
get_mac_address_table R low all 5 (varies by image)
get_vlans R low eos/junos/nxos; ios varies
get_route_to R low all 5 (varies by feature)
get_environment R low all 5 (sensor coverage varies)
get_optics R low eos/junos/iosxr; ios/nxos varies
get_ntp_servers R low all 5
get_ntp_stats R low all 5
get_users R low all 5 (password hashes redacted)
get_snmp_information R low all 5 (community strings redacted)
get_network_instances R low eos/junos/iosxr; ios/nxos varies
device_health R low all 5 (environment section optional)
interface_health_rca R low all 5 (needs get_interfaces + counters)
bgp_neighbor_rca R low all 5 (varies by BGP feature)
config_backup R low all 5
config_diff (dry-run) R low all 5
config_merge W medium all 5
config_replace W high ios/eos/junos/iosxr; nxos varies
config_rollback W medium device-dependent rollback depth
netbox_list_devices R low NetBox (optional)
netbox_get_device R low NetBox (optional)
netbox_device_interfaces R low NetBox (optional)

Per-driver caveat: NAPALM does not implement every getter on every platform. Any unsupported getter returns a teaching error ("not supported by the <driver> driver") instead of crashing — try a different getter or fall back to config_backup. device_health is resilient: if a driver lacks get_environment that section is reported as a note, not a failure.

Credentials: get_users reduces password hashes to a boolean and get_snmp_information reduces community strings to a count — those two never return secrets at all. config_backup and every returned diff mask credential values (password/secret hashes, SNMP communities, pre-shared keys, RADIUS/TACACS and keychain keys) and report how many lines they changed in a redaction block; include_secrets=True returns the verbatim text. The masking is pattern-based across five vendor syntaxes, so it reduces exposure rather than guaranteeing none remains — notably it cannot see multi-line PKI key blocks. To hand a real config to a human, prefer the CLI's -o <path>, which writes raw to a file instead of into this transcript.

Common Workflows

Safely change a device config with a dry-run first

  1. network-aiops config backup -t core-sw1 -o core-sw1.cfg → keep a known-good copy
  2. network-aiops config diff change.cfg -t core-sw1 → preview the diff (nothing committed)
  3. network-aiops config merge change.cfg -t core-sw1 (double confirm) → commits under a 300s device-side revert timer; the harness also records a config_replace-to-backup undo descriptor
  4. network-aiops device interfaces -t core-sw1 → verify the result and that you can still reach the device
  5. network-aiops config confirm -t core-sw1 → cancels the revert timer, making the change permanent. If you skip this (or get locked out), the device reverts by itself — that is the point
  6. Failure branch: if the connection fails (Could not connect/authenticate), run network-aiops doctor — it shows whether NETWORK_CORE_SW1_PASSWORD is set and whether the host/port is reachable; the skill never retries a denied auth.

Change something that could lock you out (mgmt interface, VTY ACL, AAA)

  1. network-aiops config backup -t core-sw1 -o core-sw1.cfg → an off-box copy, independent of the tool
  2. network-aiops config diff risky.cfg -t core-sw1 → confirm the diff touches only what you intend
  3. network-aiops config merge risky.cfg -t core-sw1 --revert-in 120 → short timer: if the change severs your session, the device restores itself in 2 minutes with nobody logged in
  4. Re-connect and verify. Do not confirm from a session opened before the commit — it may survive a change that blocks new logins
  5. network-aiops config confirm -t core-sw1 → only once a NEW session proves the path still works
  6. Failure branch: if the result carries commit.warning with safetyNet: "undo-only", this driver could not arm a timer. The change is permanent on landing and the recorded undo needs a working session — arrange out-of-band access (console/OOB mgmt) before you commit anything of this kind.

Root-cause a flaky uplink / peering problem (RCA-first)

  1. network-aiops diagnose interface-health -t edge-rtr → worst-first interface findings; a link that is admin-up/oper-down with climbing rx_errors+tx_errors and a recent last_flapped is a physical-layer fault (cable/optic), each cited with its measured value
  2. network-aiops diagnose bgp -t edge-rtr → worst-first neighbor findings; if the peer riding that link shows BGP session down or recently reset (low uptime), the L1 fault — not routing — is resetting the session
  3. network-aiops device counters -t edge-rtr → confirm the error counters are still climbing before you touch anything
  4. network-aiops config diff fix.cfg -t edge-rtr → dry-run the remediation first, then config merge (double confirm) through the audited path
  5. Failure branch: if interface_health_rca / bgp_neighbor_rca returns "not supported by the <driver> driver", the platform's NAPALM driver lacks the underlying getter — fall back to device facts / config_backup and request the getter via a GitHub issue.

Usage Mode

Scenario Recommended Why
Local/small models CLI fewer tokens than MCP
Cloud models (Claude, GPT) Either MCP gives structured JSON I/O
Automated pipelines MCP type-safe parameters, audited

MCP Tools (33 — 28 read, 5 write)

Category Tools R/W
Facts device_facts, get_interfaces, get_interfaces_counters, get_interfaces_ip, get_bgp_neighbors, get_bgp_neighbors_detail, get_lldp_neighbors, get_lldp_neighbors_detail, get_arp_table Read
Inventory get_mac_address_table, get_vlans, get_route_to Read
Platform / env get_environment, get_optics, get_ntp_servers, get_ntp_stats, get_users, get_snmp_information, get_network_instances, device_health Read
Diagnostics / RCA interface_health_rca, bgp_neighbor_rca Read
Config config_backup, config_diff Read
config_merge, config_replace, confirm_commit, config_rollback Write
NetBox netbox_list_devices, netbox_get_device, netbox_device_interfaces Read
Undo undo_list Read
undo_apply Write

Commit-confirm is the primary safety net. config_merge and config_replace commit with a device-side revert timer (revert_in, default 300s): the device rolls the change back on its own unless confirm_commit follows. This is the only guard that survives the change severing your own management path — a commit that shuts the management interface, tightens the VTY ACL or breaks AAA also kills the session the recorded undo would need, so the device has to be the one enforcing the rollback. Workflow: commit with timer → verify you can still reach the device → confirm_commit (or do nothing and let it revert). Drivers that cannot arm a timer fall back to a plain commit and say so in commit.warning / commit.safetyNet — check that field, because for those devices the net is absent.

Harness features that light up: config_merge and config_replace capture the pre-change running config and pass an undo= lambda so the harness records an inverse descriptor (with _undo_id) that restores the captured config via config_replace — the device must support config replace for the undo to apply. The raw config is handed to the harness out-of-band and kept only in undo.db (0600); the tool result returns a digest (size + SHA-256), never the config body, because a running config carries credential hashes, SNMP communities and PSKs that would otherwise land in the agent transcript. config_rollback declares no undo; config_replace is tagged risk_level=high. config_diff is a pure dry-run (stage candidate → compare → discard). The two RCA tools (interface_health_rca, bgp_neighbor_rca) are pure read-only analyses (risk_level=low) that collect getter output and rank findings worst-first. All 33 tools are audit-logged under ~/.network-aiops/ and pass through the budget/runaway guard, with a descriptive risk tier tagged on each audit row. Avoid tight poll loops — the runaway breaker backs this up.

Encrypted secret store

Secrets never touch disk in plaintext. They live in ~/.network-aiops/secrets.enc (Fernet/AES-128 + HMAC, key derived from a master password via scrypt; file chmod 600). Both kinds of secret share the one store: per-device login passwords keyed by device name, and the single NetBox API token keyed by the reserved name netbox-token.

network-aiops init                       # wizard: collects devices + passwords (encrypted), optional NetBox
network-aiops secret set core-sw1        # store/replace a device password (hidden prompt)
network-aiops secret set netbox-token    # store the NetBox API token
network-aiops secret list                # names only — values are NEVER printed
network-aiops secret rm core-sw1
network-aiops secret migrate             # import a legacy plaintext .env (renamed to .env.migrated)
network-aiops secret rotate-password     # re-encrypt the whole store under a new master password

Unlock non-interactively by exporting NETWORK_AIOPS_MASTER_PASSWORD (used by the MCP server / cron / CI). Legacy plaintext env vars (NETWORK_<TARGET_UPPER>_PASSWORD, NETWORK_NETBOX_TOKEN) are still honoured as a deprecated fallback with a warning. An empty device password is allowed (valid for key-based SSH auth via optional_args).

CLI Quick Reference

network-aiops init                                               # onboarding wizard (encrypted secrets)
network-aiops device facts [-t <device>]
network-aiops device interfaces [-t <device>]
network-aiops device counters [-t <device>]
network-aiops device bgp [-t <device>]
network-aiops device lldp [-t <device>]
network-aiops device arp [-t <device>]
network-aiops device mac [-t <device>]
network-aiops device vlans [-t <device>]
network-aiops device route <prefix> [-t <device>] [--protocol bgp]
network-aiops device environment [-t <device>]
network-aiops device health [-t <device>]
network-aiops diagnose interface-health [-t <device>]           # interface RCA (worst-first)
network-aiops diagnose bgp [-t <device>]                        # BGP-neighbor RCA (worst-first)
network-aiops config backup [-t <device>] [-o <file>]
network-aiops config diff <file> [-t <device>] [--replace]
network-aiops config merge <file> [-t <device>] [--dry-run]      # double confirm
network-aiops config replace <file> [-t <device>] [--dry-run]    # HIGH RISK
network-aiops config rollback [-t <device>] [--dry-run]          # double confirm
network-aiops netbox list [--name <q>] [--limit N]
network-aiops netbox get <name>
network-aiops netbox interfaces <device> [--limit N]
network-aiops secret set|list|rm|migrate|rotate-password
network-aiops doctor
network-aiops mcp                                                # start MCP server (stdio)

See references/cli-reference.md for the full command list.

Troubleshooting

"Could not connect/authenticate to '<device>'"

The host/port, username, or password is wrong, or the device is unreachable. Run network-aiops doctor — it reports whether the encrypted secret store is present, whether a password is stored for the device, and whether the device answers. Store/replace the password with network-aiops secret set &lt;device&gt; (or re-run network-aiops init). For enable/secret, set it in optional_args.secret.

"Master password not set" / cannot unlock secrets

The encrypted store needs the master password. Export NETWORK_AIOPS_MASTER_PASSWORD for non-interactive use (MCP server / cron), or run a CLI command on a TTY to be prompted. If you forgot it, delete ~/.network-aiops/secrets.enc and re-run network-aiops init.

"Operation not supported by the '<driver>' NAPALM driver"

That getter or config mode is not implemented for this platform. Try a different getter, or fall back to config_backup and inspect the relevant stanza. Request the capability via a GitHub issue/PR.

"Driver '<x>' is not in the officially supported set"

Only ios, nxos, nxos_ssh, iosxr, eos, junos are tested here. Community drivers may work but are untested — request official support via a GitHub issue/PR.

NetBox commands fail with "NetBox is not configured"

Add a netbox: {url: ...} block to config.yaml and store the API token encrypted with network-aiops secret set netbox-token (or run network-aiops init). NetBox tools degrade gracefully when unconfigured.

config replace failed mid-commit

The device may not support full config replace (some Nexus images do not). Use config merge for additive changes, or restore from your config backup file.

Audit & Safety

The skill delivers reads and writes and records them; it does not decide whether a write is permitted. That is your agent's judgement, or the permission of the account you connect it with (log in with a device account at a read-only privilege level, and give NetBox a read-only API token — writes then fail at the server). There is no read-only switch, policy file, or approval gate.

  • Audit is the guarantee, and it is not bypassable. Every operation — MCP and CLI alike — is logged to ~/.network-aiops/audit.db (relocatable via NETWORK_AIOPS_HOME): params, result, status, duration, and the risk tier. The CLI writes the same row the MCP path does.
  • NETWORK_AUDIT_APPROVED_BY / NETWORK_AUDIT_RATIONALE are optional annotations recorded on the audit row (who/why); they are never required and never block.
  • Runaway guard — a safety backstop, not authorization: the same call looped in a tight window trips a circuit breaker. Disable with NETWORK_RUNAWAY_MAX=0.
  • Undo store records inverse descriptors for reversible writes (config merge/replace → restore captured running config).
  • Writes support --dry-run / dry_run=True and double confirmation at the CLI.

The harness is bundled in the package — no external dependency, no manual setup. See references/setup-guide.md for security details.

Driving these tools with a smaller / local model? See references/agent-guardrails.md — which guardrails the harness now enforces for you, a ready-to-paste system prompt, and the network-specific traps (config merge vs replace, per-vendor interface naming, NetBox intent vs live device state).

Contributing — request a device or feature

Coverage is intentionally focused. Need a device (Nokia SR OS, Huawei VRP, …) or an action that isn't here yet? Open an issue or pull request at github.com/AIops-tools/Network-AIops — feature requests, contributions, and comments are all welcome.

License

MIT — github.com/AIops-tools/Network-AIops

常见问题

5 问
答案由本站依据条目字段整理
Network AIops怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_993b98b1/network-aiops。安装方式为ClawHub 市场。装完刷新技能列表或重开客户端。

Network AIops支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

Network AIops权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

Network AIops收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

Network AIops用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。