JohnWangggg

Magpie Purge — Development skill for Claude Code

Development community

Magpie gateway plugin that rewrites agent system prompts from your persona; native in-process extension for pi and omp.

How to install Magpie Purge

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

What Magpie Purge does

Magpie gateway plugin that rewrites agent system prompts from your persona; native in-process extension for pi and omp.

Alternatives in Development

  • Harness Remote — Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI 356 ★
  • Obsidian Ingest — Ingest a source into the vault — the vault rewrites itself around new knowledge 277 ★
  • SDK Crossplatform Eval — PHẢI dùng khi cần đánh giá khả năng thay 1 SDK thiết bị native/Windows-only đang dùng (P/Invoke, DLL/.so cũ) b 90 ★

README

magpie-purge

把经过 Magpie 网关的 agent 请求,系统提示词换成你自己的: Claude Code、Codex、pi、omp、dsh、grok 走网关时都生效,pi 和 omp 还会在进程内再装一层扩展。

release license Magpie platform

magpie plugin add github:JohnWangggg/magpie-purge · 一个开关 · 零配置 · MIT


各家的宿主提示词长什么样,是**随包发布的数据**,不是要你填的配置。装完只有一个开关、一个模式、一段人设。

它解决的是这件事:宿主提示词里有一段在说「你是谁、你在哪个工具里」,把这段**清掉**比用另一段话压住它更彻底。 [pi-purge](https://github.com/ZiChuanLan/pi-purge) 是这个思路;这个插件把它搬到 Magpie 上,一次安装覆盖所有经过网关的 agent。

**仓库只发机制,不发 payload。** `personas/` 已被 `.gitignore` 忽略,示例文件里只有占位说明; 你的人设正文留在自己的磁盘上,导入后才会进入 Magpie 的配置。

环境要求

  • Magpie,在 0.1.1854 上验证过。
  • 不需要另装 Node 或 Python:插件用 Magpie 自带的 Bun 运行。跑测试才需要 Node ≥ 20。

安装

magpie plugin add github:JohnWangggg/magpie-purge

然后打开 **Plugins → Purge**(中文界面:**破限**),打开开关。

更新用 `magpie plugin update`;卸载用 `magpie plugin rm`,后面跟 `magpie plugin list` 里显示的名字。 **卸载前先把开关关掉**,好让 pi / omp 的原生扩展被摘掉。

想跑本地副本:

git clone https://github.com/JohnWangggg/magpie-purge.git
magpie plugin add ./magpie-purge

三步用起来

  1. 装好,打开开关。 默认模式已经是 strict,人设可以留空。
  2. 要自己的人设就导入文件。 页面里点 导入文件…,或命令行 magpie-purge persona ~/my-prompt.md。 导入后页面只显示摘要和只读预览,正文归磁盘上那个文件。
  3. 看状态。 页面下半部分和 magpie-purge status 都会显示上一次请求改前 / 改后的 system 字数。

**没有 agent 名、没有模型名、没有名单要填。** 指纹表随包发布,运行时按请求文本自动匹配。

四种模式

| 模