focus
Re-ground on the host repository's product, summarize its top 2-3 open priorities with expected outcomes, and ask for the next goal. Use at the start of a session or when the user asks what to work on.
Focus
Re-orient and ground the agent strictly on the host repository's product, summarize the top 2–3 open priorities with concrete expected outcomes, and align with the user on the next goal.
Triggers: the start of a session, /focus, or when the user asks what to work on next.
Invocation Syntax
/focus— re-ground on the current repository (.).
Workflow
When invoked, the agent executes the following steps immediately without drifting into auxiliary explorations:
1. Re-ground on Host Product
- Acknowledge the active repository (
basename $(git rev-parse --show-toplevel)) and its core software applications, tools, and code as the sole product of this session. - Drop all tangential discussions, unsolicited cross-repository proposals, and secondary distractions.
- Affirm that external repositories are read-only references or bug-reporting targets, never implementation venues.
2. Identify Top Priorities
Extract the top 2–3 key open items, issues, or epics by examining:
- Immediate Session Context: Any task or milestone currently in flight or paused.
- Active Issue Tracker: Run
harnez find issues -a status:activeto discover high-priority (P0/P1), in-progress, or blocking tickets. - Product Roadmap: Consult
docs/Roadmap.mdif present for milestone sequencing.
Select the 2–3 most impactful, actionable items for the product's immediate progress.
3. Project Concrete Outcomes
For each selected priority, articulate a crisp, 1-line outcome projection:
- What user capability is unlocked?
- What defect, performance bottleneck, or reliability risk is resolved?
- How does it advance the product toward its next release or milestone?
4. Interactive Goal Prompt
Format the output cleanly and ask the user to select or state the next /goal:
# 🎯 Repository Focus: <Repo Name>
**Primary Product**: <Summary of core deliverable / tool / app>
### Active Priorities & Expected Outcomes
1. **#<ID> — <Title>**
- *Outcome*: <Concrete product capability or quality fix>
2. **#<ID> — <Title>**
- *Outcome*: <Concrete product capability or quality fix>
3. **#<ID> — <Title>**
- *Outcome*: <Concrete product capability or quality fix>
---
**Next Step**: Which goal would you like to tackle next? (Define with `/goal <statement>`)
- Content
- file-backed
- License:
- AGPL-3.0-or-later
- Origin
- first-party
- Source:
- docs/commands/focus.md
- Source revision
3cb914dfaf6c43cbbbc43868d6b47c2cc7516c22- Requires
- Targets
- codex, claude
- Invocation
- /focus
Related skills
- bug-hunt — Run a bug hunt over active P1/P2 bug tickets: re-verify each against live code, close obsolete ones, fix the rest the way forward. Only on explicit /bug-hunt or 'bug hunt'.
- decide — Session-scoped autonomy for the orchestrating agent: answer simple questions yourself, consult cheap or smart advisors, push ready work without asking, and stop only for very critical questions. Only on explicit /decide.
- docup — Review and update bounded repository documentation by category (testing, architecture)
- epic — Plan, refine and run epics with open-epic checks, affinity grouping, internal goal setting, and file/run/next modifiers. Only on explicit /epic or 'epic'.