Agent Skills › echoVic/cleanzo › cleanzo

cleanzo

GitHub

Cleanzo Agent Skill 提供 macOS/Windows 磁盘压力检查、开发者缓存及 AI 工具垃圾清理功能。通过 CLI 或 MCP Server 集成,支持安全扫描与受控清理,保障系统资源释放。

skills/cleanzo/SKILL.md echoVic/cleanzo

触发场景

磁盘空间不足或压力大 需要清理 AI 编码工具缓存 查找并终止孤立进程

安装

npx skills add echoVic/cleanzo --skill cleanzo -g -y
更多选项

不安装直接使用

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.

版本历史

  • b822b3d 当前 2026-12-02 02:00

同 Skill 集合

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

元信息

文件数
0
版本
340e2b0
Hash
f61f509a
收录时间
2026-12-02 02:00

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