Agent Skills
› echoVic/cleanzo
› cleanzo
cleanzo
GitHubCleanzo用于自动化检测macOS/Windows磁盘压力及各类开发缓存、AI工具占用,并提供安全的清理功能。通过CLI或MCP服务器集成,帮助Agent释放系统资源。
Trigger Scenarios
需要检查磁盘空间使用情况
需要扫描并清理开发工具或AI模型的缓存垃圾
Install
npx skills add echoVic/cleanzo --skill cleanzo -g -y
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 --jsoncleanzo 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
- Always run
cleanzo clean --safe --dry-run --json(orcleanzo_clean_safewithdry_run: true) before proposing deletion. - Never pass
--yesordry_run: falsewithout explicit user approval showing the rule IDs and bytes to be reclaimed. - 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


