# 安装 poltergeist

- 类型: Skill 技能
- 说明: 自动监听文件变更并触发重建，适用于任意语言和构建流程。
- 仓库: https://github.com/openclaw/nix-openclaw-tools
- ⚠ 安全: 该技能材料显示其用途是本地文件监听并触发重建，未声明需要密钥或远程连接。整体未见明确高风险红旗，但其本地构建触发与文件监视能力意味着仍需按本地自动化工具谨慎使用。

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

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

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

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

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

### Claude Code
```bash
mkdir -p '~/.claude/skills/poltergeist' && curl -fsSL 'https://raw.githubusercontent.com/openclaw/nix-openclaw-tools/main/tools/poltergeist/skills/poltergeist/SKILL.md' -o '~/.claude/skills/poltergeist/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/poltergeist' && curl -fsSL 'https://raw.githubusercontent.com/openclaw/nix-openclaw-tools/main/tools/poltergeist/skills/poltergeist/SKILL.md' -o '~/.codex/skills/poltergeist/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/poltergeist' && curl -fsSL 'https://raw.githubusercontent.com/openclaw/nix-openclaw-tools/main/tools/poltergeist/skills/poltergeist/SKILL.md' -o '~/.cursor/skills/poltergeist/SKILL.md'
```
