# 安装 microsoft-foundry

- 类型: Skill 技能
- 说明: 帮助你端到端部署、评估、微调并持续优化 Microsoft Foundry 智能体与模型。
- 仓库: https://github.com/microsoft/GitHub-Copilot-for-Azure
- ⚠ 安全: 该技能材料显示其本体为提示词/工作流文档，系统检查项亦标记为 prompt-only、开源且来自微软 GitHub，整体风险较低。其描述会引导后续调用 Azure MCP foundry 工具处理部署与资源管理，但当前材料本身未声明自带密钥、远程端点或本地执行能力。

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "microsoft-foundry" 技能：
1. 下载 https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/microsoft-foundry/SKILL.md
2. 保存为 ~/.claude/skills/microsoft-foundry/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "microsoft-foundry" 技能：
1. 下载 https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/microsoft-foundry/SKILL.md
2. 保存为 ~/.codex/skills/microsoft-foundry/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "microsoft-foundry" 技能：
1. 下载 https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/microsoft-foundry/SKILL.md
2. 保存为 ~/.cursor/skills/microsoft-foundry/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
mkdir -p '~/.claude/skills/microsoft-foundry' && curl -fsSL 'https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/microsoft-foundry/SKILL.md' -o '~/.claude/skills/microsoft-foundry/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/microsoft-foundry' && curl -fsSL 'https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/microsoft-foundry/SKILL.md' -o '~/.codex/skills/microsoft-foundry/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/microsoft-foundry' && curl -fsSL 'https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/microsoft-foundry/SKILL.md' -o '~/.cursor/skills/microsoft-foundry/SKILL.md'
```
