r/PiCodingAgent • u/Ok-Abbreviations1969 • 33m ago
Resource GitHub - tercumantanumut/pi-prompt-enhancer: An Enhance button for the Pi coding agent: rewrites your draft into a grounded prompt from the live session context and Rag
https://github.com/tercumantanumut/pi-prompt-enhancerHere are the inputs,
- Recent conversation of the current branch (newest kept first, size-budgeted).
- The working set: files the agent read or changed, commands it ran, errors it hit.
- The session summary when the session was compacted.
- Earlier enhancements in this session (draft, result, sent or not).
- Your AGENTS.md / CLAUDE.md, as Pi loaded them (repeated bullets removed).
- Git branch, changed files, recent commits; Orca workspace name, comment and linked issue.
- Files you reference with u/path in the draft.
- Selene Retrieval matches: up to 50 hits (setting, at most 150) from the indexed folders that overlap this checkout (an Orca worktree uses its main checkout's folder), searched with your whole draft. <- Most important part.
And you get a polished prompt everytime aligned to your context. Enjoy.
1
Upvotes