Agent skill

Run Gateway Local

by Devolutions in Devolutions/devolutions-gateway

Launch Devolutions Gateway from source for local coding-agent tests with loopback listeners by default; require explicit opt-in before binding to non-localhost addresses.

Apache-2.0Auto-check passedAgent Workflows

Install Run Gateway Local

skills CLI
$ npx skills add Devolutions/devolutions-gateway --skill run-gateway-local -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Devolutions/devolutions-gateway run-gateway-local --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Devolutions/devolutions-gateway.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/run-gateway-local .claude/skills/run-gateway-local && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
run-gateway-local
GitHub stars
161
Token cost
~1.8k tokens
SKILL.md length
280 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
Apache-2.0

At a glance

Launch Devolutions Gateway from source for local coding-agent tests with loopback listeners by default; require explicit opt-in before binding to non-localhost addresses.

  • Works in 4 steps: Build the Gateway binary → From the repository or a child… → Start the Gateway in a dedicated terminal → …
  • Tasks that involve Agent evaluation and testing
  • SKILL.md covers Default launch and Remote-device testing
  • Calls cargo

What it does

Run Gateway Local is an agent skill from Devolutions/devolutions-gateway. Launch Devolutions Gateway from source for local coding-agent tests with loopback listeners by default; require explicit opt-in before binding to non-localhost addresses.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent evaluation and testing. The repository describes itself as: A blazing fast relay server adaptable to different protocols and desired levels of traffic inspection. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Agent evaluation and testing

Example prompts

  • “/run-gateway-local”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Build the Gateway binary
  2. From the repository or a child directory, run this complete preparation block.
  3. Start the Gateway in a dedicated terminal
  4. From a second terminal, use the Gateway health URL printed by the preparation block with

What it can do on your machine

Read from SKILL.md and the folder at commit 81a3141. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Run Gateway Local loads about 1.8k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 280 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Devolutions/devolutions-gateway at commit 81a3141, republished under its Apache-2.0 licence (© Devolutions). 280 words, ~1,768 tokens.

