All skills
SKILL.md / zh

cliproxy-newapi-stack

majiayu000/spellbook

在已经过独立验证的 CLIProxyAPI upstream 之上部署 NewAPI 计费层,把 Codex/Claude/Gemini/Qwen 等订阅账号包装成可计费的 OpenAI 兼容 API。本 Skill 不负责新建裸 CLIProxyAPI;负责 NewAPI Docker 部署、容器到宿主桥接、模型计费倍率、参数化额度修正、多账号 OAuth 凭据热加载和双路径验证。当用户说“给现有 cliproxy 加 NewAPI”“配置 NewAPI 渠道接已运行的 cliproxy”“NewAPI 价格不对”“给现有部署加账号”“172.17.0.1 容器网络”或“408 冷却放大故障”时触发。

Install cliproxy-newapi-stack in 1 command

skills CLI: The skills CLI downloads this skill from GitHub and puts the folder where your agent looks for skills. Add -g to install it for every project instead of the current one.

Claude Code

Run in your terminal, inside the project.

npx skills add majiayu000/spellbook --skill cliproxy-newapi-stack -a claude-code

Codex

Installs into .agents/skills for Codex.

npx skills add majiayu000/spellbook --skill cliproxy-newapi-stack -a codex

claude.ai

No terminal needed. Works on Free, Pro, Max, Ultra, Team and Enterprise plans.

  1. Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
  2. In Settings, Capabilities, turn on code execution and file creation.
  3. Open Customize, Skills, click +, Create skill, Upload a skill, pick the zip and switch it on.

Read SKILL.md and any scripts before you run it. Claude Code guide · Codex guide · Security checklist

What it does

在已经过独立验证的 CLIProxyAPI upstream 之上部署 NewAPI 计费层,把 Codex/Claude/Gemini/Qwen 等订阅账号包装成可计费的 OpenAI 兼容 API。本 Skill 不负责新建裸 CLIProxyAPI;负责 NewAPI Docker 部署、容器到宿主桥接、模型计费倍率、参数化额度修正、多账号 OAuth 凭据热加载和双路径验证。当用户说“给现有 cliproxy 加 NewAPI”“配置 NewAPI 渠道接已运行的 cliproxy”“NewAPI 价格不对”“给现有部署加账号”“172.17.0.1 容器网络”或“408 冷却放大故障”时触发。

Source on GitHub: majiayu000/spellbook

Example prompt

Paste this after installing. Replace the task with your own.

Use the cliproxy-newapi-stack skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

Or let your agent review and install it

Paste this prompt into Claude Code or Codex in your project. Your agent can review the source and install the complete folder.

GitHub file

Path
skills/cliproxy-newapi-stack/SKILL.md
Source updated
02/10/2026

SKILL.md

read only

Open the full file on GitHub

Read the current instructions on GitHub. Full text appears here only when the repository has a recognized license.

Read SKILL.md on GitHub

Get the free Claude Code skills PDF

A short guide to the skills worth installing first, sent in Telegram by Anton Shumeiko. It also opens the free Claude Skills course.

Open in Telegram

About the cliproxy-newapi-stack skill

cliproxy-newapi-stack is an Agent Skill from the majiayu000/spellbook GitHub repository, which has 287 stars and 26 forks. The skill file is skills/cliproxy-newapi-stack/SKILL.md on the main branch: open it on GitHub.

Description: 在已经过独立验证的 CLIProxyAPI upstream 之上部署 NewAPI 计费层,把 Codex/Claude/Gemini/Qwen 等订阅账号包装成可计费的 OpenAI 兼容 API。本 Skill 不负责新建裸 CLIProxyAPI;负责 NewAPI Docker 部署、容器到宿主桥接、模型计费倍率、参数化额度修正、多账号 OAuth 凭据热加载和双路径验证。当用户说“给现有 cliproxy 加 NewAPI”“配置 NewAPI 渠道接已运行的 cliproxy”“NewAPI 价格不对”“给现有部署加账号”“172.17.0.1 容器网络”或“408 冷却放大故障”时触发。

Repository licence: MIT. Categories: Backend, DevOps. Source updated: 2026-10-02.

Start of SKILL.md

CLIProxyAPI + NewAPI Metering Stack 在用户已有并已验证的 **CLIProxyAPI** upstream 前增加 **NewAPI** (`calciumion/new-api`) 计费、限流和多用户 token 层。本 Skill 不安装裸 CLIProxyAPI,也不调用其他部署 Skill 补齐这个前置条件。 所有"完成"结论必须基于**本会话**命令输出(W-16)。价格和额度变更后必须真发一次请求并查 `logs.quota` 与本次请求的 token 数和目标价格相符。 ## Operating Contract - Direct actions: 只读检查、配置备份和本地 dry-run 可直接执行。 - Escalate before:…

Install cliproxy-newapi-stack in 1 command

Claude Code: npx skills add majiayu000/spellbook --skill cliproxy-newapi-stack -a claude-code

Codex: npx skills add majiayu000/spellbook --skill cliproxy-newapi-stack -a codex

claude.ai: download the skill folder from GitHub and zip it, turn on code execution and file creation in Settings, Capabilities, then upload the zip in Customize, Skills, Create skill, Upload a skill. Read SKILL.md and any scripts first. Step-by-step guides: install in Claude Code, install in Codex and the security checklist.

Example prompt

Use the cliproxy-newapi-stack skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

More skills from majiayu000/spellbook

Related skills

  • api-add-review (mono/SkiaSharp): Add new C# APIs to SkiaSharp by wrapping Skia C++ functionality, or review existing API PRs for correctness and style. Two workflows: (1) Add: C++ analysis → C API →…
  • architecture-patterns (a5c-ai/babysitter): System and API design guidance covering component boundaries, data flow, integration patterns, and scalability considerations.
  • element14 (aklofas/kicad-happy): Search Newark, Farnell, and element14 for electronic components — find parts by MPN or distributor part number, check pricing/stock, download datasheets, analyze…
  • cloudflare-troubleshooting (daymade/claude-code-skills): Investigate and resolve Cloudflare configuration issues using API-driven evidence gathering. Use when troubleshooting ERR_TOO_MANY_REDIRECTS, SSL errors, DNS issues, or…
  • auteur (agiwhitelist/auteur): Design and build complete web experiences from scratch — award-level product and marketing pages, cinematic scroll-directed sites where the page is directed like a film,…
  • dd-symdb (DataDog/pup): Symbol Database - search service symbols, find probe-able methods.

Browse the free Claude skills catalogue