# Log Analyzer

> Use when working with a skill to analyze log files for errors and warnings using a Python script.

- Skill: `tomevault-io/log-analyzer-3` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/log-analyzer-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/log-analyzer-3/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/log-analyzer-3

---


# Log Analyzer Skill

This skill analyzes a log file to count the occurrences of "ERROR" and "WARNING" and lists the lines where they appear.

## Capability

The skill provides a Python script named `analyze.py` located in this directory. You can use this script to analyze any text file.

## Usage

To use this skill, execute the `analyze.py` script with the target log file as an argument.

### Example

```bash
python3 {{.BaseDirectory}}/scripts/analyze.py /path/to/logfile.log
```

**Note**: Replace `/path/to/logfile.log` with the actual path of the file you want to analyze.

---
> Source: [cloudwego/eino-examples](https://github.com/cloudwego/eino-examples) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-27 -->

