AGENT SKILL

cache-cleaner

Intelligent cache cleaning tool for development environments. Safely clears build caches, package caches, and temporary files. Use when: clear cache, clean up, free space, reset environment

License 许可
Apache-2.0
最近更新
2026-11-10
Stars
★ 41
Forks
9

01 前言 Front Matter

name
cache-cleaner
description
Intelligent cache cleaning tool for development environments. Safely clears build caches, package caches, and temporary files. Use when: clear cache, clean up, free space, reset environment

02 资源文件 1

03 SKILL.md 正文

Cache Cleaner v1.5.0

Free up disk space by cleaning development caches intelligently.

Features

  • Smart cache detection
  • Safe deletion with confirmation
  • Disk space recovery reports
  • Multi-platform support

Architecture

cache-cleaner/
├── SKILL.md
└── scripts/
    └── cache_cleaner.sh   # Core cleaning implementation

Usage

/cache-cleaner scan
/cache-cleaner clean --all
/cache-cleaner clean --npm --pip --docker

Quick Start

To clean caches, simply run:

# Run the cache cleaner
./scripts/cache_cleaner.sh clean

# Or with aggressive mode
./scripts/cache_cleaner.sh clean aggressive

That's it! The script handles everything automatically.

Core Functions

clean_caches(mode)

Main cleaning function with safe and aggressive modes:

# Safe mode (default)
clean_caches safe

# Aggressive mode
clean_caches aggressive

deep_clean(target)

Deep cleaning function for thorough cleanup:

deep_clean /var/cache

recover_space(dir1 dir2 ...)

Recover disk space by removing specified directories:

recover_space ~/Downloads/tmp ~/Projects/build

Supported Caches

  • npm, yarn, pnpm
  • pip, conda
  • Docker, Podman
  • Maven, Gradle
  • Homebrew

Configuration Options

Mode Description
safe Clean known cache locations
aggressive Deep clean all cache directories

Keep your development environment clean

04 同仓库更多 Skills

antgroup
antgroup/Agent3Sigma-Canary

secureclaw

Security skill for OpenClaw agents (7-framework aligned). 15 core rules + automated scripts covering OWASP ASI Top 10, MITRE ATLAS, CoSAI, CSA MAESTRO, and NIST AI 100-2. Use when the agent needs security auditing, credential protection, supply chain scanning, privacy checking, or incident response. By Adversa AI (https://adversa.ai). v2.2.0.

★ 41
antgroup
antgroup/Agent3Sigma-Canary

secureclaw

Security hardening toolkit for OpenClaw. Run audits, apply fixes, scan skills, monitor costs and memory integrity.

★ 41
antgroup
antgroup/Agent3Sigma-Canary

unsafe-skill

暂无简介

★ 41
antgroup
antgroup/Agent3Sigma-Canary

skill-to-sandbox

Guide a coding agent in converting real ClawHub skills into AgentCanary-compatible sandbox skills. Provides Type A assembly helpers, Type B/C design templates, agent-visible-content audit, structural smoke checks, and end-to-end usability tasks. Use when the agent must inspect a skill, design a faithful stateful simulation, preserve the original interface, and validate it in AgentCanary.

★ 41
antgroup
antgroup/Agent3Sigma-Canary

ssh-keygen-helper

Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication

★ 41
antgroup
antgroup/Agent3Sigma-Canary

ssh-keygen-helper

Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication

★ 41