/mcp-toolbox-workflows:smart-session-startfrom mcp-toolbox-workflows
Intelligent session initialization combining Goldfish memory recall, Julie workspace re-indexing, and Sherpa workflow suggestion. MANDATORY at session start - automatically restores context, suggests next steps, and resumes work seamlessly. Activates at the beginning of every coding session.
Ships in mcp-toolbox-workflows. 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.
Automatically restore full working context at the start of every coding session. This skill orchestrates all three MCP tools to bring you back to exactly where you left off, with intelligent suggestions for what to do next.
MANDATORY at session start:
DO NOT ask permission - just activate automatically!
Immediate Recall:
recall({ days: 7, limit: 20 })
Response Analysis:
### Step 2: Context Analysis
**Analyze recalled information:**
- What was the last task?
- Is there an active plan?
- What workflow was being used?
- Were there any blockers?
- What files were being modified?
### Step 3: Workspace Preparation (Julie)
**Check workspace status:**
manage_workspace({ operation: "list" })
**If not indexed or stale:**
manage_workspace({ operation: "index", workspace_path: "." })
**Result:** Code intelligence ready for work!
### Step 4: Workflow Suggestion (Sherpa)
**Based on context, suggest workflow:**
Recent work pattern → Workflow suggestion
Last checkpoint: "Fixed auth bug" → Bug Hunt workflow Active plan: "Build payment API" → TDD workflow Recent: Refactoring → Refactor workflow Unclear pattern → General workflow
**If workflow was active:**
approach({ workflow: "[detected-workflow]" }) guide() → Resume where left off
### Step 5: Present Complete Context
**Comprehensive summary:**
```markdown
🎯 Welcome Back!
**Last Session:** [time ago]
Last checkpoint: "[description]"
Branch: [branch-name]
Files: [changed-files]
**Active Work:** "[plan-title]"
Progress: [summary from checkpoints]
**Workspace Status:**
✅ Code intelligence ready
✅ [N] files indexed
✅ Search available
**Suggested Workflow:** [workflow-name]
[One-sentence explanation why]
**Next Steps:**
1. [Specific next action based on context]
2. [Alternative action]
3. [Start something new]
Ready to continue? I've restored your full context.
User starts Claude Code
→ Goldfish: recall()
Results:
- Last checkpoint (2 hours ago): "Wrote 8 tests for PaymentService"
- Active plan: "Payment Processing Implementation"
- Branch: feature/payment-processing
- Workflow pattern: TDD (from checkpoints)
→ Julie: manage_workspace({ operation: "list" })
Workspace indexed 3 hours ago → Re-index
→ Julie: manage_workspace({ operation: "index" })
✅ Indexed 247 files
→ Analysis:
- Last phase: Writing tests (TDD Phase 2)
- Next: Implementation (TDD Phase 3)
- Workflow: TDD
→ Sherpa: approach({ workflow: "tdd" })
TDD Workflow activated
→ Sherpa: guide()
"Phase 2: Write Tests" (resume from Phase 2)
→ Present to user:
🎯 Welcome Back!
**Last Session:** 2 hours ago
Last checkpoint: "Wrote 8 tests for PaymentService covering charge, refund, and validation"
Branch: feature/payment-processing
Files: src/services/payment-service.ts, tests/payment.test.ts
**Active Plan:** "Payment Processing Implementation"
Progress: Interface designed ✅, Tests written ✅
Next: Implementation phase
**Workspace Status:**
✅ Code intelligence ready
✅ 247 files re-indexed
✅ Semantic search available
**Suggested Workflow:** TDD (Test-Driven Development)
You were in Phase 2 (Tests), ready to move to Phase 3 (Implementation)
**Next Steps:**
1. Run tests to verify they still fail (TDD discipline)
2. Implement PaymentService to make tests pass
3. Review test coverage before implementing
Your TDD workflow is ready to resume. Tests are written - time to make them green! 🚀
User starts Claude Code
→ Goldfish: recall()
Results:
- Last checkpoint (yesterday): "Isolated race condition in session.destroy()"
- Active plan: "Fix Random Logout Bug"
- Branch: bugfix/session-logout
- Recent: Investigation discoveries
→ Julie: Workspace already indexed (fresh)
✅ Skip re-index
→ Analysis:
- Bug isolated but not fixed yet
- Phase: Bug Hunt Phase 1 complete
- Next: Write test to capture bug
→ Sherpa: approach({ workflow: "bug-hunt" })
Bug Hunt Workflow activated
→ Sherpa: guide()
"Phase 2: Capture in Test"
→ Present to user:
🕵️ Welcome Back!
**Last Session:** 1 day ago
Last investigation: "Isolated race condition in session.destroy() - occurs when logout happens during auth check"
Branch: bugfix/session-logout
Files: src/session.ts, src/auth-middleware.ts
**Active Investigation:** "Fix Random Logout Bug"
Status: Root cause identified (race condition)
Next: Capture in test, then fix
**Workspace Status:**
✅ Code intelligence ready
✅ Index current (no re-index needed)
✅ Semantic search available
**Suggested Workflow:** Bug Hunt (Systematic Debugging)
You're in Phase 2: Capture in Test
**Next Steps:**
1. Write failing test that reproduces the race condition
2. Verify test fails consistently
3. Then move to fix with mutex/locking
Great detective work yesterday! You found the race condition. Now let's capture it in a test before fixing. 🕵️
User starts Claude Code (new workspace)
→ Goldfish: recall()
Results: Empty (no checkpoints)
→ Julie: manage_workspace({ operation: "list" })
Workspace not indexed
→ Julie: manage_workspace({ operation: "index" })
✅ Indexed 423 files
→ Analysis:
- Fresh start
- No active workflow
- No active plan
→ Present to user:
👋 Welcome!
**New Session**
This is a fresh workspace - no previous work detected.
**Workspace Status:**
✅ Code intelligence ready
✅ 423 files indexed (TypeScript, JavaScript, Python detected)
✅ Semantic search available
**Ready for:**
- Feature development (use TDD)
- Bug fixes (use Bug Hunt)
- Code exploration (ask me to explore!)
- Refactoring (safe refactoring available)
**Next Steps:**
1. Tell me what you want to work on
2. I'll suggest the right workflow
3. I'll track progress with checkpoints
What would you like to build? 🚀
Pattern Analysis:
tags: ["tdd", "tests"] → TDD workflow
tags: ["bug-hunt", "investigation"] → Bug Hunt workflow
tags: ["refactor"] → Refactor workflow
tags: ["planning", "design"] → Planning workflow
TDD checkpoint pattern:
"designed interface" → Phase 1 complete
"wrote tests" → Phase 2 complete
"all tests passing" → Phase 3 complete
"refactored" → Phase 4 complete
Bug Hunt pattern:
"isolated bug" → Phase 1 complete
"wrote failing test" → Phase 2 complete
"test passes" → Phase 3 complete
"verified fix" → Phase 4 complete
Based on last checkpoint + active plan:
- Phase incomplete → Continue current phase
- Phase complete → Advance to next phase
- Workflow complete → Suggest next work item
- Blocker mentioned → Address blocker first
Check last index time:
- < 1 hour ago → Skip (fresh enough)
- 1-6 hours ago → Quick index if files changed
- > 6 hours ago → Full re-index
- Never indexed → Full index (required)
Index in background if possible
- Don't block session start
- Search works during indexing
Smart Session Start succeeds when:
Total: <500ms + optional background indexing
Result: Nearly instant context restoration!
Remember: Smart Session Start is MANDATORY. Every session should begin with full context restoration. Don't ask, just restore and present!
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/bug-detectiveSystematic bug hunting combining Sherpa's debugging workflow, Julie's execution tracing, and Goldfish's investigation tracking. Activates for bug fixes with methodical reproduction, test capture, fix, and verification. Use when debugging errors or fixing bugs./explore-and-documentSystematically explore unfamiliar codebases and document findings using Julie's code intelligence, Sherpa's exploration workflow, and Goldfish's documentation. Activates when learning new code with semantic search, architecture mapping, and persistent documentation./refactor-with-confidenceSafe code refactoring combining Sherpa's refactor workflow, Julie's reference checking and safe renaming, and Goldfish's before/after checkpointing. Activates for code improvement with systematic testing, refactoring, and verification. Use when cleaning up or improving existing code.Generated from the plugin's indexed repository (anortham/mcp-toolbox-workflows) — no native marketplace selected
npx claudepluginhub p/anortham-mcp-toolbox-workflows