SpookySandwich

Magpie Better Claude Support — Development skill for Claude Code

Development community

Magpie 原生 Claude Code 增强插件:完整原生工具链、@ultracode 多智能体编排、订阅耗尽自动切换 API 余额与双额度面板.

How to install Magpie Better Claude Support

This entry records only its repository, not the path inside it, so there is no exact command to give. Open SpookySandwich/magpie-better-claude-support and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Magpie Better Claude Support does

Magpie 原生 Claude Code 增强插件:完整原生工具链、@ultracode 多智能体编排、订阅耗尽自动切换 API 余额与双额度面板。Better Claude Code support for Magpie with native tools, @ultracode workflows, and automatic subscription-to-API credit failover.

Alternatives in Development

  • Contributors — Thank you to everyone who has contributed to making planning-with-files better 16.8k ★
  • Sanitize — Detect and redact PII from text files — 15 categories (SSNs, credit cards, API keys, etc.), zero dependencies 3.1k ★
  • Openclaw Billing Proxy — Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage 460 ★

README

magpie-better-claude-support

[English](README.en.md) | 简体中文

[![CI](https://github.com/SpookySandwich/magpie-better-claude-support/actions/workflows/ci.yml/badge.svg)](https://github.com/SpookySandwich/magpie-better-claude-support/actions/workflows/ci.yml) [![license](https://img.shields.io/badge/license-MIT-blue)](LICENSE) [![magpie](https://img.shields.io/badge/magpie-plugin-111827)](https://github.com/yetone/magpie) [![node](https://img.shields.io/badge/node-%E2%89%A524-3c873a)](package.json) [![stars](https://img.shields.io/github/stars/SpookySandwich/magpie-better-claude-support?style=flat&label=stars)](https://github.com/SpookySandwich/magpie-better-claude-support/stargazers)

在 [Magpie](https://github.com/yetone/magpie) 中运行**真正完整**的 Claude Code 引擎——保留全套原生工具与 `@ultracode` 多智能体编排,并在 5 小时订阅窗口触顶时自动无缝切换到 Anthropic Console API 余额,告别限流停工。


为什么需要这个插件

Magpie 内置的 Claude Code 集成在启动时传入了 `--tools ""`,将 Claude CLI 降级为不带原生工具的纯文本接口,且一旦 5 小时或周订阅额度用满(100%)便直接报错中断。

**`magpie-better-claude-support`**(Provider ID: `claude-native`)用单一入口解决了这些妥协:完整释放 Claude Code 的原生工具链与工作流编排,同时把「Pro/Max 订阅」与「Console API 余额」合二为一。

能力维度 Magpie 内置 claude magpie-better-claude-support (claude-native)
Claude 原生工具与工作流 被禁用(--tools "") 完整保留原生工具链 + @ultracode 多智能体并行编排
5 小时 / 周额度用满时 直接报错中断(429) 自动无缝切换到 Console API Key 余额,窗口重置后自动切回
用量面板 仅显示订阅百分比 单张卡片同时展示:5h/7d 订阅窗口 + API 实时剩余美金
模型与思考强度列表 二进制内硬编码 零计费动态探测本机 Claude CLI 实际支持的全部模型与档位
网关隐私脱敏兼容性 脱敏占位符会直接写入本地文件或命令 发往云端的提示词保持脱敏;本地执行工具前经密钥校验自动还原真实值
多轮响应速度 -p 模式每轮重新冷启动进程 空闲进程热驻留复用,消除每轮冷启动开销
断线 / 网关重试安全 网关盲目重试可能导致文件被改两遍 原子会话租约锁拦截已产生副作用的轮次,杜绝重复执行

核心价值

1. 满血 Claude Code 原生运行时与 `@ultracode`

不再把 Claude CLI 当作阉割版聊天接口,而是完整启用 Claude Code 原生工具(`Read`、`Edit`、`Write`、`Bash`、`Workflow`)与原生系统提示词。所有支持 `xhigh` 推理的模型都会自动派生出 `@ultracode` 变体,支持多阶段子智能体(Subagent)并发协作,并在后台子任务全部收尾后才结束当前轮次。

2. 订阅 → API 额度零中断热