pi-claude-style0.1.0
Claude Code style transcript for the pi coding agent: ⏺ tool headers, ⎿ one-line summaries, no thinking placeholders.
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.
Reports 0
No reports yet.
Readme
pi-claude-style
A pi extension that makes the transcript read like Claude Code's.
⏺ Bash(git status)
⎿ On branch main
nothing to commit, working tree clean
⏺ Update(src/handler.go)
⎿ Updated with 2 additions and 12 removals
- 17 hours := 24
+ 17 hours := parseHours(c, 24)
… +21 lines (ctrl+o to expand)
⏺ The window is now capped at 30 days.
This is an unofficial community package. It is not made by or affiliated with Anthropic; "Claude Code" names the look it imitates.
Install
pi install npm:pi-claude-style
Tested with pi 1.7.
What it changes
- Tool calls render as one
⏺ Tool(arguments)header, cut to the terminal width, with no background box. The bullet is dim while running, green on success and red on error. - Results collapse to a
⎿summary: the first three lines of command output,Read 12 lines,Wrote 3 lines to x.md,Found 4 files, or an edit's addition and removal counts with the first lines of its diff. Each collapsed line takes one row. Expanding a row (click it, or press theapp.tools.expandkey,ctrl+oby default) shows pi's own full output. - Paths are shown relative to the working directory, or with
~for the home directory. - Hidden thinking leaves no
Thinking...placeholder behind. - An assistant reply that opens with a paragraph is marked with
⏺. Replies that open with a heading, list, code block, table or quote are left as they are, so their Markdown still renders. - The working indicator cycles Claude Code's
✻glyphs.
The style applies to pi's built-in tools (bash, read, edit, write, grep, find, ls, powershell) and to any tool that has no renderer of its own, such as MCP tools. Tools that draw themselves, such as those from pi-subagents, keep their own rendering.
Everything here is display-only: sessions, exports and what the model sees are unchanged.
Recommended settings
Claude Code does not show reasoning, so hide it in ~/.pi/agent/settings.json:
{
"hideThinkingBlock": true
}
With pi-ui-extension
pi-ui-extension's Tool View also redraws tool rows, and its default compact mode replaces this style. Switch it to normal or hidden with /tool-view; both leave the rows to this package. Its sidebar only appears in fullscreen mode, so "tuiMode": "regular" removes it if you want the plain Claude Code layout.
Development
npm install
npm test
License
MIT