Self-improvement through conversation analysis. Extracts learnings from corrections and success patterns, proposes updates to agent files or creates new skills. Philosophy: "Correct once, never again." Use when: (1) User explicitly corrects behavior ("never do X", "always Y"), (2) Session ending or context compaction, (3) User requests /reflect, (4) Successful pattern worth preserving.
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Self-improvement through conversation analysis. Extracts learnings from corrections and success patterns, proposes updates to agent files or creates new skills. Philosophy: "Correct once, never again." Use when: (1) User explicitly corrects behavior ("never do X", "always Y"), (2) Session ending or context compaction, (3) User requests /reflect, (4) Successful pattern worth preserving.
zh_description
用于reflect、learn,支持检索、拆解、反思和决策。
version
2.0.0
author
Claude Code Toolkit
source
in-house
source_url
tags
["learn", "planning", "reflect", "workflow"]
created_at
2026-03-04
updated_at
2026-03-20
quality
5
complexity
intermediate
allowed-tools
null
Reflect - Self-Improvement Skill
Quick Reference
Command
Action
/reflect
Analyze conversation for learnings
/reflect on
Enable auto-reflection
/reflect off
Disable auto-reflection
/reflect status
Show state and metrics
/reflect review
Review low-confidence learnings
/reflect [agent]
Focus on specific agent
Core Philosophy
"Correct once, never again."
When users correct behavior, those corrections become permanent improvements encoded into the agent system - across all future sessions.
Workflow
Step 1: Initialize State
Check and initialize state files using the state manager:
# Check for existing state
python scripts/state_manager.py init
# State directory is configurable via REFLECT_STATE_DIR env var# Default: ~/.reflect/ (portable) or ~/.claude/session/ (Claude Code)
# Set custom state directoryexport REFLECT_STATE_DIR=/path/to/state
# Or use default# ~/.reflect/ (portable default)# ~/.claude/session/ (Claude Code default)
No Task Tool Dependency
Unlike the previous agent-based approach, this skill executes directly without spawning subagents. The LLM reads SKILL.md and follows the workflow.
Git Operations Optional
Commits are wrapped with availability checks - if not in a git repo, changes are still saved but not committed.