{"slug": "show-hn-kaju-annotate-comment-and-collaborate-with-claude-code", "title": "Show HN: Kaju – Annotate, comment and collaborate with Claude Code", "summary": "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.", "body_md": "**Annotate, comment and collaborate with Claude Code.**\n\nSelect 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.\n\nkaju 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.\n\n1. \nSelect text in Claude Code's output. Claude Code copies your selection to the clipboard.\n2. \nPress **⌃⌥K** (or, in iTerm2, right-click ›**Comment with kaju** ).\n3. \nA small input opens next to the selection, showing the quote it captured. Type your comment. 4. \nPress **⏎** . kaju checks that Claude Code is running in that pane, then delivers:\n\n```\n> the text you selected\n\nyour comment\n```\n\nPress **⇥** 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.\n\n| Key | In the comment input | \n|---|---|\n| ⏎ | Send the comment, or add it to the review | \n| ⇧⏎ | New line | \n| ⇥ | Start or cancel a review | \n| ⇧⇥ | Tag: fix · question · nit | \n| ⌘⏎ | Add this comment and send the whole review | \n| Esc | Close and clear the comment | \n| ⌘/ | Show all keys | \n| Drag | Move the input by its top line | \n\nIn 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.\n\nThe 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.\n\nYour shell does not matter. Your terminal does, because terminals differ in what they let other apps see and do.\n\n| Terminal | Comment sent automatically | Input opens at the selection | Hides with its tab | Right-click item | Permissions | \n|---|---|---|---|---|---|\n| iTerm2 | Yes | Yes | Yes | Yes | Automation | \n| Terminal.app | Yes | No (at the mouse pointer) | Yes | No | Automation, Accessibility | \n| tmux, inside iTerm2 or Terminal.app (untested) | Yes | No (at the mouse pointer) | Yes | No | Same as the terminal it runs in | \n| 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 | \n\nkitty and WezTerm can get full support with an adapter. Contributions are welcome: see [CONTRIBUTING.md](https://github.com/aigeano/kaju/blob/main/CONTRIBUTING.md).\n\nkaju 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 `>`.\n\n- **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.\n- **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.\n\n```\nbrew install aigeano/tap/kaju\nbrew services start kaju\n```\n\nkaju 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.\n\nAfter `brew upgrade kaju`, run `brew services restart kaju`.\n\n```\ngit clone https://github.com/aigeano/kaju.git\ncd kaju\nmake install      # builds, installs ~/Applications/kaju.app and a login item\nmake uninstall    # removes them again\n```\n\n| Permission | Needed for | When macOS asks | \n|---|---|---|\n| Automation › iTerm2 | Finding and typing into iTerm2 sessions | First comment in iTerm2 | \n| Automation › Terminal | Finding Terminal.app tabs | First comment in Terminal.app | \n| Accessibility | Typing into Terminal.app and other terminals | First comment there | \n\niTerm2 also needs its Python API: iTerm2 › Settings › General › Magic › **Enable Python API**.\n\nkaju 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.\n\nkaju 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.\n\nkaju's menu-bar menu has **Open config file**, which opens `~/Library/Application Support/kaju/config.json`:\n\n```\n{\n  \"hotkey\": \"ctrl+opt+k\",\n  \"tags\": [\"fix\", \"question\", \"nit\"],\n  \"tmuxPath\": null,\n  \"tmuxSocket\": null,\n  \"clipboardWindowSeconds\": 30\n}\n```\n\nChoose **Reload config** after editing. If the hotkey is taken by another app, the menu says so.\n\nkaju 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.\n\nApache License 2.0. If you redistribute or build on kaju, keep the [NOTICE](https://github.com/aigeano/kaju/blob/main/NOTICE) file, which credits the author and links to this repository.\n\nThe iTerm2 helper uses the [`iterm2`](https://pypi.org/project/iterm2/) Python package (GPL-2.0-or-later), which is installed separately on your machine and not distributed with kaju.\n\nkaju is an independent project and is not affiliated with Anthropic.", "url": "https://wpnews.pro/news/show-hn-kaju-annotate-comment-and-collaborate-with-claude-code", "canonical_source": "https://github.com/aigeano/kaju", "published_at": "2026-11-26 23:03:42+00:00", "updated_at": "2026-11-26 23:12:49.496536+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-agents"], "entities": ["kaju", "Claude Code", "iTerm2", "Terminal.app", "tmux", "Homebrew", "Xcode", "aigeano"], "also_reported_by": [], "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", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-kaju-annotate-comment-and-collaborate-with-claude-code", "markdown": "https://wpnews.pro/news/show-hn-kaju-annotate-comment-and-collaborate-with-claude-code.md", "text": "https://wpnews.pro/news/show-hn-kaju-annotate-comment-and-collaborate-with-claude-code.txt", "jsonld": "https://wpnews.pro/news/show-hn-kaju-annotate-comment-and-collaborate-with-claude-code.jsonld"}}