Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>LLM ReviewNew to Visual Studio Code? Get it now.
LLM Review

LLM Review

lampwins

|
1 install
| (0) | Free
Review AI-generated code with inline comments, follow up with your coding agent, and keep a review history for each worktree.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LLM Review

Select code in VS Code, leave an inline comment, and continue the conversation with a coding agent that has shell access to the same worktree. Each thread keeps its original selection, messages, and status changes.

Install

Run npm run package to build dist/llm-review-0.7.2.vsix, then choose Extensions: Install from VSIX… in VS Code. You can also install the package from the terminal.

code --install-extension dist/llm-review-0.7.2.vsix

Use desktop VS Code 1.90 or later and Node.js 18 or later on the machine holding the worktree. Finish Review also uses the Codex CLI on that machine. It requires a version with codex queue --resume; the adapter targets CLI 0.174.0. Set LLM Review › Codex Executable to an absolute path if VS Code cannot find codex. Building the VSIX uses Python 3.

If you installed an earlier build as local-tools.llm-review, disable or uninstall it before enabling lampwins.llm-review, then reload VS Code. The new extension reads the same review history. Links saved in earlier conversations still target the old extension ID. Open the thread through Browse Review Threads or Browse Completed Reviews, or run the updated CLI’s show THREAD_ID to get its new link.

Review a worktree

  1. Open the worktree root as a workspace folder. Select a character, a word, a whole line, or a block of code. Right-click and choose Add Review Comment, or press ⌘K, ⌘; on macOS (Ctrl+K, Ctrl+; on Windows and Linux). With the cursor alone, the command uses the current line.
  2. Enter your comment in the inline editor and choose Post Comment. You can review a clean checkout, staged or unstaged changes, untracked files, and unsaved edits to files in the worktree. The built-in Git diff editor also supports comments on the staged and historical sides.
  3. Choose Finish Review to send feedback to a Codex session, or invoke the follow-up skill in your chosen terminal session. Read the agent’s replies in the same inline threads. You can post an answer and send another round. In the Comments pane and inline threads, ✓ Resolved appears in your theme’s green. LLM Review: Browse Review Threads includes open and resolved threads in the current review. Reopening a thread removes the marker and retains its history.
  4. When you are ready to move on to new work, choose Complete Review. It clears this worktree’s open and resolved threads from editors, Comments, and File Totals. The next comment you post starts a fresh review automatically.

Complete Review is available in the Comments pane’s … menu, in the File Totals title bar, and in the Command Palette as LLM Review: Complete Review. When every thread is resolved, the status bar also offers Complete Review.

To revisit earlier work, run LLM Review: Browse Completed Reviews. If the worktree has several completed reviews, choose one by date. Its read-only history includes each original selection, the full conversation, and whether each thread was open or resolved when you completed the review. Existing thread links open the archived conversation in VS Code.

The extension opens Comments once to dock File Totals when it finds your first saved thread. Each file shows its open and resolved thread counts. The section header shows the workspace total and breakdown. Resolving a thread adds Resolved this thread. to the conversation.

The Comments tab badge shows the combined count. On VS Code 1.97 and later, the badge also includes open comments from other extensions and can count multiple open editor views of a thread. File Totals counts each saved thread in the current review once per worktree. If you move or hide the section, run LLM Review: Show File Totals in Comments to bring it back.

Pick up reviews in a terminal session

Install the personal skill on the machine that holds the reviewed worktree. If you installed an earlier version, rerun the installer to update the follow-up instructions for completed reviews. In VS Code, choose LLM Review: Install Review Follow-Up Skill and select Codex or Claude Code. To install from this source directory, run the command for your client.

npm run install:skill -- codex
npm run install:skill -- claude

In the conversation that should handle the review, enter $review-followup for Codex or /review-followup for Claude Code. When that session started in a different checkout, include the path to the reviewed worktree.

$review-followup /path/to/reviewed-worktree

Invoking the skill picks up the open comments at that moment. The agent works in the selected worktree, writes replies back into the threads, and leaves questions open for your answer. If the reviewer adds feedback during a fix, the conditional resolve command preserves the newer update. The terminal agent needs write access to the personal review directory to reply or resolve threads. The installer uses each client’s personal skills folder. Codex skill locations · Claude Code skill locations

