💳
AI EngineeringPython

CLIProxyAPI NewAPI Metering Stack

by majiayu000

CLIProxyAPI NewAPI Metering Stack is an AI Engineering skill for Claude Code, published by majiayu000 in spellbook.

265 stars26 forkson majiayu000/spellbookAdded 2026/09/02+1% in starsRepository updated 2026/08/31
agent-skillsai-agent-skillsai-agentsai-coding-assistantautomationclaudeclaude-codeclaude-code-skillscode-reviewcodexcodex-skillscross-runtimedeveloper-toolsmulti-agentproductivityprompt-engineeringskill-librarysoftware-developmentspellbookworkflows
Install in seconds
Install CLIProxyAPI NewAPI Metering Stack
Copy CLIProxyAPI NewAPI Metering Stack into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/majiayu000/spellbook/tree/main/skills/cliproxy-newapi-stack ~/.claude/skills/cliproxy-newapi-stack

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/majiayu000/spellbook.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/cliproxy-newapi-stack/SKILL.md in majiayu000/spellbook
Installs to
~/.claude/skills/cliproxy-newapi-stack
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering2631 skills

What CLIProxyAPI NewAPI Metering Stack does

CLIProxyAPI NewAPI Metering Stack adds a NewAPI billing, rate-limit, and token layer on top of an already verified CLIProxyAPI upstream. Use it to deploy the NewAPI container, bridge container networking, set model pricing, hot-load OAuth credentials, and verify quota accounting.

CLIProxyAPI NewAPI Metering Stack is cataloged under AI Engineering on DirSkills. CLIProxyAPI NewAPI Metering Stack comes from a repository tagged agent-skills, ai-agent-skills, ai-agents, ai-coding-assistant and automation.

Documentation

README

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: 安装容器、修改既有 upstream、重启服务、改防火墙或写生产额度前必须取得本次任务的明确授权。
  • Evidence-backed pushback: 密钥只从环境变量或密码管理器读取;要求明文落盘或公网暴露原始端口时,展示具体风险并改用 tunnel/TLS。
  • Feedback loop: 每次变更后重跑 upstream、NewAPI 和精确计费验证;任一步骤无法取得真实状态时停止并报告,不用默认值伪造成功。

This is the opening of the README. Read the full README on GitHub.

Frequently asked about CLIProxyAPI NewAPI Metering Stack

  • What else does majiayu000 publish alongside CLIProxyAPI NewAPI Metering Stack?

    CLIProxyAPI NewAPI Metering Stack is one of 25 skills that DirSkills catalogs from majiayu000/spellbook, the repository it ships in. Its siblings there include AGENTS.md Scaffold, API Design and Agents Md Optimize. Each one is a separate skill with its own page in this directory, installs the same way CLIProxyAPI NewAPI Metering Stack does, and is maintained by majiayu000 in that same repository. The rest of the collection is listed on the majiayu000/spellbook page.

  • How does CLIProxyAPI NewAPI Metering Stack compare to other AI Engineering skills?

    CLIProxyAPI NewAPI Metering Stack ranks #2233 by stars among the 2631 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of CLIProxyAPI NewAPI Metering Stack against them. Open each page to compare what they document and how they install.

More from majiayu000/spellbook

CLIProxyAPI NewAPI Metering Stack is one of 25 skills cataloged on DirSkills from majiayu000/spellbook.

See all 25 skills
🧭
1h ago

AGENTS.md Scaffold

AGENTS.md Scaffold generates or updates repository-specific AGENTS.md files from repo evidence. It is used when a repo needs scoped agent instructions, validation commands, or directory-specific rules.
Automation
26526
🔌
1h ago

API Design

API Design covers REST, GraphQL, and gRPC best practices for defining contracts, versioning, pagination, errors, and idempotency. Use it when designing public or internal APIs and their schemas.
AI Engineering
26526
🛠️
1h ago

Agents Md Optimize

Agents Md Optimize audits a CLAUDE.md or AGENTS.md file, scores common instruction patterns, and applies approved fixes in place. Use it when you want to improve an agent instruction file, not just review it.
AI Engineering
26526
🧪
1h ago

App User Story QA

App User Story QA turns a broad request to test an app into a tracked loop of feature inventory, code-backed expected behavior, and user-story tests. Use it to audit every surface, classify failures, and retest documented defects after fixes.
Quality
26526
🏗️
1h ago

Architecture Foundation

Architecture Foundation turns architecture discussions into explicit boundaries, contracts, validation gates, and a small execution plan. Use it when designing or refactoring system structure, choosing module or service boundaries, or writing a spec before coding.
AI Engineering
26526
🏗️
1h ago

Architecture Research

Architecture Research helps analyze real systems from source, docs, and runtime evidence before choosing a technical direction. Use it for architecture studies, system archaeology, build-vs-buy decisions, and reassessing earlier choices.
AI Engineering
26526