No Task Output

Never Use TaskOutput

majiayu000 Updated 567 repo stars

File contents

Never Use TaskOutput

TaskOutput floods the main context window with agent transcripts (70k+ tokens).

Rule

NEVER use TaskOutput tool. Use Task tool with synchronous mode instead.

Why

  • TaskOutput reads full agent transcript into context
  • This causes mid-conversation compaction
  • Defeats the purpose of agent context isolation

Pattern

# WRONG - floods context
Task(run_in_background=true)
TaskOutput(task_id="...")  // 70k tokens dumped

# RIGHT - isolated context, returns summary
Task(run_in_background=false)  // Agent runs, returns summary

Source

  • Session where TaskOutput caused context overflow

majiayu000/claude-skill-registry-data/tree/main/context-management/no-task-output-carmandale-agent-config commit 273ff059c3

Frequently asked questions

npx skillmds@latest add majiayu000/no-task-output-2