本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)20k · #10473

Vitals

できること

このスキルは、Mac の性能の数値を読み、何が動きを遅くしているかを説明します。コンピューターが遅い、熱い、うるさいと感じ、数字の長いリストではなく、わかりやすい原因がほしい人向けです。

使う場面

  • ✓Mac が遅く、何がリソースを使っているかを知りたいとき。
  • ✓ファンがうるさい、またはコンピューターが熱くなるとき。
  • ✓メモリ、ディスク、起動時の項目をすばやく確認したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Vitals/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Mac が遅く、ファンがうるさいです。何が CPU を使いすぎていますか?心配すべきでしょうか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、数値を集める読み取り専用のチェックを実行し、その数値を一連の解釈のルールに照らして判断します。考えられる原因を名指しし、証拠に異常がない場合は、そのことをはっきり伝えます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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
よくある質問

アプリを停止したり変更したりしますか?

いいえ。読み取り専用で、プロセスを終了させたり、設定を変えたり、システムの状態を書き込んだりは決してしません。

パスワードが必要ですか?

既定のチェックにはパスワードは不要です。管理者レベルの部分は、あなたの同意がある場合にのみ動きます。

通常の macOS の動作を問題としてフラグを立てますか?

いいえ。キャッシュでメモリが埋まることなど、通常の動作は正常として明示されます。

詳細

作者による元の説明

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

人気

GitHubのスター
20k
ランキング
#10473
ライセンス
MIT
更新日
2026/10/28

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル