# Log Analyzer

> Log Analyzer is an Agent Skill for testing & quality published in the cloudwego/eino-examples repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

A skill to analyze log files for errors and warnings using a Python script.

- Skill name: `log_analyzer`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/cloudwego/eino-examples/blob/HEAD/adk/middlewares/skill/workdir/skills/log_analyzer/SKILL.md
- Repository: cloudwego/eino-examples (704 GitHub stars when collected)

## SKILL.md

# 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: https://www.openparable.com/skill/testing-quality/log-analyzer-8a641640 (OpenParable). Cite the canonical URL above.
