Agent skill
vscode-terminal-autoapprove
Guidance on configuring VS Code's terminal auto-approve settings for commands with dynamic arguments.
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:
"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.,
pythonvspython3). - 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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
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.
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.
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.
openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
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.
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.
Didn't find tool you were looking for?