Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AutoApprove Claude CodeNew to Visual Studio Code? Get it now.
AutoApprove Claude Code

AutoApprove Claude Code

web updates kmu GmbH

| (0) | Free
Auto-approves Claude Code permission prompts – including agents and ask rules (like clicking "1: Yes") – with a readable log of every request.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AutoApprove Claude Code

Automatically answers Claude Code permission prompts – in the main session, in agents and even for ask rules – exactly like clicking "1: Yes". No permission rules are saved; your own allow / ask / deny rules stay untouched.

Deutsch: siehe unten.

Features

  • Auto-Approve for every tool call, including subagents and commands matched by ask rules such as Bash(git *).
  • Exceptions: tools in autoApproveClaudeCode.excludeTools (default AskUserQuestion) and optional regular expressions in autoApproveClaudeCode.askPatterns still show the normal dialog.
  • Ask-Log (ask.log): one readable line per permission request – YES (answered automatically) or DIALOG (sent to you, with reason).
  • Debug-Log (events.jsonl, off by default): every hook event in detail, with a built-in analysis.
  • Status bar: three buttons – Auto-Approve, Ask-Log, Debug-Log. Click toggles; hover shows links to open, clear or analyze the logs.
  • English and German user interface (follows the VS Code display language).

How it works

  • On startup the hook script is copied to ~/.claude/autoapprove-claude-code/hook.js and registered in ~/.claude/settings.json (a backup is written to settings.json.autoapprove-backup). Other hooks are left alone.
  • PreToolUse is answered with allow, PermissionRequest with behavior: allow – the latter is what makes ask rules and agents work.
  • Settings are written to config.json next to the hook and read on every call, so toggling takes effect immediately.
  • If something removes the hook entries, they are restored automatically.
  • Uninstalling the extension removes the hook entries and the hook folder.

Requirements

  • Claude Code (CLI or VS Code extension)
  • Node.js in your PATH (the hook runs as node …/hook.js)

Settings

Setting Default Description
autoApproveClaudeCode.enabled true Answer permission prompts automatically
autoApproveClaudeCode.excludeTools ["AskUserQuestion"] Tools that always show the dialog
autoApproveClaudeCode.askPatterns [] Regexes tested against the tool input; matches show the dialog
autoApproveClaudeCode.askLog true Write ask.log
autoApproveClaudeCode.debugLog false Write events.jsonl
autoApproveClaudeCode.logDir (empty) Log folder; empty = system temp folder …/autoapprove-claude-code

Not affiliated with or endorsed by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic.


Deutsch

Beantwortet Freigabe-Rückfragen von Claude Code automatisch – in der Hauptsitzung, in Agents und auch bei ask-Regeln – genau wie ein Klick auf „1: Yes“. Es werden keine Regeln gespeichert; eigene allow-/ask-/deny-Regeln bleiben unverändert.

  • Auto-Approve für alle Tool-Aufrufe, auch in Subagents und bei ask-Regeln wie Bash(git *).
  • Ausnahmen: Tools in excludeTools (Standard AskUserQuestion) und Regexe in askPatterns zeigen weiterhin den Dialog.
  • Ask-Log (ask.log): eine Zeile pro Rückfrage – YES (automatisch) oder DIALOG (an dich, mit Grund).
  • Debug-Log (events.jsonl, standardmässig aus): alle Hook-Events ausführlich, mit Auswertung.
  • Statusleiste: drei Knöpfe, Klick schaltet ein/aus, beim Überfahren erscheinen Links zum Öffnen, Leeren und Auswerten.
  • Oberfläche auf Deutsch oder Englisch, je nach Anzeigesprache von VS Code.

Voraussetzung: Claude Code und Node.js im PATH. Die Logs liegen standardmässig im Temp-Ordner des Systems (…/autoapprove-claude-code), über logDir änderbar.

Kein offizielles Produkt von Anthropic. „Claude“ und „Claude Code“ sind Marken von Anthropic.

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