pi-declutter

Pi, decluttered. See what the agent did at a glance, with every detail one click away.

Packages

Package details

extension

Install pi-declutter from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-declutter
Package
pi-declutter
Version
0.2.1
Published
Sep 28, 2026
Downloads
258/mo · 258/wk
Author
chmarax
License
MIT
Types
extension
Size
283.3 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "image": "https://raw.githubusercontent.com/ChmaraX/pi-declutter/main/assets/thumb.png",
  "video": "https://raw.githubusercontent.com/ChmaraX/pi-declutter/main/assets/demo.mp4",
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

pi-declutter

CI npm License

Pi, decluttered. See what the agent did at a glance, with every detail one click away.

https://github.com/user-attachments/assets/ad8975fb-d39f-4870-a8a3-00b5be633ead

Features

  • One card per response. Tool calls fold into short, grouped summaries.
  • The answer stays in front. Thinking and progress updates move into the card.
  • Expand what you need. Click a row, or press Pi's Ctrl+O to expand everything.
  • Full detail on click. Live output, diffs, syntax highlighting, Markdown and links. c copies.

Works with every provider (Anthropic, OpenAI Codex, Cursor and more) and every tool, including MCP servers and tools from other extensions.

Install

pi install npm:pi-declutter

Restart Pi. Pi shows a notice when a new release lands; update with pi update --extensions. To follow main instead of releases, install git:github.com/ChmaraX/pi-declutter.

Keybindings

Key Action
Click Expand a card or group, or open a row
Ctrl+O Expand or collapse all cards (Pi's own key)

In an open row:

Key Action
↑ ↓ PgUp PgDn Home End Scroll
c Copy the plain text
Esc q or click outside Close

Limitations

  • Progress updates can briefly show outside the card. Pi doesn't mark text as a progress update or as the final answer, so it streams as a normal message first and moves into the card once the agent's next step starts.

Development

git clone https://github.com/ChmaraX/pi-declutter && cd pi-declutter
npm install
pi install "$PWD"

npm run check type-checks. npm test runs the unit tests. Run /reload in Pi to pick up source changes. PR titles follow Conventional Commits; release-please writes the changelog, tags releases and publishes to npm.

License

MIT