Cnb2api — AI skill for Claude Code
Turn CNB cloud-workspace in-network AI into production OpenAI & Anthropic (Claude Code) APIs.
How to install Cnb2api
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dengyie/cnb2api and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cnb2api does
Turn CNB cloud-workspace in-network AI into production OpenAI & Anthropic (Claude Code) APIs. Zero deps, v5.2 self-healing HA, quota CLI.
Alternatives in AI
- J Space Cognition Suite V3.7 — J-Space Cognition Suite V3.7 - AI cognitive-enhancement Skills based on Anthropic's J-space global workspace r 3k ★
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- Anthropic SDK TypeScript — Access to Anthropic's safety-first language model APIs in TypeScript 2.1k ★
README
cnb2api
**Turn CNB Cloud Workspace In-Network AI into a Production-Ready API Gateway**
**Get Up to 200M Free DeepSeek Tokens Monthly · Zero External Dependencies · 7×24h Self-Healing HA**
*OpenAI + Anthropic Dual Protocols · Zero-Config Claude Code Direct Connect · v5.2 Architecture · Terminal Quota Dashboard*
[-10a37f?style=flat&logo=deepseek)](#quota-calc) [](https://github.com/dengyie/cnb2api/actions/workflows/test.yml)   [](LICENSE)
English · [简体中文](README.zh-CN.md)
**TL;DR**: CNB grants verified orgs **500 ~ 1,166 AI Credits** and **1,600 compute core-hours** monthly for free. Combined with CNB's 30x prompt caching discount, you can enjoy **up to ~200 Million DeepSeek Tokens per month for free**! However, the AI completion endpoint is strictly locked inside the workspace intranet with ephemeral pipeline tokens, while containers are recycled daily. **cnb2api** runs inside the workspace, converts it into a standard public API with zero dependencies, and leverages a **v5.2 dual-watchdog self-healing architecture** to deliver permanent domain access and 7×24 HA.
Why cnb2api?
| Dimension | cnb2api (This Project) | Community Web NPC Scrapers | Direct Public Calling |
|---|---|---|---|
| Monthly Free Quota | Up to ~200M DeepSeek Tokens (1,166 Credits + Prompt Cache) | Unstable, easily rate-limited or banned | 0 (Blocked by network isolation) |
| Access Route | Official Workspace Intranet Endpoint | Web frontend anonymous NPC chat | Official Public Endpoint |
| Compliance & Account | 100% Compliant, consumes your org's quota | Violates ToS, s |
Related Skills
Contemplative Agent Cloud
Optional managed-LLM backends (Anthropic Claude, OpenAI GPT) for contemplative-agent. Routes generation calls
Amux
Bidirectional LLM API adapter with IR pattern. Seamlessly convert between OpenAI, Anthropic, DeepSeek, and mor
Residoo
Find secrets your AI coding agent leaked to disk. Free, MIT, zero deps, zero network calls. Beat TruffleHog an
Chrome Bridge
CLI for browser automation: let any AI agent drive your real Chrome — logged-in tabs, zero deps, no relaunch,
Itwillsync
Sync any terminal-based AI coding agent to your phone. Claude Code, Aider, Codex. Local network, zero cloud.
onWatch
Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu
Related Agents
LLM Integrator
LLM integration specialist who connects to OpenAI/Anthropic/Ollama APIs, designs prompt templates, implements
Langchain Prompt Designer
Especialista en system prompts de agentes LangChain (LLM nodes en N8N, OpenAI Agents, Anthropic, etc.). Diseña
Worca Cc Workspace Scanner
Workspace Scanner for the Worca CC wizard. Investigates the cross-project interconnections of a set of 2+ onbo