Pi EvoX Loop
БесплатноБез исполняемых скриптовНе проверенGive your coding agent an 'experience inheritance' runtime: recall validated fixes from an Evolver gene store at task start, register hits when a fix is…
от stwhwing2 434 установки в других каталогахОб этом скилле
Pi × EvoX Loop — 智能体经验继承 Skill
让 Agent 的每个坑只踩一次:失败经验自动入库(守卫过滤),同类任务自动召回已验证修法。
术语约定:正文以中文为主,技术字段在首次出现时标注一次英文原名(如「信号匹配 signals_match」),此后一律用中文,不再反复混排。完整中英对照见
docs/faq.mdQ17。文档地图:
- 新用户只需读三节:30 秒上手 → 流程 A → 流程 B(约 60 行);其余按需查。
- 一分钟判断要不要用:
docs/one-pager.md- 最佳实践集中入口:
examples/quickstart.md(5 分钟闭环)+docs/overview.md(项目概览)+docs/common-mistakes.md(14 条反模式)——三份覆盖"上手/全景/避坑"。- 全部专题文档单一入口见
docs/README.md(研究流程/运维细节的集中导航);本文件其余部分 = 触发点/安全摘要/反模式速查/导航;docs/advanced.md= 回填寻址/harvest/并发/共享库/宿主接入/运维/安全门明细;docs/common-mistakes.md= 反模式清单;docs/config-errors.md= 配置错误;docs/faq.md= 完整 FAQ。docs/research.md= 流程 C 受控实验 + 陷阱设计纪律——研究专用,绝大多数用户无需打开。
30 秒上手(Quick-Start)
EN: Requires Node >= 22. Optional
@evomap/evolverintegration is GPL-3.0-or-later (only if you install and use--engine evolver); the default light backend is MIT, zero-dependency, zero-exfiltration. Three things only: A recall validated fixes at task start, B deposit after fixing a non-obvious failure, C (optional, research) controlled experiments. Daily use = A/B only. ⚠️ 前置要求:Node ≥ 22(node -v检查;旧版不支持,需先升级)。可选集成@evomap/evolver为 GPL-3.0-or-later——仅在你主动安装并使用--engine evolver时涉及,默认 light 后端为 MIT、零依赖零外发。 版本语义(0.40 单一数据源生成;0.43 O02 对齐实测轴并建docs/version-standards.md单一表):package.json的optionalDependencies是锁定依赖版本(pi 0.74.2 / evolver 2.0.30,可选集成的兼容基线,A/B 流程零 npm 依赖即可运行);下面的 1.5.2 / 2.0.51 是 C42 上游实测版本(仅用于兼容性评估,不是本项目安装的版本)。@earendil-works/pi-coding-agent1.5.2 要求 Node ≥22.19.0;@evomap/evolver2.0.51 要求 Node ^22.13.0 或 ≥23.4.0。默认 light 后端仍只需 Node ≥22。三轴完整口径见docs/version-standards.md。 EN: Optional integrations: pi-coding-agent 1.5.2 needs Node >=22.19.0; evolver 2.0.51 needs ^22.13.0 or >=23.4.0; the default zero-dependency light backend still needs only Node >=22. Full three-axis standards:docs/version-standards.md.本 Skill 只做三件事:A 任务开始召回已验证修法、B 修复失败后背沉淀、C(可选,研究用)受控实验量化收益。日常只用 A/B,C 默认全关,请勿用于生产。
# A — 任务开始,对靶召回(替换成你的任务一句话)
node code/evolver-recall.mjs --query "处理 GBK 编码文件报错" --top 5
# B — 修复了非显而易见的失败后,贴原始报错生成草稿,再补 FIX 落库
node code/light-cli.mjs draft --error "<原始报错>" --tool <工具名> --context "<当时在做什么>"
node code/light-cli.mjs draft --error "<原始报错>" --strategy "AVOID: <什么不该做> FIX: <具体参数/命令/编码>" --commit
命令均在本仓库根目录执行;未安装依赖先见下方「安装」。
首次运行 · 3 步就绪(先跑自检,再沉淀)
- 装 Node ≥22(traps 生成器与 pi/evolver 均要求;见 FAQ·Q8);
- 自检环境:
node code/light-cli.mjs doctor—— 校验 Node 版本、经验库目录可写、命中登记目录可达(失败项给修正指引); - 点亮经验库:空库无修法可召回属正常,按下方流程 B 沉淀第一条修法即点亮。
新手必读(高频问答速览)
- 首次运行召回显示「无可召回修法」? 正常——库从零开始,先跑一次 B 沉淀即可点亮(FAQ·Q1)。
- Node 版本要求? 需 ≥22(traps 生成器还需 Python 3),过低 pi/evolver 会启动失败(FAQ·Q8)。
- 更多问题见
docs/faq.md(完整 14 条)与下方反模式速查。
安装(一次性)
EN: One-time setup. A/B flows need ONLY Node >= 22 — zero npm dependencies. Get the folder by any of three paths below; any location works (a "skill" is just a folder — put it wherever your host expects, e.g.
~/.claude/skills/pi-evox-lab). Default backend = built-in light (pure Node, MIT). evolver is an optional integration (--engine evolver, needsnpm install). Flow C additionally needs Pi CLI + an OpenAI-compatible LLM key.
三种获取路径(任选其一):
# 路径 1:git clone(推荐) 路径 2:受限网络 → Release zip 直下(附 sha256,国内镜像见 FAQ Q7)
git clone https://github.com/stwhwing/pi-evox-lab.git && cd pi-evox-lab
# 路径 3:市场一键安装 —— skillhub.cn / ClawHub 搜 pi-evox-loop(WorkBuddy/OpenClaw 用户)
node -v # 前置要求:Node >= 22(唯一硬依赖)
node code/light-cli.mjs doctor # 30 秒自检——通过即可用,无需任何安装步骤
- A/B 日常流程零 npm 依赖;以下
npm install仅为可选集成/实验模式 C 准备(国内网络先npm config set registry https://registry.npmmirror.com,版本检查等价写法见 FAQ Q7 与docs/version-standards.md):
Provider 配置(仅流程 C 需要)
EN: Flow C only - any OpenAI-compatible endpoint;
$ENVinterpolation needs pi >= 0.85.1. Examples + domestic endpoints (DeepSeek/Bailian/SiliconFlow/Zhipu):docs/providers.md.
流程 A:任务开始 — 召回经验(任何非平凡任务)
EN: Flow A - recall at task start.
--querywith the task text does targeted recall (unrelated experience is never injected - injection is gated by signals_match x query-token overlap, below threshold = no injection). On error (T3), the raw error text IS the query. Multiple matches: geneConflicts drops anti_patterns-mutual low scorers; no targeted hit = no injection. Register the hit at task end with--register-hit --gene <id>(id-addressed, concurrency-safe).
# 国内高频场景(中文 Windows 日志 / CSV 默认 GBK,按 utf-8 读必炸)——空库跑 starter 后先试这条最易见效
node code/evolver-recall.mjs --query "读取中文日志报 UnicodeDecodeError" --top 5
# 推荐:带上任务文本做「对靶」召回(与任务无关的经验不会注入)
node code/evolver-recall.mjs --query "<当前任务的一句话/关键信号>" --top 5
# 遇到报错时(T3):报错原文即查询——错误本身就是提醒
node code/evolver-recall.mjs --error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4"
- 只输出「已审核 且 通过修法守卫 且 与查询对靶」的编号修法列表(空库有明确提示,属正常);
- 参数默认值:
--top默
Установить Pi EvoX Loop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteEditGlobGrepenvnetworkFAQ
Что делает скилл Pi EvoX Loop?
Give your coding agent an 'experience inheritance' runtime: recall validated fixes from an Evolver gene store at task start, register hits when a fix is actually used, and deposit newly-learned fixes after repairing a non-obvious failure. Optionally run controlled closed-loop experiments (R1 trap → distill → inject → R2) to measure inheritance gains. Every fix is traced to its model/host and checked across models. Use at the START of non-trivial tasks, after fixing a non-obvious failure, or when you want to measure agent self-evolution. Trigger words: 经验召回, 错题本, 经验继承, 自进化, evolver, 避坑, distill.
Как установить скилл Pi EvoX Loop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Pi EvoX Loop запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic