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)
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.
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-1orclaude --model opusand 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.
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.
ext install utialy.ai-terminal-helper- Check that
claudeorcodexstarts 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:
pwshneeds PowerShell 7, andbashneeds a bash executable such as Git Bash on Windows.
Select, describe, review, paste
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.
Pick a request type
Choose a built-in type, a saved favorite or Write your own, and add any conditions.
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.
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 type | What it asks for |
|---|---|
| Fix Error | Find and fix the cause of the error, then run available tests. |
| Refactor | Improve readability without changing external behavior. |
| Write Tests | Write and run tests for main behavior and edge cases. |
| Explain Code | Explain how the code works, without modifying files. |
| Review Code | Report 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.
{
"aiTerminal.launch": {
"cwd": "",
"shell": "powershell",
"beforeCommands": ["& '.\\.venv\\Scripts\\Activate.ps1'"]
}
}Know this before you install
| License | No license file has been published yet, and there is no public source repository. We'll list the license here once it's set. |
|---|---|
| Price | Free on Visual Studio Marketplace. |
| External costs | Requests you paste and submit run on your own Claude Code or Codex account, and provider usage may be charged. |
| Data | The 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 |
| Requirements | VS 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 limits | Requests 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. |
| Status | Available (1.2.1). |
Changes and help
The first public release on Visual Studio Marketplace.
Every command and setting, with examples for each shell.
Report a problem or suggest an improvement.
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.