cd /news/ai-tools/show-hn-kaju-annotate-comment-and-co… · home › topics › ai-tools › article
[ARTICLE · art-176979] src=github.com ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Show HN: Kaju – Annotate, comment and collaborate with Claude Code

A developer released kaju, a macOS tool that lets users select text in Claude Code's terminal output, press a hotkey (⌃⌥K), and send a quoted comment back to Claude Code, with a side-panel review mode that batches comments into one numbered message. kaju is installed via `brew install aigeano/tap/kaju` and requires Xcode command line tools 15.3 or later; it sends comments automatically only in iTerm2, Terminal.app and tmux, where it checks the pane's foreground process is Claude Code before typing, and in other terminals pastes the message as a single line without pressing Return to avoid shell execution.

key takeaway

kaju sends a selected quote plus a comment back to Claude Code via ⌃⌥K, and only auto-types when the pane's foreground process is confirmed to be Claude Code — in other terminals it strips control characters and pastes without pressing Return, because quoted lines starting with `>` could otherwise r

read5 min views7 publishedNov 26, 2026
Show HN: Kaju – Annotate, comment and collaborate with Claude Code
Image: Michielbdejong (auto-discovered)

Annotate, comment and collaborate with Claude Code.

Select some of Claude Code's output in your terminal, press a hotkey, type a comment. kaju sends the quoted text and your comment straight back to Claude Code, which answers right away. For longer reviews of a plan, a document or an explainer, collect comments in a side panel and send them all at once.

kaju is named after a ginger cat who appears to run on a single brain cell but is exceptionally good at one thing: eating. kaju the tool is similar. It does not do much, but it is very good at one thing: comments.

Select text in Claude Code's output. Claude Code copies your selection to the clipboard. 2. Press ⌃⌥K (or, in iTerm2, right-click ›Comment with kaju ). 3. A small input opens next to the selection, showing the quote it captured. Type your comment. 4. Press ⏎ . kaju checks that Claude Code is running in that pane, then delivers:

> the text you selected

your comment

Press ⇥ in the input to start a review. Comments then collect in a panel docked on the side of the terminal window, one panel per pane. Send them all as one numbered message with Send N to Claude Code in the panel, or with ⌘⏎ in the input. Reviews are saved to disk on every change and come back after a restart.

Key In the comment input
⏎ Send the comment, or add it to the review
⇧⏎ New line
⇥ Start or cancel a review
⇧⇥ Tag: fix · question · nit
⌘⏎ Add this comment and send the whole review
Esc Close and clear the comment
⌘/ Show all keys
Drag Move the input by its top line

In the review panel: click a card to show it in full, ✎ or double-click to edit, × to remove, drag the header to move the panel, Discard needs two clicks.

The input stays open until you finish or clear it. Clicking back into the terminal leaves it in place. It shows only on its own tab (where the terminal allows it) and hides while another app is in front.

Your shell does not matter. Your terminal does, because terminals differ in what they let other apps see and do.

Terminal Comment sent automatically Input opens at the selection Hides with its tab Right-click item Permissions
iTerm2 Yes Yes Yes Yes Automation
Terminal.app Yes No (at the mouse pointer) Yes No Automation, Accessibility
tmux, inside iTerm2 or Terminal.app (untested) Yes No (at the mouse pointer) Yes No Same as the terminal it runs in
Any other terminal (Ghostty, Warp, Alacritty, kitty, WezTerm, ...) No: pasted as one line, you press Return No (at the mouse pointer) No (hides when the app is not in front) No Accessibility

kitty and WezTerm can get full support with an adapter. Contributions are welcome: see CONTRIBUTING.md.

kaju types into a terminal only when it is sure Claude Code is the program in front. A message pasted into a shell instead could run as commands, because the quoted lines start with >.

  • iTerm2, Terminal.app and tmux: before sending, kaju checks the foreground process of the pane's terminal. If it is not Claude Code, nothing is typed: your comment goes to the clipboard, or your review stays open.
  • Other terminals: kaju cannot see which program runs there, so it never presses Return and always pastes the message as a single line with all control characters removed, which no shell will run. It pastes only if the window you commented on is still in front.
brew install aigeano/tap/kaju
brew services start kaju

kaju is compiled on your Mac during install, so you need the Xcode command line tools 15.3 or later (xcode-select --install), which Homebrew already requires. Full Xcode is not needed.

After brew upgrade kaju, run brew services restart kaju.

git clone https://github.com/aigeano/kaju.git
cd kaju
make install      # builds, installs ~/Applications/kaju.app and a login item
make uninstall    # removes them again
Permission Needed for When macOS asks
Automation › iTerm2 Finding and typing into iTerm2 sessions First comment in iTerm2
Automation › Terminal Finding Terminal.app tabs First comment in Terminal.app
Accessibility Typing into Terminal.app and other terminals First comment there

iTerm2 also needs its Python API: iTerm2 › Settings › General › Magic › Enable Python API.

kaju is built on your Mac and signed ad hoc, so macOS treats every upgrade as a new app. kaju clears its old approvals the first time a new build starts, so after an upgrade, approve them again when asked. If a permission looks enabled in System Settings but kaju cannot use it, choose Reset permissions in kaju's menu-bar menu.

kaju reads your selection from the clipboard, where Claude Code's full-screen mode puts it automatically when you select text. In the classic scrolling mode, press ⌘C after selecting, then the hotkey.

kaju's menu-bar menu has Open config file, which opens ~/Library/Application Support/kaju/config.json:

{
  "hotkey": "ctrl+opt+k",
  "tags": ["fix", "question", "nit"],
  "tmuxPath": null,
  "tmuxSocket": null,
  "clipboardWindowSeconds": 30
}

Choose Reload config after editing. If the hotkey is taken by another app, the menu says so.

kaju makes no network connections. It reads the clipboard to see your selection, never quotes items that password managers mark as concealed, and, in terminals other than iTerm2, Terminal.app and tmux, only uses clipboard changes made while a terminal was in front. Comments are stored on your Mac only while a review is open. The log at ~/Library/Logs/kaju.log records events, never comment text.

Apache License 2.0. If you redistribute or build on kaju, keep the NOTICE file, which credits the author and links to this repository.

The iTerm2 helper uses the iterm2 Python package (GPL-2.0-or-later), which is installed separately on your machine and not distributed with kaju.

kaju is an independent project and is not affiliated with Anthropic.

── more in #ai-tools 4 stories · sorted by recency
── more on @kaju 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-kaju-annotat…] indexed:0 read:5min 2026-11-26 · —