Compact tool output in Pi with a plugin

Moving daily work to Pi, a developer built his first plugin to compact tool output, borrowing the Codex App’s design.

by Mason2 Sep 2026

Prompt for your agent

Goal: Cut noisy tool output in my Pi sessions.
Setup: agents used in source: Pi.
Steps:
1. Write a Pi plugin that compacts tool output (modelled on how the Codex App does it).
2. Install it into your daily Pi setup.
Rules: ask me before anything irreversible (sending, posting, paying, deleting); don’t invent data, results or tools I haven’t given you; tell me what you couldn’t verify.
Based on: Mason — https://x.com/chenjingtalk/status/2095096236164665587 (summarised from source; the source has no explicit step list)

Steps are our summary of the source (it has no explicit step list). Includes a “Based on” credit line.

I tried this

Tell the next builder. One anonymous answer each; click again to undo.

Agents, models and tools only what the source states

Agents
Pi

Sources & credit