From logzip
Analyzes log files using logzip MCP compression instead of raw file reads. Activates when user provides a .log, syslog, or journalctl path for debugging or review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/logzip:log-analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When the user provides a log file path for analysis, ALWAYS use logzip MCP tools instead of reading the file directly with Read/Bash/grep.
When the user provides a log file path for analysis, ALWAYS use logzip MCP tools instead of reading the file directly with Read/Bash/grep.
Direct file reading loads the raw log into context — often hundreds of thousands of tokens for a multi-MB file. logzip compresses logs 50–60% while keeping the output fully readable by LLMs. Anomalies and unique lines remain visible; repetitive noise is collapsed into a legend.
Step 1 — get_stats first:
mcp__logzip__get_stats(path)
Returns file_size_bytes, estimated_tokens, detected_profile, and recommended_tool.
Step 2 — compress based on recommendation:
If recommended_tool == "compress_file" (file < 200K tokens):
mcp__logzip__compress_file(path, quality="balanced")
If recommended_tool == "compress_tail" (large file):
mcp__logzip__compress_tail(path, lines=500, quality="balanced")
For more context on large files, increase lines (e.g. 2000).
Step 3 — analyze the compressed output:
The output has three sections:
PREFIX — common prefix stripped from all lines (read once, ignore for anomaly search)LEGEND — substitution dictionary: #0# → actual repeated stringBODY — compressed log body; lines with NO substitutions are unique — these are the anomaliesFocus on lines in BODY that contain no #N# tokens — those are the interesting events.
Depending on Claude Code version, tools may appear as:
mcp__logzip__get_statsmcp__logzip__compress_filemcp__logzip__compress_tailThis skill requires the logzip MCP server to be registered. If tools are not available, tell the user:
"logzip MCP is not configured. Install it with:
claude mcp add logzip -- logzip mcp --allow-dir /var/log"
npx claudepluginhub nailshakurov/logzip --plugin logzipAnalyzes log files or pasted content using ctrlb-decompose CLI to compress lines into patterns, detect anomalies, score severity, and suggest fixes. Installs tool on macOS/Linux if needed.
Analyzes application logs to detect slow requests, recurring errors, and resource anomalies with summaries and optimization suggestions. Useful for performance troubleshooting and debugging.
Parses JSON, Apache, and custom app logs to detect error trends, anomalies, performance metrics, user patterns, and system health; provides root cause analysis and fix recommendations.