omp packages

pi-rebrief0.1.2

Reload the project context files, including AGENTS.md and CLAUDE.md, into a running Pi session, even mid-turn, and see in the status bar when they change on disk.

GitHub Actions Published 7 days ago MIT ~892 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-rebrief

npm CI license Known Vulnerabilities

A Pi extension that adds a /rebrief command. It reloads the project context files, including AGENTS.md and CLAUDE.md, into the running session and tells you which files have changed.

It also flags in the status bar when those files change on disk, for example after a git pull or a branch switch.

/reload refreshes the whole session: settings, extensions, MCP servers, skills, themes, and context files. /rebrief is for when only the context files changed, including while a turn is in progress.

Install

pi install npm:pi-rebrief

Restart or /reload your session to use.

Usage

When a context file changes on disk, the status bar says so:

● pi-rebrief: AGENTS.md changed on disk since it was loaded. Run /rebrief to load the new version.

Nothing is reloaded until you run:

/rebrief

Your next message runs with the new instructions, and so does everything after it. /rebrief reports what it found, for example:

pi-rebrief: reloaded context files.
  changed: AGENTS.md
  added:   sub/AGENTS.md
They apply from your next message.

If you run it while a turn is in progress, the rest of that turn will use the new instructions.

Examples

  • Pair it with /tree to retry an earlier prompt under new instructions.
  • The agent derails. Rewind with /tree to the turn before it did, tighten the instruction it missed in AGENTS.md, run /rebrief, and continue from there.
  • You git pull mid-task and a teammate's commit changed AGENTS.md. The status bar flags it; run /rebrief and keep going in the same session.

License

MIT