Individual skill
agentsop-map-reduce-fanout
Decision protocol for the map-reduce / dynamic fan-out pattern in LM pipelines — "given list L, run f(item) for each item in parallel, then combine". Activates when the coder agent is about to process N items with N LM calls (per-doc summarize, per-query retrieve, per-candidate rank, parallel tool fan-out). Encodes the *when*, *how many at once*, *what to do when one fails*, and *how to reduce* — not the API of any single framework. Cross-framework: LangGraph `Send`, CrewAI parallel tasks / Flow, `asyncio.gather`, `ThreadPoolExecutor`, LlamaIndex batch retrieval.
skills/agentsop-map-reduce-fanout/SKILL.md
Source commit cf4376869e5f23f82404c3021a2a1315dfca318d
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 465
- Repository last updated
- Oct 24, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skill Repository topic
- skill-creation Repository topic
- ai-agent Repository topic
- llm-agent Repository topic
- skill-engineering Repository topic
- skill-generation Repository topic
- skill-pipeline Repository topic
- skill-construction Repository topic
- agent-skills Repository topic
- skill-acquisition Repository topic
- operations Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytesSKILL.mdcore · 33,023 bytes
Read excerpt
# Map-Reduce / Dynamic Fan-Out · SOP
> Pattern: `results = reduce(combine, parallel_map(f, L))` where `f` is one
> or more LM calls. The *only* reason to fan out is that latency or
> throughput matters more than the cost of doing it. The *only* reason to
> fan in is that the consumer wants one answer, not N.
> Source posture: claims grounded in primary docs and 2026 production
> write-ups, cited inline with short tags resolved in the citation index.
---
## 1. 何时激活 (Activation Rules)