From nokia-sr-skills
Helps inspect and operate Nokia SR OS (SROS) and SR Linux (SRL) routers: identifying the NOS, fetching YANG models, understanding config formats, and applying NETCONF/MD-CLI/gNMI behaviors.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nokia-sr-skills:nokia-srThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Helps you inspect and operate Nokia's two network operating systems:
references/global/detecting-nos.mdreferences/global/language-server.mdreferences/global/yang-models.mdreferences/global/yang-tooling.mdreferences/srlinux/config-format.mdreferences/srlinux/operate.mdreferences/srlinux/version-detection.mdreferences/sros/config-format.mdreferences/sros/operate.mdreferences/sros/version-detection.mdscripts/ensure-yang.shHelps you inspect and operate Nokia's two network operating systems:
They share concepts (YANG-driven config, NETCONF/gNMI) but differ in CLI, config syntax, models, and tooling. Work in this order, loading the one reference you need.
If you don't already know, identify SR OS vs SR Linux first - it decides every later step (models, CLI, syntax). See references/global/detecting-nos.md.
If detection is inconclusive or you are not sure, stop and ask the user to confirm which NOS it is rather than guessing - picking the wrong NOS sends you to the wrong models, CLI, and syntax.
Rule for any config / "how do I X" question (e.g. "how do I configure X on SR OS?"): do not answer from memory. First ask the user for the software version (or confirm it from the device/config), then verify the exact paths, keywords, and syntax against the YANG models for that version before giving an answer. Paths are case-sensitive and version-dependent, so an answer that is not checked against the pinned models is a guess.
YANG paths are case-sensitive and version-dependent, so pin the release first.
references/sros/version-detection.mdreferences/srlinux/version-detection.mdThen fetch the matching models on demand (the script is NOS-aware - first arg is the NOS, second is the version):
"${CLAUDE_PLUGIN_ROOT}/skills/nokia-sr/scripts/ensure-yang.sh" sros 25.10.R4
"${CLAUDE_PLUGIN_ROOT}/skills/nokia-sr/scripts/ensure-yang.sh" srlinux 25.10.3
"${CLAUDE_PLUGIN_ROOT}/skills/nokia-sr/scripts/ensure-yang.sh" sros latest # newest release
SR OS needs an explicit revision (25.10.R4, not bare 25.10); SR Linux needs the three-part version (25.10.3); latest resolves the newest release from GitHub. It prints the local YANG release directory (downloading from Nokia's GitHub only if not already cached). How it works and how to search the models: references/global/yang-models.md.
| You need to... | Read |
|---|---|
| Tell SR OS and SR Linux apart (file, config, live device) | references/global/detecting-nos.md |
| Obtain / search YANG models for a release | references/global/yang-models.md |
| Render a YANG path tree or validate device data offline (pyang / yanglint) | references/global/yang-tooling.md |
| Set up the srpls language server / VS Code extension | references/global/language-server.md |
| You need to... | Read |
|---|---|
| Get the SR OS release from a device or config file | references/sros/version-detection.md |
Understand info vs info flat vs info json output | references/sros/config-format.md |
| Push/diff config over NETCONF or navigate MD-CLI | references/sros/operate.md |
| You need to... | Read |
|---|---|
| Get the SR Linux release from a device or config file | references/srlinux/version-detection.md |
Understand SR Linux config (braced vs set flat, platform) | references/srlinux/config-format.md |
| Operate over gNMI / JSON-RPC / CLI | references/srlinux/operate.md |
commit, always propose running the compare/diff first to confirm the change: SR OS compare / md-compare, SR Linux diff / commit validate. See each NOS's operate reference.classic / mixed / model-driven) before NETCONF candidate edits, and set nc:operation explicitly. See references/sros/operate.md.info flat).Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub antoinekh/nokia-sr-skills --plugin nokia-sr-skills