Optimizing Parallel Execution for Presentation Building Workflows

Resolved 💬 3 comments Opened Dec 6, 2025 by stephaniegoldman12 Closed Dec 6, 2025

How to Build Presentations Fast with Claude Code

The Challenge

When building a full presentation, you need to:

  1. Read multiple source files (often ragged/unstructured)
  2. Use various tools to process content
  3. Create an agenda
  4. Generate HTML for each slide (or find/use templates)

How Claude Code Executes Things in Parallel

1. Parallel Tool Calls (Built-in)

Claude Code can make multiple independent tool calls in a single message. This is automatic when:

  • Reading multiple files that don't depend on each other
  • Searching with multiple patterns simultaneously
  • Making multiple API calls that don't have dependencies

Example: If you have 10 source documents, Claude Code can read all 10 in a single round-trip.

2. Task Tool with Parallel Agents

For complex work, the Task tool can launch multiple specialized agents that run concurrently:

- Launch Agent 1: Process document A → generate slides 1-3
- Launch Agent 2: Process document B → generate slides 4-6  
- Launch Agent 3: Process document C → generate slides 7-9

All three agents execute simultaneously.

3. Sequential Dependencies

Operations that depend on previous results MUST be sequential:

  • Read file → then edit it
  • Create agenda → then generate slides that reference it
  • Find template → then apply it

Optimal Strategy for Presentation Building

Phase 1: Parallel Discovery & Reading

Parallel:
├── Read all source files (batch)
├── Find existing templates (glob search)
├── Search for branding/style guides
└── Check for existing slide patterns

Phase 2: Planning (Sequential)

Sequential:
├── Analyze content from all sources
├── Create agenda/outline
└── Decide template approach

Phase 3: Parallel Slide Generation

Parallel (using Task agents):
├── Agent 1: Generate slides 1-N
├── Agent 2: Generate slides N+1-M
├── Agent 3: Generate slides M+1-end
└── Each agent has full context of agenda

Phase 4: Assembly (Sequential)

Sequential:
├── Combine all generated slides
├── Apply consistent styling
└── Final review/adjustments

Practical Tips

  1. Batch your requests: Instead of "read file A, then read file B", say "read files A, B, C, D, E"
  1. Use explicit parallelism: Tell Claude Code "run these in parallel" when you want concurrent Task agents
  1. Front-load reading: Get all source material read upfront before processing
  1. Template-first: Find/decide on templates before generating content
  1. Chunk by independence: Group slides that don't depend on each other for parallel generation

Example Prompt for Fast Presentation Building

Build a presentation from these sources. Execute efficiently:

1. PARALLEL: Read all files in /sources/ directory
2. PARALLEL: Find any existing templates in /templates/
3. SEQUENTIAL: Create agenda based on all content
4. PARALLEL: Generate HTML for each slide section (use Task agents)
5. SEQUENTIAL: Assemble final presentation

Key Insight

The bottleneck is usually sequential dependencies, not raw execution speed. Structure your workflow to minimize dependencies between steps, and Claude Code will automatically parallelize what it can.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