Agent Skills › echoVic/cleanzo › cleanzo

cleanzo

GitHub

Cleanzo用于自动化检测macOS/Windows磁盘压力及各类开发缓存、AI工具占用,并提供安全的清理功能。通过CLI或MCP服务器集成,帮助Agent释放系统资源。

skills/cleanzo/SKILL.md echoVic/cleanzo

Trigger Scenarios

需要检查磁盘空间使用情况 需要扫描并清理开发工具或AI模型的缓存垃圾

Install

npx skills add echoVic/cleanzo --skill cleanzo -g -y
More Options

Use without installing

npx skills use echoVic/cleanzo@cleanzo

指定 Agent (Claude Code)

npx skills add echoVic/cleanzo --skill cleanzo -a claude-code -g -y

安装 repo 全部 skill

npx skills add echoVic/cleanzo --all -g -y

预览 repo 内 skill

npx skills add echoVic/cleanzo --list

SKILL.md

Frontmatter
{
    "name": "cleanzo",
    "description": "Inspect macOS\/Windows disk pressure, developer caches, AI coding tool bloat (Claude Code, Codex, ZCode, OpenCode, Antigravity CLI, Trae), agent git worktrees, local LLM models, and running MCP\/orphaned processes via Cleanzo CLI or stdio MCP server, and safely reclaim SafeSpace caches after confirmation."
}

Cleanzo Agent Skill

Cleanzo provides controlled headless CLI commands and a built-in stdio MCP server (cleanzo mcp) designed for coding agents.

Integration Modes

1. Direct CLI (--json)

Use Cleanzo directly from the shell when inspecting the host or reclaiming safe cache space:

  • System, disk, memory, CPU & Keep-Awake status: cleanzo status --json
  • Full junk / dev / container / simulator scan: cleanzo scan --json
  • SafeSpace-only scan (strictly default-safe caches & logs): cleanzo scan --safe-only --json
  • AI coding tools & worktrees (+ optional local AI models): cleanzo ai scan --models --json cleanzo ai scan --tool claude --json
  • Open Claude Code sessions, orphaned processes, and running MCP servers: cleanzo ai running --json
  • Preview safe cleanup (always dry-run by default): cleanzo clean --safe --dry-run --json
  • Execute SafeSpace cleanup (ONLY after explicit user confirmation): cleanzo clean --safe --yes --json

2. MCP Server (cleanzo mcp)

Configure Cleanzo as a stdio MCP server in Claude Code, OpenCode, Codex, ZCode, or Antigravity CLI:

{
  "mcpServers": {
    "cleanzo": {
      "command": "cleanzo",
      "args": ["mcp"]
    }
  }
}

Exposed MCP tools:

Tool Purpose Safety
cleanzo_status Disk, memory pressure, CPU, Keep-Awake status Read-only
cleanzo_scan_junk System/dev/container/simulator junk scan (safe_only) Read-only
cleanzo_scan_ai_space AI tools, worktrees, and local models (tool, include_models) Read-only
cleanzo_ai_running Running sessions, orphaned child processes, [MCP] processes Read-only
cleanzo_clean_safe Clean Cleanzo SafeSpace caches/logs (dry_run defaults to true, ids) SafeSpace-only

Guardrails

  1. Always run cleanzo clean --safe --dry-run --json (or cleanzo_clean_safe with dry_run: true) before proposing deletion.
  2. Never pass --yes or dry_run: false without explicit user approval showing the rule IDs and bytes to be reclaimed.
  3. CLI and MCP cleanup intentionally exclude user downloads, desktop files, local AI models, git worktrees, and optional app data; direct the user to the Cleanzo GUI if those need manual review.

Version History

  • b822b3d Current 2026-12-02 02:00

Same Skill Collection

.agents/skills/mygo-maintenance/SKILL.md

Metadata

Files
0
Version
b822b3d
Hash
f61f509a
Indexed
2026-12-02 02:00

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-12-02 02:18
浙ICP备14020137号-1