| name | ctx-next |
| description | Suggest what to work on next. Use when starting a session, finishing a task, or when unsure what to prioritize. |
Analyze current tasks and recent session activity, then suggest
1-3 concrete next actions with rationale.
When to Use
- At session start after loading context ("what should I do?")
- After completing a task ("what's next?")
- When the user asks for priorities or direction
- When multiple tasks exist and it's unclear which to pick
When NOT to Use
- When the user has already stated what they want to work on
- When actively mid-task (don't interrupt flow with suggestions)
- When no context directory exists (nothing to analyze)
Usage Examples
/ctx-next
/ctx-next (just finished the auth refactor)
Process
Do all of this silently: do not narrate the steps:
- Read TASKS.md to get the full task list with statuses,
priorities, and phases
- Check recent sessions to understand what was just worked
on and avoid suggesting already-completed work:
ctx journal source --limit 3
- Read the most recent session file (if any) to understand
what was accomplished and what follow-up items were noted
- Analyze and rank tasks using the priority logic below
- Present 1-3 recommendations in the output format below
Priority Logic
Rank candidate tasks using these criteria (in order):
- Explicit priority:
#priority:high > #priority:medium