Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>HaltingNew to Visual Studio Code? Get it now.
Halting

Halting

chigelu onyedika

|
1 install
| (0) | Free
Analyze AI-suggested code/commands before accepting them — shows risk level and a plain-English summary.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Halting

Halting reviews every AI-suggested command or code snippet before it runs — giving you a plain-English risk summary and a risk level so you can make an informed decision.


How it works

Automatic command analysis (Claude Code hooks)

Once set up, Halting intercepts every Bash and PowerShell command that Claude Code tries to run and shows you a risk analysis in the terminal before it executes:

🛑  Halting — Pre-flight Analysis
─────────────────────────────────────
⚠️  Risk: Warning
📋  This command installs packages from the npm registry and modifies node_modules/. It does not delete files or access the network beyond npm.
─────────────────────────────────────

On-demand analysis (editor panel)

Highlight any code or command in the editor, press Ctrl+Shift+S (Cmd+Shift+S on Mac), and Halting opens a side panel with a full risk breakdown.


Getting started

Halting walks you through setup automatically on first launch:

  1. Get a free API key from openrouter.ai/keys
  2. Paste the key when prompted — it is stored securely in your system keychain, never in plain text
  3. Install hooks into Claude Code so commands are analysed automatically
  4. Reload VS Code — done

Commands

Command Description
Halting: Explain & Run Analyse selected code or command in a side panel
Halting: Setup Claude Code Hooks Install hooks into Claude Code
Halting: Set API Key Store or update your OpenRouter API key
Halting: Reset Setup Clear stored key and re-run onboarding

Keyboard shortcut

Shortcut Action
Ctrl+Shift+S / Cmd+Shift+S Analyse selected code (when text is selected)

Requirements

  • Claude Code (for automatic hook-based analysis)
  • A free OpenRouter API key

Settings

Setting Default Description
halting.model anthropic/claude-haiku-4-5 OpenRouter model used for analysis

Risk levels

Level Meaning
✅ Safe Command is read-only or low impact
⚠️ Warning Command modifies files or installs packages — review before proceeding
🚫 Dangerous Command deletes files, alters system config, or has high destructive potential

Privacy

Your code and commands are sent to OpenRouter for analysis. Your API key is stored in your OS keychain (Windows Credential Manager / macOS Keychain) and is never written to any settings file.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft