# 安装 github

- 类型: Skill 技能
- 说明: 帮助用户用 GitHub CLI 管理议题、PR、CI 日志、评论、发布与接口查询。
- 仓库: https://github.com/openclaw/openclaw

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

### Claude Code
```
请帮我安装 askskill 上的 "github" 技能：
1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/extensions/oc-path/src/oc-path/tests/fixtures/real/SKILL.md
2. 保存为 ~/.claude/skills/real/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "github" 技能：
1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/extensions/oc-path/src/oc-path/tests/fixtures/real/SKILL.md
2. 保存为 ~/.codex/skills/real/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "github" 技能：
1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/extensions/oc-path/src/oc-path/tests/fixtures/real/SKILL.md
2. 保存为 ~/.cursor/skills/real/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

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

### Claude Code
```bash
mkdir -p ~/.claude/skills/real && curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw/main/extensions/oc-path/src/oc-path/tests/fixtures/real/SKILL.md -o ~/.claude/skills/real/SKILL.md
```

### Codex
```bash
mkdir -p ~/.codex/skills/real && curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw/main/extensions/oc-path/src/oc-path/tests/fixtures/real/SKILL.md -o ~/.codex/skills/real/SKILL.md
```

### Cursor
```bash
mkdir -p ~/.cursor/skills/real && curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw/main/extensions/oc-path/src/oc-path/tests/fixtures/real/SKILL.md -o ~/.cursor/skills/real/SKILL.md
```
