control-nordvpn-linux-cli
Control NordVPN on Linux via the `nordvpn` CLI (connect/disconnect, choose country/city/group, read status, tweak settings, manage allowlist). Use for…
от rondoflow★ 37 звёзд на GitHub
Установить control-nordvpn-linux-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
NordVPN CLI Skill (Linux)
A ClawBot skill for controlling the NordVPN Linux CLI (nordvpn) to connect/disconnect, select locations, verify status, and adjust settings from automations and workflows.
Assumptions / Compatibility
- Works with the official
nordvpnCLI (example shown: 4.3.1 [snap]). - Requires the NordVPN daemon running (usually
nordvpnd) and sufficient permissions. - Some commands may require elevated privileges depending on distro + install method (snap vs deb).
Installation
Option A: Snap (common on Ubuntu)
sudo snap install nordvpn
nordvpn --version
Option B: Distro package / repo (varies)
If you installed via Nord’s repo or a package manager, just verify:
which nordvpn
nordvpn --version
Verify daemon is running
# systemd installs usually
systemctl status nordvpnd --no-pager || true
# snap installs may not expose systemd unit the same way
nordvpn status || true
# or may require the full patch to be specified like so
/snap/bin/nordvpn status || true
Authentication / Login
NordVPN CLI typically requires logging in once per machine/user session.
nordvpn login
If the environment is headless, the CLI will guide you through the login flow (often via a browser link / code). After login, confirm:
nordvpn account
nordvpn status
ClawBot guidance: treat login as a manual prerequisite unless you explicitly automate the browser-based login flow.
Quick Reference
Status
nordvpn status
Connect (best available)
nordvpn connect
# alias:
nordvpn c
Connect to a country / city / group
# country
nordvpn connect Sweden
# city (must exist in `nordvpn cities <country>`)
nordvpn connect "Stockholm"
# group (must exist in `nordvpn groups`)
nordvpn connect P2P
Disconnect
nordvpn disconnect
# alias:
nordvpn d
List locations
nordvpn countries
nordvpn cities Sweden
nordvpn groups
Settings (read + change)
nordvpn settings
# examples (options differ by version)
nordvpn set autoconnect on
nordvpn set killswitch on
nordvpn set threatprotectionlite on # if supported
nordvpn set protocol nordlynx # if supported
Allowlist (bypass VPN for certain traffic)
# view help
nordvpn allowlist --help
# examples (subcommands differ by version)
nordvpn allowlist add port 22
nordvpn allowlist add subnet 192.168.0.0/16
nordvpn allowlist remove port 22
Skill Design
What this skill should do well
Idempotent connection actions
- If already connected to the requested target, do nothing (or return “already connected”).
- If connected elsewhere, optionally disconnect then connect to target.
Reliable verification
- After connect/disconnect, always run
nordvpn statusand parse the result.
- After connect/disconnect, always run
Safe fallbacks
If a requested city/country/group is invalid, provide closest alternatives by listing:
nordvpn countriesnordvpn cities <country>nordvpn groups
Human-in-the-loop login
- If
nordvpnreports not logged in, return a structured response instructing to runnordvpn login.
- If
Recommended “actions” (API surface)
Implement these as the skill’s callable intents/tools:
status()→ returns parsed connection statusconnect_best()→ connects to best availableconnect_country(country)connect_city(city)(optionally withcountryfor disambiguation)connect_group(group)disconnect()list_countries()list_cities(country)list_groups()get_settings()set_setting(key, value)allowlist_add(type, value)allowlist_remove(type, value)
Suggested Implementation Pattern (CLI orchestration)
1) Always start with status
nordvpn status
Parse fields commonly returned by the CLI, such as:
- Connection state (Connected/Disconnected)
- Current server / country / city
- IP, protocol, technology
2) Connect flow
Goal: connect to a target (country/city/group) with verification.
Pseudo-logic:
- Run
nordvpn status - If disconnected → connect directly
- If connected to different target →
nordvpn disconnectthen connect - Run
nordvpn statusagain and confirm connected
Commands:
nordvpn connect "<target>"
nordvpn status
3) Disconnect flow
nordvpn disconnect
nordvpn status
4) Resolve targets safely
If user asks for a city:
- Prefer
nordvpn cities <country>when country is known - Otherwise attempt connect; if it fails, list countries and search-like suggestions.
nordvpn countries
nordvpn cities "<country>"
nordvpn groups
Common Errors & Handling
Not logged in
Symptoms:
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл control-nordvpn-linux-cli?
Control NordVPN on Linux via the `nordvpn` CLI (connect/disconnect, choose country/city/group, read status, tweak settings, manage allowlist). Use for automation that needs region routing or temporary VPN tunneling.
Как установить скилл control-nordvpn-linux-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл control-nordvpn-linux-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…