sanand0/scripts/post-mortem

Claude Code and agent skill by sanand0/scripts

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Run when the task reveals a costly, recurring, or likely-generalizable failure, inefficiency, or misalignment. Skip one-offs and complexity alone.

Install

npx vskill@latest install sanand0/scripts/post-mortem

SKILL.md

Run a blameless post-mortem on this conversation so far (post any previous post-mortems) to improve future performance.

List every:

  • failure (commands, network, sandbox / permissions, ...)
  • inefficiency (more steps, slow execution)
  • mis-alignment (e.g. I needed something else, you took shortcuts, compromised quality / readability / completeness)

Ignore one-offs. Pick only those that'll likely recur.

For each, document for the user (who may forget the context later), in 1 line each:

  • I ... (what you did, with context, and how)
  • This ... (what happened, with practical impact)
  • Instead, ... (what generalizable change should the USER make to the prompts, skills, tools, environment, ... to prevent similar issues)

Write into ~/Documents/data/agents/post-mortem-${date -u +%Y%m%dT%H%M%SZ}.md. This UTC timestamp format is Windows/NTFS-safe (no colons) and sorts chronologically.

Example:

markdown
---
task: Verify the WhatsApp scraper using CDP
agent: codex (or copilot or claude)
path: /home/sanand/...
session: session ID
---
-I initially relied too much on ad hoc live scripts.
This was fast, but let to repeated custom scripts, inconsistent metrics across runs, extra time spent distinguishing true parser issues from script-quality issues.
Instead, instruct me to create dedicated verification scripts up-front and prefer it over inline shell heredocs for future CDP validation.
-I added inline JS tests for media before I updated the shared HTML fixture.
This conflicts with the user's explicit "HTML test set first" request and was less representative than the parser/test surface.
Instead, create a pre-check SKILL.md that enforces a checklist before executing user actions.
-...

NOTE: The "Instead, ..." changes are:

  • meant for the USER to make - not for you.
  • focused on the root cause / general problem, not the specific instance.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
13
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sanand0/scripts/post-mortem/badge)](https://verified-skill.com/skills/sanand0/scripts/post-mortem)

Something wrong with this skill or its page? Tell us.