# 安装 Defense-in-Depth Validation

- 类型: Skill 技能
- 说明: 帮助你在数据流经各层时建立分层校验，提前阻断缺陷与安全风险。
- 仓库: https://github.com/obra/clank
- ⚠ 安全: 该技能材料显示其为纯提示/方法论文档型内容，无需密钥、无远程端点，也未声明可执行或数据外发能力，整体风险较低。需注意其 GitHub 仓库无许可证声明、社区采用与维护状态偏弱，供应链可信度有限但未见明确红旗。

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

### Claude Code
```
请帮我安装 askskill 上的 "Defense-in-Depth Validation" 技能：
1. 下载 https://raw.githubusercontent.com/obra/clank/main/skills/debugging/defense-in-depth/SKILL.md
2. 保存为 ~/.claude/skills/defense-in-depth/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "Defense-in-Depth Validation" 技能：
1. 下载 https://raw.githubusercontent.com/obra/clank/main/skills/debugging/defense-in-depth/SKILL.md
2. 保存为 ~/.codex/skills/defense-in-depth/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "Defense-in-Depth Validation" 技能：
1. 下载 https://raw.githubusercontent.com/obra/clank/main/skills/debugging/defense-in-depth/SKILL.md
2. 保存为 ~/.cursor/skills/defense-in-depth/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

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

### Claude Code
```bash
mkdir -p '~/.claude/skills/defense-in-depth' && curl -fsSL 'https://raw.githubusercontent.com/obra/clank/main/skills/debugging/defense-in-depth/SKILL.md' -o '~/.claude/skills/defense-in-depth/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/defense-in-depth' && curl -fsSL 'https://raw.githubusercontent.com/obra/clank/main/skills/debugging/defense-in-depth/SKILL.md' -o '~/.codex/skills/defense-in-depth/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/defense-in-depth' && curl -fsSL 'https://raw.githubusercontent.com/obra/clank/main/skills/debugging/defense-in-depth/SKILL.md' -o '~/.cursor/skills/defense-in-depth/SKILL.md'
```
