首页/ AI 技能 / @skilllib/skill-2014279394955571203
Skill站外收录 @skilllib/skill-2014279394955571203

no-task-output

禁止使用会将完整代理对话日志注入上下文的输出机制,改用同步执行模式直接返回精简摘要,从而避免上下文膨胀、保障多任务隔离性与会话稳定性。

0.0 (0) 132 次安装 原作者 编程导航
收录于 2026-01-22
商业与营销 AI 技能

Skills.MD

# 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

评论 0

还没有评论,来抢沙发。