# 安装 scan-site

- 类型: Skill 技能
- 说明: Runs a security scan on a deployed Power Pages site, fetches the latest scan report, and produces a plain-language summary. Scans the live site's public surface for vulnerabilities and surfaces issues by severity. Use when the user wants to scan, check, test, audit, or assess a published site, find vulnerabilities on production, view the latest scan report, see previous scan results, run a security audit, or asks "how safe is my live site?", "is my site vulnerable?", "audit my production site" — even if they say "find issues" or "check for problems" without mentioning "scan" or "security".
- 仓库: https://github.com/microsoft/power-platform-skills

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

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

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

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

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

### Claude Code
```bash
mkdir -p '~/.claude/skills/scan-site' && curl -fsSL 'https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/power-pages/skills/scan-site/SKILL.md' -o '~/.claude/skills/scan-site/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/scan-site' && curl -fsSL 'https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/power-pages/skills/scan-site/SKILL.md' -o '~/.codex/skills/scan-site/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/scan-site' && curl -fsSL 'https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/power-pages/skills/scan-site/SKILL.md' -o '~/.cursor/skills/scan-site/SKILL.md'
```
