# 安装 oss-review

- 类型: Skill 技能
- 说明: Open source license compliance check for a dependency list, a single library, or outbound code. Use when reviewing a manifest, SBOM, or repo for copyleft obligations and license compatibility, when asked whether a library can ship, or when preparing code to be open-sourced.

- 仓库: https://github.com/anthropics/claude-for-legal

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

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

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

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

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

### Claude Code
```bash
mkdir -p '~/.claude/skills/oss-review' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/claude-for-legal/main/ip-legal/skills/oss-review/SKILL.md' -o '~/.claude/skills/oss-review/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/oss-review' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/claude-for-legal/main/ip-legal/skills/oss-review/SKILL.md' -o '~/.codex/skills/oss-review/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/oss-review' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/claude-for-legal/main/ip-legal/skills/oss-review/SKILL.md' -o '~/.cursor/skills/oss-review/SKILL.md'
```
