Claude Code skill plugin: inspect & operate Nokia SR OS (SROS) and SR Linux - NOS detection, on-demand YANG models, version detection, config formats, CLI/NETCONF/gNMI.
README
A Claude Code skill plugin that teaches Claude how to inspect and operate Nokia's two SR network operating systems - SR OS (SROS) and SR Linux (SRL): telling the two apart, fetching the right YANG models on demand, reading the software version, understanding each NOS's config formats, and applying NETCONF / MD-CLI / gNMI behaviors. It also points to Nokia's srpls language server.
/plugin marketplace add antoinekh/nokia-sr-skills
/plugin install nokia-sr-skills@antoinekh
ensure-yang.sh <nos> <version> checks a dedicated local cache (~/.cache/nokia-sr/yang/<nos>/<version>) and downloads the matching release tarball - the same source and repos the srpls language server uses - only if missing. SR OS from nokia/7x50_YangModels, SR Linux from nokia/srlinux-yang-models.info / info flat / info json; SR Linux braced vs set flat, JSON, platform-aware interfaces.srpls and the vscode-sr extension.| Environment variable | Default | Purpose |
|----------------------|---------|---------|
| NOKIA_SR_YANG_DIR | ${XDG_CACHE_HOME:-~/.cache}/nokia-sr/yang | Override the directory where YANG releases are cached and looked up. |
| GITHUB_TOKEN / GH_TOKEN | unset | Sent as an Authorization header on GitHub API requests; lifts the unauthenticated rate limit (60 requests/hour per IP). |
skills/nokia-sr/
SKILL.md
scripts/ensure-yang.sh
references/
global/{detecting-nos,yang