← Catalog

pi-reflect

Reflect for pi: when you correct the agent, offers to save the fix as a lasting rule in AGENTS.md

Package

Install

Install with PiG

pig install npm:pi-reflect

Install with Pi

pi install npm:pi-reflect
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./dist/index.js"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.0 (README.md). PiG does not review it.

pi-reflect

Reflect for pi: when you correct the agent ("no, use pnpm", "actually it's bun", "revert that"), Reflect offers to save the fix as a lasting rule — the correction minus its interjection, prefilled — into the project's AGENTS.md or your global one, deduplicated under a ## Rules section. Ported from the Reflect mod for Claude Code.

Part of the coedit monorepo.

Install

pi install npm:pi-reflect      # once published
pi install ./packages/pi-reflect   # from a checkout

Usage

  • Just correct the agent after a run: the offer appears once, escape declines.
  • /reflect — save a rule on demand, no correction needed.