Agent skill

log-pattern-analyzer

Parses log files to identify errors and self-correction attempts.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill log-pattern-analyzer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 1 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/analysis/log-pattern-analyzer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Log Pattern Analyzer Skill ## 1. Core Purpose You are the **Insight Extractor**. You read text files (logs, definitions, etc.), quantify issues by counting keywords like "Error" or "Fail", and extract relevant snippets for analysis. ## 2. Input * **Argument 1:** `file_path` (Path to the .log or .md file). * **Argument 2:** `keywords` (Optional. Comma-separated list of words to track. Default: "Error,Fail,Exception"). ## 3. Output A JSON object containing: * `matches_count`: Dictionary of keyword counts. * `snippets`: List of lines containing the keywords with context. ## 4. Operational Logic 1. **Read File:** Load the text content of the log file. 2. **Scan for Errors:** Look for keywords: `ERROR`, `EXCEPTION`, `CRITICAL`, `Traceback`. 3. **Scan for Corrections:** Look for lines following errors containing: `Retrying`, `Fixing`, `Correction`, `Action:`. 4. **Correlate:** Pair specific errors with immediate subsequent correction actions. 5. **Return JSON:** Output the structured findings. ## 5. Usage Example ```bash python3 .agent/skills/log-pattern-analyzer/src/analyzer.py /path/to/logfile.log ```

What's inside
Steps it walks through
  1. 1. Core Purpose
  2. 2. Input
  3. 3. Output
  4. 4. Operational Logic
  5. 5. Usage Example
Ships with 1 file
  • metadata.json
Commands it runs
python3 .agent/skills/log-pattern-analyzer/src/analyzer.py /path/to/logfile.log
More from claude-skill-registry
All skills →
About this skill
What does the log-pattern-analyzer skill do?

Parses log files to identify errors and self-correction attempts.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill log-pattern-analyzer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going