Skip to main content
Run any Skill in Manus
with one click

workflow-deterministic-compute-as-script-not-stall-prone-agent

Stars2
Forks0
UpdatedJuly 8, 2026 at 12:17

Use when a Workflow-tool (or background Agent) subagent doing heavy multi-step compute STALLS mid-stream and loses work. Trigger conditions: (1) a workflow agent fails with "API Error: Response stalled mid-stream. The response above may be incomplete" and returns null; (2) a subagent runs many bq/python/tool calls in one long turn and dies before writing/committing; (3) the agent must emit a LARGE structured return (big arrays/objects) and stalls while producing it; (4) recurring stalls on long single-agent turns. Root insight: agent turns stall on long compute + large returns; DETERMINISTIC computation should run as a direct script the orchestrator executes, with agents reserved for judgment. Covers file-first idempotent durability, design-injection to avoid rediscovery, and compact returns.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly