/karak-windows-ops:disk-saverfrom karak-windows-ops
Diagnoses Windows disk usage by checking whether each large item is actually used (running apps, VS Code extensions, nvm/Playwright references, superseded drivers, pagefile peak, stale workspaces) and produces a prioritized Japanese-language cleanup proposal with per-item approval.
Ships in karak-windows-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
tests/test_safety.py で検査)。catalog/windows.json)に載っていて、利用者がこの会話で項目名を挙げて承認したものだけ。承認は次回に持ち越さない。python <skill>/scripts/scan.py --out <tmp>/scan.json
python <skill>/scripts/probes.py --out <tmp>/probes.json
python <skill>/scripts/classify.py <tmp>/scan.json --probes <tmp>/probes.json --report <tmp>/report.md --plan <tmp>/plan.json
report.md の要点を日本語で示す。順番は「1. 提案」(優先度順)→「2. 判断が必要」→「3. 助言のみ」。
空き容量、回収見込み、保留の合計と、その理由を必ず書く。この段階では何も選ばない。apply/execute.py だけを使って実行する。自分で削除コマンドを組み立てない。
python <skill>/apply/execute.py --plan <tmp>/plan.json --hash <承認時に示した plan_hash> --ids <承認された id をカンマ区切り> --out <tmp>/result.json
plan_hash も示す。手順 1 をやり直したら、承認も取り直す。catalog/windows.json: 対象の一覧。分類は FREE / CHEAP / COSTLY / PROJECT / DECISION / ADVICE / PRESERVE。各項目に理由、再取得の手間、方法を持つscripts/scan.py: カタログに載った場所の容量を測る。クラウドのみのファイルは 0 として数え、ジャンクションはたどらないscripts/probes.py: 使用状況を調べる(nvm、Playwright、VS Code の拡張と作業データ、pnputil、ページファイル、ごみ箱)scripts/classify.py: 保護対象の判定、優先度(GB × 確度 ÷ 再取得の手間)の計算、日本語レポートの出力apply/execute.py: 承認された行だけを実行する唯一のスクリプト。保護対象と起動中のアプリを実行直前に確認し直し、コマンドは許可リストで検査するscripts/policy.py: 実行してよいコマンドの許可リストと、削除処理が紛れ込んでいないかの検査python -m pytest(スキルのフォルダーで実行)
NOTICE (opens in a new tab)apply/execute.py (opens in a new tab)catalog/windows.json (opens in a new tab)licenses/LICENSE-charlesladera-disk-cleanup (opens in a new tab)licenses/LICENSE-daymade-macos-cleaner (opens in a new tab)pytest.ini (opens in a new tab)scripts/classify.py (opens in a new tab)scripts/policy.py (opens in a new tab)scripts/probes.py (opens in a new tab)scripts/scan.py (opens in a new tab)tests/conftest.py (opens in a new tab)tests/fixtures/pnputil_enum_devices_display.txt (opens in a new tab)tests/fixtures/pnputil_enum_drivers_display.txt (opens in a new tab)tests/test_catalog.py (opens in a new tab)tests/test_classify.py (opens in a new tab)tests/test_execute.py (opens in a new tab)tests/test_probes.py (opens in a new tab)tests/test_report.py (opens in a new tab)tests/test_safety.py (opens in a new tab)tests/test_scan.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub karak/karak-claude-plugin --plugin karak-windows-ops