sap-log-analyze

Analyze sap-dev JSONL logs to summarize per-skill activity and error patterns.

7|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/sapdev-ai/sap-dev --skill sap-log-analyze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sap-log-analyze
Source: https://github.com/sapdev-ai/sap-dev/tree/main/plugins/sap-dev-core/skills/sap-log-analyze
Command: npx skills add https://github.com/sapdev-ai/sap-dev --skill sap-log-analyze

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Sap-dev teams generate JSONL logs that are large and hard to interpret manually. This skill provides automated summarization of per-skill activity, success/failure rates, duration statistics, error_class trends, and recent failures to accelerate diagnosis and improvement.

Core Features & Use Cases

  • Resolve log_dir from sap-dev-core/settings.json and locate the configured logs for the workspace.
  • Parse JSONL log lines, aggregate per-skill metrics (runs, statuses, durations, error_class), and filter by optional criteria.
  • Produce a four-section stdout report: Overall, Per-skill summary, Top error_class, and Recent FAILED runs, with optional builds-mode KPI reconstruction via --builds.
  • Supports --since, --skill, --status, --top, and --csv to tailor and export results.

Quick Start

Run the sap-log-analyze skill against the local sap-dev logs to generate a per-skill activity report and error insights.

Frequently Asked Questions about sap-log-analyze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I summarize SAP development JSONL logs to see per-skill success rates?

To summarize SAP development JSONL logs, you can run a log analysis tool that parses per-skill activity and calculates success rates. This skill reads log_dir from settings.json and outputs a report detailing overall metrics and per-skill summaries.

What is the best way to identify top error class trends in sap-dev logs?

Identifying top error class trends in sap-dev logs involves aggregating JSONL entries to group and count error_class occurrences. This skill automatically generates a top error_class section alongside recent failed runs for quick diagnosis.

How do I filter sap-dev log analysis results by date, skill, or status?

You can filter sap-dev log analysis results by using command-line flags like --since for dates, --skill for specific names, and --status for outcomes. These optional filters tailor the aggregated report to your specific diagnostic needs.

Does this log analysis tool require any external dependencies to run?

No, this log analysis tool does not require external dependencies to run. It safely parses local JSONL files resolved from sap-dev-core/settings.json without needing additional libraries or complex environment setups.

Can I export sap-dev log summaries and KPIs to a CSV file?

Yes, you can export sap-dev log summaries and KPIs to a CSV file. By using the --csv flag, the skill outputs the tailored results, and the --builds flag reconstructs KPIs for further reporting and analysis.