/reolink-cli:cache-clean --older-than 30dfrom reolink-cli
Previews and removes cached artifacts older than a configurable retention period (default 7 days). Always runs a dry-run first, then asks for confirmation before applying.
Ships in reolink-cli. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Container mode: use the installed Docker-backed CLI entry on PATH. Otherwise, when REOLINK_CONTAINER is set, run the CLI commands below through the packaged scripts/run-cli.sh (run-cli.cmd on Windows), preserving their arguments. This operates on the selected container, not a native installation.
Clean old cache entries (snapshots, TTS PCM clips, etc.). The cache lives in the
platform cache directory — ~/.cache/reolink-cli/ on Linux,
~/Library/Caches/reolink-cli/ on macOS, %LOCALAPPDATA%\reolink-cli\cache\ on
Windows. Run reolink-cli cache status to see the resolved path rather than
assuming one.
Step 1 — preview (dry-run, always first):
Run reolink-cli cache clean --output json with any extra arguments in $ARGUMENTS (default retention is 7 d if none given). Show the candidate list with file count, total bytes, and the oldest file's age. Do NOT proceed to deletion yet.
Step 2 — confirm:
Ask the user to confirm deletion. Only if they explicitly say yes, proceed.
Step 3 — apply:
Re-run with --apply appended and show the deleted file count + freed bytes.
Never --apply without a confirmed dry-run output above it.
7-day visitors to each command page
7 commands in this plugin
/devicesList registered Reolink aliases (from ~/.config/reolink-cli/aliases.toml)/featuresList what the installed reolink-cli can do + example prompts/scanDiscover Reolink devices on the local network (UDP broadcast, 2s)/statusReolink observability dashboard (fleet + gateway + monitor + cache + recent events)/uninstallmacOS / Linux — kill only the gateway from this install prefix,Remove reolink-cli + reolink-gateway (keeps config by default; pass "purge" to wipe everything)/updateUpgrade reolink-cli + reolink-gateway to the latest releasenpx claudepluginhub reolink/reolink-cli --plugin reolink-cliOther plugins' commands for the same job