一键导入
host-monitor
监控宿主机的 CPU、内存、磁盘使用情况。在资源紧张时主动告警。用于:(1) 检查系统资源状态 (2) 设置资源告警阈值 (3) 在 heartbeat 中定期监控。触发词:系统资源、CPU、内存、磁盘、硬盘、监控、告警。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
监控宿主机的 CPU、内存、磁盘使用情况。在资源紧张时主动告警。用于:(1) 检查系统资源状态 (2) 设置资源告警阈值 (3) 在 heartbeat 中定期监控。触发词:系统资源、CPU、内存、磁盘、硬盘、监控、告警。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
AI 图片生成。支持豆包 Seedream(火山方舟)和 Pollinations(免费备选)。文生图、图生图、组图生成。
给万物打品味分。基于 Rubrics+ 评分体系,从设计(Design)、原创性(Originality)、工艺(Craft)、功能性(Functionality) 四个维度为任何事物评分(1-4分)。支持动态权重调整。适用于:评价网站、App、产品设计、代码架构、穿搭、家居、食物摆盘、海报、PPT、任何你想打分的东西。触发词:品味打分、taste score、打个分、评分、品味评价、rubrics。
Game design coach — guide users from a one-line idea to a high-quality OpenGame prompt step by step. Trigger when user says "design a game", "game idea", "help me think of a game", "game design", "refine prompt", etc.
AI Development Lifecycle — standardized, version-driven workflow for AI agents developing on codebases. Two modes: (1) Assisted: human drives each phase decision. (2) Autonomous: agent self-directs (declare in task context). On first use, agent analyzes project and generates OPERATIONS.md at root. Each task follows 7 phases: orientation (mandatory summary), design, scratch validation, implementation, testing, documentation, commit. Progress tracked in version log. Use when starting any coding task, refactoring, or bugfix on a codebase.
Analyze and restructure bloated SKILL.md files into a lean three-layer architecture (必读/按需/示例). Use when (1) a SKILL.md exceeds 150 lines or feels cluttered, (2) designing a new skill and wanting the right structure from the start, (3) auditing all skills for context efficiency. Triggers on:skill 瘦身、skill 太长、精简 skill、slim skill、optimize skill structure.
Interact with Jike (即刻) social network — QR login, feed reading, posting, commenting, searching, and user profile lookup. Use when Claude needs to: (1) Log into Jike via QR code scan, (2) Read following/discovery feeds, (3) Create, read, or delete posts, (4) Add or remove comments, (5) Search content or users, (6) Check notifications. Triggers on: "jike", "即刻", "刷即刻", "发即刻", "jike feed", "jike post".
| name | host-monitor |
| description | 监控宿主机的 CPU、内存、磁盘使用情况。在资源紧张时主动告警。用于:(1) 检查系统资源状态 (2) 设置资源告警阈值 (3) 在 heartbeat 中定期监控。触发词:系统资源、CPU、内存、磁盘、硬盘、监控、告警。 |
监控宿主机资源使用情况,资源紧张时主动通知。
scripts/check_resources.sh
输出示例:
=== Host Resources ===
CPU: 15% used (8 cores)
Memory: 62% used (4.9G / 7.9G)
Disk: 17% used (4.6G / 29G)
Status: ✅ All OK
| 资源 | 警告 | 危险 |
|---|---|---|
| CPU | 80% | 95% |
| 内存 | 85% | 95% |
| 磁盘 | 80% | 90% |
在 HEARTBEAT.md 中添加:
## 系统资源监控(每小时)
运行 `skills/host-monitor/scripts/check_resources.sh`
如果输出包含 ⚠️ 或 🔴,立即通知鲁伊科斯塔
如果脚本不可用,可直接运行:
# CPU 使用率
top -bn1 | grep "Cpu(s)" | awk '{print 100 - $8"%"}'
# 内存使用
free -h | awk '/Mem:/ {printf "%.0f%% (%s / %s)\n", $3/$2*100, $3, $2}'
# 磁盘使用
df -h / | awk 'NR==2 {print $5 " (" $3 " / " $2 ")"}'
⚠️ 资源告警
[资源类型]: [当前值] (阈值: [阈值])
建议: [具体建议]
示例:
⚠️ 资源告警
磁盘: 85% used (阈值: 80%)
建议: 清理日志或临时文件,或考虑扩容