Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add dungnotnull/hybrid-harness-chaos-process-prm --skill s27-postmortem-learninggit clone --depth 1 https://github.com/dungnotnull/hybrid-harness-chaos-process-prmWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dungnotnull/hybrid-harness-chaos-process-prm/s27-postmortem-learning)<a href="https://agentmods.dev/skills/dungnotnull/hybrid-harness-chaos-process-prm/s27-postmortem-learning"><img src="https://agentmods.dev/badge/skills/dungnotnull/hybrid-harness-chaos-process-prm/s27-postmortem-learning/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dungnotnull/hybrid-harness-chaos-process-prm/s27-postmortem-learning"><img src="https://agentmods.dev/badge/skills/dungnotnull/hybrid-harness-chaos-process-prm/s27-postmortem-learning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00110 | $0.02927 |
| Opus 5 | $0.00055 | $0.01463 |
| Sonnet 5 | $0.00022 | $0.00585 |
| Haiku 4.5 | $0.00011 | $0.00293 |
Grade A, and why
chaos-postmortem-learning scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Postmortem Learning (s25)
Purpose
Transform chaos experiment findings into organizational learning — ensuring every failure, gap, and surprise becomes an action item that improves system resilience. This is the feedback loop that closes the full workflow, feeding learnings back into s01 for continuous improvement.
Prerequisites
- Game day results from s20 (if post-game-day)
- Resilience scores from s26
- Alert data from s23
- Incident timeline and logs available
- Team availability for blameless retrospective
Input Contract
| Input | Source | Required |
|---|---|---|
| All experiment results and scores | s12-s24 outputs | Yes |
| Resilience score cards | s24 output | Yes |
| Game day retrospective | s18 output | Yes |
| Alert history from experiments | s21 output | Yes |
| Post-chaos test evidence | s11 (rerun) | Yes |
| Recommendations | s21 output | Yes |
| Previous postmortem actions (for follow-up) | Previous s25 runs | No |
Output Contract
| Output | Destination | Format |
|---|---|---|
| Postmortem report | .commandcode/artifacts/postmortem-<date>.md |
Markdown |
| Action item tracker | .commandcode/artifacts/action-items.md |
Markdown checklist |
| Updated runbooks | Service wiki / repo | Markdown |
| Blameless timeline | Included in postmortem | Markdown |
| Knowledge base entry | Team wiki | Markdown |
| Feedback for s01 (re-analysis trigger) | workflow_context | YAML |
| Resilience improvement roadmap | s24 (scoring trend) | Markdown |
Postmortem Philosophy
Blameless + Actionable + Timely + Shared
Blameless: Focus on systems, not people. Ask "how did this happen?"
not "who caused this?"
Actionable: Every finding has an owner, priority, and deadline
Timely: Within 24-48 hours of experiment/game day
Shared: Published to wiki, visible to entire engineering org
Postmortem Template
# Chaos Postmortem — <DATE>
## Experiment/Game Day Summary
| Field | Value |
|---|---|
| Event | <Game Day / Experiment Suite Name> |
| Date | <YYYY-MM-DD> |
| Duration | <HH:MM> |
| Services Tested | <list> |
| Experiments Run | <N> |
| Experiments Passed | <N> |
| Resilience Score | <SCORE>/100 (Grade: <GRADE>) |
| Game Master | <name> |
| Scribe | <name> |
| Postmortem Owner | <name> |
---
## Blameless Timeline
| Time (UTC) | Event | Impact | Resolution |
|---|---|---|---|
| 09:30 | Pod-delete experiment started | None | N/A |
| 09:31 | Pod-1 terminated | Health probe: OK | Auto-restart within 15s |
| 09:32 | Pod-2 terminated | Health probe: OK | Auto-restart within 12s |
| 10:00 | Network latency 500ms injected | P99 spiked to 650ms | Circuit breaker opened at 10:02 |
| 10:02 | Circuit breaker opened | Fallback activated | User error rate: 0.5% |
| 10:03 | Latency removed | Recovery began | Circuit closed at 10:04 |
| 11:30 | Composite scenario started | — | — |
| 11:32 | Memory hog triggered OOM | 2 pods killed | Auto-restart within 45s |
| 11:33 | DNS error injected | Checkout→Payment calls failed | Fallback: cached payment info |
| 11:35 | All faults cleared | Recovery in progress | Full recovery by 11:38 |
---
## What Went Well
- ✅ Pod self-healing worked perfectly (12-15s recovery time)
- ✅ Circuit breaker opened as expected (within 3 failures)
- ✅ Fallback response served cached data correctly
- ✅ No PagerDuty alerts fired on real infrastructure
- ✅ Grafana dashboard gave clear visibility throughout
---
## What Didn't Go Well
- ❌ DNS failure caused checkout-api to return 500 instead of cached fallback
- ❌ Composite scenario overloaded the observability pipeline (15s metrics gap)
- ❌ Visual regression detected: checkout page partially rendered after network loss
- ⚠️ Memory hog recovery took 45s (target: 30s)
---
## Surprises (Unexpected Behavior)
- 🔍 **Surprise 1**: The notification-worker was impacted by DNS failure even though it wasn't in the blast radius — latent dependency discovered
- 🔍 **Surprise 2**: Redis connection pool exhausted during memory hog — cascading effect
---
## Root Cause Analysis (5 Whys Per Finding)
### Finding 1: DNS failure caused 500 errors
**Why?** Checkout-api couldn't resolve payment-service DNS.
**Why?** The DNS error experiment was scoped to checkout-api pods.
**Why?** The application didn't have a fallback for DNS resolution failure.
**Why?** DNS resolution was assumed to be always available.
**Why?** No resilience requirement was specified for DNS in the PRD.
**Action**: Add DNS fallback with cached IP resolution and circuit breaker.
### Finding 2: Observability metrics gap during composite scenario
**Why?** Metrics pipeline was overwhelmed by composite fault data volume.
**Why?** Prometheus scrape interval was 15s with no buffer for spike.
**Why?** No rate limiting on chaos metric emission.
**Why?** Observability wasn't stress-tested before composite scenarios.
**Action**: Add metric rate limiting, increase Prometheus resources, test observability stack under load.
---
## Action Items
| # | Action | Priority | Owner | Target | Ticket | Status |
|---|---|---|---|---|---|---|
| 1 | Add DNS fallback with cached IP + circuit breaker | P0 | @charlie | 2025-03-22 | ENG-5101 | Open |
| 2 | Fix visual regression in checkout page | P1 | @diana | 2025-03-25 | ENG-5102 | Open |
| 3 | Add metric rate limiting for chaos experiments | P1 | @bob | 2025-03-28 | ENG-5103 | Open |
| 4 | Document latent dependency: notification → payment | P2 | @alice | 2025-04-01 | ENG-5104 | Open |
| 5 | Test observability stack under load | P2 | @bob | 2025-04-05 | ENG-5105 | Open |
| 6 | Add DNS resilience requirement to PRD template | P3 | @alice | 2025-04-10 | ENG-5106 | Open |
---
## Runbook Updates Required
- [ ] Update `payment-service/runbooks/dns-failure.md` — add DNS fallback steps
- [ ] Update `checkout-api/runbooks/circuit-breaker.md` — document expected behavior
- [ ] Update `sre/runbooks/chaos-observability.md` — add metric gap troubleshooting
- [ ] Create `notification-worker/runbooks/latent-dependencies.md` — document discovered dependency
---
## Taste/Learnings for Memory (s02)
- [ ] Add: "Always test DNS resilience — it's assumed reliable more than it should be" (RiskTolerance, Confidence: 0.85)
- [ ] Add: "Composite chaos scenarios require observability stress-testing" (Workflow, Confidence: 0.90)
- [ ] Add: "Checkout-api visual rendering needs chaos testing" (Testing, Confidence: 0.80)
- [ ] Add: "Notification-worker has latent dependency on payment DNS" (Technology, Confidence: 0.85)
---
## Feedback for Re-Analysis (s01 Trigger)
The following findings should trigger a re-analysis of requirements or architecture:
1. **DNS as critical dependency**: The PRD should include DNS resilience as a non-functional requirement (REQ-NFR-DNS).
2. **Latent dependencies**: The architecture diagram should include inferred dependencies discovered during chaos.
3. **Observability scaling**: The observability section of the PRD should include chaos load requirements.
---
## Follow-Up Schedule
| Date | Checkpoint |
|---|---|
| 2025-03-22 | P0 items due — DNS fallback implemented |
| 2025-03-25 | P1 items due — visual regression + rate limiting |
| 2025-04-05 | Next game day scheduled — re-run failed experiments |
| 2025-04-10 | Postmortem review — all action items closed or escalated |
---
## Lessons Learned (Knowledge Base)
These entries will be published to the team's resilience knowledge base:
### Entry: DNS Fallback Patterns
**Context**: During chaos testing, DNS failure caused cascading 500 errors.
**Learning**: All service-to-service calls should have DNS fallback (cached IP + circuit breaker).
**Pattern**:
```typescript
const RESOLVED_IP_CACHE = new Map<string, {ip: string, expires: number}>();
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 319 lines · 110 tokens per session scan A d9130a1b3a46
chaos-postmortem-learning is a skill published in the GitHub repository dungnotnull/hybrid-harness-chaos-process-prm (19 stars, last pushed 3mo ago), licensed MIT. It adds 110 tokens to every session and 2,927 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
systematic-debugging
Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.
diagnose
Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.
repro-admin
Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.
log-error-digest
Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…
byted-util-volcengine-detect-retry
An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.