claude-skill

sub2api

Sub2API 一站式开源中转服务,让 Claude、Openai 、Gemini、Grok订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。
43,573 stars+362★ this week9,342 forksGoUpdated 10/9/2026100% free · open source
What it does

Sub2API is a one-stop open-source proxy service that allows unified access to Claude, Openai, Gemini, and Grok subscriptions, supporting cost-sharing and seamless native tool usage.

When to use it
  • •When you need to manage multiple AI subscriptions from different providers
  • •When you want to reduce costs by sharing subscriptions with others
  • •When you need a unified interface for different AI tools
Ready-to-paste prompt
curl -X GET 'http://localhost:8080/api/claudereq?prompt=Hello+World&subscription_id=your_subscription_id'
Heads up: Make sure to replace 'your_subscription_id' with your actual subscription ID from the AI provider in the config.json file and when making API requests
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/sub2api && curl -fsSL https://workflowstacks.com/api/skills/sub2api/claude-skill -o ~/.claude/skills/sub2api/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 sub2api works
Codeflow
Free to inspect

Sub2api is a very large Go project (~1M lines across 3240 code files, plus 243 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, LGPL-3.0 license, has a test suite.

Size
Very large codebase
~1M lines · 3240 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
Docker
No API keys detected
Go 74%Vue 16%TypeScript 10%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    backend/internal/setup/cli.go
    Inside backend/internal/ — the main logic begins here
What's in each folder
backend/internal/Core code — the actual logic2109 files
skills/Prompts, skills & agent definitions4 files
frontend/Frontend / UI777 files
backend/cmd/Command-line entry points11 files
docs/Documentation10 files
backend/ent/Folder331 files
backend/migrations/Folder280 files
deploy/Deployment / infrastructure31 files
READMEHas testsDocumentedCI checksDocker readyLGPL-3.0 licenseUpdated this month
Quick Actions
Details
Creator
Wei-Shaw
Language
Go
Category
claude-skill
Published
12/18/2025

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/sub2api.svg)](https://workflowstacks.com/skills/sub2api?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.