Individual skill
agentsop-state-reducer
Tool skill for declaring reducers on LangGraph state keys so parallel writes merge instead of crashing. Activates whenever a coder agent designs a StateGraph with parallel branches, fan-out via Send, multi-agent topologies, or whenever a run raises `InvalidUpdateError: At key '<k>': Can receive only one value per step`. Encodes the rule "every state key is single-writer or has a reducer — nothing in between."
skills/agentsop-state-reducer/SKILL.md
Source commit cf4376869e5f23f82404c3021a2a1315dfca318d
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Instructions only
- 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
- engineering 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 · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytesSKILL.mdcore · 18,303 bytes
Read excerpt
# State Reducer · Tool Skill
> Scope: a single decision — for each state key, declare a reducer or
> guarantee single-writer. Out of scope: checkpointers, HITL, supervisor vs.
> swarm — see `langgraph-sop` for those.
---
## 1. 何时激活 (Activation Rules)
Activate when **any** trigger fires:
- The task involves a LangGraph `StateGraph`, `TypedDict`/`BaseModel` schema,
or `Annotated[..., <reducer>]` typing.