Skip to content
Back to skills

Use Clirelay As A Self Hosted Ai Gateway For Coding Agents

ASecurity

Route Claude Code, Codex, Gemini CLI, and OpenAI-compatible coding tools through a self-hosted gateway with tenant controls, request logs, quotas, and provider failover.

  • 61 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsgosqlgitsecuritydocumentation

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add agentskillexchange/skills --skill use-clirelay-as-a-self-hosted-ai-gateway-for-coding-agents --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Use Clirelay As A Self Hosted Ai Gateway For Coding Agents?

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

Security grade badge for Use Clirelay As A Self Hosted Ai Gateway For Coding Agents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-use-clirelay-as-a-self-hosted-ai-gateway-for-codin/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-use-clirelay-as-a-self-hosted-ai-gateway-for-codin)

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: "Use CliRelay as a self-hosted AI gateway for coding agents"
slug: "use-clirelay-as-a-self-hosted-ai-gateway-for-coding-agents"
description: "Route Claude Code, Codex, Gemini CLI, and OpenAI-compatible coding tools through a self-hosted gateway with tenant controls, request logs, quotas, and provider failover."
github_stars: 1028
verification: "security_reviewed"
source: "https://github.com/kittors/CliRelay"
author: "kittors"
publisher_type: "open_source"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "kittors/CliRelay"
  github_stars: 1028
---

# Use CliRelay as a self-hosted AI gateway for coding agents

Route Claude Code, Codex, Gemini CLI, and OpenAI-compatible coding tools through a self-hosted gateway with tenant controls, request logs, quotas, and provider failover.

## Prerequisites

Go 1.26+, PostgreSQL 15+, CliRelay service, coding CLI clients such as Claude Code, Codex CLI, Gemini CLI, or OpenAI-compatible clients

## Installation

Install or set up from the source-backed instructions:

Follow the CliRelay repository and documentation to deploy the Go service with PostgreSQL, configure upstream provider credentials or account imports, create tenant or endpoint keys, and point supported coding CLIs at the generated OpenAI-compatible gateway endpoint.

- Source: https://github.com/kittors/CliRelay

## Documentation

- https://help.router-for.me/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/use-clirelay-as-a-self-hosted-ai-gateway-for-coding-agents/)

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.