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.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- openamer-max/max-scriptstheir own version, first seen Nov 29, 2026
- trac3r00/core-skillstheir own version, first seen Nov 29, 2026
- nafiz530/SkillShelf-Labstheir own version, first seen Nov 29, 2026
- afine907/skillstheir own version, first seen Nov 29, 2026
- laolaoshiren/claude-code-skills-zhtheir own version, first seen Nov 25, 2026
- trac3r00/agent-skillstheir own version, first seen Nov 23, 2026
Used with
Projects with it also use json-diff, api-tester and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
reaatechSkilljson-diff
Also in 3 projects that use this
onlyoneamanSkillapi-tester
Makes HTTP requests to any URL and returns the response (supports GET, POST, PUT, PATCH, DELETE)
Also in 3 projects that use this
u9401066Skilltest-generator
Generate comprehensive test suites including static analysis, unit tests, integration tests, E2E tests, and coverage reports. Triggers: TG, test, 測試, 寫測試, coverage, 覆蓋率, pytest, unittest, 驗證.
Also in 4 projects that use this
yusei531642Skillclaude-design
Vibe-Editor の UI を「Claude.ai + Claude Code 公式風」にリファインする際に参照するデザインガイド。色 (warm off-white / terra cotta #d97757)、タイポ (Claude 返答は serif・ユーザーは sans)、余白、記号 (⏺・⎿・スピナー)、アニメ (150ms / cubic-bezier(.4,0,.2,1))、メッセージングトーンの具体値を提供する。UI 刷新・新規コンポーネント作成・テーマ追加・エージェント発話の装飾など、見た目やトーンの判断が必要な作業で必ず参照。
Also in 3 projects that use this
CloudflareSkillsecurity-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- sirius-db/sirius★ 1.1ksame name
- laolaoshiren/claude-code-skills-zh★ 927same name
- zrt-ai-lab/opencode-skills★ 277same name
- Lethe044/agentskill-kit★ 50same name
- johnqtcg/awesome-skills★ 30same name
- nek1987/auto-agent-harness★ 4same name
- digitaldreams/tuhin★ 3same name
- nafiz530/SkillShelf-Labs★ 2same name
- openamer-max/max-scripts★ 2same name
- afine907/skills★ 1same name
7 more not listed
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. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
6
Distinctive
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 measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “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.

