Skillpedia
النشر والسحابة (DevOps)20k · #10473

Vitals

ما الذي تفعله

تقرأ هذه المهارة أرقام أداء جهاز Mac وتشرح ما يبطئه. وهي موجهة لمن يشعر أن جهازه بطيء أو ساخن أو صاخب، ويريد سبباً واضحاً لا قائمة طويلة من الأرقام.

متى تستخدمها

  • ✓عندما يبدو جهاز Mac بطيئاً وتريد معرفة ما يستهلك موارده.
  • ✓عندما تكون المراوح صاخبة أو يسخن الجهاز.
  • ✓عندما تريد فحصاً سريعاً لذاكرة Mac أو قرصه أو عناصر بدئه.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Vitals/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“جهاز Mac بطيء والمراوح صاخبة. ما الذي يأكل المعالج، وهل يجب أن أقلق؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تشغّل المهارة فحصاً للقراءة فقط يجمع الأرقام، ثم تقيّمها وفق مجموعة من قواعد التفسير. تسمّي السبب المرجح، وتقول بوضوح عندما تشير الأدلة إلى أن شيئاً غير معتاد غير موجود.

المحتوى التقني (ملف 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
آخر تحديث
28‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة