agentsop-map-reduce-fanout

Community

Parallelize per-item LM work safely.

Authoragentsope
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you design a reliable map-reduce / dynamic fan-out decision protocol for language-model pipelines that need to run per-item work in parallel and then merge results coherently.

Core Features & Use Cases

  • Activation guidance: Determines when map-reduce fan-out is appropriate versus when you should use batching, chaining, or sequential/DAG workflows.
  • Concurrency-by-design: Defines how to choose and enforce a bounded concurrency level (e.g., semaphores, max concurrency) to avoid 429/TPM storms.
  • Failure policy & timeouts: Provides explicit abort-all, best-effort, retry-then-skip, and quorum strategies plus per-call and total wall-clock timeouts.
  • Reduction shape: Guides reducer selection (concatenate, summarize, vote/majority, rank-top-K, dedupe/merge, tree-reduce) based on the downstream consumer’s input requirements.
  • Cross-framework SOP: Covers mechanics and gotchas across asyncio, LangGraph Send, CrewAI parallelism, and retrieval fan-out patterns.

Quick Start

Tell your coding agent to apply the agentsop-map-reduce-fanout skill when it is about to write a loop that performs independent LM calls per N items and then merge the outputs with a reducer that matches your downstream needs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: agentsop-map-reduce-fanout
Download link: https://github.com/agentsope/SkillAlchemy/archive/main.zip#agentsop-map-reduce-fanout

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.