log-analyzer
Skill1 starsChanged 10 months agoMITView on GitHub
Use when the user needs to investigate logs, find errors, trace issues across log entries, or understand what happened at a specific time. Parses system and application logs intelligently.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- THEROCKSSS/hermes-skills-portfoliotheir own version, first seen Aug 3, 2026
- zrt-ai-lab/opencode-skillstheir own version, first seen Jul 13, 2026
- laolaoshiren/claude-code-skills-zhtheir own version, first seen Jul 2, 2026
- inbharatai/claude-skillstheir own version, first seen Mar 14, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- laolaoshiren/claude-code-skills-zh★ 876same name
- zrt-ai-lab/opencode-skills★ 287same name
- inbharatai/claude-skills★ 37same name
- THEROCKSSS/hermes-skills-portfolio★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- container-opsSkill
- disk-cleanupSkill
- incident-triageSkill
- network-troubleshooterSkill
- performance-optimizerSkill
- security-auditorSkill
- service-monitorSkill
- ssl-checkerSkill
- system-diagnosticsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
Time range: When did the issue start? Default to last 1 hour if unknown.
- Distinctive: line 49
Use appropriate commands to pull relevant entries:
- Distinctive: line 72
Look for these common patterns:
- Distinctive: line 128
NEVER read logs that might contain secrets (avoid printing full auth tokens, passwords)
- Very specific: line 130
If log files are very large, use tail or time filters first
- Distinctive: line 131
ALWAYS show the user which files/sources you're reading
- Distinctive: line 132
If no relevant logs found, suggest where else to look
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Log Analyzer
Overview
Parse, filter, and analyze system and application logs to find relevant entries, correlate events, and identify root causes. Handles multiple log formats across platforms.
Process
Step 1: Identify Log Sources
Determine what logs are relevant based on the user's issue:
System logs:
| Platform | Location | Command to read |
| Windows | Event Log | Get-EventLog -LogName [System|Application|Security] -Newest [N] |
| Windows | Modern | Get-WinEvent -LogName [name] -MaxEvents [N] |
| Linux | journald | journalctl [flags] |
| Linux | syslog | /var/log/syslog or /var/log/messages |
| macOS | Unified log | log show [flags] |
Application logs (common locations):
| Application | Typical Location |
| Nginx | /var/log/nginx/error.log, /var/log/nginx/access.log |
| Apache | /var/log/apache2/error.log, /var/log/httpd/error_log |
| Docker | docker logs [container] |
| Node.js | pm2 logs or custom path |
| PostgreSQL | /var/log/postgresql/ |
| MySQL | /var/log/mysql/error.log |
| IIS | C:\inetpub\logs\LogFiles\ |
Step 2: Define Search Parameters
Establish the investigation window:
- Time range: When did the issue start? Default to last 1 hour if unknown.
- Severity: errors only, warnings+errors, or all
- Keywords: error messages, service names, user IDs
- Correlation ID: trace IDs, request IDs, session IDs
Step 3: Extract and Filter
Use appropriate commands to pull relevant entries:
Time-based filtering:
| Platform | Command |
| Windows | Get-EventLog -LogName System -After (Get-Date).AddHours(-1) -EntryType Error |
| Linux | journalctl --since "1 hour ago" -p err --no-pager |
| macOS | log show --last 1h --predicate 'messageType == error' |
Keyword search in log files:
| Platform | Command |
| All | grep -i "[keyword]" [logfile] | tail -50 |
| Windows | Select-String -Path [file] -Pattern "[keyword]" -Context 2 |
Structured log parsing (JSON):
| Tool | Command |
| jq | cat [file] | jq 'select(.level == "error")' |
| grep+jq | grep "error" [file] | jq . |
Step 4: Analyze Patterns
Look for these common patterns:
| Pattern | Indicator | Likely Cause |
| Repeated error same timestamp | Burst of identical errors | Triggered by single event |
| Gradual increase in errors | Error count growing over time | Resource exhaustion |
| Periodic errors | Errors at regular intervals | Cron job or scheduled task |
| Error after deploy/update | Errors start at specific time | Code or config change |
| Cascading services | Multiple services error sequentially | Dependency failure |
| OOM / memory errors | "killed", "out of memory" | Memory leak or under-provisioned |
| Connection refused | "ECONNREFUSED", "connection reset" | Service down or port blocked |
| Permission denied | "EACCES", "403", "permission denied" | Permissions or auth issue |
Step 5: Correlate Events
Build a timeline of events:
### Event Timeline
| Time | Source | Event | Severity |
|------|--------|-------|----------|
| HH:MM:SS | [source] | [event] | [sev] |
| HH:MM:SS | [source] | [event] | [sev] |
### Correlation
- First error: [timestamp] in [source]
- Likely trigger: [what happened just before]
- Affected components: [list]
- Pattern: [burst/gradual/periodic]Step 6: Present Findings
## Log Analysis Report
### Summary
- **Time window:** [start] to [end]
- **Total errors found:** [N]
- **Unique error types:** [N]
- **Most frequent:** [error message] ([count] occurrences)
### Root Cause Analysis
[What the logs indicate happened]
### Key Log Entries
[Show the 3-5 most relevant entries with context]
### Recommendations
1. [Immediate action]
2. [Preventive measure]
3. [Monitoring suggestion]Rules
- NEVER read logs that might contain secrets (avoid printing full auth tokens, passwords)
- Truncate long log entries to relevant portions
- If log files are very large, use
tailor time filters first - ALWAYS show the user which files/sources you're reading
- If no relevant logs found, suggest where else to look
- Redact sensitive data (IPs, emails, tokens) in report output when sharing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

