pi-reflect
Reflect for pi: when you correct the agent, offers to save the fix as a lasting rule in AGENTS.md
Package details
Install pi-reflect from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-reflect- Package
pi-reflect- Version
0.1.0- Published
- Oct 25, 2026
- Downloads
- 370/mo · 29/wk
- Author
- aadiverma
- License
- MIT
- Types
- extension
- Size
- 20.4 KB
- Dependencies
- 0 dependencies · 5 peers
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
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.