with one click
ctx-reflect
// Reflect on session progress. Use at natural breakpoints, after unexpected behavior, or when shifting to a different task.
// Reflect on session progress. Use at natural breakpoints, after unexpected behavior, or when shifting to a different task.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | ctx-reflect |
| description | Reflect on session progress. Use at natural breakpoints, after unexpected behavior, or when shifting to a different task. |
Pause and reflect on this session. Review what has been accomplished and identify context worth persisting.
/ctx-reflect
/ctx-reflect (after fixing the auth bug)
Before listing items, step back and reason through the session as a whole: what was the arc, what surprised you, what would you do differently? This framing surfaces insights that a mechanical checklist misses.
Work through each category. Skip categories with nothing to report; do not force empty sections.
After reflecting, provide:
This session implemented the cooldown mechanism for
ctx agentand updated all related docs. We discovered that$PPIDin hook context resolves to the Claude Code process PID, which is unique per session.I'd suggest persisting:
- Learning:
$PPIDin PreToolUse hooks resolves to the Claude Code PID (unique per session)ctx learning add "Title" --session-id ID --branch BR --commit HASH --context "..." --lesson "..." --application "..."- Task: mark "Add cooldown to ctx agent" as done
- Decision: tombstone-based cooldown with 10m default
ctx decision add "Title" --session-id ID --branch BR --commit HASH --context "..." --rationale "..." --consequence "..."Want me to persist any of these?
| What to persist | Command |
|---|---|
| Learning | ctx learning add "Title" --session-id ID --branch BR --commit HASH --context "..." --lesson "..." --application "..." |
| Decision | ctx decision add "Title" --session-id ID --branch BR --commit HASH --context "..." --rationale "..." --consequence "..." |
| Task completed | Edit TASKS.md directly |
| New task | ctx task add "Description" --session-id ID --branch BR --commit HASH |
Before presenting the reflection, verify: