用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/microsoft/vscode-team-kit --skill inbox-setup命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | inbox-setup |
| description | Set up the Inbox agent with recommended VS Code settings and gh CLI configuration |
| tools | ["execute","bash","vscode","agent","memory","askQuestions","ask_user"] |
Before running any setup steps, use #askQuestions to ask: "Some required settings are missing for the Inbox agent. Would you like me to configure them automatically?" with choices "Yes, set up now" and "Skip for now".
If the user skips, stop and let them proceed without setup.
Before touching VS Code settings, check whether the user already has inbox memory from a previous setup (e.g. Copilot CLI):
ls -la ~/.copilot/github-inbox-*.md 2>/dev/null to detect existing CLI memory/rules files.#memory view /memories/github-inbox-memory.md and /memories/github-inbox-rules.md to detect existing VS Code memory.~/.copilot/: github-inbox-memory.md (84 lines), github-inbox-rules.md (16 rules)."#memory files."#askQuestions to ask which the inbox agent should use:
~/.copilot/ files (recommended — keep your rules and history)"#memory (start fresh)"#memory and import from ~/.copilot/ (copy once, then use #memory)"## Backend section so future sessions don't re-prompt.If no existing memory is found anywhere, default to #memory silently and continue.
gh --version
If not installed, see the inbox-install-gh-cli skill.
~/Library/Application Support/Code/User/settings.json on macOS, ~/.config/Code/User/settings.json on Linux, %APPDATA%\Code\User\settings.json on Windows)read tooleditFile tool to insert ONLY the missing keys into the user's settings.json. This is safer than terminal writes for JSON files.CRITICAL: settings.json contains the user's entire VS Code configuration. You MUST NOT remove any existing content. Only ADD the specific missing keys. If chat.tools.terminal.autoApprove already exists with some rules, merge the new rules into the existing object — don't replace it.
Required settings to add if missing:
{
"chat.customAgentInSubagent.enabled": true,
"github.copilot.chat.githubMcpServer.enabled": true,
"chat.tools.terminal.enableAutoApprove": true,
"chat.tools.terminal.autoApprove": {
"/^gh api (?!.*--method (PATCH|PUT|POST|DELETE))/": true,
"/^gh search /": true,
"gh issue view": true,
"gh pr view": true,
"gh --version": true,
"gh config set": true
}
}
Tell the user what was added and why:
chat.customAgentInSubagent.enabled — Required. Enables sub-agent delegation (reviewer, triager, memory, investigator).github.copilot.chat.githubMcpServer.enabled — Enables richer features: PR reviews, comments, labels, assignees.chat.tools.terminal.enableAutoApprove + chat.tools.terminal.autoApprove — Auto-approves read-only gh commands.After updating settings, tell the user:
"✅ Settings updated! One last step — I need to enable auto-approve so read-only commands don't prompt you every time.
👉 When you see the 'Run command?' prompt below, click the Allow ▾ dropdown and select 'Enable Auto Approve'.
This is a one-time opt-in. After this, read-only gh commands will run automatically."
Then run:
gh api /notifications --jq 'length'
This command matches the auto-approve rules. Wait for the user to click "Enable Auto Approve" before proceeding.
Check if the GitHub MCP server is running. If github.copilot.chat.githubMcpServer.enabled was just added, tell the user:
"Make sure the GitHub MCP server is started and running. This gives you access to richer features like PR reviews, comments, and labels."
After setup is complete, save to memory that setup has been completed:
Use the inbox-memory skill to save setup status:
Write to memory: "# Inbox Memory\n\n## Setup State\n- Setup completed on <date>\n- All required VS Code settings are present and verified\n"
If the memory file already exists, use delete first, then create with the merged content.
Monitor a pull request until CI status or Copilot review is available. Use when: monitor PR, watch PR, land PR, wait for CI, wait for checks, wait for review, check PR status. Starts two async terminal tasks (CI + Copilot review) and reacts when either completes.
Create and manage banned AST patterns that prevent code constructs in edits. USE FOR: "ban a code pattern", "add a tree-sitter lint rule", "prevent specific syntax in edits", "validate a BANNED_AST.md rule". DO NOT USE FOR: "explain how existing code works", "answer general programming questions".
Full setup of the Component Explorer including CLI, MCP server, VS Code tasks and launch config. USE FOR: "complete component explorer setup with the CLI", "configure the component explorer MCP server", "add VS Code tasks for the component explorer", "add a launch config for the component explorer". DO NOT USE FOR: "minimal or plugin only component explorer setup", "write a fixture for a component".
基于 SOC 职业分类