askill
vscode-terminal-autoapprove

vscode-terminal-autoapproveSafety 60Repository

Guidance on configuring VS Code's terminal auto-approve settings for commands with dynamic arguments.

1 stars
1.2k downloads
Updated 2/8/2026

Package Files

Loading files...
SKILL.md

VS Code Terminal Auto-Approve Configuration

This skill provides domain-specific knowledge on how to configure VS Code to automatically approve terminal commands, especially those with dynamic arguments (like running Python scripts with parameters).

Overview

VS Code allows auto-approving terminal commands executed via Copilot Chat. This reduces manual confirmations for trusted operations.

Configuration Steps

1. Enable Global Auto-Approve

Add the following to your settings.json:

"chat.tools.terminal.enableAutoApprove": true

2. Configure Rules

Define which commands are auto-approved in the chat.tools.terminal.autoApprove object.

Simple Command Matching

To approve all instances of a command (e.g., python):

"chat.tools.terminal.autoApprove": {
  "python": true
}

Regex Pattern Matching (Advanced)

To approve only specific scripts or paths:

"chat.tools.terminal.autoApprove": {
  "/^python\\s+skills\\//": true
}

Troubleshooting

  • Command mismatch: Ensure the command string matches what's typed or called (e.g., python vs python3).
  • Restart requirement: Restart VS Code or reload the window after updating settings.json.

References

For more detailed instructions, see references/how-to-configure-vscode-terminal-autoapprove.md.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

78/100Analyzed 2/16/2026

A well-structured, actionable skill for configuring VS Code terminal auto-approve settings with good examples. The main weakness is the lack of security warnings about the risks of auto-approving terminal commands.

60
85
90
75
85

Metadata

Licenseunknown
Version-
Updated2/8/2026
Publisherarisng

Tags

No tags yet.