一键导入
agent-tool-selection
Guide for selecting appropriate VS Code Copilot tools when configuring agents, including environment-specific considerations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for selecting appropriate VS Code Copilot tools when configuring agents, including environment-specific considerations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Minimum-requirements checklist for any change — code or docs-only. Run this before every PR creation or push to avoid CI failures on the first attempt.
Generate PNG screenshots for release notes using the repository's HtmlRenderer and ScreenshotGenerator tools. Use when asked to add screenshots to release notes or documentation.
Determine the next available issue number across all change types (feature, fix, workflow) by checking both local docs and remote branches, then reserve it by pushing an empty branch.
Convert the mermaid diagram in docs/agents.md to a blueprint-styled SVG for the website. Use when the workflow diagram in agents.md is updated and needs to be reflected on the website.
Run a focused accessibility pass for website changes (WCAG 2.1 AA-oriented).
Create and update interactive examples for the Eleventy website using page entrypoints and src/examples fragments.
| name | agent-tool-selection |
| description | Guide for selecting appropriate VS Code Copilot tools when configuring agents, including environment-specific considerations. |
Provides guidance for selecting the correct VS Code Copilot tools when creating or modifying agent definitions, with awareness of environment-specific tool availability.
tools: array in an agent's frontmatterYou are always provided with a list of all available tools, even though you will not need to use many of them. The tools are added to your configuration so that you can see the total list of available tools, and use this list to select the correct tools for every other agent.
For a complete reference of official tool IDs, consult the VS Code Copilot Chat Tools documentation.
Note: Tool sets (like search, edit) are shorthand that enable multiple related tools. For granular control, use the prefixed individual tools.
Critical: Never use snake_case names like read_file or run_in_terminal - VS Code silently ignores invalid tool names.
search - Code and file searchweb - Web search for external informationgithub/* - GitHub operations (repos, PRs, issues)memory/* - Memory storage (if configured)vscode - VS Code-specific operationsexecute / read - Terminal execution and output readingedit - Direct file editingtodo - VS Code TODO panel integrationcopilot-container-tools/* - Local Docker/container toolsio.github.chromedevtools/* - Local browser DevToolsedit → Describe changes in PR or use GitHub APIexecute → Rely on GitHub Actions workflowstodo → Track tasks in issue/PR descriptionsearch, edit), use the shorthand unless you need granular control❌ Using snake_case: read_file, run_in_terminal
✅ Correct naming: readFile, runInTerminal
❌ Assuming all tools work in cloud: execute, edit
✅ Cloud-aware: Use conditional logic or stick to universal tools
❌ Hardcoding tool lists in instructions ✅ Dynamic lookup: Reference your own available tools list when configuring other agents