Set up the Inbox agent with recommended VS Code settings and gh CLI configuration
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "inbox-setup" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/vscode-team-kit/main/github-inbox/skills/inbox-setup/SKILL.md 2. 保存为 ~/.claude/skills/inbox-setup/SKILL.md 3. 装好后重载技能,告诉我可以用了
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.
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.
分析 Azure DevOps 中 VS Code 滚动构建健康状况并定位失败提交范围
帮助用户一键在浏览器中打开 GitHub 通知链接并快速查看详情。
帮助用户快速忽略或清理指定的 GitHub 通知,减少收件箱干扰。
帮助用户管理 GitHub 通知线程的订阅状态,减少无关提醒干扰。
针对技术、市场与竞品等主题开展多源深度调研并输出综合洞察。
帮助你在使用组件浏览器的项目中高效处理 UI 变更、截图与视觉测试。