nokia-sr-skills
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in skills/nokia-sr/scripts/ensure-yang.sh
- rm -rf — Recursive force deletion command in tests/test_ensure_yang.sh
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
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.
nokia-sr-skills
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.
Install
/plugin marketplace add antoinekh/nokia-sr-skills
/plugin install nokia-sr-skills@antoinekh
What it does
- NOS detection - tell SR OS from SR Linux (file, config, live device); ask the user when unsure.
- On-demand YANG models -
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. - Version detection - per NOS, from a live device or a config file.
- Config formats - SR OS
info/info flat/info json; SR Linux braced vssetflat, JSON, platform-aware interfaces. - Operations - SR OS NETCONF / MD-CLI quirks; SR Linux gNMI / JSON-RPC / NETCONF / CLI.
- Language server - pointers to
srplsand thevscode-srextension.
Configuration
| 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). |
Layout
skills/nokia-sr/
SKILL.md
scripts/ensure-yang.sh
references/
global/{detecting-nos,yang-models,language-server}.md
sros/{version-detection,config-format,operate}.md
srlinux/{version-detection,config-format,operate}.md
Tests
bash tests/test_ensure_yang.sh
CI runs ShellCheck and this suite on every push and pull request.
Releasing
The plugin version is duplicated in two files that must stay in sync:
- Bump
versionin.claude-plugin/plugin.jsonand.claude-plugin/marketplace.json. - Move the
## Unreleasedentries ofCHANGELOG.mdinto a new## vX.Y.Z - <date>block. - Commit and tag
vX.Y.Z.
Attribution
YANG models are downloaded from Nokia's public 7x50_YangModels and srlinux-yang-models repositories and are subject to Nokia's license. This plugin does not redistribute them.
License
MIT
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found