Agent skill

vscode-terminal-autoapprove

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

Stars 2
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/arisng/github-copilot-fc/tree/main/skills/.archived/vscode-terminal-autoapprove

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:

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):

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

Regex Pattern Matching (Advanced)

To approve only specific scripts or paths:

json
"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.

Expand your agent's capabilities with these related and highly-rated skills.

arisng/github-copilot-fc

openspec-propose

Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.

2 0
Explore
arisng/github-copilot-fc

openspec-archive-change

Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.

2 0
Explore
arisng/github-copilot-fc

openspec-explore

Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.

2 0
Explore
arisng/github-copilot-fc

openspec-apply-change

Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.

2 0
Explore
arisng/github-copilot-fc

fleet

Multi-iteration parallel subagent orchestrator for Kimi Code CLI with streamlined observability, automated documentation, and atomic commits. Use when orchestrating complex work across multiple subagents, enabling parallel execution, or when explicitly requesting fleet mode with '/flow:fleet'. Integrates diataxis documentation and git-atomic-commit workflow.

2 0
Explore
arisng/github-copilot-fc

github-pages-deploy

Deploy a static HTML file or static site directory to GitHub Pages. Use when the user wants a durable GitHub-hosted URL for a static page, diagram, report, or generated site, and can provide GitHub authentication via GITHUB_TOKEN or GH_TOKEN.

2 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results