Auto bug reporter

From bobmatnyc/claude-mpm · View interactive version

Auto bug reporter is an AI agent skill from the GitHub repository bobmatnyc/claude-mpm. Automatically file GitHub issues when claude-mpm errors are encountered during a session

How to use this skill

Skill file

Auto Bug Reporter

Automatically file GitHub issues when you encounter errors, crashes, or unexpected behavior in claude-mpm during a session.

Trigger Conditions

File an issue automatically when you encounter ANY of the following:

Do NOT File Issues For

How to File

Use the mcp__github__create_issue tool:

Issue Body Template

## Auto-Reported Bug

**Encountered during**: <what the user was doing when the error occurred>
**Error**: <exact error message or traceback>
**File**: <file path and line number if known>
**Version**: <claude-mpm version if known — run `claude-mpm --version` or check pyproject.toml>

## Reproduction

<steps or context that led to the error>

## Severity

- [ ] Blocking (prevents core functionality)
- [ ] Degraded (workaround exists)
- [ ] Cosmetic (no functional impact)

_Filed automatically by claude-mpm auto-bug-reporter_

Step-by-Step Procedure

  1. Detect the error — identify it matches a trigger condition above.
  1. Search for duplicates first using mcp__github__search_issues:

```

repo:bobmatnyc/claude-mpm is:issue <key error terms>

```

If a matching open issue already exists, skip filing and note the existing issue number.

  1. Gather context:
  1. File the issue using mcp__github__create_issue with owner bobmatnyc, repo claude-mpm, the title and body from the template above, and labels ["bug", "auto-reported"].
  1. Tell the user immediately after filing:

```

Filed auto-bug-report: #<issue_number> — <title>

```

  1. Continue the user's task — do not stop or wait. The issue is filed; move on.

Rate Limiting

Severity Guidance

| Error Type | Severity |

|---|---|

| Agent or hook completely non-functional | Blocking |

| CLI command fails with traceback | Blocking |

| MCP tool errors breaking workflow | Blocking |

| Config error with a manual workaround | Degraded |

| Incorrect output, wrong behavior | Degraded |

| Minor display or formatting glitch | Cosmetic |

Example Filed Issue

Title: auto: ModuleNotFoundError for claude_mpm.hooks.stop_hook

Body:

## Auto-Reported Bug

**Encountered during**: Running `claude-mpm run` with a custom stop hook configured
**Error**: `ModuleNotFoundError: No module named 'claude_mpm.hooks.stop_hook'`
**File**: `src/claude_mpm/hooks/stop_hook.py` (missing)
**Version**: 6.2.5

## Reproduction

1. Configure a stop hook in `.claude/settings.json`
2. Run `claude-mpm run`
3. At session end, hook dispatch fails with ModuleNotFoundError

## Severity

- [x] Blocking (prevents core functionality)

_Filed automatically by claude-mpm auto-bug-reporter_

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.