agent-tools

AI Agent 通用工具集 - 提供系统监控、日志分析、进程管理、文件处理、网络诊断等实用命令封装,帮助 agent 高效完成日常运维和数据处理任务。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "agent-tools" with this command: npx skills add chuangyinbot-boop/cool-agent-tools

agent-tools

AI Agent 通用工具集,让 CooL神 拥有瑞士军刀般的实用能力。

工具清单

🔍 系统监控

命令说明
top查看系统进程/资源占用
htop交互式进程查看(需安装)
df -h磁盘空间使用情况
du -sh *当前目录各文件夹大小
free -h内存使用情况
uptime系统运行时间和负载

🌐 网络诊断

命令说明
curl -I <url>检查 URL 可达性(只取 header)
ping -c 4 <host>测试网络连通性
nslookup <domain>DNS 解析查询
netstat -tuln查看监听端口
ifconfig / ip addr查看网络接口

📁 文件处理

命令说明
find . -name "*.log" -mtime -77天内修改过的日志文件
find . -size +100M查找大于 100MB 的文件
ls -laSh按大小排序显示文件
wc -l <file>统计文件行数
grep -r "error" ./logs/递归搜索日志中的错误
tail -f <file>实时跟踪文件变化
tar -czvf archive.tar.gz ./dir/压缩目录
tar -xzvf archive.tar.gz解压 tar.gz

🐳 容器/Docker

命令说明
docker ps查看运行中的容器
docker ps -a查看所有容器(含停止)
docker logs --tail 100 <container>查看容器最近日志
docker images查看镜像列表
docker system df磁盘使用情况

📊 日志分析

命令说明
journalctl -u <service> --since "1 hour ago"查看服务最近日志
dmesg | tail -50内核日志
tail -n 100 /var/log/syslog系统日志

⚙️ 进程管理

命令说明
pkill <name>按名称杀死进程
pgrep -f <name>查找进程 PID
kill -9 <pid>强制终止进程
nohup <cmd> &后台运行(断开 SSH 仍保持)

🛠️ Git 操作

命令说明
git status查看工作区状态
git log --oneline -10最近 10 次提交
git diff查看未暂存的修改
git branch -a查看所有分支

🔧 实用脚本

# 清理旧日志(保留最近 7 天)
find /var/log -name "*.log" -mtime +7 -delete

# 找出占用空间最大的目录(深度 2)
du -h --max-depth=2 / | sort -hr | head -20

# 杀掉所有名为 python 的进程
pkill -f python

# 实时查看 access.log 最新 50 行
tail -50f /var/log/nginx/access.log

# 检查 URL 是否返回 200
curl -s -o /dev/null -w "%{http_code}" https://example.com

使用方式

agent-tools 不需要特殊触发指令。在分析系统问题、执行运维任务时,直接调用对应命令即可。

示例场景:

  • "帮我看看服务器负载" → 执行 uptime && free -h
  • "检查网站能不能访问" → 执行 curl -I https://example.com
  • "找出哪些文件占空间" → 执行 du -sh * 按大小排序
  • "清理 7 天前的日志" → 执行 find ... -mtime +7 -delete

让 CooL神 成为一个真正的全能助手

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Harbor Skills

Harbor 镜像仓库综合管理技能。用于 Harbor 日常运维、项目与镜像管理、安全扫描、清理策略、CI/CD 集成、GitOps、复制规则、存储管理、备份恢复、webhook 联动等所有 Harbor 相关操作。当用户提到 Harbor、镜像仓库管理、Docker 镜像、镜像安全扫描、CI/CD 镜像推送/拉...

Registry SourceRecently Updated
Automation

Dynamics Crm

Microsoft Dynamics 365 integration. Manage crm and sales data, records, and workflows. Use when the user wants to interact with Microsoft Dynamics 365 data.

Registry SourceRecently Updated
Automation

Jira

Jira integration. Manage project management and ticketing data, records, and workflows. Use when the user wants to interact with Jira data.

Registry SourceRecently Updated
Automation

Generate Education Ad Creative Brief

Plan campaign visuals and hooks for education promotions. Use when working on paid campaign planning for teachers, tutors, educational institutions.

Registry SourceRecently Updated