vpn

vpn is a command for coding agents from dmzoneill/redhat-ai-workflow. It costs 0 tokens per session (572 once invoked), scanned A, original, Apache-2.0.

A command that connects your computer to Red Hat’s private VPN. A VPN creates a secure network connection to internal company resources.

In plain words
What is it for?
Use it when internal hostnames cannot be found, routes fail, or connections to Red Hat systems time out.
Why use it?
It provides access to private GitLab sites, clusters, internal APIs, and other resources that are unavailable from the public internet.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/dmzoneill/redhat-ai-workflow/vpn
Clone the repo
git clone --depth 1 https://github.com/dmzoneill/redhat-ai-workflow

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vpn

README.md
[![agentmods](https://agentmods.dev/badge/commands/dmzoneill/redhat-ai-workflow/vpn.svg)](https://agentmods.dev/commands/dmzoneill/redhat-ai-workflow/vpn)
Your own site
<a href="https://agentmods.dev/commands/dmzoneill/redhat-ai-workflow/vpn"><img src="https://agentmods.dev/badge/commands/dmzoneill/redhat-ai-workflow/vpn.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 572 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00572
Opus 5 $0.00000 $0.00286
Sonnet 5 $0.00000 $0.00114
Haiku 4.5 $0.00000 $0.00057

Measured yesterday against content hash d851b3100565, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vpn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/commands/vpn.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/vpn

Connect to Red Hat VPN for internal resources.

Overview

Connect to Red Hat VPN for internal resources.

Arguments

No arguments required.

Usage

Examples

vpn_connect()
❌ dial tcp: lookup gitlab.cee.redhat.com: no such host
❌ No route to host
❌ Connection refused
❌ i/o timeout
# Check VPN status manually
nmcli connection show --active | grep -i vpn

# Try connecting manually
/usr/bin/redhat-vpn-connect

# Check network
ping -c 1 gitlab.cee.redhat.com

Process Flow

flowchart TD
    START([Start]) --> PROCESS[Process Command]
    PROCESS --> END([Complete])

    style START fill:#6366f1,stroke:#4f46e5,color:#fff
    style END fill:#10b981,stroke:#059669,color:#fff
```text

## Details

## Instructions

```text
vpn_connect()
```text

## When You Need VPN

The VPN is required for:

| Resource | Example |
|----------|---------|
| GitLab | `gitlab.cee.redhat.com` |
| Ephemeral clusters | `ephemeral.eng.redhat.com` |
| Stage cluster | `stage.eng.redhat.com` |
| Konflux | `konflux.ci` |
| Internal APIs | Various |

## Error Signs

You need VPN if you see:

```text
❌ dial tcp: lookup gitlab.cee.redhat.com: no such host
❌ No route to host
❌ Connection refused
❌ i/o timeout

What It Does

  1. Checks if VPN is already connected
  2. Launches the VPN connection script
  3. Waits for connection to establish
  4. Verifies connectivity

Troubleshooting

If VPN connect fails:

# Check VPN status manually
nmcli connection show --active | grep -i vpn

# Try connecting manually
/usr/bin/redhat-vpn-connect

# Check network
ping -c 1 gitlab.cee.redhat.com

After Connecting

After VPN is connected, you may also need to authenticate:

# Kubernetes clusters
kube_login("s")  # Stage
kube_login("e")  # Ephemeral
kube_login("k")  # Konflux

# Container registry
podman login quay.io
docker login quay.io

See Also

  • /smoke-tools - Test all tools including connectivity
  • /coffee - Morning briefing (needs VPN)

Read the full file on GitHub · 127 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 127 lines · 0 tokens per session scan A d851b3100565

Subscribe to this mod's changes

vpn is a command published in the GitHub repository dmzoneill/redhat-ai-workflow (5 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 572 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.