Skip to main content
在 Manus 中运行任何 Skill
一键导入

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

星标2
分支0
更新时间2026年7月8日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly