State inspection
Check current VPN state before a network-sensitive task.
Free VPN CLI gives agents a documented command surface: SKILL.md for operating rules, JSON output for parsing, stable exit codes for decisions, region commands for explicit changes, and doctor reports for troubleshooting.
The useful setup is not only installing the CLI. The agent needs instructions, parseable commands, and clear permission boundaries.
Have the agent check whether the CLI exists, read status, list regions only when needed, and use doctor output for evidence.
--json for every command the agent parses.doctor --json before producing a troubleshooting summary.The best agent workflow is bounded and inspectable: check state, act only when asked, verify, and report structured evidence.
Check current VPN state before a network-sensitive task.
List regions and set a requested location only when the task requires it.
Run doctor output when network behavior looks wrong.
Add SKILL.md to the agent context so command names and safety notes are not guessed.
Three verbs cover most day-to-day VPN work. set-region and doctor cover region selection and troubleshooting.
Agents should treat VPN work as an explicit sequence. Avoid hidden state changes and always verify with JSON output.
| Command | Why it matters |
|---|---|
freevpn status --json | Read current VPN state without scraping text. |
freevpn regions --json | Find available region labels or slugs before a requested switch. |
freevpn set-region <slug|label> | Persist a user-approved region choice. |
freevpn up --json | Connect and return parseable connection output. |
freevpn doctor --json | Gather evidence before summarizing network issues. |
Agents need predictable commands, parseable output, and diagnostics more than a visual app.
Works with Claude, Cursor, Codex, OpenClaw, Hermes, and any MCP tool, and documents command intent, JSON behavior, exit codes, install flow, GUI scope, and troubleshooting.
Use structured output for state, regions, connection changes, and diagnostics.
Use documented outcomes for wait, retry, already-down, and license-required flows.
Agents should drive the CLI directly; the GUI is for humans.
List, set, connect, verify, and report region changes.
Structured diagnostics help agents explain DNS, route, controller, license, and egress issues.
A VPN changes network state, so agent usage should be explicit, parseable, and reversible where possible.
status --json before and after connection changes.doctor --json when a network task fails.SKILL.md. It is written for agents and documents commands, JSON output, exit codes, installation flow, GUI scope, and troubleshooting.--json for every command the agent needs to parse.regions --json, set-region, up --json, and status verification.freevpn doctor --json and summarize the structured diagnostics.Download SKILL.md, add it to your agent workflow, and use JSON commands for every parseable VPN step.