VPN state checks
Ask Claude Code to inspect state before a network-sensitive command.
Claude Code can use Free VPN CLI most safely when SKILL.md is in context. The workflow is command-first: inspect status as JSON, list regions or service presets when needed, connect, verify, and run doctor only when troubleshooting.
Add SKILL.md to Claude Code context before asking it to manage VPN state.
Have Claude Code check install, read status, and use diagnostics rather than guessing.
status --json as the authoritative state check.doctor --json before troubleshooting summaries.Use Claude Code for bounded network work: inspect, change only when asked, verify, and report.
Ask Claude Code to inspect state before a network-sensitive command.
Switch region only when requested and verify status afterward.
Use doctor output when API calls or tests fail.
Keep SKILL.md available so Claude Code follows documented behavior.
Three verbs cover most day-to-day VPN work. set-region and doctor cover region selection and troubleshooting.
Claude Code should use a small repeatable command set and explain any network state changes it makes.
| Command | Why it matters |
|---|---|
freevpn status --json | Read current VPN state before acting. |
freevpn regions --json | Inspect available regions. |
freevpn set-region "US East"freevpn up --json | Connect to a requested region with parseable output. |
freevpn doctor --json | Collect diagnostics before making network claims. |
Claude Code benefits from the same agent-safe primitives: SKILL.md, JSON, exit codes, and doctor diagnostics.
Works with Claude, Cursor, Codex, OpenClaw, Hermes, and any MCP tool. SKILL.md explains GUI scope, install checks, command names, and troubleshooting.
Use JSON for any command Claude Code needs to parse.
Branch on documented outcomes instead of guessing from text.
Doctor output gives structured evidence for summaries.
List, set, connect, and verify region changes.
Use CLI status as authoritative over GUI screenshots.
SKILL.md documents freevpn services so agents can list service categories, inspect the current preset, or choose Off and General without reading screenshots. Non-default service presets are paid and return license_required for free users.
freevpn services list shows supported service presets.freevpn services categories groups presets such as Streaming, Sports, Social, AI, and Other where available.freevpn services current prints the current preset name on one line.freevpn services --json is the safest form for scripts and agents.The safest workflow is explicit, parseable, and easy for the user to review.
command -v freevpn and version --json before assuming install.status --json as authoritative.doctor --json for network failures.--json for every command it needs to parse.freevpn doctor --json.Give Claude Code SKILL.md and keep VPN work structured through JSON commands and doctor diagnostics.