vscode-terminal-autoapprove

Configure VS Code Copilot Chat terminal auto-approval rules with regex targeting.

5|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/arisng/github-copilot-fc --skill vscode-terminal-autoapprove
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vscode-terminal-autoapprove
Source: https://github.com/arisng/github-copilot-fc/tree/main/skills/vscode-terminal-autoapprove
Command: npx skills add https://github.com/arisng/github-copilot-fc --skill vscode-terminal-autoapprove

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill reduces friction by automatically approving terminal commands in VS Code Copilot Chat, eliminating repetitive confirmations for trusted operations.

Core Features & Use Cases

  • Global auto-approve: Enable automatic approval for common commands (e.g., python) to speed up workflows.
  • Selective rules with regex: Use regex patterns to restrict auto-approval to specific scripts or paths.
  • Safe fallback and review: Maintain control by defaulting to manual approval when rules don't match.

Quick Start

Use this skill to enable auto-approval for Python commands in the integrated terminal. Steps:

  1. Open settings.json in VS Code and add:
  2. "chat.tools.terminal.enableAutoApprove": true
  3. "chat.tools.terminal.autoApprove": { "python": true } To restrict auto-approval to specific scripts, use a regex rule like: "chat.tools.terminal.autoApprove": { "/^python\s+skills\//": true }

Frequently Asked Questions about vscode-terminal-autoapprove

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-approve terminal commands in VS Code Copilot Chat?

To auto-approve terminal commands in VS Code Copilot Chat, enable the "chat.tools.terminal.enableAutoApprove" setting and define specific autoApprove rules in your settings.json to bypass manual confirmations for trusted operations.

Can I restrict auto-approval to specific scripts using regex in VS Code?

Yes, you can restrict auto-approval to specific scripts by using regex patterns in your "chat.tools.terminal.autoApprove" settings, such as "/^python\s+skills\//": true, to target only trusted paths.

What happens to terminal commands that do not match auto-approve rules?

When terminal commands do not match your defined auto-approve rules, VS Code defaults to a safe fallback requiring manual approval, ensuring you maintain control over unmatched operations during Copilot-assisted workflows.

How do I configure settings.json to skip confirmations for trusted Python commands?

To skip confirmations for trusted Python commands, open your VS Code settings.json, set "chat.tools.terminal.enableAutoApprove" to true, and add "python": true inside the "chat.tools.terminal.autoApprove" object.

Does enabling terminal auto-approve in VS Code bypass all command confirmations?

No, enabling terminal auto-approve does not bypass all confirmations; it applies selectively to trusted commands matching your rules, while defaulting to manual review for unmatched terminal commands.

Why do I need to auto-approve trusted commands in the integrated terminal?

You need to auto-approve trusted commands to reduce friction and eliminate repetitive manual confirmations during Copilot-assisted workflows, significantly speeding up your development process in the integrated terminal.