10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
Server Maintenance Skill
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install 2233admin/server-maintenanceInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
自动化服务器维护工具。检查磁盘使用率、清理缓存、优化系统资源。支持多服务器批量操作。
bash ~/.openclaw/skills/server-maintenance/check.sh
bash ~/.openclaw/skills/server-maintenance/maintain-all.sh
在 OpenClaw 中设置 cron:
{
"schedule": "0 2 * * 0",
"task": "server-maintenance"
}
服务器列表在 servers.json:
{
"servers": [
{
"name": "硅谷",
"host": "localhost",
"type": "local"
},
{
"name": "中央",
"host": "43.163.225.27",
"type": "ssh"
},
{
"name": "东京",
"host": "43.167.192.145",
"type": "ssh"
}
]
}
=== 服务器维护报告 ===
时间:2026-03-03 10:08
| 服务器 | 清理前 | 清理后 | 释放空间 |
|--------|--------|--------|----------|
| 硅谷 | 79% | 69% | 4.7GB |
| 中央 | 88% | 78% | 5.0GB |
| 东京 | 71% | 63% | 4.0GB |
总计释放:13.7GB
v1.0.0 - 2026-03-03
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
自动化服务器维护工具,支持磁盘检查、缓存清理、资源优化。
bash ~/.openclaw/skills/server-maintenance/check.sh localhost 硅谷
bash ~/.openclaw/skills/server-maintenance/check.sh 43.163.225.27 中央
bash ~/.openclaw/skills/server-maintenance/cleanup.sh localhost 硅谷
bash ~/.openclaw/skills/server-maintenance/cleanup.sh 43.163.225.27 中央
bash ~/.openclaw/skills/server-maintenance/maintain-all.sh
2026-03-03 首次使用,清理三台服务器:
| 服务器 | 清理前 | 清理后 | 释放空间 |
|---|---|---|---|
| 硅谷 | 79% | 69% | 4.7GB |
| 中央 | 88% | 78% | 5.0GB |
| 东京 | 71% | 63% | 4.0GB |
总计释放:13.7GB
这个 Skill 是从实际维护经验中蒸馏出来的:
编辑 servers.json 添加更多服务器:
{
"name": "新服务器",
"host": "1.2.3.4",
"type": "ssh",
"description": "描述"
}
在 OpenClaw 中设置每周自动维护:
openclaw cron add "0 2 * * 0" "bash ~/.openclaw/skills/server-maintenance/maintain-all.sh"
# Server Maintenance Skill
## 描述
自动化服务器维护工具。检查磁盘使用率、清理缓存、优化系统资源。支持多服务器批量操作。
## 触发词
- 服务器维护
- 清理磁盘
- 检查磁盘
- server maintenance
- disk cleanup
## 功能
### 1. 磁盘检查
- 检查磁盘使用率
- 识别大文件和目录
- 分析缓存占用
### 2. 自动清理
- npm 缓存清理
- Playwright 旧版本清理
- 临时文件清理
### 3. 系统优化
- Swap 使用检查
- 内存占用分析
- 进程资源监控
### 4. 多服务器支持
- 支持本地和远程服务器
- SSH 批量操作
- 统一报告输出
## 使用方法
### 单服务器检查
```bash
bash ~/.openclaw/skills/server-maintenance/check.sh
```
### 多服务器批量维护
```bash
bash ~/.openclaw/skills/server-maintenance/maintain-all.sh
```
### 定时任务
在 OpenClaw 中设置 cron:
```json
{
"schedule": "0 2 * * 0",
"task": "server-maintenance"
}
```
## 配置
服务器列表在 `servers.json`:
```json
{
"servers": [
{
"name": "硅谷",
"host": "localhost",
"type": "local"
},
{
"name": "中央",
"host": "43.163.225.27",
"type": "ssh"
},
{
"name": "东京",
"host": "43.167.192.145",
"type": "ssh"
}
]
}
```
## 输出示例
```
=== 服务器维护报告 ===
时间:2026-03-03 10:08
| 服务器 | 清理前 | 清理后 | 释放空间 |
|--------|--------|--------|----------|
| 硅谷 | 79% | 69% | 4.7GB |
| 中央 | 88% | 78% | 5.0GB |
| 东京 | 71% | 63% | 4.0GB |
总计释放:13.7GB
```
## 安全措施
- 只清理已知安全的缓存目录
- 不删除用户数据
- 操作前自动备份关键配置
- 支持 dry-run 模式
## 依赖
- bash
- ssh(远程服务器)
- du, df(磁盘工具)
- npm(缓存清理)
## 版本
v1.0.0 - 2026-03-03# Server Maintenance Skill
自动化服务器维护工具,支持磁盘检查、缓存清理、资源优化。
## 快速开始
### 检查单个服务器
```bash
bash ~/.openclaw/skills/server-maintenance/check.sh localhost 硅谷
bash ~/.openclaw/skills/server-maintenance/check.sh 43.163.225.27 中央
```
### 清理单个服务器
```bash
bash ~/.openclaw/skills/server-maintenance/cleanup.sh localhost 硅谷
bash ~/.openclaw/skills/server-maintenance/cleanup.sh 43.163.225.27 中央
```
### 批量维护所有服务器
```bash
bash ~/.openclaw/skills/server-maintenance/maintain-all.sh
```
## 实战案例
2026-03-03 首次使用,清理三台服务器:
| 服务器 | 清理前 | 清理后 | 释放空间 |
|--------|--------|--------|----------|
| 硅谷 | 79% | 69% | 4.7GB |
| 中央 | 88% | 78% | 5.0GB |
| 东京 | 71% | 63% | 4.0GB |
**总计释放:13.7GB**
## 记忆蒸馏
这个 Skill 是从实际维护经验中蒸馏出来的:
1. **原始上下文**:17K tokens(完整对话历史)
2. **蒸馏后**:~2K tokens(核心步骤 + 脚本)
3. **Token 节省**:88%
### 蒸馏过程
1. 提取关键步骤(检查 → 清理 → 验证)
2. 固化为可执行脚本
3. 添加配置文件支持多服务器
4. 文档化使用方法
### 效果
- 未来维护不需要重新思考流程
- 直接调用脚本,节省 token
- 可复用、可扩展、可定时
## 配置
编辑 `servers.json` 添加更多服务器:
```json
{
"name": "新服务器",
"host": "1.2.3.4",
"type": "ssh",
"description": "描述"
}
```
## 定时任务
在 OpenClaw 中设置每周自动维护:
```bash
openclaw cron add "0 2 * * 0" "bash ~/.openclaw/skills/server-maintenance/maintain-all.sh"
```
## 版本历史
- v1.0.0 (2026-03-03): 初始版本,支持磁盘检查和缓存清理generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.