据 AlphaMoat 统计,截至 2026-09,NordVPN 累计下载 3,282 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 3,461 位,在「AI 智能体」分类(969 个)中排名第 709 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 104 | 3,282 | 2 | - |
各平台的计数口径不同,统计时间不一致。
文档涵盖连接与断开、选择国家或城市、查看状态、调整设置和管理 allowlist;运行依赖 NordVPN 守护进程、账户登录及适当权限。更改 VPN 连接或网络设置会影响设备网络流量,应在用户明确授权后执行。 变更可能中断 SSH 或共享会话,操作后应核对连接状态。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,282 | — | 2 |
| 2026-08 | 3,138 | +4.2% | 2 |
| 2026-07 | 3,011 | +8.9% | 2 |
| 2026-06 | 2,764 | — | 2 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: nordvpn description: 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. homepage: https://nordvpn.com/ --- # 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 `nordvpn` CLI (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)
```bash
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:
```bash
which nordvpn
nordvpn --version
```
### Verify daemon is running
```bash
# 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.
```bash
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:
```bash
nordvpn account
nordvpn status
```
**ClawBot guidance:** treat login as a manual prerequisite unless you explicitly automate the browser-based login flow.
## Quick Reference
### Status
```bash
nordvpn status
```
### Connect (best available)
```bash
nordvpn connect
# alias:
nordvpn c
```
### Connect to a country / city / group
```bash
# country
nordvpn connect Sweden
# city (must exist in `nordvpn cities <country>`)
nordvpn connect "Stockholm"
# group (must exist in `nordvpn groups`)
nordvpn connect P2P
```
### Disconnect
```bash
nordvpn disconnect
# alias:
nordvpn d
```
### List locations
```bash
nordvpn countries
nordvpn cities Sweden
nordvpn groups
```
### Settings (read + change)
```bash
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)
```bash
# 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
1. **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.
2. **Reliable verification**
* After connect/disconnect, always run `nordvpn status` and parse the result.
3. **Safe fallbacks**
* If a requested city/country/group is invalid, provide closest alternatives by listing:
* `nordvpn countries`
* `nordvpn cities <country>`
* `nordvpn groups`
4. **Human-in-the-loop login**
* If `nordvpn` reports not logged in, return a structured response instructing to run `nordvpn login`.
### Recommended “actions” (API surface)
Implement these as the skill’s callable intents/tools:
* `status()` → returns parsed connection status
* `connect_best()` → connects to best available
* `connect_country(country)`
* `connect_city(city)` (optionally with `country` for 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
```bash
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 disconnect` then connect
* Run `nordvpn status` again and confirm connected
Commands:
```bash
nordvpn connect "<target>"
nordvpn status
```
### 3) Disconnect flow
```bash
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.
```bash
nordvpn countries
nordvpn cities "<country>"
nordvpn groups
```
## Common Errors & Handling
### Not logged in
Symptoms:
* CLI complains about authentication/account/login.
Handling:
* Return: “Login required. Run `nordvpn login` and repeat.”
* Optionally: run `nordvpn account` to confirm.
### Daemon not running / permission denied
Symptoms:
* Can’t connect, service errors, permission errors.
Handling:
* Check `systemctl status nordvpnd` (systemd installs)
* Confirm snap service health (snap installs vary)
* Ensure user belongs to the right group (some installs use a `nordvpn` group):
```bash
groups
getent group nordvpn || true
```
### Invalid location/group
Symptoms:
* “Unknown country/city/group” or connect fails immediately.
Handling:
* Provide available options:
```bash
nordvpn countries
nordvpn groups
nordvpn cities "<country>"
```
## Practical Automation Recipes
### Ensure VPN is connected (any server)
```bash
nordvpn status | sed -n '1,10p'
nordvpn connect
nordvpn status | sed -n '1,15p'
```
### Reconnect to a specific country
```bash
nordvpn disconnect
nordvpn connect Sweden
nordvpn status
```
### Toggle killswitch (example)
```bash
nordvpn set killswitch on
nordvpn settings
```
## Notes
* Command options and setting keys can differ by NordVPN CLI version. Always rely on:
```bash
nordvpn help
nordvpn set --help
nordvpn allowlist --help
```
* If you need stable machine-readable output, the NordVPN CLI does not consistently provide JSON; plan to parse human-readable status text defensively (line-based key/value extraction, tolerate missing fields).
把开发过程中的经验、错误与纠正记录为 Markdown 文件,供后续复用并晋升为工作区记忆。
用自然语言描述需求,在本地与远程技能市场里找技能并给出推荐的技能。
给 AI agent 用的浏览器自动化命令行技能。
把用户纠正与自我复盘沉淀成分层记忆、并按使用情况升降级的技能。
在安装第三方技能之前,按清单审查来源、权限与危险模式的技能。
把 agent 的记忆与跨技能状态存成带类型和约束的知识图谱的技能。
一份为 AI 代理规划主动跟进、工作记忆与复盘流程的工作区配置指南。
指导如何创建与更新有效 Claude 技能的写作指南。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。