Agent skill · operations · laurigates
refocus
Refresh the plan to focus on the task at hand. Use when context grew, completed steps muddy it, or you want to clear context and continue in auto mode.
Why this skill is useful
Adds a structured workflow for refocusing project plans based on conversation context and git state, which the AI wouldn't generate reliably on its own.
What it needs
About 5k tokens when loaded. Last updated 2026-08-06. 49 stars on the source repository.
What this skill does
/project:refocus Refresh the plan so it focuses only on the task that remains, then surface it for approval so the user can clear context and continue in auto mode from a clean slate. When to Use This Skill Use this skill when... Use the alternative when... ------------------------ ----------------------------- Context has grown and the completed early steps now muddy it Resuming after a break with no live context to trim → /project:continue You want a tightened, forward-only plan before continuing Capturing session learnings into rules/recipes → /project:distill You want to clear context and continue in auto mode without losing the thread Entering an unfamiliar codebase needing orientation → /project:discovery The user says "refresh the plan", "refocus", "let's focus on what's left", "trim the context" Picking the next blueprint action → /blueprint:execute The output is deliberately self-contained: it must survive a context clear. Approving it from the ExitPlanMode dialog is where Claude Code offers "clear context and continue in auto mode." Context Current branch: !git branch --show-current Working tree: !git status --porcelain=v2 --branch Recent commits: !git log --format='%h %s' --max-count=8 Active todos: review the current TodoWrite list (if any) for done-vs-remaining state Parameters Parse $ARGUMENTS as an optional free-text focus directive that biases what counts as Remaining vs Stale and what the Objective emphasizes (e.g. "focus on the API layer, ignore the docs work"). No directive → behave deterministically from conversation + git as today; do not invent a focus. Directive given → treat it as steering, not override. It re-weights the bucketing and phrasing; it does not cancel a genuine in-flight boundary the user set earlier ("don't push until I review", "keep the old endpoint"). When a directive appears to contradict a live boundary, keep the boundary and note the tension in the plan rather than silently dropping it. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills laurigates/project-refocus