Skip to content
utialy
VS Code extension · Free

AI Terminal Helper

AI Terminal Helper turns the code you select into a ready-to-paste request and opens a Claude Code or Codex terminal for the project. It copies the request to your clipboard and leaves the sending to you.

AI Terminal Helper by utialy

Platforms
VS Code 1.85+ with Claude Code or Codex CLI
License
Not published yet
Pricing
Free
Status
Available (1.2.1)
What it does

Skip the copy-and-describe step

Asking a terminal AI about a piece of code usually means copying it, typing the file path and line numbers, and writing the same instruction again. Select the code, pick a request type, and the request is ready to paste.

Generated request (Review Code)
Review the selected code for real bugs and missing validation. Include evidence and file locations. Do not modify any files.

Target: src/orders/total.py:12-15

```python
def total(items):
    subtotal = sum(i.price * i.qty for i in items)
    return subtotal * (1 - discount(items))

```
  • Request from a selection

    Builds a Markdown request with the file path, line range, code and your instruction.

  • Terminals per project

    Opens Claude or Codex terminals and reuses them per project, command and launch setting.

  • Several Claude commands

    Register commands such as claude-1 or claude --model opus and pick one when opening.

  • Pre-launch commands

    Runs per-project commands, such as activating a Python virtual environment, before the AI CLI starts.

  • Favorite instructions

    Saves instructions you use often so the next request takes one pick.

  • You press Enter

    Copies the request to the clipboard and stops there. It never submits a request or calls an AI API itself.

Getting started

Install the extension

You need VS Code 1.85 or later and Claude Code or the Codex CLI, installed and signed in.

Install AI Terminal Helper from Visual Studio Marketplace, or paste this into Quick Open.

VS Code Quick Open (Ctrl+P)
ext install utialy.ai-terminal-helper
  • Check that claude or codex starts from a terminal and is already signed in. The CLIs use your existing sign-in and configuration.
  • Open a project folder and trust the workspace. The extension does not run in Restricted Mode.
  • If you choose a specific shell, it must be installed: pwsh needs PowerShell 7, and bash needs a bash executable such as Git Bash on Windows.
How it works

Select, describe, review, paste

  1. Select code

    Select some code and press Ctrl+Alt+A (Cmd+Alt+A on macOS), or right-click and choose AI Terminal: Create Request from Selection.

  2. Pick a request type

    Choose a built-in type, a saved favorite or Write your own, and add any conditions.

  3. Review the request

    The request opens as an editable Markdown document with the file path, line numbers and code. If the selection has unsaved changes, the request says so.

  4. Copy and open a terminal

    Click Copy Request and Open Terminal at the top of the editor and pick a Claude command or Codex. When the AI prompt is ready, press Ctrl+V, then Enter.

Built-in request types

Request typeWhat it asks for
Fix ErrorFind and fix the cause of the error, then run available tests.
RefactorImprove readability without changing external behavior.
Write TestsWrite and run tests for main behavior and edge cases.
Explain CodeExplain how the code works, without modifying files.
Review CodeReport real bugs and missing validation, without modifying files.

Activate a virtual environment before the CLI starts

AI Terminal: Configure Project Launch saves the start folder, shell and pre-launch commands to the project settings. Commands run in order in the same terminal, so the AI CLI inherits the activated environment. If a command fails, the remaining commands and the AI CLI do not run.

.vscode/settings.json
{
  "aiTerminal.launch": {
    "cwd": "",
    "shell": "powershell",
    "beforeCommands": ["& '.\\.venv\\Scripts\\Activate.ps1'"]
  }
}
Conditions and limits

Know this before you install

LicenseNo license file has been published yet, and there is no public source repository. We'll list the license here once it's set.
PriceFree on Visual Studio Marketplace.
External costsRequests you paste and submit run on your own Claude Code or Codex account, and provider usage may be charged.
DataThe extension makes no network requests and sends nothing to us. Requests stay in memory until VS Code closes or reloads; favorites and launch settings stay in VS Code on your device. Privacy policy
RequirementsVS Code 1.85 or later, a project folder open in a trusted workspace (Restricted Mode is not supported), and Claude Code or the Codex CLI installed, on your PATH and signed in. In Remote or WSL sessions, install the CLI in the remote environment.
Known limitsRequests disappear when VS Code closes or reloads; use Save As to keep one. Terminals you opened yourself, or from an earlier VS Code session, are not attached. Pre-launch commands need an explicit shell, and a failure hidden inside a compound command or script can't be detected. PowerShell profile functions work only in a PowerShell shell that loads your profile.
StatusAvailable (1.2.1).
Changes and support

Changes and help

Does it send my code anywhere?

No. It builds the request in VS Code and copies it to your clipboard. Nothing reaches a provider until you paste it into the CLI and press Enter.

Why didn't my pre-launch commands run again?

A terminal with the same project, command and settings is reused, and nothing is typed into it again. If you exited the CLI or want to rerun setup, use AI Terminal: Open in New Terminal.

Can I switch between several Claude setups?

Yes. Add commands with AI Terminal: Configure Claude Commands. With two or more, you choose one when opening; the most recently used is listed first, and each command gets its own reusable terminal.

Where do I report a problem?

Use the contact form and include your VS Code version, operating system, shell and the steps that led to the problem.