Artifact 5acf201e84501ea2d636dc6064167e56a9e2f2abd11e480bc0bb0604bd526a8e:
- File docs/manual/from-claude-code.md — part of check-in [632b07d239] at 2026-11-28 13:15:01 on branch ergo-tui — tui: /help is a short card; long output starts at its top (#51) (user: dmestas, size: 1222) [annotate] [blame] [check-ins using] [more...]
Coming from Claude Code
pic follows Pi, but where Pi's habits clash with Claude Code's on a Mac, pic takes Claude Code's.
- Hooks. pic runs command hooks written for Claude Code, from
~/.pic/hooks.jsonand a trusted workspace's.pic/hooks.json; see hooks. - Transcripts.
pic import --claude PATHbrings a Claude Code transcript in as a new conversation; see the command line reference. The token counts Claude Code logged for each reply come with it, so pic trims a resumed conversation by real tokens from the start; they are not spend pic made, andpic usageleaves them out. - Keys. Where Pi's default key is awkward on macOS, pic's is Claude Code's; the key reference has the table and the reasons.
Keys that work as in Claude Code
Also as in Claude Code: Enter while a reply runs steers it, Ctrl+C interrupts a running reply
(again: exit) or clears the input, Esc Esc clears a draft (on an empty editor it opens /rewind), and
sending a message scrolls to the end. Not done: Ctrl+Enter send-now, chords such as Ctrl+X Ctrl+F,
and Claude Code's {"bindings":[{"context":...}]} file shape (only Pi's format is read).