Skip to content
Agentmart
Submit a tool

retrospective-learner

Automatically captures lessons learned from failures and updates documentation

Skill by DarickBrokaw

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/darickbrokaw-retrospective-learner

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Automatically captures lessons learned from failures and updates documentation

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/retrospective-learner

What's inside

Skill name
retrospective-learner
Description
Automatically captures lessons learned from failures and updates documentation
License
MIT
Compatibility
opencode
Metadata
audience: developers · workflow: learning
Instructions
67 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Retrospective Learner

Automatically captures lessons learned from failures and updates documentation.

## What I Do

I watch for failures and inefficiencies during your OpenCode sessions and automatically:
- Capture lessons from failed tool executions
- Detect slow operations (>5 minutes)
- Update AGENTS.md with new rules
- Update TROUBLESHOOTING.md with known issues
- Log learning sessions to RUN_REPORT.md

## When to Use Me

Use me when you want to:
- Automatically learn from every failure
- Build up a knowledge base without manual effort
- Track patterns across sessions
- Improve AGENTS.md automatically

## How I Work

1. I listen to OpenCode events (tool.execute.after, session.error)
2. When failures occur, I analyze the error pattern
3. I generate a rule to prevent recurrence
4. I automatically update documentation

## Configuration

Create `.opencode/retrospective-config.json`:

```json
{
  "enabled": true,
  "min_time_threshold_seconds": 300,
  "auto_update_docs": true
}
```

## What I Capture

| Event Type | Example | Rule Generated |
|------------|---------|----------------|
| Encoding error | 'charmap codec can't encode' | Use encoding='utf-8' in subprocess |
| Permission error | 'Access is denied' | Use python -m tool instead of .exe |
| Not found | 'ENOENT' file not found | Verify paths before use |
| Slow operation | >5 minutes | Add progress indicators |

## Example

When a subprocess fails with encoding error:
```
Rule added to AGENTS.md:
- Always use encoding="utf-8" in subprocess calls on Windows
```

## Manual Override

For complex issues, invoke the skill directly:
```
"Run the learning skill for complex multi-step issue"
```

The skill asks detailed questions for issues that automation can't capture.

From DarickBrokaw/BrokawSkills, MIT.

More from DarickBrokaw/BrokawSkills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jan 30, 2026 (9 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DarickBrokaw

Cite this page

retrospective-learner skill. Agent Mart. https://agentmart.dev/skills/darickbrokaw-retrospective-learner (last updated 2026-10-24)