Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)20k · #10473

Vitals

Skill này làm gì

Đọc các chỉ số hiệu năng của Mac và giải thích điều gì đang làm máy chậm. Dành cho người thấy máy tính chậm, nóng hoặc ồn và muốn có một nguyên nhân rõ ràng thay vì một danh sách dài các con số.

Khi nào nên dùng

  • ✓Khi Mac của bạn chạy chậm và bạn muốn biết điều gì đang dùng tài nguyên của nó.
  • ✓Khi quạt kêu to hoặc máy nóng.
  • ✓Khi bạn muốn kiểm tra nhanh bộ nhớ, ổ đĩa hoặc các mục khởi động của Mac.

Liên kết skill

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Vitals/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Vitals/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Mac của tôi chạy chậm và quạt kêu to. Cái gì đang ngốn CPU, và tôi có nên lo không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chạy một kiểm tra chỉ đọc để thu thập các con số, rồi đối chiếu chúng với một bộ quy tắc diễn giải. Nó nêu tên nguyên nhân có khả năng nhất, và nói rõ khi bằng chứng cho thấy không có gì bất thường.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Vitals

Read-only macOS performance inspection: a deterministic CLI gathers the numbers, Interpretation.md turns them into a diagnosis instead of a data dump.

The tool is read-only by contract: it never kills, renices, unloads, or writes system state. Remediation is recommended to the operator, never executed by the skill.

The CLI is bun ~/.claude/skills/Vitals/Tools/Vitals.ts <subcommand>, with subcommands check (fast snapshot, under 1s), hogs (live per-process CPU/energy, ~3s), gpu, memory, disk, thermal, startup and full (everything, ~4s), plus the flags --json and --top N. Each intent's Tool contract names the calls it uses.

Ideal State

  • Every report is a diagnosis judged against Interpretation.md, verdict or culprit first, never a raw dump of numbers.
  • When the operator names a symptom (a stuttering mouse cursor, loud fans, a lagging app), the report says which finding explains it, or says plainly that none of the collected evidence does.
  • Normal macOS behavior that looks alarming (cache-filled memory, kernel_task cooling, Spotlight indexing) is named as normal, so the operator never chases a ghost.
  • Nothing on the machine changes: every remediation is a specific command or setting offered for the operator's approval.
  • The default path needs no sudo; the sudo leg runs only with the operator's consent.

Intent Routing

Intent Trigger File
HealthCheck "how's my system", "check my mac", "system health" Intents/HealthCheck.md
FindCulprit "mac is slow", "what's eating CPU/GPU/memory", "fans loud" Intents/FindCulprit.md
DeepDiagnosis "full diagnosis", "deep check", chronic/recurring slowness Intents/DeepDiagnosis.md
File Read when
Interpretation.md any intent: thresholds, known-process table, diagnosis shape

Data & Config

User customizations at <configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Vitals/ (configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude) override the defaults when that directory exists.

Gotchas

Provenance for the first four: live probes during the 2026-08-13 build.

  • top's first sample is garbage: its CPU% is cumulative since boot. The tool runs -l 2 and parses the second sample, so keep that even though it costs ~3s.
  • ps -m does not reliably sort by memory on modern macOS. A live probe listed a larger process below a smaller one, so the tool sorts in code; keep it that way.
  • top -l truncates command names (~16 chars) regardless of COLUMNS in logging mode. Use the PID to identify the full process (ps -p <pid> -o comm=).
  • GPU via ioreg -c IOAccelerator works without sudo on Apple Silicon (Device Utilization % in PerformanceStatistics) but is not guaranteed on every GPU. The tool degrades to an explicit unavailable-message, never a silent blank.
  • pmset -g therm may not report CPU_Speed_Limit on desktops. thermalInfo() in Tools/Vitals.ts treats a missing key as not-throttled rather than erroring; no desktop reproduction is recorded.

Examples

Example 1: Something feels slow

User: "My Mac is dragging, what's going on?"
→ FindCulprit intent
→ A named culprit with two evidence classes and a recommended action awaiting approval

Example 2: Routine check

User: "How's my system doing?"
→ HealthCheck intent
→ A one-screen 🟢/🟡/🔴 verdict with per-subsystem lines, abnormalities flagged against thresholds

Example 3: Fans blasting

User: "Why are my fans so loud?"
→ FindCulprit intent
→ When `kernel_task` tops the list, the report names the thermal cause behind the cooling response, not the process
Câu hỏi thường gặp

Nó có dừng hoặc thay đổi ứng dụng nào không?

Không. Nó chỉ đọc, không bao giờ tắt tiến trình, đổi cài đặt hay ghi trạng thái hệ thống.

Nó có cần mật khẩu không?

Các kiểm tra mặc định không cần mật khẩu, còn phần quyền quản trị chỉ chạy khi bạn đồng ý.

Nó có coi hành vi bình thường của macOS là vấn đề không?

Không. Hành vi bình thường, như bộ nhớ đầy do bộ nhớ đệm, được gọi đúng tên là bình thường.

Chi tiết

Mô tả gốc của tác giả

macOS performance diagnostics via a read-only CLI: CPU/GPU/memory hogs, throttling, swap, disk. USE WHEN mac slow, system slow, what's slowing down my mac, computer is slow, what's eating CPU, CPU usage, GPU usage, what's using the GPU, memory pressure, RAM usage, swap, runaway process, fans loud, mac running hot, thermal throttling, system health, check my mac, how's my system running, top processes, energy hogs, activity monitor, startup items, launch agents load, system taxed. NOT FOR network/wifi, deployed-app health, or security scanning.

repo: danielmiessler/LifeOS

Độ phổ biến

Sao GitHub
20k
Vị trí xếp hạng
#10473
Giấy phép
MIT
Cập nhật
28/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự