Skip to content

Commit fc1ea4f

Browse files
authored
Merge pull request anomalyco#818 from 694344851/docs/zh-cn-prune-command
Docs/zh cn prune command
2 parents 6f16e75 + 1e3572b commit fc1ea4f

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

‎docs/zh-CN/commands/prune.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: prune
3+
description: 删除超过 30 天且从未被提升的待处理本能
4+
command: true
5+
---
6+
7+
# 清理待处理本能
8+
9+
删除那些由系统自动生成、但从未经过审查或提升的过期待处理本能。
10+
11+
## 实现
12+
13+
使用插件根目录路径运行本能 CLI:
14+
15+
```bash
16+
python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" prune
17+
```
18+
19+
或者如果 `CLAUDE_PLUGIN_ROOT` 未设置(手动安装):
20+
21+
```bash
22+
python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py prune
23+
```
24+
25+
## 用法
26+
27+
```
28+
/prune # 删除超过 30 天的本能
29+
/prune --max-age 60 # 自定义年龄阈值(天)
30+
/prune --dry-run # 仅预览,不实际删除
31+
```

0 commit comments

Comments
 (0)