/ctx:ctx-reflectfrom ctx
Reflects on session progress at natural breakpoints, after unexpected behavior, or when shifting tasks. Helps capture learnings, decisions, and tasks to persist context across sessions.
Ships in ctx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub activememory/ctx --plugin ctx54 skills in this plugin
/ctx-agentLoad full context packet. Use at session start or when context seems stale or incomplete./ctx-architectureBuild and maintain architecture maps. Use to create or refresh ARCHITECTURE.md and DETAILED_DESIGN.md. Supports principal mode for deeper analysis: vision, future direction, bottlenecks, implementation alternatives, gaps, upstream proposals, and intervention points./ctx-architecture-enrichEnrich architecture artifacts with code intelligence data. Takes existing /ctx-architecture output as baseline, verifies and quantifies with GitNexus MCP (blast radius, execution flows, domain clustering, registration sites). Run after /ctx-architecture, not instead of it./ctx-archiveArchive completed tasks. Use when TASKS.md has many completed items cluttering the view.Other plugins' skills for the same job