Agent skill

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/analysis/log-cleanup-report/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Step 1: Log File Inventory
  2. Step 2: Date Ranges
  3. Step 3: Signal-to-Noise Analysis
  4. Adaptive Logging Check
  5. Step 4: Recommendations
  6. Output Format
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going