learn-from-failure SKILL.md skillC
learn-from-failure from wrg32786/aigent-os is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add wrg32786/aigent-os/learn-from-failure@git:20260719.404ad2aPins git:20260719.404ad2a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- C, 14 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- wrg32786/aigent-os
- Path
skills/learn-from-failure/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260719.404ad2a, committed Jul 19, 2026
- First version recorded
- Jul 7, 2026
- Size
- 3,182 bytes
- Repository stars
- 24
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# /learn-from-failure — Convert failure to reusable artifact When a failure occurs, classify it, check for repetition, and produce a durable artifact that prevents recurrence. ## Trigger `/learn-from-failure` or `/learn-from-failure <failure description>` Caddy auto-surfaces on: "same issue", "happened again", "recurring", "third time", "keeps happening" ## Flow ### 1. Identify failure - If argument provided: use it - If no argument: ask "What failed?" ### 2. Classify failure mode | Mode | Description | Example | |------|-------------|---------| | `routing` | Task sent to wrong agent/model/tool | Opus used for a read-only task | | `verification` | Output accepted without checking data flow | Video "looked fine" but spec was wrong | | `tool` | Tool unavailable, broken API, wrong usage | Gmail MCP auth expired | | `knowledge` | Agent lacked domain knowledge | Didn't know SDK v6 changed type strings | | `authority` | Agent acted outside delegation zone | the AIgent made a Level 3 decision | ### 3. Check for repetition Read `$AIGENT_VAULT/memory/FAILURE_MODES.md`. Search for Pattern lines matching the current failure's root cause. …
Read the whole file at its exact version.
How to install
mdr add wrg32786/aigent-os/learn-from-failure@sha256:78451ac18e14f8cfThe line at the top of this page pins the label git:20260719.404ad2a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_y462egdwsahn36tx)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Jul 7, 2026 and Jul 19, 2026, about one every 12 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260719.404ad2a latest | 2026-07-19 | 404ad2a | 3,182 B | C | view · diff |
| git:20260707.2a2e857 | 2026-07-07 | 2a2e857 | 3,166 B | C | view |
Audit of the latest version
- fail: Frontmatter block present
- fail: Frontmatter declares a name
- fail: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3182 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
wrg32786/aigent-os · 24 stars · license MIT · pushed 2026-10-19 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_y462egdwsahn36tx GET https://markdownregistry.com/api/v1/resolve?ref=wrg32786/aigent-os/learn-from-failure GET https://markdownregistry.com/api/v1/blob/78451ac18e14f8cf6c937c706e59a558c7c845862cf0d7e5f5f73f296d4fd250
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.