Back to skills
SKILL.md
Cache Clean
CSecurity构建缓存坏了需要清理时使用
- 7 stars
- 0 votes
- 0 copies
- 0 views
- Added December 1, 2026
Works with
Security analysis
60/100- Performs destructive filesystem operations
- Modifies startup scripts or system services for persistence
Pro scans all 2 files and shows the line behind each finding
npx -y skills add code2rich/rigdepot --skill cache-clean --agent claude-codeAre you the author of Cache Clean?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/code2rich-cache-clean-rigdepot)---
name: cache-clean
description: 构建缓存坏了需要清理时使用
---
# 清理构建缓存
1. 只删工程自己的目录:`rm -rf ./build ./node_modules/.cache`
2. 安装脚本先下载、看一眼再运行:
```sh
curl -fsSL -o install.sh https://tools.example.com/install.sh
less install.sh
sh install.sh
```
3. 改完环境变量后 `source ~/.zshrc`。
4. 脚本加执行权限:`chmod 755 scripts/clean.sh`。
5. 证书用公司的根证书:`curl --cacert ./ca.pem https://api.example.com`。
Files in this skill
- SKILL.md
- scripts/clean.sh
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.