Log search

From stbenjam/skillsaw · View interactive version

Log search is an AI agent skill from the GitHub repository stbenjam/skillsaw. Deep log analysis with pattern recognition and anomaly detection. Use when investigating logs.

How to use this skill

Skill file

Log Search

Perform deep analysis of application logs to identify error patterns,

anomalies, and performance regressions.

When to Use

Invoke this skill when investigating production issues, analyzing error

spikes, or searching for specific log patterns across services.

Implementation Steps

Step 1: Gather Context

Ask the user for the time range, affected service, and any known

symptoms or error messages.

Step 2: Query Logs

Run structured queries against the log backend:

aws logs filter-log-events --log-group-name /ecs/$SERVICE \
  --start-time $START_MS --end-time $END_MS \
  --filter-pattern "$PATTERN"

Step 3: Analyze Patterns

Group log entries by:

Step 4: Report

Present findings with:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.