Map Reduce
Orchestration pattern for large-scale processing where work is distributed, processed independently, then combined. Map phase splits and processes, Reduce phase aggregates results. Use for codebase-wide analysis, bulk transformations, or any task where "do X to everything, then summarize.
Install
npx skills add ElliotJLT/Claude-Skill-Potions --skill map-reducegit clone --depth 1 https://github.com/ElliotJLT/Claude-Skill-Potions.git /tmp/Claude-Skill-Potions
mkdir -p ~/.claude/skills
cp -r /tmp/Claude-Skill-Potions/skills/map-reduce ~/.claude/skills/map-reducePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Map-Reduce
<purpose>
Some tasks are too large for single-pass processing: analyze every file in a
codebase, check all endpoints for issues, transform all components to new
pattern. Map-Reduce handles this: split the work (map), process in parallel,
combine results (reduce). It's batch processing for Claude.
</purpose>
## When To Activate
Trigger when:
- Task involves "all files" or "every X"
- Processing a large number of similar items
- Need aggregate statistics or summaries across many items
- Transformation must be applied uniformly
- Analysis must cover entire codebase/dataset
Do NOT trigger for:
- Small number of items (just do them directly)
- Items requiring different processing logic
- When intermediate results affect how later items are processed
## The Pattern
```
MAP PHASE REDUCE PHASE
┌────────────┐
│ Process A │──→ Result A ─┐
[All Items] ├────────────┤ │ ┌─────────────┐
│ │ Process B │──→ Result B ─┼──→ │ Aggregate │──→ [Final]
│ ├────────────┤ │ └─────────────┘
└──Split─│ Process C │──→ Result C ─┘
├────────────┤
│ Process D │──→ Result D ─┘
└────────────┘
```
## Instructions
### Step 1: Define the Job
Specify what you're processing:Details
- Skill name
map-reduce- Repository
- ElliotJLT/Claude-Skill-Potions
- Path
skills/map-reduce/SKILL.md- License
- MIT
- Repo updated
- 12 February 2026
FAQ
What does the Map Reduce skill do?
Orchestration pattern for large-scale processing where work is distributed, processed independently, then combined. Map phase splits and processes, Reduce phase aggregates results. Use for codebase-wide analysis, bulk transformations, or any task where "do X to everything, then summarize.
How do I install the Map Reduce skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add ElliotJLT/Claude-Skill-Potions --skill map-reduce. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Map Reduce popular?
It lives in ElliotJLT/Claude-Skill-Potions, which has 62 GitHub stars and 2 forks.
Related skills
Agent Audit
62ElliotJLT/Claude-Skill-Potions
When reviewing, optimizing, or inheriting an LLM agent, systematically identify what's actually load-bearing vs. cruft. Instruments usage, ablates components, and strips the agent to minimum viable form. Answers: "What can we remove without degrading quality?" The goal is the leanest agent that still works.
Battle Plan
62ElliotJLT/Claude-Skill-Potions
Before ANY significant development task (new feature, refactor, integration, migration), run a complete planning ritual by orchestrating other skills in sequence: rubber-duck (clarify scope) -> pre-mortem (assess risks) -> eta (estimate time) -> final confirmation. Do not start coding until the battle plan is approved.
Breadcrumbs
62ElliotJLT/Claude-Skill-Potions
Leaves notes for future Claude sessions in .claude/breadcrumbs.md. At session end or after significant work, records what was tried, what worked, what failed, and context for next time. On session start, reads breadcrumbs to understand history. Session-to-session memory without manual updates.
Obsidian Base Create
62ElliotJLT/Claude-Skill-Potions
Generates Obsidian .base files from natural language descriptions. Translates requests like "show me all active project notes sorted by date" into valid .base YAML with filters, formulas, views, and summaries. Activates on "create base", "make a view", "show me all notes where", "dashboard", or when user wants structured views of their vault.
Granola Sync
62ElliotJLT/Claude-Skill-Potions
Syncs Granola meeting notes to Obsidian vault. Reads from Granola's local cache to extract meeting metadata and notes, then creates properly formatted markdown files with frontmatter. Also handles manual transcript formatting when cache doesn't have content.
Obsidian Daily Driver
62ElliotJLT/Claude-Skill-Potions
Manages daily notes workflow in Obsidian. Appends tasks, session logs, and learnings to today's daily note. Creates the daily note if it doesn't exist. Bridges Claude Code sessions to your daily note so nothing gets lost. Activates on "add to daily", "log this", "daily note", or end of session when daily notes are enabled.
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.