Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

disk-cleaner

БесплатноЗапускает вложенные скриптыНе проверен

Cross-platform disk space management toolkit with intelligent optimization. REQUIREMENTS: Python 3.7+. UNIVERSAL COMPATIBILITY: Works with ALL AI IDEs…

open-agent-powerот open-agent-power★ 51 звезда на GitHub47 установок в других каталогах

Об этом скилле

Disk Cleaner Skill - Complete Feature Guide for All Agents

🚨 IMPORTANT: Emoji Usage Policy

For Script Output (Cross-Platform Safety)

  • NEVER use emoji in script output - All scripts use ASCII-safe characters
  • Scripts use: [OK], [X], [!], [*], [i], [DIR], [FILE], [PKG], [x]
  • This ensures compatibility with Windows GBK and other non-UTF-8 consoles
  • DO NOT modify script output to add emoji - This will break cross-platform compatibility

For Agent-to-Human Communication (Recommended)

  • SHOULD use emoji when reporting results to humans - Makes output more readable
  • Use these emoji in your final reports to users:
    • ✅ (Success) - Completed operations, successful scans
    • ❌ (Error) - Failed operations, critical errors
    • ⚠️ (Warning) - Warnings, issues that need attention
    • 🔍 (Scanning) - Search/scan operations
    • 📊 (Statistics) - Analysis results, statistics
    • 📁 (Directory) - Directory-related information
    • 📦 (Package) - Package/module information
    • 🎉 (Success) - Celebratory messages for successful completion
    • 🚨 (Critical) - Critical warnings
    • 💡 (Tip) - Suggestions, recommendations
    • 📋 (List) - Checklists, summaries
    • 🔧 (Tool) - Tools, utilities
    • 🌐 (Global) - Cross-platform, universal features
    • 🛡️ (Safety) - Safety-related information
    • ⚡ (Performance) - Performance improvements
    • 📝 (Document) - Documentation
    • 🎓 (Learning) - Educational content
    • 📞 (Support) - Help, support information
    • 📈 (Growth) - Improvements, gains
    • 🎯 (Target) - Goals, objectives
    • 🚀 (Launch) - Quick start, fast operations
    • 🛠️ (Tools) - Tool-related features

Example:

Script output (ASCII):    [OK] Scan completed: 50,000 files in 30 seconds
Your report to human:     ✅ Scan completed successfully! Found 50,000 files in 30 seconds

📦 COMPLETE FEATURE LIST (READ THIS FIRST!)

🚨 CRITICAL: Progressive Scanning (MANDATORY for Large Disks)

  • ✅ Quick Sample Mode: 1-second estimation of disk size and scan time
  • ✅ Progressive Scan Mode: Get partial results in 30 seconds for large disks
  • ✅ Smart Time Limits: Prevent users from waiting hours
  • ✅ Real-time Feedback: Progress updates every 2 seconds
  • ✅ Interruptible: Ctrl+C to get partial results

🔧 Intelligent Bootstrap (Auto-Detection & Import)

  • ✅ Auto Location Detection: Searches 20+ common skill package locations
  • ✅ Environment Variable Support: DISK_CLEANER_SKILL_PATH override
  • ✅ Auto Module Import: Automatically imports diskcleaner modules
  • ✅ Fallback Mechanisms: Works even if some features unavailable
  • ✅ Cross-Platform Python Detection: Tries both 'python' and 'python3'

🌐 Universal Compatibility

  • ✅ All AI IDEs: Cursor, Windsurf, Continue, Aider, Claude Code, etc.
  • ✅ All Platforms: Windows, macOS, Linux (including Windows GBK console)
  • ✅ All Installation Levels: Global, project, user level
  • ✅ No Configuration Needed: Works out of the box
  • ✅ Cross-Platform Encoding: All scripts use ASCII-safe output (v2.0+)

🛡️ Safety & Reliability

  • ✅ Diagnostic Tool: check_skill.py - verifies all functionality
  • ✅ Safe Encoding: All scripts use ASCII characters (no emoji in output)
  • ✅ Safe Defaults: --dry-run for cleaning, smart limits for scanning
  • ✅ Protected Paths: Never deletes system directories or executables
  • ✅ Error Handling: Graceful degradation on errors
  • ✅ GBK/UTF-8 Compatible: Works on Windows GBK, UTF-8, and all other encodings

