/project-plugin:refocus [optional: what to focus on, e.g. 'the API layer, ignore docs work']from project-plugin
Refreshes the plan to focus on remaining tasks, trimming completed steps and clearing context for auto mode. Use when context has grown muddy or you want a tightened forward-only plan.
Ships in project-plugin. 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.
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.
| 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 → /session: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."
git branch --show-currentgit status --porcelain=v2 --branchgit log --format='%h %s' --max-count=8Parse $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").
Execute this plan-refresh workflow. Reason over the live conversation, not just git — git grounds what landed on disk; the conversation holds the decisions and the remaining intent.
Scan the session so far and sort everything into three buckets:
Ground "Done" against git log / git status from Context so you don't trust a claim that never reached disk.
If a focus directive was given (see Parameters): bias the bucketing toward it. Work the directive names becomes Remaining-weighted; areas it de-emphasizes ("ignore the docs work") become Stale-eligible — moved to Stale unless the conversation shows them as a still-active user boundary or an unfinished dependency of the focused work. A directive cannot promote to Done something git/conversation shows unfinished, nor demote to Stale a boundary the user still holds.
From the Done and Remaining buckets, pull the facts the remaining work depends on — the things that would be lost on a context clear:
.claude/rules/auto-mode.md on conversation-stated boundaries).Write a plan that reads as a standalone brief — assume the reader has none of the current context. Use no "as discussed above" / "the file we edited" references; name everything explicitly.
## Objective
<one sentence: the task at hand, restated plainly>
## Already done (do not redo)
- <completed step> → <commit / file proving it landed>
## Constraints & decisions (carry forward)
- <decision or boundary that the remaining work must honor>
## Remaining steps
1. <imperative step naming the exact file/path and what changes>
2. ...
## Verification
- <how we confirm done: test command, behavior to observe>
Drop the Stale bucket entirely — that pruning is the point.
When a focus directive was given, the Objective leads with the focused task and explicitly scopes out the de-emphasized areas, so the cleared-context reader inherits the narrowing.
Call ExitPlanMode with the plan from Step 3 as its content. This presents the refreshed plan for approval and surfaces the continuation options — including clear context and continue in auto mode. Do not start executing the remaining steps before approval.
If the session is not already in plan mode, present the plan as your response and offer to refocus from there; the self-contained plan text is the deliverable either way.
When the user opts to clear context and continue in auto mode, the plan from Step 3 is all that survives — which is exactly why it was written standalone. After the clear, the plan's "Remaining steps" section is the working checklist — work it top to bottom and report each step against its Verification line. Seed the todo tools from it only when they are enabled in the session (see .claude/rules/agentic-permissions.md § "Task-tool availability").
Under auto mode, keep the narrow Bash(<command> *) permissions this skill already declares — they carry over and skip the classifier round-trip (see .claude/rules/auto-mode.md).
Before calling ExitPlanMode, confirm the plan:
| Context | Command |
|---|---|
| What landed on disk | git log --format='%h %s' --max-count=8 |
| Uncommitted surface | git status --porcelain=v2 --branch |
| Confirm a "done" claim | git diff --stat against the named files |
| Seed remaining work | Work the plan's "Remaining steps" top to bottom (Step 5); todo tools only if enabled in the session |
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/changelog-reviewClaude Code changelog analysis for plugin impact. Use when checking new features, breaking changes, or upgrade opportunities from a Claude Code release./project-continueNext task from the feature tracker and PRDs, then implement it. Use when resuming coding in a blueprint project, picking the next tracker task, or resuming a TDD cycle after a break./project-discoveryProject orientation for unfamiliar codebases. Use when entering a new project, exploring unknown repos, or working on shaky assumptions about build, test, lint, or CI setup.npx claudepluginhub laurigates/claude-plugins --plugin project-pluginOther plugins' skills for the same job