haddock-development/claude-reflect-system/reflect
Claude Code and agent skill by haddock-development/claude-reflect-system
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install haddock-development/claude-reflect-system/reflectSKILL.md
Reflect - Self-Improving Skills
Overview
This skill enables Claude Code to learn from conversations by analyzing corrections, approvals, and patterns, then proposing updates to relevant skills. It implements a "correct once, never again" learning system.
Usage Modes
1. Manual Reflection (/reflect)
Trigger analysis of the current conversation:
- Without skill-name: Analyzes all skills used in conversation
- With skill-name: Focuses on specific skill
2. Automatic Reflection
When enabled via /reflect-on, runs automatically at session end via Stop hook.
3. Toggle Commands
/reflect-on- Enable automatic reflection/reflect-off- Disable automatic reflection/reflect-status- Show current configuration
Confidence Levels
HIGH - Explicit corrections:
- User contradicts Claude's approach with specific alternative
- Pattern: "Don't do X, do Y instead"
- Action: Direct updates with deprecation warnings
MEDIUM - Approvals and patterns:
- User approves specific approach
- Pattern succeeds multiple times
- Action: Add to "Best Practices" section
LOW - Observations:
- User questions or suggests alternatives
- Pattern: "Have you considered..." or "Why not try..."
- Action: Add to "Considerations" section
Workflow
- Signal Detection - Scan transcript for corrections/patterns
- Context Analysis - Extract 5-message context around signals
- Skill Mapping - Match signals to relevant skills
- Change Proposal - Generate diff of proposed updates
- User Review - Interactive approval with natural language editing
- Application - Safe YAML/markdown updates with backups
- Git Commit - Automatic commit with descriptive message
Scripts
Core Engine
scripts/reflect.py- Main orchestration logicscripts/extract_signals.py- Pattern detection enginescripts/update_skill.py- Safe skill file updatesscripts/present_review.py- Interactive review interface
Automation
scripts/hook-stop.sh- Stop hook integrationscripts/toggle-on.sh- Enable auto-reflectionscripts/toggle-off.sh- Disable auto-reflectionscripts/toggle-status.sh- Show status
Safety Features
- Timestamped backups before all edits
- YAML validation before writing
- Lock files prevent concurrent runs
- Graceful error handling with rollback
- Git status checks before commits
References
See references/signal-patterns.md for detailed pattern library.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingreflect/SKILL.md
Popularity
- Repository stars
- 86
- Repository forks
- 12
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 31 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/haddock-development/claude-reflect-system/reflect)