Skip to content
Back to skills

Intent Nornir Napalm

ASecurity

Build idempotent network intent with Nornir and NAPALM, inventory from NetBox. Use when replacing a hop-by-hop CLI change with a rendered, diffed, dry-run pipeline.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentspython

Works with

  • cli

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add gesh75/claude-skill-lint --skill intent-nornir-napalm --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Intent Nornir Napalm?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Intent Nornir Napalm
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gesh75-intent-nornir-napalm/badge)](https://www.skillsdirectory.com/skills/gesh75-intent-nornir-napalm)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: intent-nornir-napalm
description: Build idempotent network intent with Nornir and NAPALM, inventory from NetBox. Use when replacing a hop-by-hop CLI change with a rendered, diffed, dry-run pipeline.
argument-hint: "[play] [site]"
allowed-tools: Read Grep
license: MIT
---

# Intent with Nornir / NAPALM

Do not use for one-off show commands. Not for Ansible-vs-Nornir debates.

## Procedure

1. Inventory from NetBox (nornir-netbox). Filters are site, role, platform — never a handwritten host list.
2. Render Jinja from intent data. No device-specific if-hacks if a platform plugin exists.
3. NAPALM `get_config` + `compare_config` before commit. Print the diff in the ticket.
4. Idempotence: a second run produces an empty diff.
5. Verify on a canary device, then the rest, with change-guard.

```python
from nornir_napalm.plugins.tasks import napalm_configure
r = nr.filter(site="dc1", role="leaf").run(task=napalm_configure, dry_run=True, filename="evpn.j2")
```

## Anti-patterns

- Never `send_command` a config snippet that cannot be diffed.
- Do not keep a parallel YAML inventory "just in case".

## Safety

dry_run is the default. commit is change-guarded.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.