コンピュータの包括的な状態確認を読み取り専用で行い、スコア付きのチャットサマリーと優先順位付けされた分かりやすい改善案、安全なクリーンアップ提案を返します。 **次のような場合に使用:** - ユーザーがコンピュータの動作状況を確認したい - 速度を上げたい、ディスク容量を解放したい - CPU・メモリ・ストレージを圧迫している原因を調べたい - バッテリーの状態と劣化度を確認したい - ログイン・起動項目を監査したい - 保留中の更新プログラムを確認したい - 「チューンアップ」「点検」「システムレポート」「ヘルスチェック」などのキーワードで質問された 「ノートパソコンが遅い感じがする」「ファンがうるさいのはなぜ」「コンピュータが重い」「容量がなくなってきた」など、ラフな言い方での依頼にも対応します。 macOS、Windows、Linuxで動作します。 このスキルはデスクトップコマンダー(ローカル環境を操作するツール)に分類され、実際のシェルコマンド機能に依存しています。デフォルトでは読み取り専用で、管理者権限は不要です。クリーンアップ処理はユーザーが明示的に承認したもののみを実行します。
Run a comprehensive, read-only health check on the user's computer and return a scored chat summary with prioritized, plain-English recommendations and safe cleanup suggestions. Use this whenever the user wants to check their computer's health, speed it up, free up / reclaim disk space, find what's eating CPU / memory / storage, check battery health and wear, audit login & startup items, see pending updates, or asks for a "tune-up", "checkup", "system report", "health check", or "is my Mac/PC/laptop healthy". Trigger even on casual phrasing like "my laptop feels slow", "why is my fan so loud", "my computer is laggy", "running out of space", or "clean up my machine". Works on macOS, Windows, and Linux. This is a Desktop Commander skill: it relies on a real local shell (start_process / interact_with_process) and is strictly read-only by default — it never needs sudo and only performs cleanups the user explicitly approves.
ユーザーのコンピューターの状態を素早く正確に把握し、実行する価値のある対策を短いリストで提示します。優秀な技術者が行うように:まず観察し、分かりやすく説明し、修正は許可を得てから実行します。
Desktop Commander(デスクトップ管理ツール)のローカルシェルだけを使って動作し、読み取り専用の診断情報を集めて各項目をスコア化し、簡潔なサマリーをチャットに表示して、ユーザーが一つずつ承認できるクリーンアップ提案を提供します。
ユーザーがこのスキルを信頼できるようにする重要な部分なので、厳密に守ってください:
sudoや管理者権限を使わない。 Desktop Commanderは sudo、shutdown、reboot、dd、mount、mkfs、diskpart などを理由があってブロックしています。以下のすべてのチェックは、権限なしで動作するように設計されています。何かが権限を必要とするように見えたら、スキップして その旨を伝えてください。ブロックを回避しようとしないでください。何をする前に、プラットフォームを特定してください。コマンドが異なるためです。
get_config)、systemInfo.isMacOS / isWindows / isLinux のいずれかが真、または platformName を使ってプラットフォームを判別してください。uname を実行してください(macOS/Linux)— 失敗したら Windows と判定してください。その後、対応する参考ファイルを開いてそのコマンドセットを使用します:
references/macos.mdreferences/windows.mdreferences/linux.md一致したもののみを読んでください。各ファイルは、単一の一括収集スクリプト、解釈ガイド、クリーンアップコマンドを含んでいます。
参考ファイルの一括収集スクリプトを start_process で実行してください。すべてを1回の呼び出しにまとめることで、小さな呼び出しを何度もするより圧倒的に高速で、出力も整理できます。
ガイドライン:
head、Select-Object -First など)ので、長いプロセスリストやファイルリストが応答を埋め尽くしません。各カテゴリーを 🟢 良好 / 🟡 注意 / 🔴 対応 で評価し、その後、シンプルな総合スコアを計算してください。100 から始めて、🟡 ごとに8を、🔴 ごとに18を引いてください。0 が最小値です。数値と一語の判定を報告してください(90以上「優秀」、75~89「良好」、60~74「中程度」、60未満「要対応」)。
| 項目 | 🟢 良好 | 🟡 注意 | 🔴 対応 |
|---|---|---|---|
| ディスク空き容量 | >20% | 10~20% | <10% |
| ディスク健康状態(SMART) | 確認済み / OK / 合格 | — | 障害 / 未対応かつエラー有 |
| メモリ負荷 | 低スワップ、解放ページ健全 | 顕著なスワップ/圧縮 | 大量スワップ、ほぼゼロ解放 |
| バッテリー(ノートパソコン) | ≥80% 最大容量、正常 | 70~80% | <70% または「メンテナンス/交換必要」 |
| メンテナンス | 稼働時間 <7日、更新保留なし | 稼働時間 7~30日 または軽微な更新 | 稼働時間 >30日 または セキュリティ更新保留 |
| 起動負荷 | サードパーティ ログイン項目が少ない | 中程度 | 多くの重い サードパーティエージェント |
| 現在のプロセス | アイドル中に >50% のプロセスなし | 1つの持続的に重いプロセス | 複数 / 暴走プロセス |
バッテリーはノートパソコンのみです。デスクトップ/仮想マシンではスキップしてください。回収可能容量は情報値として報告され、スコアには含めません。
この正確な構造を使用してください。スキャン可能で簡潔に保ってください。これが成果物です。
🖥️ 健康診断 — <モデル>, <OS バージョン> スコア: <N>/100 (<判定>)
🟢/🟡/🔴 ストレージ — <容量> / <合計>(<パーセント>)空き。 回収可能: ~<X> GB
🟢/🟡/🔴 メモリ — <1行の状態>
🟢/🟡/🔴 バッテリー — <サイクル数>サイクル、最大<パーセント>%、<状態>
🟢/🟡/🔴 メンテナンス — <日数>日稼働中、<更新状態>
🟢/🟡/🔴 起動項目 — <数>個の ログイン項目(<目立つもの>)
🟢/🟡/🔴 現在の状態 — トップ: <プロセス> <CPU%>、<プロセス> <CPU%>
トップ推奨事項
1. <最高の効果のアクション>(<期待される効果、例:~13 GB 解放>)
2. <次点>
3. <次点>
推奨事項は最大 3~5 個、効果の大きい順にリストしてください。すべての発見を並べずに、要点に絞ってください。
推奨事項がコンクリートなコマンド(参考ファイルの「クリーンアップ」セクションを参照)に対応する場合、それを提案して正確なコマンドを表示してください。その後:
brew cleanup、npm cache clean)、再生される ユーザーキャッシュフォルダーをクリアする。(Linux では apt-get clean / dnf clean には root が必要です。実行を提案して、自動実行はしません。)ユーザーが安全なアクションを承認したら、それを実行して、何が変更されたかを報告してください(例:解放された容量)。ステップ 2 のストレージチェックを再実行すると、良い確認になります。
これらは高価値マッピングです。プラットフォームに合わせて文言を調整してください。
upgrade + キャッシュクリーンアップ。Give the user a fast, trustworthy picture of their computer's health and a short list of actions worth taking — the way a good technician would: look first, explain plainly, fix only with permission.
It runs entirely through Desktop Commander's local shell, gathers a batch of read-only diagnostics, scores each area, prints a concise summary in the chat, and then offers cleanup suggestions the user can approve one by one.
This is the part that makes users trust the skill, so honor it strictly:
sudo or elevation. DC blocks sudo, shutdown, reboot, dd, mount,
mkfs, diskpart, etc. for good reason. Every check below is designed to work without
them. If something seems to need elevation, skip it and say so — don't try to work around
the block.Determine the platform before doing anything else, because the commands differ.
get_config) and use the
systemInfo.isMacOS / isWindows / isLinux booleans (or platformName) to
pick the platform.uname (macOS/Linux) — if it fails, assume Windows.Then open the matching reference file and use its command set:
references/macos.mdreferences/windows.mdreferences/linux.mdRead only the one that matches. Each file contains a single batched collection script plus interpretation notes and cleanup commands.
Run the batched collection script from the reference file with start_process. Batching
everything into one call is much faster than many small calls and keeps the output tidy.
Guidance:
head, Select-Object -First, etc.) so a long process list or
file listing doesn't flood the response.Rate each category 🟢 Good / 🟡 Watch / 🔴 Act using the rubric below, then compute a simple overall score. Start at 100 and subtract 8 per 🟡 and 18 per 🔴; floor at 0. Report the number and a one-word verdict (90+ Excellent, 75–89 Good, 60–74 Fair, <60 Needs attention).
| Area | 🟢 Good | 🟡 Watch | 🔴 Act |
|---|---|---|---|
| Free disk space | >20% free | 10–20% | <10% |
| Disk health (SMART) | Verified / OK / PASSED | — | failing / not supported & errors present |
| Memory pressure | low swap, free pages healthy | noticeable swap/compression | heavy swapping, near-zero free |
| Battery (laptops) | ≥80% max capacity, Normal | 70–80% | <70% or "Service/Replace" |
| Maintenance | uptime <7d, no pending updates | uptime 7–30d or minor updates | uptime >30d or security updates pending |
| Startup load | few third-party login items | moderate | many heavy third-party agents |
| Live resource hogs | nothing >50% at idle | one sustained heavy process | multiple / runaway processes |
Battery is laptop-only — skip it on desktops/VMs. Reclaimable space is reported as an informational figure, not scored.
Use this exact structure. Keep it tight and scannable — this is the deliverable.
🖥️ Health Check — <Model>, <OS version> Score: <N>/100 (<verdict>)
🟢/🟡/🔴 Storage — <free> free of <total> (<%>). Reclaimable: ~<X> GB
🟢/🟡/🔴 Memory — <one-line state>
🟢/🟡/🔴 Battery — <cycles> cycles, <max capacity>%, <condition>
🟢/🟡/🔴 Maintenance — up <days>d, <updates state>
🟢/🟡/🔴 Startup — <count> login items (<notable ones>)
🟢/🟡/🔴 Right now — top: <proc> <cpu%>, <proc> <cpu%>
Top recommendations
1. <highest-impact action> (<expected benefit, e.g. frees ~13 GB>)
2. <next>
3. <next>
List at most the 3–5 highest-impact recommendations, ordered by benefit. Don't dump every finding — the goal is signal, not a wall of text.
For each recommendation that maps to a concrete command (see the reference file's "Cleanup" section), offer it and show the exact command. Then:
brew cleanup, npm cache clean), clearing a regenerating user cache folder. (On Linux,
apt-get clean / dnf clean need root — suggest, don't auto-run.)When the user approves a safe action, run it, then report what changed (e.g., space freed). Re-running Step 2's storage check afterward is a nice confirmation.
These are the high-value mappings; adapt the wording to the platform.
upgrade + cache cleanup.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。