首页龙虾技能列表 › NordVPN — 技能工具

NordVPN — 技能工具

v1.0.2

[自动翻译] Control NordVPN on Linux via the `nordvpn` CLI (connect/disconnect, choose country/city/group, read status, tweak settings, manage allowlist). Use for...

1· 2,151·0 当前·0 累计
by @maciekish·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill is an instruction-only wrapper for the NordVPN Linux CLI and its instructions and requirements are generally consistent with that purpose, aside from a small metadata omission about required binaries.
评估建议
This skill appears to be an instruction-only controller for the official NordVPN CLI and is internally coherent. Before installing: (1) verify you actually have the nordvpn CLI and daemon installed and that you trust the skill owner (source unknown); (2) be aware the skill will run system commands (may require sudo or group membership) and can change network routing (killswitch/autoconnect/allowlist) — test in a safe environment if concerned; (3) consider the metadata omission (it should list 'n...
详细分析 ▾
用途与能力
The skill's name and description match the SKILL.md: it orchestrates the official 'nordvpn' CLI to connect/disconnect, select locations, change settings, and manage allowlist. One mismatch: registry metadata lists no required binaries, but the instructions clearly depend on the 'nordvpn' CLI (and optionally 'systemctl' or '/snap/bin/nordvpn'). This is likely an omission in metadata rather than malicious behavior.
指令范围
All runtime instructions are limited to local operations for managing NordVPN (nordvpn commands, checking daemon status, groups, systemctl). The skill recommends manual login for interactive/browser flows and does not instruct collecting unrelated files, scanning user files, or sending data to external endpoints other than NordVPN's normal auth flow.
安装机制
There is no install spec (instruction-only), which is low-risk. The document suggests installing via common distro mechanisms (snap or package manager) but does not itself download or execute external code from untrusted URLs.
凭证需求
The skill declares no required environment variables or credentials and the instructions do not attempt to read secret env vars. It does rely on the user having a NordVPN account and a logged-in CLI session, which is proportional to the purpose.
持久化与权限
The skill is not always-enabled and is user-invocable; autonomous invocation is allowed (platform default). Note: many nordvpn operations can require elevated privileges or membership in a system group; if the agent is allowed to run autonomously it may attempt commands that need sudo or affect network routing (killswitch, autoconnect, allowlist). This is expected for a VPN control skill but is a potential operational risk you should consider.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.22026/2/4

- Documentation updated to clarify that on some systems, the full path (/snap/bin/nordvpn) may be required to run the CLI when installed via snap. - No changes to code or implementation; this is a documentation-only update.

● 无害

安装命令 点击复制

官方npx clawhub@latest install nordvpn
镜像加速npx clawhub@latest install nordvpn --registry https://cn.clawhub-mirror.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 ) 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

  • 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 status and parse the result.
  • Safe fallbacks
If a requested city/country/group is invalid, provide closest alternatives by listing:
nordvpn countries nordvpn cities nordvpn groups
  • 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 "" nordvpn status `

3) Disconnect flow

`bash nordvpn disconnect nordvpn status `

4) Resolve targets safely

If user asks for a city:
Prefer nordvpn cities when country is known Otherwise attempt connect; if it fails, list countries and search-like suggestions. `bash nordvpn countries nordvpn cities "" 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 "" `

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).

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务