claude-skill

Claude Relay Service

CRS-自建Claude Code镜像,一站式开源中转服务,让 Claude、OpenAI、Gemini、Droid 订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。
12,508 stars1,864 forksJavaScriptUpdated 8/13/2026100% free · open source
What it does

Claude Relay Service is a one-stop open-source relay service that allows unified access to Claude, OpenAI, Gemini, and Droid subscriptions, supporting cost-sharing and seamless native tool usage.

When to use it
  • When you need to integrate multiple AI services into your application
  • When you want to reduce costs by sharing subscriptions with others
  • When you require a unified interface for different AI models
Ready-to-paste prompt
curl -X POST -H 'Content-Type: application/json' -d '{"model": "claude", "prompt": "Hello, how are you?"}' http://localhost:8080/api/generate
Heads up: You need to have a GitHub account and Node.js installed on your machine to clone and run the Claude Relay Service, and also obtain API keys for the AI services you want to integrate
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

⚡ Runs out of the box

A prompt/skill package — nothing to install beyond adding it to your AI tool.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/claude-relay-service && curl -fsSL https://workflowstacks.com/api/skills/claude-relay-service/claude-skill -o ~/.claude/skills/claude-relay-service/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Claude Relay Service works
Codeflow
Free to inspect

Claude Relay Service is a very large JavaScript project (~144k lines across 290 code files, plus 25 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, MIT license, has a test suite.

Size
Very large codebase
~144k lines · 290 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Node.js · Docker
Needs API keys (.env)
JavaScript 65%Vue 33%Shell 1%CSS 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    CLAUDE.md
    The instructions the AI actually follows
  3. 3
    src/app.js
    Where the program starts running
  4. 4
    package.json
    Dependencies and the commands it exposes
  5. 5
    .env.example
    The API keys and settings you must provide
What's in each folder
src/Core code — the actual logic154 files
web/Frontend / UI118 files
cli/Command-line entry points1 files
docs/Documentation2 files
scripts/Helper scripts30 files
config/Configuration3 files
resources/Folder2 files
tests/Tests — proof it works25 files
READMEHas testsDocumentedCI checksDocker readyMIT licenseUpdated this month
Quick Actions
Details
Creator
Wei-Shaw
Language
JavaScript
Category
claude-skill
Published
7/14/2025

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.