How it works in Kiro CLI
Run kiro-cli as always. Kiro starts inline and leaves the mouse to your terminal, so peekme
reads your terminal's selection: X11 PRIMARY on Linux, on a Mac the clipboard in iTerm2 and
macOS Accessibility in Terminal (the first Option+P offers it). After /fullscreen Kiro makes
the selection itself and peekme reads it, also over SSH.
Inside tmux with its mouse on, Kiro can stay inline, also over SSH: tmux makes the selection, and peekme reads it from tmux. Underlined text can be clicked in full screen, and inline inside tmux with its mouse on. See tmux and SSH.
Scrolling with a box open
After /fullscreen, scroll as usual. The chat and the box move together, as far as Kiro scrolls
on its own: 2 rows a turn of the wheel, or what you set under /settings → Display → Full Screen →
Scroll speed. PgUp and PgDn move a screen less 2 rows. At the end of the chat the rows the box
pushed down come into view. Kiro's input area stays where it is, with its "more lines" hint.
End, and Home with nothing typed, jump to the end or the start of the chat, as in Kiro, and close
the box.
On the inline screen peekme scrolls the chat with the box in it itself: 3 rows a turn of the wheel, a page for PgUp and PgDn. It goes up to the oldest line peekme saw in your terminal's history and down to the end of the chat. A long answer, and a box inside it, are as tall as their text and never scroll on their own.
Which model explains
No API key is needed. On the first explanation peekme starts Kiro's ACP server (kiro-cli acp,
the one Kiro's own screen and editors use) with your Kiro login. It runs with a peekme agent that
has no tools. Each explanation is a short session, and peekme deletes it afterwards, so nothing
appears in your session list. Explanations use your Kiro credits.
Peek and Ask use your chat's model by default. Peek sends relevant parts of the conversation. Ask sends the whole conversation. To change either model:
export PEEKME_KIRO_MODEL=<model> # peeks, default the chat's model
export PEEKME_KIRO_ASK_MODEL=<model> # questions, default the chat's model
peekme knows the conversation from Kiro's session log in ~/.kiro/sessions/cli.
peekme and tangent mode
Kiro CLI has an experimental tangent mode for side topics that you can leave and return to the main conversation. It is good for a question about the work. peekme is for the words in front of you: you select them instead of typing them, the answer opens right under them, a box can open inside a box, and the answer stays on the screen as an underline. A closer comparison
What gets peekme
kiro-cli, kiro-cli chat and kiro-cli --resume open with peekme.
kiro-cli chat --no-interactive, kiro-cli acp and anything with output going to a pipe or a
file run Kiro directly. command kiro-cli starts plain Kiro CLI once.
Tested with Kiro CLI 2.28 on Linux, also inside tmux and over SSH.
peekme also works in Claude Code, Codex CLI, Pi, GitHub Copilot CLI, , with the same keys.