Download SKILL.mdSave it as .claude/skills/run-gateway-local/SKILL.md (or your agent's skills folder).
name
run-gateway-local
description
Launch Devolutions Gateway from source for local coding-agent tests with loopback listeners by default; require explicit opt-in before binding to non-localhost addresses.

Run Devolutions Gateway Locally

Use this skill whenever a coding agent needs to run the Gateway from the repository for local development or testing.

The production configuration template intentionally uses wildcard listener hosts, so do not change ConfFile::generate_new or installed service configuration to solve a local testing problem. Instead, use a separate working configuration under the repository's ignored config\ directory and bind its listeners to 127.0.0.1 by default.

Default launch

  1. Build the Gateway binary:

    powershell
    cargo build -p devolutions-gateway
  2. From the repository or a child directory, run this complete preparation block. It creates the ignored config\ directory, generates the required provisioner key pair on first use, rewrites every listener to the selected host, and refuses unapproved remote binds. The first run requires the .NET SDK to build the local PowerShell module.

    powershell
    $RepoRoot = (git rev-parse --show-toplevel).Trim()
    if ($LASTEXITCODE -ne 0) {
        throw 'Run this command from the Devolutions Gateway repository or one of its child directories.'
    }
    
    $ErrorActionPreference = 'Stop'
    $ConfigDir = Join-Path $RepoRoot 'config'
    $ConfigFile = Join-Path $ConfigDir 'gateway.json'
    $BindHost = '127.0.0.1'
    $AllowRemoteBinding = $false
    $LoopbackHosts = @('127.0.0.1', 'localhost', '::1')
    $BindHost = $BindHost.TrimStart('[').TrimEnd(']')
    $UrlBindHost = if ($BindHost.Contains(':')) { "[$BindHost]" } else { $BindHost }
    
    if ($BindHost -notin $LoopbackHosts -and -not $AllowRemoteBinding) {
        throw "Refusing non-localhost Gateway binding. Set `$AllowRemoteBinding only for an intentional remote test."
    }
    
    if (-not (Test-Path -LiteralPath $ConfigFile)) {
        New-Item -ItemType Directory -Force -Path $ConfigDir | Out-Null
        cargo run -p devolutions-gateway -- --config-path $ConfigDir --config-init-only
        if ($LASTEXITCODE -ne 0) {
            throw 'Gateway configuration initialization failed.'
        }
    }
    
    $Config = Get-Content $ConfigFile -Raw | ConvertFrom-Json
    if ($null -eq $Config.Listeners -or $Config.Listeners.Count -eq 0) {
        throw "No Gateway listeners are configured in $ConfigFile."
    }
    
    $HasProvisionerPublicKeyFile = -not [string]::IsNullOrWhiteSpace($Config.ProvisionerPublicKeyFile)
    $HasProvisionerPublicKeyData = -not [string]::IsNullOrWhiteSpace($Config.ProvisionerPublicKeyData)
    $ProvisionerPublicKeyPath = $null
    $NeedsProvisionerKey = -not $HasProvisionerPublicKeyFile -and -not $HasProvisionerPublicKeyData
    if ($HasProvisionerPublicKeyFile) {
        $ProvisionerPublicKeyPath = if ([IO.Path]::IsPathRooted($Config.ProvisionerPublicKeyFile)) {
            $Config.ProvisionerPublicKeyFile
        } else {
            Join-Path $ConfigDir $Config.ProvisionerPublicKeyFile
        }
        $NeedsProvisionerKey = -not (Test-Path -LiteralPath $ProvisionerPublicKeyPath -PathType Leaf)
    }
    
    if ($NeedsProvisionerKey) {
        # The PowerShell module honors this variable even when -ConfigPath is supplied.
        $Env:DGATEWAY_CONFIG_PATH = $ConfigDir
        & (Join-Path $RepoRoot 'powershell\build.ps1')
        if ($LASTEXITCODE -ne 0) {
            throw 'Building the Devolutions Gateway PowerShell module failed.'
        }
        $ModuleDir = Join-Path $RepoRoot 'powershell\package\DevolutionsGateway'
        $ModuleManifest = Join-Path $ModuleDir 'DevolutionsGateway.psd1'
        $PickyAssembly = Join-Path $ModuleDir 'bin\Devolutions.Picky.dll'
        if (-not (Test-Path -LiteralPath $ModuleManifest -PathType Leaf) -or
            -not (Test-Path -LiteralPath $PickyAssembly -PathType Leaf)) {
            throw 'The Devolutions Gateway PowerShell module build did not produce its required artifacts.'
        }
        Import-Module $ModuleManifest
        New-DGatewayProvisionerKeyPair -ConfigPath $ConfigDir
        # Preserve all original config fields after the module writes the generated key paths.
        $Config | Add-Member -NotePropertyName ProvisionerPublicKeyFile -NotePropertyValue 'provisioner.pem' -Force
        $Config | Add-Member -NotePropertyName ProvisionerPrivateKeyFile -NotePropertyValue 'provisioner.key' -Force
    }
    
    foreach ($Listener in $Config.Listeners) {
        $Listener.InternalUrl = $Listener.InternalUrl -replace '(?<=://)(\[[^\]]+\]|[^/:]+)', $UrlBindHost
        $Listener.ExternalUrl = $Listener.ExternalUrl -replace '(?<=://)(\[[^\]]+\]|[^/:]+)', $UrlBindHost
    }
    
    $HttpListener = $Config.Listeners |
        Where-Object { $_.InternalUrl -match '^https?://' } |
        Select-Object -First 1
    if ($null -eq $HttpListener) {
        throw 'Gateway configuration has no HTTP listener for the health check.'
    }
    $HealthListenerMatch = [regex]::Match(
        $HttpListener.InternalUrl,
        '^(?<Scheme>https?)://(?:\[[^\]]+\]|[^/:]+):(?<Port>\d+)/?$'
    )
    if (-not $HealthListenerMatch.Success) {
        throw "Unable to determine a health-check URL from $($HttpListener.InternalUrl)."
    }
    $HealthProbeHost = switch ($BindHost) {
        '*' { '127.0.0.1' }
        '0.0.0.0' { '127.0.0.1' }
        '::' { '[::1]' }
        default { $UrlBindHost }
    }
    $HealthUrl = '{0}://{1}:{2}/jet/health' -f `
        $HealthListenerMatch.Groups['Scheme'].Value, `
        $HealthProbeHost, `
        $HealthListenerMatch.Groups['Port'].Value
    
    [IO.File]::WriteAllText(
        $ConfigFile,
        ($Config | ConvertTo-Json -Depth 20),
        $(New-Object System.Text.UTF8Encoding $False)
    )
    Write-Output "Gateway health URL: $HealthUrl"
  3. Start the Gateway in a dedicated terminal:

    powershell
    $RepoRoot = (git rev-parse --show-toplevel).Trim()
    $ConfigDir = Join-Path $RepoRoot 'config'
    cargo run -p devolutions-gateway -- --config-path $ConfigDir
  4. From a second terminal, use the Gateway health URL printed by the preparation block with Invoke-WebRequest -Uri <health-url> or use the endpoint required by the test. Stop the foreground process with Ctrl+C when testing is complete.

Show full SKILL.md (107 more words)Show less

Remote-device testing

Binding to a machine address is an explicit exception, not a default. Set $BindHost to the specific address or hostname that the other device must reach and set $AllowRemoteBinding = $true in the launch block only for that test. Do not use *, 0.0.0.0, or [::] unless the test specifically requires all interfaces and the opt-in is documented in the agent's test notes. Expect Windows Firewall to prompt when a non-loopback listener is started, and restore the loopback configuration after the remote test.

Never point this workflow at the installed %ProgramData%\Devolutions\Gateway configuration or modify production listener defaults. Always use --config-path $ConfigDir when running the Gateway through this workflow.

© Devolutions, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/run-gateway-local of Devolutions/devolutions-gateway.

Open the folder on GitHubat commit 81a3141

Compare with similar skills

Run Gateway Local next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Run Gateway Local compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Run Gateway Local this skillDevolutions/devolutions-gateway161—~1.8kAutomated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k62 repos~2.3kAutomated safety check: PassApache-2.0
Diagnosing Superpowers Sessionsobra/superpowers296k3 repos~1.7kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Skill Release Gaterohitg00/ai-engineering-from-scratch65k—~1kAutomated safety check: PassMIT
CodeGraph Agent Evalcolbymchenry/codegraph73k—~950Automated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 62 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Investigates a session where Superpowers went wrong, reads the transcripts on disk and produces an evidence-cited report, optionally prepared as a bug report for the maintainers.

    296k GitHub starsUsed in 3 repos~1.7k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    65k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • CodeGraph Agent Eval

    colbymchenry/codegraph

    Benchmarks how much CodeGraph helps a coding agent on a real repository, comparing runs with and without it for a chosen local or published version.

    73k GitHub stars~950 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Mines local Copilot CLI session logs for dotnet/maui to rank costly or failing runs, tag recurring failure modes, propose repo edits and emit guard evals.

    23k GitHub stars~3.4k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from Devolutions/devolutions-gateway

All 19 skills in this repo
  • Tessl Skill Linting

    Devolutions/devolutions-gateway

    Review, lint, create, edit, refine, optimize, compress, or validate any agent skill in this repository, including any SKILL.md.

    161 GitHub stars~740 tokensUpdated today
    Auto-check passed
  • Build Agent Msi

    Devolutions/devolutions-gateway

    Build the Devolutions Agent Windows MSI installer locally. An agent skill from Devolutions/devolutions-gateway.

    161 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Changelog To Jira

    Devolutions/devolutions-gateway

    Creates missing DGW Jira tickets from CHANGELOG.md entries and updates the file with the new ticket links.

    161 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Commit And PR Conventions

    Devolutions/devolutions-gateway

    Follow the adopted commit and pull-request conventions. An agent skill from Devolutions/devolutions-gateway.

    161 GitHub stars~739 tokensUpdated today
    Auto-check passed
  • Prepare Release

    Devolutions/devolutions-gateway

    Prepares a Devolutions Gateway / Devolutions Agent release commit: bumps the version, generates and inserts the changelog, creates Jira tickets, generates the ToolBox changelog, and produces the…

    161 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Build Gateway Msi

    Devolutions/devolutions-gateway

    Build the Devolutions Gateway Windows MSI installer locally.

    161 GitHub stars~2.3k tokensUpdated today
    Auto-check: warnings

Categories

Questions about Run Gateway Local

What does Run Gateway Local do?

Launch Devolutions Gateway from source for local coding-agent tests with loopback listeners by default; require explicit opt-in before binding to non-localhost addresses. Run Gateway Local is an agent skill from Devolutions/devolutions-gateway. Launch Devolutions Gateway from source for local coding-agent tests with loopback listeners by default; require explicit opt-in before binding to non-localhost addresses.

When should I use Run Gateway Local?

Run Gateway Local fits situations like: tasks that involve Agent evaluation and testing.

How do I install Run Gateway Local in Claude Code?

Run `npx skills add Devolutions/devolutions-gateway --skill run-gateway-local -a claude-code`. Or copy the skill folder (.agents/skills/run-gateway-local in Devolutions/devolutions-gateway) into .claude/skills/run-gateway-local in your project. Claude Code loads it when a task matches its description.

How do I install Run Gateway Local in Codex?

Run `npx skills add Devolutions/devolutions-gateway --skill run-gateway-local -a codex`. Or copy the skill folder (.agents/skills/run-gateway-local in Devolutions/devolutions-gateway) into .agents/skills/run-gateway-local in your project. Codex loads it when a task matches its description.

Can I use Run Gateway Local in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Devolutions/devolutions-gateway --skill run-gateway-local -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/run-gateway-local, .gemini/skills/run-gateway-local, .github/skills/run-gateway-local and .opencode/skills/run-gateway-local in your project.

What does Run Gateway Local need to run?

Going by SKILL.md and its folder, Run Gateway Local needs the command-line tools its instructions call (cargo).

Does Run Gateway Local access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Run Gateway Local safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Run Gateway Local use?

Run Gateway Local is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Run Gateway Local use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Run Gateway Local?

Skills that share tags, products or a category with Run Gateway Local: MCP Server Builder (anthropics/skills, 180k stars), Diagnosing Superpowers Sessions (obra/superpowers, 296k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Skill Release Gate (rohitg00/ai-engineering-from-scratch, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Run Gateway Local?

Devolutions (a GitHub organization) maintains it in Devolutions/devolutions-gateway, which has 161 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 6, 2026.

Source: Devolutions/devolutions-gateway on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.