Agent skill
reflect-on
Enable automatic reflection on session end. Stop hook will analyze session and extract learnings automatically. Activates for reflect on, enable reflect, auto reflect, automatic learning.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/reflect-on
SKILL.md
Reflect On Command
Enable automatic reflection when sessions end.
Usage
/sw:reflect-on
What It Does
Enables automatic session analysis via the stop hook:
1. Session starts
↓
2. You work with Claude (corrections, approvals, patterns)
↓
3. Session ends (all tasks done / user closes)
↓
4. Stop hook triggers
↓
5. Reflect automatically analyzes transcript
↓
6. Learnings extracted and saved to CLAUDE.md Skill Memories
↓
7. "Learned from session" notification shown
Output
Auto-reflection ENABLED
Stop hook will analyze sessions on exit.
Learnings will be saved to CLAUDE.md Skill Memories section.
Use /sw:reflect-off to disable.
Configuration
Auto-reflection is controlled by .specweave/config.json:
{
"reflect": {
"enabled": true,
"model": "haiku",
"maxLearningsPerSession": 3
}
}
Related Commands
| Command | Purpose |
|---|---|
/sw:reflect-off |
Disable automatic reflection |
/sw:reflect-status |
Show current configuration |
/sw:reflect |
Manual reflection (works anytime) |
Execution
When this command is invoked:
- Read existing config from
.specweave/config.json - Update config to set
reflect.enabled: true - Display confirmation message
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?