The agent ends each pass with a bullet per thread, including the outcome or remaining question and any relevant checks. The file-and-line link at the end of each bullet opens that conversation in desktop VS Code, including resolved threads. If your terminal displays a vscode:// link as plain text, you can copy the URL and run open 'URL' on macOS.

Send a review from VS Code

Finish Review queues a snapshot in Codex and keeps the current review open for replies. Choose it from the status bar while threads are open, or run it from the Command Palette. The first submission of each review prompts for a Codex session in this worktree unless you already chose one for that review. Subsequent submissions to that session include open threads with new reviewer messages or a reviewer reopening. Completing the review clears that selection so you can send the next review to a different conversation.

A thread follows its selection when the extension can identify the same code after an edit. A changed or ambiguous selection is labeled in the editor. Show Original Selection opens the saved excerpt. Browsing a thread on missing or outdated code opens that excerpt with the full conversation.

Review storage and delivery

Reviews live in ~/.llm-review/ on the machine hosting the worktree. Each worktree has a separate directory under worktrees/ for its thread history, completed reviews, review.md, and submission snapshots. New reviews leave the checkout clean. LLM Review: Open Review File opens the Markdown summary of open threads in the current review. You can also run the CLI’s locate command to print its path.

After upgrading to 0.7, reload VS Code windows that have a reviewed worktree open. Existing 0.6 threads belong to the current review until you complete it. When upgrading from a version that stored reviews inside the worktree, the extension imports those threads and delivery records and keeps the old directory as a backup. Once you have verified your history and finished any previously queued submissions, you can remove that backup. The personal copy survives deletion of the checkout.

In an SSH, WSL or container workspace, the home directory belongs to the account running the VS Code extension host. To choose another location, set LLM_REVIEW_HOME to the same absolute directory for the extension host and your terminal agent.

Use LLM Review: Select Codex Session to switch or disconnect the destination. Sessions must belong to the opened worktree root. VS Code requires workspace trust to start the Codex CLI. Codex tries to resume an idle session when it receives a review. If it reports a wake-up warning, the review is queued for that session to consume when it resumes. Codex queue documentation

Agent CLI

Run these commands from the reviewed worktree or one of its subdirectories. The extension installs the shared CLI with the first review. Installing the follow-up skill also installs the CLI.

cli="${LLM_REVIEW_HOME:-$HOME/.llm-review}/cli.js"
node "$cli" locate
node "$cli" list --json
node "$cli" history
node "$cli" history REVIEW_ID
node "$cli" show THREAD_ID
node "$cli" reply THREAD_ID --body "Which case should return an error?"
node "$cli" resolve THREAD_ID
node "$cli" reopen THREAD_ID

list shows open threads in the current review. Add --all to include its resolved threads. history lists completed reviews newest first, and history REVIEW_ID shows the conversations in one review. show THREAD_ID works across reviews. Each of these commands accepts --json. A thread from a completed review includes its completedReview ID and completion time in JSON.

Use --workspace /path/to/worktree to select a checkout explicitly, including its former path when reading an archived review. Each thread record includes a threadUrl for opening its conversation in an existing checkout. JSON ranges use zero-based lines and UTF-16 character offsets with an exclusive end. Use reply THREAD_ID --stdin for multiline replies and --author NAME to identify a particular agent. Human posts use the LLM Review › Author setting.

Development

Open this source folder in VS Code and press F5 to launch an Extension Development Host. Run npm test for the automated tests and npm run test:host from a desktop session for a smoke test in an isolated VS Code profile.

Publishing

In the Visual Studio Marketplace, open the lampwins publisher and create a Trusted Publishing policy with repository owner lampwins, repository llm-review, and workflow filename publish.yaml. Leave Environment empty. Microsoft’s Trusted Publishing guide

To release, push a Git tag matching the version in package.json, such as v0.7.2 for version 0.7.2. GitHub Actions runs the unit tests, packages the extension, and runs the VS Code extension host test on the tagged commit. Once those checks pass, the publish job uses OIDC to publish to the Marketplace. Pull requests and pushes to main also run the tests.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft