Works with the AI Agents you already use
Log Error Clustering: Group and Rank Production Errors
by Saizul Amin
This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.
$9
Log Error Clustering: Group and Rank Production Errors
Example session with this skill installed
Run the Log Error Clustering skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the log error clustering
Here is what the Log Error Clustering: Group and Rank Production Errors skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
13 event(s) at level >= error out of 18, 8 cluster(s)
[c1aa85ef404d] ERROR x3 (23.1%) 2026-11-20T14:03:02Z .. 2026-11-20T14:04:11Z
template: payment failed for order <num>: card declined
sample: payment failed for order 1042: card declined
[903897035ad5] ERROR x2 (15.4%) 2026-11-20T14:10:05.456 .. 2026-11-20T14:11:05.456
template: Failed to process job <num>
exception: ValueError
sample: Failed to process job 8812
Traceback (most recent call last):
File "/app/worker.py", line 42, in run
process(job)
File "/app/worker.py", line 77, in process
raise ValueError("missing field 'sku'")
ValueError: missing field 'sku'
[26e05f39b524] ERROR x2 (15.4%) 2026-11-20T14:20:01Z .. 2026-11-20T14:20:02Z
template: auth failed
sample: auth failed
[13a456c67922] ERROR x2 (15.4%) 2026-11-20T14:05:30Z .. 2026-11-20T14:06:30Z
template: upstream <ip> timed out after <num>
sample: upstream 10.0.3.17:8443 timed out after 30s
[e5aaa9b4ff8a] ERROR x1 (7.7%) 2026-11-20T14:06:40Z .. 2026-11-20T14:06:40Z
template: login failed token=<redacted> for user <num>
sample: login failed token=<redacted> for user 991
[00e9fb122de8] ERROR x1 (7.7%)
template: not json at all but contains ERROR in plain text
sample: not json at all but contains ERROR in plain text
[cb3fd19bbd76] FATAL x1 (7.7%) 2026-11-20T14:12:30.000 .. 2026-11-20T14:12:30.000
template: out of memory, shutting down
sample: out of memory, shutting down
[d3a2963879a7] ERROR x1 (7.7%) 2026-11-20T14:20:03Z .. 2026-11-20T14:20:03Z
template: rate limit exceeded for key <hex>
sample: rate limit exceeded for key 7d3f9a0b2c
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Find what is actually failing in large log files by parsing JSON lines, logfmt and plain text logs (Python, Java, Go, Node/pino, nginx-style), joining multi-line stack traces, and clustering errors into message templates with numbers, UUIDs, IPs, hex ids, timestamps, emails and quoted values masked - with counts, share, first/last seen, exception type and a redacted sample per cluster (tokens, passwords, emails hidden). Compares against a baseline report to show error types that are new since a deploy. Reads files, folders, .gz and stdin, including output of kubectl logs, docker logs, journalctl and Loki exports.
Who it's for
Use when the user shares or points to log files, asks what errors are in the logs, why a service is failing, what changed after a deploy, wants the top errors summarised, or needs to triage a noisy log.
What's inside
- Tested, offline Python script(s): log_cluster.py (deterministic results, standard library only unless noted)
- Reference guides: log-sources.md
- Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow
Why it's worth it
Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.
Works with every major AI agent
Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.
Requirements
- Python 3.8+ for the bundled scripts
- No API keys, no account, runs locally
Open source: saizul/observability-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
Python 3.8+