Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Mistake Success Pattern Learning

ASecurity

Auto-analyze mistake and success patterns and reflect in skills

19 stars
0 votes
0 copies
1 views
Added 9/19/2026
ai-agentsgotestinggitapiperformance

Works with

cliapi

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add rondoflow/rondoflow --skill mistake-success-pattern-learning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mistake Success Pattern Learning?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Mistake Success Pattern Learning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-mistake-success-pattern-learning/badge)](https://www.skillsdirectory.com/skills/rondoflow-mistake-success-pattern-learning)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: mistake-success-pattern-learning
description: "Auto-analyze mistake and success patterns and reflect in skills"
category: "Community"
author: community
version: "1.0.1"
icon: puzzle
---

# learning-engine

System records mistakes and successes, automatically learns patterns to improve skills. Automates "don't repeat same mistake" principle.

## Learning Sources

### 1. memory/errors/
Extract failure patterns from error logs

```markdown
# memory/errors/2026-02-14.md

## 10:30 - insta-post failure
- Cause: PNG file upload → "Problem occurred" error
- Fix: Retry after JPG conversion → Success
- Lesson: Always convert to JPG before Instagram upload
```

### 2. self-eval Results
Extract improvement points from weekly self-evaluation

```markdown
# memory/self-eval/2026-W07.md

## This Week's Mistakes
- Too many browser snapshots (token waste)
- → Improvement: Call API directly via exec

## This Week's Successes
- 95% token savings with insta-cli v2 DM check
```

### 3. performance Data
Learn successful/unsuccessful patterns from performance tracking

```json
{
  "insight": "Posts at 7-9 PM get +30% likes",
  "rule": "Instagram posts recommended 19:00-21:00"
}
```

## Auto Rule Generation

Convert learned patterns to rules:

**Location**: `memory/learned-rules/`

```
memory/
  learned-rules/
    instagram-posting.md
    browser-automation.md
    api-usage.md
    error-recovery.md
```

### Rule Format

```markdown
# Instagram Posting Rules

## Rule #1: Always Convert to JPG
- **Situation**: Upload image to Instagram
- **Failure Pattern**: PNG file → "Problem occurred"
- **Solution**: `convert input.png -quality 92 output.jpg`
- **Evidence**: 2026-02-10, 2026-02-14 error logs
- **Applied Skills**: insta-post, cardnews, social-publisher

## Rule #2: 1:1 Ratio Required
- **Situation**: Instagram card news
- **Failure Pattern**: 16:9 horizontal → Cropped in feed
- **Solution**: Generate as 1024x1024 square
- **Evidence**: 2026-02-13 feedback
- **Applied Skills**: cardnews, nano-banana-pro
```

## Inject Rules into Skills

Auto-add learned rules to relevant skill SKILL.md:

**Location**: `skills/{skill-name}/SKILL.md`

```markdown
# insta-post

...

## Learned Lessons

### Image Processing
- ✅ Always convert to JPG (PNG causes errors)
- ✅ 1:1 ratio required (1024x1024 recommended)
- ✅ File size < 8MB

### Timing
- ✅ Posts at 19:00-21:00 get +30% engagement
- ❌ Avoid early morning posts

### Automation
- ✅ Call API via exec (0 snapshots)
- ❌ Minimize browser automation
```

## Weekly Learning Report

Auto-generated every Monday:

**Location**: `memory/learning/weekly-YYYY-Www.md`

```markdown
# 2026-W07 Learning Report

## New Learnings (5)

1. **Instagram PNG Ban**
   - 3 mistakes → Rule created
   - Applied: insta-post, cardnews

2. **Token Saving: exec > Browser**
   - v1: 5 snapshots → v2: 1 exec
   - 95% savings

3. **Optimal Posting Time**
   - 19:00-21:00 +30% likes

4. **Brand Tone Effect**
   - 무펭이 tone +40% engagement

5. **Auto Error Recovery**
   - browser-dependent failure → Browser restart

## Applied Skills
- insta-post (2 rules)
- cardnews (1 rule)
- performance-tracker (1 insight)

## Next Week Goals
- [ ] Build A/B testing system
- [ ] Add 3 auto-recovery patterns
```

## Event Publishing

Publish event when learning complete:

**Location**: `events/lesson-learned-YYYY-MM-DD.json`

```json
{
  "timestamp": "2026-02-14T23:00:00Z",
  "source": "learning-engine",
  "new_rules": 2,
  "updated_skills": ["insta-post", "cardnews"],
  "summary": "Learned 2 Instagram image rules"
}
```

## hook-engine Integration

- **on-error hook**: Error occurs → Record to memory/errors/ → learning-engine analysis
- **post-hook (self-eval)**: After weekly evaluation → Update learning rules
- **post-hook (performance)**: After collecting performance data → Learn patterns
- **scheduled hook**: Every Monday → Generate weekly learning report

## Learning Pipeline

```
Error occurs
  ↓
Record to memory/errors/
  ↓
learning-engine analysis
  ↓
Extract patterns + Create rules
  ↓
Save to memory/learned-rules/
  ↓
Auto-update relevant skill SKILL.md
  ↓
Publish event (lesson-learned)
  ↓
Reflect in weekly report
```

## Trigger Keywords

- "what did I learn"
- "learning"
- "lessons"
- "mistake patterns"
- "improvements"
- "learning report"
- "add rule"

## Usage Examples

```
"What did I learn this week?"
→ Generate weekly learning report

"Organize Instagram posting mistake patterns"
→ Analyze memory/errors/ + Create rules

"Learn from performance data"
→ Extract successful patterns + Update rules
```

## Auto-improvement Examples

### Before (Pre-learning)
```
Instagram post fails → Manually convert to JPG → Retry
(Repeat every time)
```

### After (Post-learning)
```
Execute insta-post → Auto-check/convert JPG → Success
(Rule injected into SKILL.md)
```

## Meta Learning

learning-engine itself also learns:

- "Which rules are used most?"
- "Which skills improve most?"
- "Which areas have slow learning?"

**Meta Learning Report**: `memory/learning/meta-YYYY-MM.md`

## Future Improvements

- [ ] Rule conflict detection (Rule A vs Rule B)
- [ ] Rule confidence score (based on usage frequency)
- [ ] Auto A/B testing (rule validation)
- [ ] Share learning with other agents

---

> 🐧 Built by **무펭이** — [Mupengism](https://github.com/mupeng) ecosystem skill

Attribution

rondoflowrondoflow
View sourceMore from rondoflow →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693621 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →