パソコンの総合的なヘルスチェック(健康診断)を読み取り専用で実行し、スコア付きの結果サマリーと優先順位付けした分かりやすい改善提案、安全なクリーンアップ案を提供します。 **次のような場合に使用:** - パソコンの動作状況を確認したい - 速度を上げたい - ディスク容量を増やしたい - CPUやメモリ、ストレージを圧迫しているものを特定したい - バッテリーの健康状態と劣化を調べたい - ログイン時やスタートアップ時に読み込まれるプログラムを確認したい - 保留中のアップデートをチェックしたい - ユーザーが「チューンアップ」「検査」「システムレポート」「ヘルスチェック」「自分のMac/Windows/ノートパソコンは健康か」と尋ねた場合 「ノートパソコンが遅い感じがする」「ファンがうるさい」「パソコンが重い」「容量がなくなってきた」「マシンを掃除してほしい」といったカジュアルな表現にも応答します。 **対応OS:** macOS、Windows、Linux **特徴:** Desktop Commanderスキルのため、実際のローカルシェル(コマンド実行機能)に依存します。デフォルトでは読み取り専用で、管理者権限は不要です。ユーザーが明確に承認したクリーンアップ作業のみを実行します。
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 のローカルシェルを通じて動作し、読み取り専用の診断情報を集め、各項目を採点し、簡潔な総括をチャットに表示してから、ユーザーが1つずつ承認できるクリーンアップ提案を提供します。
ユーザーがこのスキルを信頼する根拠となる部分です。厳格に守ってください:
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自分の環境に合うファイルだけ参照してください。各ファイルには、1つの一括収集スクリプト、解釈に関する注記、クリーンアップコマンドが含まれています。
参照ファイルの一括収集スクリプトを start_process で実行します。複数の小さな呼び出しに分けるより、すべてを1回の呼び出しで行う方が圧倒的に高速で、出力も整理されます。
ガイダンス:
head、Select-Object -First など)。長いプロセスリストやファイルリストが応答を埋め尽くさないようにするためです。各カテゴリを 🟢 良好 / 🟡 注意 / 🔴 対応 で評価し、その後シンプルな全体スコアを算出します。100 から始めて、🟡 1つにつき 8 点、🔴 1つにつき 18 点を引き、最低 0 にします。スコアと1語の評価(90 以上は優秀、75〜89 は良好、60〜74 は並、60 未満は要対応)を報告してください。
| 項目 | 🟢 良好 | 🟡 注意 | 🔴 対応 |
|---|---|---|---|
| 空き容量 | 20% 以上 | 10〜20% | 10% 未満 |
| ディスク健康状態(SMART) | 確認済み / OK / 合格 | — | 不良 / 未対応のため詳細不明 |
| メモリ圧力 | スワップ低、空きメモリ健全 | 目立つスワップ/圧縮 | 大量スワップ、ほぼゼロ空き |
| バッテリー(ノート PC) | 80% 以上、正常 | 70〜80% | 70% 未満またはサービス/交換必要 |
| メンテナンス | 稼働 7 日未満、保留中更新なし | 稼働 7〜30 日またはマイナー更新あり | 稼働 30 日以上またはセキュリティ更新待機中 |
| 起動負荷 | サードパーティ起動項目が少ない | 中程度 | 多数の重いサードパーティエージェント |
| 現在のリソース使用 | アイドル時に 50% を超えるプロセスなし | 1つの持続的に重いプロセス | 複数 / 暴走プロセス |
バッテリーはノート PC のみ。デスクトップ/仮想マシンではスキップしてください。回収可能容量は情報として報告しますが、採点には含めません。
この形式を正確に使用してください。スキャンしやすく、簡潔に。これが最終的な成果物です。
🖥️ 健康診断 — <機種名>, <OS バージョン> スコア: <数値>/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 による自動翻訳です。