Dump monitor

From 5throck/ai-workspace-standards · View interactive version

Dump monitor is an AI agent skill from the GitHub repository 5throck/ai-workspace-standards. Use when checking SAP system health, investigating reported errors, or performing a periodic operational health check. Provides a standardized workflow using ListDumps/GetDump to detect ABAP short dumps and route new findings into PM triage for investigation.

How to use this skill

Skill file

Dump Monitoring Workflow

Closes an observability gap: without this skill, ABAP short dumps are only found reactively

when a user reports an error. Owned by DevOps/Admin (agents/devops-admin.md); any agent

may run it as part of a health check.

When to Use

Workflow

1. List recent dumps
   ListDumps(since=<last-check-timestamp or 24h ago>)

2. For each new dump not already triaged (cross-reference against
   scratch/qa-reports/ or memory/ logs from prior checks):
   GetDump(dump_id) → capture: program, exception, call stack, timestamp, user/client

3. Classify
   - Runtime error in a Z*/custom object → candidate for PM triage (classification: "Debug")
   - Runtime error in an SAP standard object → note only, do not modify standard code
   - Repeated dump (same program/exception, multiple occurrences) → escalate priority

4. Route
   - New, actionable dump → hand to the PM with the note "Investigate dump: <program> — <exception>";
     the PM triage convention (not a registered command) creates the task file and dispatches investigation
   - Already-tracked dump → skip (avoid duplicate task files)

5. Record
   Append a Dump Monitoring Report (below) to the current session's memory/YYYY-MM-DD.md

Dump Monitoring Report Format

### Dump Monitoring — <date/time of check>

**Window checked**: <since timestamp> → now
**Dumps found**: <N> (<M> new, <N-M> previously triaged)

| # | Program | Exception | Timestamp | Occurrences | Action |
|---|---------|-----------|-----------|--------------|--------|
| 1 | ZCL_EXAMPLE | UNCAUGHT_EXCEPTION | 2026-07-10 14:02 | 3 | Routed to PM triage |

**Verdict**: <Clean / N actionable dump(s) routed to triage>

Scheduling Note

This harness has no built-in cron. To run this check periodically, wire an external scheduler

(OS cron / Windows Task Scheduler / a CI scheduled workflow) to invoke the AI tool with a fixed

prompt such as "Run the Dump Monitoring workflow from skills/dump-monitor/SKILL.md" — this

keeps the mechanism portable across Claude Code, Gemini CLI, and Antigravity rather than tying

it to one platform's session-level scheduler.

Related

Context

This skill provides a standardized workflow for detecting and triaging ABAP short dumps in an SAP system. Without it, dumps are only found reactively when users report errors. The workflow uses ListDumps and GetDump to proactively identify runtime errors and route actionable findings into the triage process for investigation and resolution.

Execution Steps

  1. List recent dumps — Call ListDumps with a time window (default: last 24 hours or last check timestamp).
  2. Retrieve details — For each new dump not already triaged, call GetDump to capture program, exception, call stack, timestamp, and user/client.
  3. Classify — Determine if the dump is in a custom Z* object (actionable) or SAP standard (note only). Flag repeated dumps for escalation.
  4. Route — Actionable dumps are routed to the PM (triage convention) for investigation; already-tracked dumps are skipped to avoid duplicates.
  5. Record — Append a Dump Monitoring Report to the current session's memory/YYYY-MM-DD.md.

Output Format

A structured Dump Monitoring Report appended to the session memory log, containing:

Related Skills

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.