log-cleanup-report
Analyze log file sizes and signal-to-noise ratio. Shows what's consuming disk space and recommends cleanup actions. Use before archiving or when logs are getting too large.
npx skills add majiayu000/claude-skill-registry --skill log-cleanup-report --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Log Cleanup Report Analyze IQRight log files to understand disk usage and identify optimization opportunities. ## Step 1: Log File Inventory Check all log locations: - `logs/IQRight_Daemon.debug*` (server logs) - `logs/IQRight_FE_WEB.debug*` (web app logs) - `log/device_status.log` (device health, note: different directory) For each, report: file name, size, line count. ## Step 2: Date Ranges Extract first and last timestamps from each log file to understand the time span covered. ## Step 3: Signal-to-Noise Analysis Count in the server log: - **Noise**: `No packet received` lines (idle timeouts) - **Signal**: `Received data from scanner`, `MQTT-TX`, `ERROR`, `HELLO`, `Connected`, `Disconnected`, `SWITCHING TO` Calculate: - Signal percentage: (signal lines / total) * 100 - Noise percentage: (noise lines / total) * 100 - Signal-to-noise ratio ### Adaptive Logging Check If the log contains `SWITCHING TO ACTIVE MODE` or `Server started in IDLE mode`, the adaptive logging (Feb 2026) is active. In this case, noise should be minimal. If the log contains massive amounts of `No packet received (timeout)`, the server is running pre-Feb 2026 code and should be upgraded. ## Step 4: Recommend
- Step 1: Log File Inventory
- Step 2: Date Ranges
- Step 3: Signal-to-Noise Analysis
- Adaptive Logging Check
- Step 4: Recommendations
- Output Format
What does the log-cleanup-report skill do?
Analyze log file sizes and signal-to-noise ratio. Shows what's consuming disk space and recommends cleanup actions. Use before archiving or when logs are getting too large.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill log-cleanup-report --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