⚡ Performance Optimizations (ALL INCLUDED)

  • ✅ QuickProfiler: Fast sampling to estimate scan characteristics
  • ✅ ConcurrentScanner: Multi-threaded I/O for 3-5x speedup
  • ✅ os.scandir() Optimization: 3-5x faster than Path.glob
  • ✅ IncrementalCache: Cache scan results for faster repeat scans
  • ✅ Memory Monitoring: Auto-adapts based to available memory
  • ✅ Early Stopping: Configurable file/time limits
  • ✅ Enhanced Cache Detection: 26+ cache paths (was 8) - 225% improvement

🆕 v2.2+ New Features

  • ✅ Duplicate File Detection: Find and remove duplicate files with adaptive strategies
  • ✅ Growth Trend Analysis: Track disk usage over time, predict when disk will be full
  • ✅ Interactive Wizard: Step-by-step guided cleanup with safety confirmations
  • ✅ File Organization: Intelligent file archival and organization (4 strategies)
  • ✅ Enhanced Scan Limits: 500K files (was 50K), 120s timeout (was 30s)
  • ✅ Deep Scan Mode: --deep-scan for unlimited scanning
  • ✅ Windows Directory Support: --include-windows for system directory scanning

📊 Available Scripts (13+ Total)

Core Analysis:

  1. analyze_disk.py - Disk analysis with smart sampling (enhanced v2.2)
  2. analyze_progressive.py - Progressive scanning for large disks
  3. find_duplicates.py - Duplicate file detection (NEW v2.2)
  4. analyze_growth.py - Growth tr
Полный SKILL.md на GitHub

Установить disk-cleaner в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AGENT_QUICK_REF.txtINSTALL.mdNO_PYTHON_GUIDE.mdREADME.mdUNIVERSAL_INSTALL.mddisk-cleaner.skilldiskcleaner/__init__.pydiskcleaner/config/__init__.pydiskcleaner/config/defaults.pydiskcleaner/config/loader.pydiskcleaner/core/__init__.pydiskcleaner/core/cache.pydiskcleaner/core/classifier.pydiskcleaner/core/duplicate_finder.pydiskcleaner/core/growth_analyzer.pydiskcleaner/core/interactive.pydiskcleaner/core/organizer.pydiskcleaner/core/process_manager.pydiskcleaner/core/progress.pydiskcleaner/core/rules/__init__.pydiskcleaner/core/rules/archive_rules.pydiskcleaner/core/safety.pydiskcleaner/core/scanner.pydiskcleaner/core/smart_cleanup.pydiskcleaner/optimization/__init__.pydiskcleaner/optimization/concurrency.pydiskcleaner/optimization/delete.pydiskcleaner/optimization/hash.pydiskcleaner/optimization/memory.pydiskcleaner/optimization/profiler.pydiskcleaner/optimization/scan.pydiskcleaner/platforms/__init__.pydiskcleaner/platforms/linux.pydiskcleaner/platforms/macos.pydiskcleaner/platforms/windows.pydocs/WIZARD_USAGE.mdreferences/temp_locations.mdscripts/analyze_disk.pyscripts/analyze_growth.pyscripts/analyze_progressive.py

FAQ

Что делает скилл disk-cleaner?

Cross-platform disk space management toolkit with intelligent optimization. REQUIREMENTS: Python 3.7+. UNIVERSAL COMPATIBILITY: Works with ALL AI IDEs (Cursor, Windsurf, Continue, Aider, Claude Code, etc.). PLATFORM-INDEPENDENT: Works at any location - global, project, or user level. SELF-CONTAINED: No pip install needed, includes intelligent bootstrap. KEY FEATURES: (1) PROGRESSIVE SCANNING: Quick sample (1s) + Progressive mode for large disks, (2) INTELLIGENT BOOTSTRAP: Auto-detection of skill location and auto-import of modules, (3) CROSS-PLATFORM ENCODING: Safe emoji/Unicode handling on all platforms, (4) DIAGNOSTIC TOOLS: check_skill.py for quick verification, (5) OPTIMIZED SCANNING: 3-5x faster with os.scandir(), concurrent scanning, intelligent sampling. AGENT WORKFLOW: (1) Check Python, (2) Find skill package (20+ locations auto-detected), (3) Run diagnostics, (4) Use progressive scanning for large disks. The skill package includes all optimization modules - no features are lost!

Как установить скилл disk-cleaner?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл disk-cleaner запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить disk-cleaner с