com um clique
spin-up
// Set up a project's CLAUDE.md with context management best practices — the subagent delegation pattern that keeps the main conversation clean.
// Set up a project's CLAUDE.md with context management best practices — the subagent delegation pattern that keeps the main conversation clean.
Build presentation slides as HTML/CSS with Puppeteer screenshot loop. Use when the user mentions 'make slides,' 'create slides,' 'presentation,' 'slide deck,' or 'make-slides.'
Web research using Tavily and Firecrawl. Searches the web, reads pages, crawls sites, and synthesizes findings. Use when: (1) user says "web research", "research this", "look into", "find out about", "what's the latest on", "/web-research", (2) user needs information from the web to inform a decision, strategy, or content, (3) user provides a URL and wants it read/analyzed, (4) user wants competitive intel, market research, or topic deep-dives. NOT for: X/Twitter research (use /x-research), Reddit research (use Reddit MCP directly), scraping for data pipelines, or browser automation unrelated to research.
| name | spin-up |
| description | Set up a project's CLAUDE.md with context management best practices — the subagent delegation pattern that keeps the main conversation clean. |
| user-invocable | true |
Set up a new project's CLAUDE.md with context management best practices — specifically, the subagent delegation pattern that keeps the main conversation clean.
When the user runs /spin-up, you help them configure a project's CLAUDE.md so that Claude Code automatically delegates exploration, research, and verbose operations to subagents instead of bloating the main context window.
Ask the user: "What project do you want to spin up? Give me the path or name."
If they provide a path, use it. If they say "this one" or similar, use the current working directory.
Look for a CLAUDE.md file in the project root.
## Context Management section.
Add the following section to the CLAUDE.md. If the file already has content, append it in a logical location (after any existing overview/description sections, before any detailed reference sections).
## Context Management
Context is your most important resource. Proactively use subagents (Task tool) to keep exploration, research, and verbose operations out of the main conversation.
**Default to spawning agents for:**
- Codebase exploration (reading 3+ files to answer a question)
- Research tasks (web searches, doc lookups, investigating how something works)
- Code review or analysis (produces verbose output)
- Any investigation where only the summary matters
**Stay in main context for:**
- Direct file edits the user requested
- Short, targeted reads (1-2 specific files)
- Conversations requiring iterative back-and-forth
- Tasks where the user needs to see intermediate steps
**Rule of thumb:** If a task will read more than ~3 files or produce output the user doesn't need to see verbatim, delegate it to a subagent and return a summary.
After adding the section, tell the user:
Done — your CLAUDE.md now has the Context Management section.
How to verify it works: Start a new session and ask Claude to investigate something in your codebase. You should see
Tasktool calls (spawning subagents) instead of a wall of individualReadcalls. That means it's delegating.What this saves you: Without this, Claude reads every file directly into your conversation — burning 15,000+ tokens on content you'll never reference again. With this, exploration happens in isolated subagents and only the summary comes back. Your context stays clean.