Claude Spawner for VS Code
The missing link for Claude Code workflows: Spawn new Claude Code instances directly from within Claude Code!
Finally, you can programmatically create fresh Claude Code sessions with custom parameters - solving the context pollution problem and enabling true multi-task AI workflows.
Features
- 🔄 Claude-to-Claude Spawning: Use Claude slash commands or agents to spawn new Claude instances
Why Claude Spawner?
When working with Claude on complex projects, context pollution becomes a major issue. You start solving one problem, then need to document it, then need to solve a related issue - and suddenly your conversation is a tangled mess.
Claude Spawner solves this by letting you spawn fresh Claude instances on-demand:
- From Claude slash commands: Create a
/spawn
command that opens a new Claude with your problem statement
- From Claude agents: Let your agents spawn specialized Claude instances for subtasks
- With perfect context: Each session starts clean with only the context it needs
Requirements
- macOS only (Windows and Linux support coming soon)
- VS Code 1.74.0 or higher
- Claude CLI installed and authenticated
Installation
- Install from the VS Code Marketplace (search for "Claude Spawner")
Usage
URI Handler
Open Claude from anywhere using URIs:
# Basic spawn
vscode://EricWimp8.claude-vscode-spawner-extension/spawn
# With model
vscode://EricWimp8.claude-vscode-spawner-extension/spawn?model=sonnet
# With all parameters
vscode://EricWimp8.claude-vscode-spawner-extension/spawn?model=sonnet&systemPrompt=Be%20helpful&userMessage=Hello
Command Palette
- Press
Cmd+Shift+P
(Mac) or Ctrl+Shift+P
(Windows/Linux)
- Type "Spawn Claude in Terminal Tab"
- Enter optional parameters when prompted
Keyboard Shortcut
- Mac:
Cmd+Shift+C
- Windows/Linux:
Ctrl+Shift+C
Parameters
- Model: Specify Claude model (e.g.,
sonent
)
- System Prompt: Set initial behavior/context for Claude
- User Message: Send an initial message to Claude
Examples
Quick Code Review
Model: sonnet
System Prompt: You are a code reviewer. Be thorough but concise.
User Message: Review the changes in my last commit
Focused Problem Solving
Model: sonnet
System Prompt: Focus only on solving the specific problem presented. Stay on topic.
User Message: Help me fix the memory leak in my React component
Support
- ✅ macOS: Fully supported
- ⏳ Windows: Coming soon
- ⏳ Linux: Coming soon
Getting Help
Troubleshooting
- Extension not appearing: Reload VS Code window (
Cmd+R
)
- Claude not starting: Ensure Claude CLI is installed and in your PATH
- Working directory issues: Extension uses the first workspace folder by default
- Platform compatibility: This extension currently only works on macOS
Contributing
Contributions welcome! Please visit our GitHub repository.
License
MIT