mpm-postmortem

Analyze errors in scripts, skills, and agents to generate improvement suggestions and fixes.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/MacPhobos/research-mind --skill mpm-postmortem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mpm-postmortem
Source: https://github.com/MacPhobos/research-mind/tree/main/.claude/skills/mpm-postmortem
Command: npx skills add https://github.com/MacPhobos/research-mind --skill mpm-postmortem

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the analysis of errors within scripts, skills, agents, and user code, providing actionable suggestions for improvement and potential fixes.

Core Features & Use Cases

  • Error Analysis: Identifies and analyzes errors across various code components.
  • Suggestion Generation: Proposes fixes, updates, and recommendations for improving code quality and resolving issues.
  • Use Case: When a custom agent fails unexpectedly, run /mpm-postmortem to get a detailed analysis of the failure and suggestions on how to correct the underlying code.

Quick Start

Run the mpm-postmortem skill with the auto-fix option enabled to analyze and automatically fix detected errors.

Frequently Asked Questions about mpm-postmortem

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

FAQPage Schema
How do I analyze errors and debug a failing custom agent?

To debug a failing custom agent, you need automated error analysis to identify the root cause and generate code improvement suggestions. This skill analyzes script failures and proposes actionable fixes to resolve unexpected agent errors.

What is the best way to automate code refactoring suggestions after a script failure?

Automating code refactoring suggestions requires analyzing the error trace to propose precise updates. This skill evaluates code quality issues and generates potential fixes to correct underlying script errors automatically.

Can I automatically generate pull requests for error handling improvements?

Yes, you can generate pull requests for error handling improvements by using an auto-fix feature. This skill supports automated correction by analyzing errors and creating pull requests for code enhancements.

Does this error analysis tool work with scripts and agents without external dependencies?

Yes, this error analysis tool works with scripts and agents without requiring external dependencies. It independently analyzes code components and user code to provide debugging and quality assurance recommendations.

Why does my automated code correction not fix all detected script errors?

Automated code correction may not fix all detected script errors when the underlying logic requires manual refactoring. This skill provides suggestions and potential fixes, but complex code quality issues may need developer review.