Self Reflection
Learns when to stop and review. Self-critiques before showing you, fewer revision rounds.
от clawic★ 23 звезды на GitHub
Установить Self Reflection в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Agents repeat mistakes. Not because they're incapable — because they forget. This skill changes that. Your agent pauses before delivering, catches its own blind spots, and remembers lessons for next time.
When to Use
User needs quality assurance beyond "looks good to me." Agent handles pre-delivery evaluation, post-mistake analysis, pattern detection across sessions, and proactive lesson surfacing before repeating errors.
How It Works
┌──────────────────────────────────────────────┐
│ SELF REFLECTION LOOP │
└──────────────────────────────────────────────┘
│
┌────────────────────┼────────────────────┐
▼ ▼ ▼
┌─────────┐ ┌──────────┐ ┌─────────┐
│ PRE │ │ POST │ │PATTERN │
│DELIVERY │ │ MISTAKE │ │DETECTED │
└────┬────┘ └────┬─────┘ └────┬────┘
│ │ │
│ "Before I send │ "User corrected │ Same mistake
│ this, let me │ me. Why?" │ 3 times...
│ double-check" │ │
│ │ │
└───────────────────┴────────────────────┘
│
▼
┌─────────────────┐
│ 7-DIMENSION │
│ EVALUATION │
│ (30 seconds) │
└────────┬────────┘
│
┌───────────────┴───────────────┐
▼ ▼
┌─────────────┐ ┌─────────────┐
│ ALL CLEAR │ │ ISSUE FOUND │
│ Deliver │ │ Fix first │
└─────────────┘ └──────┬──────┘
│
▼
┌─────────────────┐
│ LOG LESSON │
│ Miss → Root │
│ → Prevention │
└────────┬────────┘
│
▼
┌─────────────────┐
│ INJECT NEXT │
│ TIME │
│ "Before we │
│ proceed..." │
└─────────────────┘
The Three Triggers
1. 🔍 Pre-Delivery
Before sending important work, pause. 30 seconds. Quick scan of 7 dimensions.
When: Code, architecture, strategy, any deliverable the user will act on.
2. ❌ Post-Mistake
User corrected you. That's data. Capture it before the session ends.
When: User says "actually...", "no, that's wrong", "I meant...", frustration signals.
3. 🔄 Pattern Detection
Same category appearing 3+ times? That's not coincidence — it's a blind spot.
When: After logging 5 reflections, weekly review, or heartbeat trigger.
Architecture
Memory lives in ~/Clawic/data/reflection/. See memory-template.md for setup.
~/Clawic/data/reflection/
├── memory.md # Status + preferences + stats
├── reflections.md # Log (most recent first)
├── patterns.md # Detected patterns
└── archive/ # Monthly archives
Quick Reference
| Topic | File |
|---|---|
| Setup process | setup.md |
| Memory template | memory-template.md |
| Evaluation dimensions | dimensions.md |
| Reflection prompts | prompts.md |
Core Rules
1. Check Lessons Before Acting
Before significant work, scan ~/Clawic/data/reflection/patterns.md. Surface relevant lessons:
"Before we proceed — I have a lesson from past work on [topic]: [summary]."
2. Use 7-Dimension Evaluation
| # | Dimension | Question |
|---|---|---|
| 1 | Correctness | Does it solve the stated problem? |
| 2 | Completeness | Edge cases covered? Assumptions stated? |
| 3 | Clarity | Immediately understandable? |
| 4 | Robustness | What could break this? |
| 5 | Efficiency | Unnecessary complexity? |
| 6 | Alignment | What user actually wants? |
| 7 | Pride | Would I sign my name on this? |
If any dimension scores below 7/10 → fix before delivering.
3. Log Every Correction
When user corrects you:
- STOP and acknowledge
- Analyze root cause
- Log to
~/Clawic/data/reflection/reflections.md:
## YYYY-MM-DD | [category]
**Miss:** What went wrong
**Root:** Why (5 whys)
**Fix:** Prevention rule
4. Detect Patterns (After 5 Reflections)
- Same category 3+ times → create prevention rule
- Same mistake twice → escalate to pattern
- Improve
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
- dimensions.md
- memory-template.md
- prompts.md
- reflections.md
- setup.md
FAQ
Что делает скилл Self Reflection?
Learns when to stop and review. Self-critiques before showing you, fewer revision rounds.
Как установить скилл Self Reflection?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Self Reflection запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…