clued
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Basarisiz
- process.env — Environment variable access in app/accounts-cli.ts
- process.env — Environment variable access in app/accounts.ts
- spawnSync — Synchronous process spawning in app/artifacts.ts
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Never lose track of what you asked Claude: an open-source terminal chat app (TUI) for Claude Code. Queue messages while Claude works, see which are answered, and watch agents, background commands and scheduled jobs live.
Never lose track of what you asked Claude.
Website: cluedcli.com
clued is a terminal chat app for heavy Claude Code users: the ones juggling several requests, long tasks and background agents in one session. Send new requests while Claude works, and see for each one whether it's answered, in progress or waiting on you, and which reply answers it.
Underneath it's the same Claude Code, run headless: the same account, tools, permissions, plugins and sessions. clued draws the screen and keeps track of the conversation.

▶ Watch the 82-second narrated walkthrough
Why clued
- Every reply says what it answers. A reply quotes the message it answers, and one that answers three messages splits into three bubbles. From any message,
⛓ chainopens its follow-ups, corrections and replies. - Every request is tracked. Each message has a mark in the panel: ⏳ Claude is on it, ✋ waiting on you, ✓ done. Replies sometimes go missing: when Claude marks a message done but never wrote its reply, clued asks Claude again at once, and a reply still missing after that is marked
⚠ reply lost, with↻ ask again, instead of looking answered. - Keep typing while Claude works. A message sent while Claude is busy waits
⏳ in queueand goes as its own turn when Claude's turn ends, so it gets its own answer. To steer the work in progress, reply to it, and your message goes in at once. - See the work, not just the chat. The panel lists each agent Claude started, with a live view of its steps (background agents too), the shell commands running in the background with their output, and the jobs Claude scheduled, with when each runs next.
- Images and diagrams in the reply. Claude can show you a chart, an image or a Mermaid diagram right in its reply: drawn inline in iTerm2, WezTerm, kitty, Ghostty and Windows Terminal (Sixel), and a link that opens it everywhere else. Diagrams need
mmdc, which/setupinstalls; it can also give Claude the diagram-design skill, for explanatory and architecture diagrams with a real layout (details). - Review a pull request in clued.
/reviewopens the PR of your branch (or/review 152, or its link): the description, the CI checks with the lines where a failing one broke, the conversation, and every file's diff in one scroll with its review threads under their lines, each folding to one row. Claude sees none of it until you ask about one part (a thread, a comment, a failing check, lines you pick, or the whole PR), and then only that part: your message lists what went, and "Claude has seen" keeps the tally. Claude can draft a reply or fix the code on your checked-out branch; nothing is posted or resolved on GitHub until you sayy(details). - Stay in control. Unread replies, ★ saved messages, Claude's open questions in one list, 3 seconds to edit or take back a message after Enter, and a notification when Claude asks you something while you're in another window.
Quick start
You need Claude Code, installed and logged in (claude on your PATH), Node 22.18 or later, git and bash (macOS's own bash 3.2 will do). It runs on Linux and macOS, both tested in CI, and on Windows through WSL.
git clone https://github.com/haytham-breaka/clued.git ~/src/clued
mkdir -p ~/.local/bin
ln -s ~/src/clued/bin/clued ~/.local/bin/clued
If command -v clued then prints nothing, ~/.local/bin isn't on your PATH: add export PATH="$HOME/.local/bin:$PATH" to your ~/.zshrc or ~/.bashrc, and open a new terminal. There is nothing to npm install and no build step. To update, type /update in clued, or run clued update: it moves the clone to the newest release (a fast-forward, never a merge). /update main (or clued update main) follows every change on main instead, and /update release goes back. clued checks GitHub once a day and says when there's a newer one, and after a git pull by hand it says /reload uses it (details).
Optionally, last: clued setup installs the extras clued can use, each after a y: the diagram tool (mmdc) for Mermaid diagrams in replies, the diagram-design skill for Claude and, in Windows Terminal, the font for Arabic. clued setup --check only says what's there; /setup inside clued does the same (details). clued feedback reports a bug or suggests an idea, as /feedback does inside clued.
cd ~/code/my-project
clued # this folder's session running in the background, else a new one
clued new # a new session in this folder
clued -c # continue this folder's last session
clued --resume # pick a session
clued --model opus # any other flag goes to claude
clued ls # the sessions running in the background
clued --account work # a session as another Claude account (/login add adds one)
Closing the window leaves the session running in the background, Claude's work included: clued in the same folder brings it back. /exit while Claude works asks first: k keeps it running, s stops it (details).
Try it in 30 seconds
- Ask for something that keeps Claude busy for a while: "Read this project and tell me how it's laid out."
- While it works, send two more: "Which parts have no tests?" and "Is anything here obviously slow?". Under Your recent messages in the panel, both show
in queue. - Watch each one go when the turn before it ends, get its own reply quoting it, and turn to ✓. Press Ctrl+N for the next unread reply, or Alt+↑ to pick one of your messages and Alt+→ to go to its answer.
Documentation
- Using clued: the screen, the panel, sending while Claude works, replies, chains, agents, images, permissions, questions, notifications, and Arabic, Hebrew and other right-to-left text.
- Keys and selecting text.
- Commands: how to start it, and every slash command.
- How it works: what clued adds to the conversation, and what it keeps on disk.
- The evaluation, and the older classic layout.
How it works
clued starts claude -p with stream-json input and output, and talks to it over stdin and stdout. Three small additions make the tracking work:
- a short guide, appended to Claude Code's system prompt, asks Claude to end each reply with one hidden tag line: which of your messages it's about, and whether each is on Claude, on you, or done;
- each message you send carries a hidden note with its id (
T12) and the messages still open; - a reply that answers several messages marks each part (
<<reply T12>>), and clued draws one bubble per part.
The chat comes from Claude Code's own session file, so -c and --resume work as they do in claude. More in docs/architecture.md.
Does it help?
clued and plain Claude Code were given the same scripted conversations: messages sent mid-task, corrections, numbered questions, and references like "the second thing I asked". Sonnet, 8 scenarios, 10 runs each per arm, 160 runs in all, with a blind judge. The recordings were then replayed through clued's screen and a drawing of plain Claude Code's, and a small model (Haiku), told not to scroll, read one screen at a time (today's code, 2026-11-30). A second pass ran the real interactive Claude Code next to clued: 128 sessions, the real screens read the same way, and a reader that can scroll and search (2026-12-02).
| clued | plain Claude Code | |
|---|---|---|
| From one screen: whether each message was answered | 99.2% (1,815 of 1,830) | 85% (1,556 of 1,830) |
| … on the real screens | 98.3% (1,706 of 1,736) | 71% (1,230 of 1,736) |
| From one screen: the answer found | 87.5% | 81.2% |
| … on the real screens | 82% | 69% |
| A reader that scrolls and searches: the list of open messages exactly right | 77–81% | 44% |
| A burst of 8 messages before the first reply (10 runs): answered or not / answer found | 99.8% / 96% | 84% / 99% |
| Messages sent mid-task that were answered | 119 of 119 (19 in a reply written mid-task) | 113 of 113 |
| Judge: answers correct / answers given to the wrong message | 99.8% / 1 of 460 | 100% / none |
Cost per session, against headless claude -p |
$0.084 | $0.073 |
| … against the interactive Claude Code | $0.108 | $0.111 |
- What clued adds: you can see, for each message, whether it was answered, and what still waits on you: from one screen that is +5 points over plain even leaving Claude's offers ("I can change that if you like") out. The panel links 99.8% of answered messages to their answer, one click away. On the drawn screens the one-screen "answer found" lead was small and not beyond noise (+2.3 points per run, p = 0.09). On the real screens it is +7 points (p = 0.01). A reader that scrolls finds one message's answer about as well in plain Claude Code, but in 2 to 3 times the steps, and gets the list of what's still open exactly right about half as often (44% against 77–81%).
- What it doesn't add: Claude's answers aren't better. The judge found 459 of 460 answers correct with clued and all 460 without; the project checks passed 289 of 290 times with clued and 287 of 290 without.
- Where it's worse: clued still shows more finished messages as waiting on you (31 of 1,273 against 16 of 1,278; on the real screens 35 of 1,095 against 13 of 1,209). In a burst of 8 messages before the first reply, the answer is found slightly less often from one screen: 96% against 99% on the drawn screens (92% against 99% at the end), 88% against 90% on the real ones (8 runs, within noise). Reading the whole chat, both find the answer 97% of the time.
- What it costs: 16% more per session than headless
claude -p, for about 1,500 tokens of guide and note on the first call, a short tag on each reply, and answers written as soon as they are ready. Against the interactive Claude Code, which starts with a bigger context, it costs about the same (3% less, not beyond noise). Asking again for a missing reply is an extra turn: in the first pass's burst runs, $0.097 a session against $0.078; on the real screens, $0.146 against $0.099. /review: an AI user that knew of it read a 16-file PR in clued with Claude sent 10k tokens, against 293k when it asked Claude in plain Claude Code. One that didn't know of it asked Claude in both.- Agents and background commands: an AI user read what a background agent changed, and a background command's result, from clued's panel in 2 steps in 50 of 50 runs, sending Claude nothing. In plain Claude Code it got there every time too, in 3 to 19 steps, and for a command's result it mostly asked Claude to read the output file (about 75,000–83,000 tokens).
- Using it: in the usability eval, an AI user that knew only the top of this README did 169 of 170 tasks on clued's screen (usability after fixes).
- Limits: the readers are a model, not people. The sessions are short (up to 12 messages) and on Sonnet only. The first pass drew plain Claude Code's screen and sent each message at once (as
/hold 0and/queue offdo); the second ran the real Claude Code 2.1.333, with clued's defaults.
The method, every table and the earlier results are in eval/RESULTS.md, and the runner is in eval/. In the eval files, clued appears under its earlier name, threadline.
FAQ
Do I need a separate account or an API key? No. clued starts the claude you already have, logged in as you, and its use counts against your Claude Code plan or billing as usual. clued makes no API calls of its own.
Can I go back to plain Claude Code? Yes. Sessions are Claude Code's own: claude --resume or claude -c in the same folder opens them. There you'll see clued's notes on your messages and the tag line at the end of Claude's replies as plain text. To uninstall, delete the link in ~/.local/bin, the clone and ~/.clued.
Are the threads separate sessions? No. Everything goes into one shared Claude Code session, and Claude sees the whole conversation. clued only tracks which reply answers which message. The exception is /btw: a side question runs in a fork of the session and stays out of it.
Does clued change the prompts? Yes. It appends a guide to Claude Code's system prompt, adds a hidden note to each message you send, and asks Claude for a tag line at the end of each reply. That's the overhead measured above. Your CLAUDE.md, settings, permissions, plugins and hooks apply as usual.
Can it guarantee that every request gets answered? No. The tracking depends on Claude following the guide, and Claude sometimes doesn't. What clued does is make a missing reply visible: it asks Claude again at once, and marks a reply still missing ⚠ reply lost, so a message never just looks answered.
Where is my data? The conversation stays in Claude Code's session files, as it always does. clued keeps its own files in ~/.clued/: per session, the links between messages and replies, read marks, reactions and saved messages; your panel settings; sent.log, a log of every message you send, with its hidden note, kept for 7 days and at most 5 MB; and the images you paste. A pasted image is deleted once it is 30 days old and no message was sent with it; one a message was sent with stays, so its [image N] still opens it. In Windows Terminal, clued also sets up a small click handler for your Windows user, so a click opens the right tab (/notify uninstall removes it). /setup installs nothing until you say yes, and says first what it writes: the diagram tool through npm, the diagram-design skill in ~/.claude/skills (a pinned copy, checked) with its profiles in ~/.diagram-design, and Playwright in a venv of its own when no Python has it, and in Windows Terminal a font for your Windows user and its font face in Windows Terminal's settings (backed up first). There's no telemetry. Notifications show Claude's question, so /notify off if your screen is shared. Details in docs/architecture.md.
What happens to agents, background commands and scheduled jobs when I close the window, exit or /reload? Closing the window, /detach, or k on the card /exit shows while Claude works, keeps the session running in the background, Claude Code with it: agents, background commands and in-memory jobs go on, and clued in the folder brings it back. Stopping the session (s on that card, /exit when nothing runs, clued stop <id>) or a /reload stops Claude Code, and they run inside it, so they stop with it. A background agent that was cut off shows ■ stopped, with ▶ continue to have Claude resume it. Background commands show as stopped, with ↻ run again. Scheduled jobs that live only in memory end; durable ones and cloud routines may still run. Messages still in queue are held again when you open the session.
Can I write in Arabic or Hebrew? Yes. clued puts right-to-left text in reading order, since most terminals (Windows Terminal among them) don't, and puts such paragraphs on the right. Arabic letters are joined by clued, or in Windows Terminal by its font (it needs Cascadia Mono NF, as the Cascadia built into Windows has no Arabic, and for لا to join, the font face Cascadia Mono NF, Simplified Arabic Fixed: /setup installs the font and sets the face). CLUED_BIDI=terminal leaves the order to a terminal that does it (details).
Why does a Mermaid diagram show as code? Diagrams are drawn by the Mermaid CLI, mmdc, which clued doesn't install by itself: /setup (or clued setup) installs it, after a yes. In a terminal that draws no images, the diagram is then a link that opens it.
Found a bug, or have an idea? Type /feedback in clued (or clued feedback in the shell). You write a title and what happened or what you'd like, and see exactly what will go, with diagnostics safe for a public page (versions, OS, terminal, settings: never your conversation, names or paths). It then opens GitHub's new-issue page filled in, for you to check and submit; clued posts nothing itself. Screenshots go to a folder that opens beside it, to drag in (details).
Is clued an official Anthropic product? No. It's an independent open-source project that runs on Claude Code.
Limitations
- Some Claude Code commands don't work. Headless Claude Code refuses the commands that need its own interactive screen. clued rebuilds /help, /status, /plan, /diff, /copy, /export, /branch, /add-dir, /plugin, /login and /logout; for any other, run
claudein the same folder (commands). - The tracking is only as good as Claude's tags. A finished message can show ✋, a question can show ✓, and a reply can go missing (then it's asked for again and flagged).
- It costs more than headless Claude Code: about 16% per session in the evaluation (about the same as the interactive one), plus a turn when it asks again for a missing reply.
- Tracking measured on short sessions with Sonnet only. Long sessions haven't been evaluated, and on Opus only pictures, reactions and the pre-release checks have.
- No native Windows: the launcher is a bash script, so on Windows it runs in WSL. There's no package yet: you install it from a clone.
Contributing
Bug reports, ideas and feedback from real Claude Code workflows are very welcome, as issues: /feedback inside clued opens one filled in, for you to check and submit. For now clued is maintained by one person, so changes are worked out in issues rather than pull requests: a pull request from outside the project is closed automatically, with a note pointing to the guide. If you've found a fix, paste it into the issue, and you'll be credited when it lands. CONTRIBUTING.md explains what makes a useful bug report and how to run clued from a clone.
Licence
MIT. See LICENSE. clued has no dependencies beyond Node and Claude Code.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi