Skip to content
Back to skills

Relewise Agent Gateway

ASecurity

Provides the shared execution layer for Relewise Agent Gateway. Use whenever another Relewise skill needs to discover Datasets or execute an operation through the bundled CLI, MCP, or direct REST, and when diagnosing transport or authentication failures.

  • 9 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentsshellapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add Relewise/relewise-agent-plugins --skill relewise-agent-gateway --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Relewise Agent Gateway?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Relewise Agent Gateway
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/relewise-relewise-agent-gateway/badge)](https://www.skillsdirectory.com/skills/relewise-relewise-agent-gateway)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: relewise-agent-gateway
description: Provides the shared execution layer for Relewise Agent Gateway. Use whenever another Relewise skill needs to discover Datasets or execute an operation through the bundled CLI, MCP, or direct REST, and when diagnosing transport or authentication failures.
---

# Relewise Agent Gateway

Use this skill as the technical execution capability behind the Relewise domain skill that matched the user's request. The domain skill owns operation selection, business rules, interpretation, and mutation safeguards. This skill owns connection bootstrap, transport selection, authentication handling, and invocation mechanics.

Do not replace or weaken instructions from the calling domain skill. Preserve explicit authentication requirements across all fallbacks. For setup or repair with missing MCP tools, perform the [MCP connection preflight](references/transport-selection.md#mcp-connection-preflight) before treating MCP as unavailable.

## Resolve the bundled CLI

Resolve paths from this skill's directory, which is the directory containing this `SKILL.md`.

1. On Windows, try `scripts/relewise-agent.ps1` with PowerShell.
2. On macOS or Linux, try `scripts/relewise-agent`.
3. If the platform launcher is absent, try `relewise-agent` and then `relewise-agent.exe` from `PATH` as appropriate for the host.
4. Validate the candidate once with `--version`, retain its absolute path for the current task, and do not repeat discovery before every call.

Do not recursively search the filesystem, home directory, temporary directories, plugin caches, or other skills. A missing, incompatible, or non-executable launcher means the CLI is locally unavailable; it does not mean Agent Gateway or the requested Dataset capability is unavailable.

## Execute an Agent Gateway operation

Read [transport selection](references/transport-selection.md) before the first Agent Gateway call in a task. It defines bootstrap discovery, task-, Dataset-, and operation-scoped state, post-bootstrap policy selection, authentication boundaries, fallbacks, and failure classification. Retain Dataset policies independently: one workflow may require different transports for different Datasets.

When the bundled CLI is selected, read [CLI usage](references/cli.md). Use the exact REST operation ID provided by the domain skill's `operations.json`, inspect unfamiliar schemas, and preserve the domain skill's safeguards.

When MCP is selected, use the related tool named by the domain skill's `operations.json`. A mapping to a REST operation identifies the same product capability but does not make their input or output schemas interchangeable; use the schema exposed by MCP.

When direct REST is selected, resolve current HTTP mechanics from `https://my.relewise.com/agents/openapi/v1.json` and use base URL `https://my.relewise.com/agents/api/v1`. Use the exact operation ID provided by the domain skill and the schema exposed by OpenAPI.

## Protect credentials

OAuth-capable MCP clients should use the Agent Gateway Connected App flow. The bundled CLI and the plugin's direct REST fallback currently use PAT authentication; MCP clients without an OAuth-managed Agent Gateway connection may also require a PAT. Prefer an already configured vendor-protected credential or secure credential provider. The portable fallback is `RELEWISE_AGENT_GATEWAY_TOKEN`.

Never request, print, inspect, log, or persist the token. Never place it in conversation text, command arguments, visible command text, input files, source files, URLs, or output. If user action is required to establish authentication, preserve the calling setup skill's instructions and wait for confirmation.

Files in this skill

  • SKILL.md3.6 KB
  • references/cli.md1.7 KB
  • references/transport-selection.md7.3 KB
  • scripts/relewise-agent1.2 KB
  • scripts/relewise-agent.ps1275 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.