Agent skill · Audited from source

Log Analyzer

skill · laolaoshiren/claude-code-skills-zhMIT licenceAudited 19 Oct 2026 · source 7d69626375c6

★ 894pushed today
✓SAFEGrade B · 89/100 · 19 Oct 2026 · 7d69626
894repo stars · whole laolaoshiren/claude-code-skills-zh

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 7d69626375c6 and found no filesystem, network or shell access and no hard-coded secrets. What it does: 日志分析助手 — 智能解析日志文件,识别异常模式,定位问题根因

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Log Analyzer (laolaoshiren/claude-code-skills-zh)”. Retrieved 19 Oct 2026. https://modelsatlas.com/skills/laolaoshiren/log-analyzer

Trust audit

Audit 0.4.1 · source read 19 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 13,985 of 14,816 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 7d69626375c6 · 19 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisherlaolaoshiren GitHub userOwner of the repository this skill is read from
  • Source folderlaolaoshiren/claude-code-skills-zh/skills/log-analyzerThe exact folder we audited
  • LicenceMITAs the repository states it
  • Commit pinned for this verdict7d69626375c6A new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: 日志分析助手 — 智能解析日志文件,识别异常模式,定位问题根因

---
name: log-analyzer
description: 日志分析助手 — 智能解析日志文件,识别异常模式,定位问题根因
---

# 📋 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 异常指标

### 5. 生成分析报告
```markdown
## 📊 日志分析报告

### 概览
- 时间范围: 2024-01-15 10:00 ~ 12:00
- 总日志量: 12,847 条
- 错误数: 234 (1.8%)
- 警告数: 567 (4.4%)

### Top 5 异常
| 排名 | 错误类型 | 次数 | 首次出现 | 最近出现 |
|------|---------|------|---------|---------|
| 1 | NullPointerException | 89 | 10:15 | 11:42 |
| 2 | ConnectionTimeout | 67 | 10:23 | 11:58 |

### 根因分析
最可能的原因:数据库连接池耗尽(线索:连续出现 ConnectionTimeout 后跟大量 NullPointerException)

### 建议
1. 检查数据库连接池配置(当前可能 maxActive 太小)
2. 排查是否存在连接泄漏
3. 添加连接池监控告警
```

## 支持的日志来源
- 文件系统日志(*.log)
- Docker/Kubernetes 容器日志
- journalctl 系统日志
- AWS CloudWatch / GCP Logging
- ELK Stack (Elasticsearch 查询结果)
- 应用直接输出的文本

## 注意事项
- 敏感信息脱敏(密码、token、手机号等)
- 大文件分块处理,避免内存溢出
- 时区统一处理
- 不要臆造日志中不存在的信息

Excerpt, first 1,418 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 7d69626

Download folder ↗
git clone https://github.com/laolaoshiren/claude-code-skills-zh
git -C claude-code-skills-zh checkout 7d69626375c6

The author documents no install command, so this uses the repository directly. Our verdict covers commit 7d69626375c6 only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 7d69626375c6

Questions about Log Analyzer

What does the Log Analyzer skill do?
面向中文开发者的 Claude Code Skills / Agents / Plugins 精选与原创技能库|按场景分类|复制即装|持续更新
Is Log Analyzer safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Log Analyzer access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (7d69626375c6), read on 2026-10-19. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.