Skip to content

haddock-development/claude-reflect-system / reflect

reflect

Verified

Analyzes conversation transcripts to extract user corrections, patterns, and preferences, then proposes skill improvements. Use this skill when users provide corrections, express preferences about code style, or when patterns emerge from successful approaches. Can be triggered manually with /reflect or automatically at session end when enabled.

FileKindSize
.state/auto-reflection.jsonconfig54 B
.state/last-reflection.timestampother0 B
README.mdmarkdown7.3 KB
SKILL.mdskill md2.8 KB
USER_GUIDE.mdmarkdown21.4 KB
commands/reflect-meta.mdmarkdown1.6 KB
commands/reflect-promote.mdmarkdown1.8 KB
commands/reflect-stats.mdmarkdown772 B
references/signal-patterns.mdmarkdown6.0 KB
scripts/extract_signals.pyexecutablescript12.3 KB
scripts/hook-stop.shexecutablescript2.2 KB
scripts/learning_ledger.pyscript12.6 KB
scripts/meta_learning.pyscript14.8 KB
scripts/present_review.pyexecutablescript9.9 KB
scripts/promote_learning.pyscript8.0 KB
scripts/reflect.pyexecutablescript5.3 KB
scripts/scope_analyzer.pyscript8.3 KB
scripts/semantic_detector.pyscript8.1 KB
scripts/toggle-off.shexecutablescript431 B
scripts/toggle-on.shexecutablescript499 B
scripts/toggle-status.shexecutablescript2.5 KB
scripts/update_skill.pyexecutablescript8.2 KB

commands/reflect-meta.md

View on GitHub
---
name: reflect-meta
description: Show meta-learning statistics and pattern performance
---

# /reflect-meta Command

Shows statistics about how well the reflection patterns are performing based on your feedback history.

## What This Shows

1. **Overall Health** - How well your patterns are performing
2. **Decision Breakdown** - Accept/Modify/Skip distribution
3. **Pattern Health** - Which patterns work well, which need review
4. **Deprecated Patterns** - Patterns you frequently skip (may need removal)
5. **High-Performing Patterns** - Patterns you consistently accept

## Usage

```bash
/reflect-meta
```

## How Meta-Learning Works

Meta-learning is **completely passive by default**:

1. When you run `/reflect`, your decisions (Accept/Modify/Skip) are recorded
2. Over time, patterns that get frequently skipped are flagged
3. Patterns that get accepted consistently are marked as "excellent"
4. This data is stored locally in `~/.claude/reflect/meta/`

## Activating Score-Based Adjustments

To enable meta-learning to actually influence confidence scores:

```bash
/reflect --use-meta
```

This will:
- Boost confidence of high-performing patterns (+0.1)
- Lower confidence of poorly-performing patterns (-0.15 to -0.3)
- Flag deprecated patterns in the review UI

## Data Management

View raw scores:
```bash
python ~/.claude/skills/reflect/scripts/meta_learning.py scores
```

Reset all meta-learning data:
```bash
python ~/.claude/skills/reflect/scripts/meta_learning.py reset --confirm
```

## Privacy

All data stays 100% local. Nothing is sent anywhere.
Data is stored in human-readable JSON format.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall