sub2api
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 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
curl -X GET 'http://localhost:8080/api/claudereq?prompt=Hello+World&subscription_id=your_subscription_id'
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
A prompt/skill package — nothing to install beyond adding it to your AI tool.
mkdir -p ~/.claude/skills/sub2api && curl -fsSL https://workflowstacks.com/api/skills/sub2api/claude-skill -o ~/.claude/skills/sub2api/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
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.
- 1README.mdStart here — what it does and how to install it
- 2backend/internal/setup/cli.goInside backend/internal/ — the main logic begins here
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
A prompt/skill package — nothing to install beyond adding it to your AI tool.
mkdir -p ~/.claude/skills/sub2api && curl -fsSL https://workflowstacks.com/api/skills/sub2api/claude-skill -o ~/.claude/skills/sub2api/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/sub2api?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More claude-skill tools founders pair with this one.