基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/archibate/dotfiles-codex --skill system-monitor命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Inspect or debug web pages in a headless browser — fill forms, click buttons, take screenshots, test web apps, review frontend UI/UX aesthetics. Use for headless browser automation. This skill should be used when user says "test web app interactively", "use a headless browser", "browser automation", "headless web test", "review frontend layout", "screenshot of this page", "frontend UI polish".
Guide for writing ast-grep rules to perform structural code search and analysis. TRIGGER when a text-only grep would need 2+ alternations, regex capture groups, multi-line patterns, or filtering by syntactic role (call vs. import vs. definition). Also TRIGGER when renaming a symbol across call sites + definitions, finding all callers of a method on a specific type, matching code shapes, or writing codemods.
Peer-to-peer messaging between Claude Code sessions sharing a tmux server. Use when coordinating multiple simultaneous Claude sessions — e.g. "dm another claude", "list claude sessions", "peek peer claude", "spawn claude in tmux", "monitor remote claude", "orchestrate claude sessions".
| name | system-monitor |
| description | Check system health (CPU, memory, disk, network, top processes) and report alarms on high usage |
| allowed-tools | ["Bash(top:*)","Bash(free:*)","Bash(df:*)","Bash(ps:*)","Bash(cat /proc/net/dev:*)","Bash(ip:*)"] |
| when_to_use | Use when the user asks to check system status, system health, or resource usage. Trigger phrases: "check system", "system status", "syscheck", "check CPU", "check memory", "check disk", "is the system OK?", "system health". |
| disable-model-invocation | true |
Check current system health and report alarms when any resource exceeds safe thresholds.
Present a single summary table of CPU, memory, disk, and network status with OK / Watch / ALARM indicators. List top resource-consuming processes. Flag any metric that exceeds its threshold.
| Resource | Watch | ALARM |
|---|---|---|
| CPU | > 60% | > 80% |
| Memory | > 60% | > 80% |
| Disk | > 70% | > 85% |
Run the following commands and parse their output:
top -bn1 | head -5 — extract user%, system%, idle%, and load averagesfree -h — extract total, used, availabledf -h --total -x tmpfs -x devtmpfs -x efivarfs — extract total, used, available, use%cat /proc/net/dev — extract RX/TX bytes for non-loopback interfacesps aux --sort=-%cpu | head -6 for CPU hogs, ps aux --sort=-%mem | head -6 for memory hogsCompare each metric against the threshold table above. Assign status:
Present results as:
Success criteria: User sees a clear, scannable health report and any alarms are immediately obvious.