Claw Janitor

# SKILL: claw-janitor

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Claw Janitor" with this command: npx skills add prince-cool/claw-janitor

SKILL: claw-janitor

Description

A safe, zero-dependency, platform-aware system cleanup skill for OpenClaw. Use when disk space is low or cleanup is requested.

Rules & Constraints

  • Prefer --dry-run first when user confidence is low.
  • Never force sudo/root; only do elevated/system cleanup when user explicitly wants it.
  • Respect built-in safety boundaries (blacklists, symlink/mount protections, AI-cache no-auto-delete).

Command

node /root/.openclaw/workspace/skills/claw-janitor/janitor.js [flags]

Flags

  • --dry-run: preview only
  • --deep: aggressive cleanup mode
  • --json: structured output
  • --no-color: disable ANSI color
  • --report-file <path>: write JSON summary to file
  • --only <group>: run only one group (ai-scan|packages|docker|system)
  • --skip <group>: skip one group (ai-scan|packages|docker|system)
  • -h, --help: show usage

Examples

  • “Clean up my disk”
    • node /root/.openclaw/workspace/skills/claw-janitor/janitor.js
  • “Show me first”
    • node /root/.openclaw/workspace/skills/claw-janitor/janitor.js --dry-run
  • “Only clean package caches”
    • node /root/.openclaw/workspace/skills/claw-janitor/janitor.js --dry-run --only packages
  • “Generate audit report”
    • node /root/.openclaw/workspace/skills/claw-janitor/janitor.js --dry-run --json --report-file /tmp/janitor-report.json

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Disk Usage Watcher

Monitors disk space and inode usage on specified paths, alerting when set thresholds are exceeded to prevent disk-full issues.

Registry SourceRecently Updated
5640Profile unavailable
Security

Advanced OpenClaw System Health Check & Repair

Perform comprehensive security audits, system updates, network and service status checks, and configure scheduled health monitoring for OpenClaw deployments.

Registry SourceRecently Updated
4871Profile unavailable
Automation

Mac Cleaner

Replace CleanMyMac, DaisyDisk, and similar paid Mac cleanup apps — for free. Mac Cleaner is an automated weekly macOS disk cleanup agent that runs silently i...

Registry SourceRecently Updated
3180Profile unavailable
General

Openclaw Ai Doctor

OpenClaw AI 智能体专科医生,专治各类智能体故障。包括启动报错、任务卡死、工具失效、显存溢出、记忆丢失、逻辑崩坏等。提供标准化诊疗流程:问诊→体检→确诊→治疗→复诊。

Registry SourceRecently Updated
1000Profile unavailable