📋
QualityPython

Log Analyzer

by laolaoshiren

Log Analyzer is a Quality skill for Claude Code, published by laolaoshiren in claude-code-skills-zh.

786 stars84 forkson laolaoshiren/claude-code-skills-zhAdded 2026/08/23+1% in starsRepository updated 2026/08/23
ai-agentawesome-listclaude-codeclaude-skillsdeveloper-toolsprompt-engineeringskills
Install in seconds
Install Log Analyzer
Copy Log Analyzer into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/log-analyzer ~/.claude/skills/log-analyzer

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/laolaoshiren/claude-code-skills-zh.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/log-analyzer/SKILL.md in laolaoshiren/claude-code-skills-zh
Installs to
~/.claude/skills/log-analyzer
Collection
One of 20 skills cataloged from this repository
Category
Quality1354 skills

What Log Analyzer does

Log Analyzer parses application, system, and container logs to find error patterns, extract metrics, and identify likely root causes. Use it when investigating incidents or summarizing log data.

Log Analyzer is cataloged under Quality on DirSkills. Log Analyzer comes from a repository tagged ai-agent, awesome-list, claude-code, claude-skills and developer-tools.

Documentation

README

📋 log-analyzer — 日志分析助手

触发条件

当用户要求以下操作时激活此技能:

  • 分析应用日志文件(.log, .txt, journalctl 输出等)
  • 排查线上问题和异常
  • 从日志中提取统计信息
  • 生成日志分析报告

工作流程

1. 日志格式识别

自动检测日志格式:

  • 结构化: JSON logs, Logfmt
  • 常见格式: Nginx/Apache access log, Spring Boot, Django, Rails
  • 系统日志: syslog, journalctl, Windows Event Log
  • 自定义格式: 根据正则提取字段

2. 日志预处理

  • 按时间范围过滤(如「最近 1 小时」「今天」)
  • 按日志级别筛选(ERROR, WARN, INFO, DEBUG)
  • 按来源/模块/服务过滤
  • 去重和聚合相似错误

3. 异常模式检测

  • 错误聚类: 将相似错误归为一组,避免重复分析
  • 频率分析: 识别高频错误和突发异常
  • 时间关联: 发现错误是否与特定事件(部署、流量高峰)相关
  • 因果链追踪: 从根因错误到最终表现

4. 关键信息提取

  • 错误堆栈分析(定位源码位置)
  • HTTP 状态码分布(4xx/5xx 比例)
  • 响应时间统计(P50/P95/P99)
  • 内存/CPU 异常指标

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Log Analyzer

  • What else does laolaoshiren publish alongside Log Analyzer?

    Log Analyzer is one of 20 skills that DirSkills catalogs from laolaoshiren/claude-code-skills-zh, the repository it ships in. Its siblings there include API Tester, Changelog Generator and Chinese Code Reviewer. Each one is a separate skill with its own page in this directory, installs the same way Log Analyzer does, and is maintained by laolaoshiren in that same repository. The rest of the collection is listed on the laolaoshiren/claude-code-skills-zh page.

  • How does Log Analyzer compare to other Quality skills?

    Log Analyzer ranks #988 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Log Analyzer against them. Open each page to compare what they document and how they install.

More from laolaoshiren/claude-code-skills-zh

Log Analyzer is one of 20 skills cataloged on DirSkills from laolaoshiren/claude-code-skills-zh.

See all 20 skills