@agnishc/edb-context-viewer

Pi extension: inspect the system prompt and full LLM context in scrollable overlay popups

Package details

extension

Install @agnishc/edb-context-viewer from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@agnishc/edb-context-viewer
Package
@agnishc/edb-context-viewer
Version
0.5.1
Published
May 5, 2026
Downloads
71/mo · 71/wk
Author
agnishc
License
MIT
Types
extension
Size
20 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@agnishc/edb-context-viewer

Pi CLI extension for inspecting the LLM context. Two commands let you see exactly what the model sees:

  • /system-prompt-data — full system prompt with line numbers
  • /total-context-data — complete LLM context (system prompt + all messages + usage stats)

Both open as scrollable overlay popups with search and clipboard copy.

Commands

Command What it shows
/system-prompt-data The full system prompt (includes tools, skills, guidelines, AGENTS.md, etc.)
/total-context-data System prompt + all messages (user, assistant, tool calls/results) + context usage stats

Controls

Key Action
/ k Scroll up
/ j Scroll down
Page Up / Ctrl+B Scroll up one page
Page Down / Ctrl+F Scroll down one page
Ctrl+U / Ctrl+D Scroll half page
Home / g Jump to top
End / G Jump to bottom
/ Search (live matching as you type)
n / N Next / previous match
y Copy full content to clipboard
Escape / q Close popup

Install

pi install npm:@agnishc/edb-context-viewer

License

MIT © Agnish Chakraborty