From superpowers
Use when user explicitly mentions 'deep work' or signals substantial work ('let's build/implement X'). Sets session preferences upfront to enable autonomous execution. If uncertain, ask: 'Deep Work session or interactive style?'
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers:deep-work-sessionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up a focused working session with preferences established upfront, enabling autonomous execution with minimal interruption.
Set up a focused working session with preferences established upfront, enabling autonomous execution with minimal interruption.
Core principle: Front-load decisions so the agent can work autonomously.
When to use:
When NOT to use:
digraph trigger {
"User message" [shape=doublecircle];
"Mentions 'deep work'?" [shape=diamond];
"Start deep work session" [shape=box];
"Signals substantial work?" [shape=diamond];
"Ask: Deep Work or interactive?" [shape=box];
"Proceed normally" [shape=box];
"User message" -> "Mentions 'deep work'?";
"Mentions 'deep work'?" -> "Start deep work session" [label="yes"];
"Mentions 'deep work'?" -> "Signals substantial work?" [label="no"];
"Signals substantial work?" -> "Ask: Deep Work or interactive?" [label="yes"];
"Signals substantial work?" -> "Proceed normally" [label="no"];
}
Substantial work signals:
Use the question tool to ask:
"Would you like to start a Deep Work session (autonomous execution with upfront planning) or work interactively?" Options: Deep Work session, Interactive style
Announce: "Starting Deep Work session. Let me gather a few preferences upfront."
Analyze what the user wants to do and present a proposed configuration:
Deep Work session for: [task description]
Proposed configuration:
- Commits: Auto-commit after each task
- Questions: Front-loaded (ask everything now, then work autonomously)
- Scope: [inferred - e.g., "src/components/", "no breaking changes"]
- Skills: [relevant skills - e.g., "TDD, verification-before-completion"]
Which would you like to change?
Use the question tool with multiple selection:
Only ask follow-up questions for items the user selected to change.
Commit options:
Question style options:
Scope options (ask whichever are relevant):
Skills options:
Based on the task, propose a sequence of skills:
Proposed workflow:
1. brainstorming - explore the design
2. writing-plans - create implementation plan
3. subagent-driven-development - execute with fresh agents per task
Does this workflow look right?
Use the question tool:
Common workflows:
| Task Type | Typical Workflow |
|---|---|
| New feature (unclear scope) | brainstorming → writing-plans → subagent-driven-development |
| New feature (clear spec) | writing-plans → subagent-driven-development |
| Bug fix | systematic-debugging → TDD fix → verification |
| Refactoring | writing-plans → executing-plans |
| Exploration | brainstorming only |
Summarize the session configuration:
Deep Work session configured:
- Commits: Auto-commit
- Questions: Front-loaded then minimal
- Scope: [summary]
- Workflow: brainstorming → writing-plans → subagent-driven-development
Starting with brainstorming...
Now proceed with the front-loaded work (brainstorming, planning) as configured.
After all front-loaded work is complete (brainstorming done, plan written) but before autonomous implementation begins, use the question tool to ask:
"Planning complete. Implementation is ready to begin. How would you like to proceed?"
Options:
- Continue in this session - Start implementation now
- Fresh session for implementation - Hand off to maximize context for implementation
Why offer this?
If "Fresh session for implementation" chosen:
If "Continue in this session" chosen:
When invoking downstream skills, pass the session context:
For all skills:
[DEEP WORK SESSION]
- Commit preference: [auto/ask/batch/none]
- Question style: [front-loaded/minimal/checkpoint/collaborative]
- Scope: [boundaries]
Operate with maximum autonomy. User has answered foreseeable questions.
If question style is "front-loaded then minimal": only interrupt if truly blocked.
For brainstorming specifically:
These preferences persist for the entire session. Other skills should check if they're already set before asking.
| Preference | Key | Values |
|---|---|---|
| Commits | COMMIT_PREFERENCE | auto, ask, batch, none |
| Questions | QUESTION_STYLE | front-loaded, minimal, checkpoint, collaborative |
| Scope | SCOPE_BOUNDARIES | Free text |
| Skills | SKILL_WORKFLOW | Ordered list |
Deep work sessions may exceed the context window.
REQUIRED SUB-SKILL: Use superpowers:session-handoff for all context management.
When approaching context limits (75-85%), the session-handoff skill handles:
Key points for deep work:
When the user says they're continuing a deep work session and provides a handoff file path:
REQUIRED SUB-SKILL: Use superpowers:session-handoff to read and restore from the handoff document.
After restoring context from the handoff:
Continuing Deep Work session from [handoff file].
Restored configuration:
- Commits: [from handoff]
- Questions: [from handoff]
- Scope: [from handoff]
- Workflow: [from handoff]
Progress: [X of Y tasks complete]
Resuming from: [current task]
MUST NOT:
MUST:
SHOULD:
checklimits tool proactively if unsure about remaining contextRequired sub-skills:
session-handoff - for context management and session continuitymaking-commits - for commit mechanics when COMMIT_PREFERENCE allows commitsSkills that should check for existing session preferences:
writing-plans - check COMMIT_PREFERENCE and QUESTION_STYLE before askingsubagent-driven-development - check COMMIT_PREFERENCE and QUESTION_STYLE before askingbrainstorming - adjust verbosity based on QUESTION_STYLEexecuting-plans - respect COMMIT_PREFERENCE and QUESTION_STYLESkills this typically hands off to:
brainstorming - for unclear scopewriting-plans - for clear specsystematic-debugging - for bug fixessubagent-driven-development or executing-plans - for implementationnpx claudepluginhub b0o/superpowersOrchestrates evidence-driven workflow across Brainstorm, Research, Plan, Implement, and Test phases. Handles session init, resume, migration, and model routing.
Mandatory workflow router invoked before any code edits, debugging, planning, or review. Runs entry sequence including token efficiency and routes to the correct skill for the task.
Prepares and executes uninterrupted 90-120 minute sessions for cognitively demanding single-task work (coding, writing, analysis). Includes scheduling, environment setup, and shutdown ritual.