/agent-utilities:delegate-map-reducefrom agent-utilities
Divide corpus analysis, research or review into independent tasks, combine their results through hierarchical reduction and verify coverage and evidence. Use for map-reduce or batch requests involving multiple sources or questions. Small or strictly sequential tasks can usually be handled directly.
Ships in agent-utilities. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Break the objective into verifiable units. Delegate independent work and deliver a conclusion whose coverage, evidence and limitations can be checked. Use the tools available in the host. For automation, use Node.js, TypeScript or native tools. This procedure does not require Python.
Keep a ledger of task IDs, questions, assigned units, dependencies and status. Track a completed task with zero findings separately from failed, cancelled or pending work. For tasks that write files, assign each resource to one owner and plan a subsequent integration stage.
Give each worker enough information to complete its assigned units independently.
Check for valid prior results before creating work. Give each identical in-flight task one owner and wait for its result. If the host lacks coordination tools, keep the ledger in the parent agent. See caching and waiting to implement a result cache or coordinate shared prefixes.
Dispatch unresolved work when its dependencies are satisfied. Validate each terminal result's coverage, format, evidence and scope. Retry a failed task within budget with specific feedback. Reuse valid maps. Check idempotency before retrying work with side effects. If the budget runs out, keep the results and report the uncovered units.
Verify the final synthesis in a separate pass. Check that citations support every part of each claim. An exact substring establishes what a source said. Assess its meaning, qualifiers and conditions as well. A .example domain or sample value is insufficient evidence of a real defect.
If the full corpus fits, check claims and gaps against all sources and recover citations lost during reduction. If only summaries fit, reopen the decisive sources for conflicts, important claims and apparent gaps. Identify which sources were checked and which findings remain unverified.
Reconcile required, completed, failed and pending tasks. Deliver the requested result with traceable evidence, coverage, disagreements and material limitations. Label findings as partial when work remains.
Report new calls, retries and local reuse when available. Report provider-cached tokens only when the host exposes sufficient usage data for the call and the run. A local replay with no inference calls supplies no new provider measurement.
Consult the Codex and Pi adapters to choose tools, use an existing documentation runner or process units without subagents. Describe the delegation, caching and parallelism that the host actually provides.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gvillarroel/plugins --plugin agent-utilities3 skills in this plugin
/find-skillsFind a skill for a requested task, identify the plugin that provides it, and install that plugin when the user requests installation./refactor-method-complexity-reduceRefactor given method `${input:methodName}` to reduce its cognitive complexity to `${input:complexityThreshold}` or below, by extracting helper methods.Other plugins' skills for the same job