Download for MacApple silicon, macOS 14+
Skill

output-error-nondeterminism

@growthxai Updated 2026-10-22

Fix non-determinism errors in Output SDK workflows. Use when seeing replay failures, inconsistent results between runs, "non-deterministic" error messages, or workflows behaving differently on retry.

agentsaiai-agentsai-sdkclaudeclaude-codejavascriptllm

Install

With your agent

Install OMGSkills skill "growthxai/output:coding_assistants/claude/plugins/outputai/skills/output-error-nondeterminism" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/growthxai/output /tmp/output && ln -s /tmp/output/coding_assistants/claude/plugins/outputai/skills/output-error-nondeterminism ~/.claude/skills/output-error-nondeterminism

From README

Fix Non-Determinism Errors Overview This skill helps diagnose and fix non-determinism errors in Output SDK workflows. Workflows must be deterministic because Temporal may replay them during recovery or retries, and the replay must produce identical results. When to Use This Skill You're seeing: "non-deterministic" error messages Replay failures after workflow restart Inconsistent results between runs with same input Errors during workflow recovery Warnings about determinism violations Root Cause Temporal workflows must be deterministic: given the same input, they must always execute the same sequence of operations. This is because Temporal replays workflow history to recover state after crashes or restarts. Non-deterministic operations break this replay mechanism because they produce different values each time. Common Causes and Solutions Math.random() Problem: Random values differ on each execution. Solution: Pass random values as workflow input or generate in a step.