Log Analyzer
Testing & Qualitylog_analyzerLog 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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/cloudwego/eino-examples/blob/HEAD/adk/middlewares/skill/workdir/skills/log_analyzer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/log-analyzer-8a641640, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
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.