# 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.json` and a trusted
  workspace's `.pic/hooks.json`; see [hooks](hooks.md).
- **Transcripts.** `pic import --claude PATH` brings a Claude Code transcript in as a new
  conversation; see [the command line reference](../reference/cli.md).
  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, and `pic usage` leaves
  them out.
- **Keys.** Where Pi's default key is awkward on macOS, pic's is Claude Code's; [the key
  reference](../reference/keys.md) 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).
