Glean 拾遗
日刊 /2026-11-12 / Claude Fable 5.2 提示词迁移手册:effort 档位、早停与子代理收敛

Claude Fable 5.2 提示词迁移手册:effort 档位、早停与子代理收敛

原文 platform.claude.com 收录 2026-11-12 06:00 阅读 22 min
AI 解读

Anthropic 为 Claude Fable 5.2 写的提示词迁移手册,按「你观察到什么现象」组织,逐条给出对策。核心判断:能力增益大部分已在高 effort 档位兑现,medium 到 high 是主要台阶,high 以上收益不均且依赖任务;effort 必须和 prompt 一起重跑 eval,不能沿用 Fable 5.1 或 Opus 5.5 上调好的档位。文档给出若干内部测试数字:加入「完成任务」提示后,带可做工作却结束的会话约减半,输出 token 涨约 30%;在 system prompt 声明代码归模型所有,重复代码合并率从不足十分之一升到约一半,代价是 1.5 倍输出 token 和六到十次里有一次改变既有行为,且收尾摘要常漏掉小改动。另有子代理工具描述里写清成本可让委派减少约三分之一、progress-update thinking block 在 display 为 omitted 时文本为空、preserved thinking 下编辑历史前缀会作废 thinking 块,以及 stop_reason 为 refusal 时的分类与重试路径。适合正在迁移 agent harness、维护长 system prompt 与 memory 文件的一线工程师。

原文 22 分钟
原文 platform.claude.com ↗
§ 1

Prompting patterns specific to Claude Fable 5.2 and Claude Mythos 5.2: effort, early stopping, approvals, code ownership, progress updates, subagents, caution that builds up, instructions written for earlier models, final reports, and refusals.

This guide covers the prompting patterns specific to Claude Fable 5.2. For the model’s capabilities and API changes, see What’s new in Claude Fable 5.2. For techniques that apply across all current Claude models, see Prompting best practices.

Claude Fable 5.2 behaves differently from earlier models in a few ways. Start with the section that matches what you observe:

Unsure which effort level to run, or easy requests take too long: Calibrate effort

A turn ends before the work is done: Finish the whole task

You approve steps as the agent works, or your system prompt has approval rules: Approvals

A coding agent repeats existing code instead of merging it, or reports nearby problems without fixing them: Say who owns the code

Long agentic turns look silent: Keep users informed during long turns

Agent sessions start more subagents than the task needs: Set expectations for subagents

Agents ask for approvals they don’t need, or hold back routine work: Keep caution from piling up

You carry over a system prompt, skills, or a harness written for Claude Fable 5.1 or Claude Opus 5.5: Review instructions written for earlier models

Your users read final reports or handoffs after long tasks: Make reports easy to follow

Requests return stop_reason: "refusal": Safeguard refusals

Claude Fable 5.2 和 Claude Mythos 5.2 特有的提示模式:effort、提前停止、批准、代码归属、进度更新、subagent、逐步累积的谨慎、为旧模型写的指令、最终报告,以及拒答。

本指南讲 Claude Fable 5.2 特有的提示模式。模型能力与 API 变化见《Claude Fable 5.2 新变化》。适用于当前所有 Claude 模型的技巧见《提示词最佳实践》。

Claude Fable 5.2 的行为在几处与旧模型不同。先读与你观察到的现象对应的章节:

不确定该用哪档 effort,或简单请求耗时过长:校准 effort

回合还没干完就结束:完成整个任务

agent 工作时由你逐步批准,或系统提示词里有批准规则:批准

编码 agent 重复已有代码而不合并,或只报告附近问题而不修:说明代码归谁

长时间 agentic 回合看起来毫无动静:在长回合中让用户知情

agent 会话启动的 subagent 超出任务需要:设定对 subagent 的预期

agent 请求本不需要的批准,或对常规工作缩手缩脚:别让谨慎越积越多

你沿用了为 Claude Fable 5.1 或 Claude Opus 5.5 写的系统提示词、skills 或 harness:审查为旧模型写的指令

长时间任务后,用户要读最终报告或交接文档:让报告易读

请求返回 stop_reason: “refusal”:安全拒答

§ 2

Start at high, the default on the Claude API. If your use case calls for it, move effort up or down, and test each change against your own evals. The effort level sets how much Claude Fable 5.2 thinks, how long a turn takes, and how many tokens it uses. Tune effort alongside your prompt, because the level also changes the way the model thinks and how many tool calls it makes.

In general, effort levels run in the same order across Claude models, but the amount of thinking behind each level can differ from model to model. So rerun your effort sweep instead of carrying over a setting you tuned on Claude Fable 5.1 or Claude Opus 5.5.

Choose a level by the kind of work:

low suits quick back-and-forth, well-specified tasks, and high-volume workloads, such as fast, intelligent subagents. In Anthropic’s testing, the model’s scores at low sat close to Claude Fable 5.1’s scores at higher effort levels.

medium suits interactive coding, chat, and everyday knowledge work.

high suits hard coding, research, agentic work, and long unattended runs. Turns take noticeably longer to finish than at medium.

xhigh is for your hardest long-running coding and agentic work, where you’ve measured a gain. On Anthropic’s internal coding evaluations, it raised scores slightly and used many more tokens.

max is for measuring the model’s ceiling, or for the rare task where time and tokens don’t matter. It best suits open-ended problems, such as scientific discovery and mathematics. Turns are slow and use many more tokens than at xhigh.

Most of the gain in capability is already present at high. The step from medium to high raised scores on most of the coding and knowledge-work evaluations that Anthropic tracks. That step also uses more tokens and more time, so move down to medium wherever your evals show that quality holds. Above high, gains are uneven and depend on the task.

从 high 起步,这是 Claude API 的默认档位。如果你的场景需要,再往上或往下调,并且每改一次都拿自己的评测跑一遍。effort 档位决定 Claude Fable 5.2 思考多少、一个回合跑多久、消耗多少 token。调档位时要连提示词一起调,因为档位也会改变模型的思考方式以及它发起多少次工具调用。

总的来看,各 Claude 模型的 effort 档位顺序一致,但同一档位背后的思考量可能因模型而异。所以不要照搬你在 Claude Fable 5.1 或 Claude Opus 5.5 上调好的设置,要重新跑一遍 effort 扫档。

按工作类型选档:

low 适合快速往返、需求明确的任务和高吞吐场景,比如要求快而聪明的 subagent。在 Anthropic 的测试中,模型在 low 档的得分接近 Claude Fable 5.1 在更高档位的得分。

medium 适合交互式编码、聊天和日常知识工作。

high 适合硬核编码、研究、agentic 工作和长时间无人值守运行。回合完成时间明显长于 medium。

xhigh 用于最难、运行最久的编码与 agentic 工作,而且你已经测出收益。在 Anthropic 内部编码评测中,它小幅提高得分,但消耗的 token 多得多。

max 用于测量模型上限,或极少数时间与 token 都不重要的任务。它最适合开放式问题,比如科学发现和数学。回合很慢,token 消耗远高于 xhigh。

能力提升的大部分在 high 档已经存在。从 medium 升到 high,Anthropic 跟踪的大多数编码和知识工作评测得分都会提高。但这一步也更费 token、更费时间,所以只要你的评测显示质量能保住,就该降回 medium。高于 high 之后,收益并不均匀,取决于具体任务。

§ 3

When you choose a level, note three behaviors:

The model is more likely to stop early at lower effort levels. For agentic work at low or medium, add the text in Finish the whole task.

At high and above, the model thinks before almost every reply, including a reply to a greeting. If easy requests take too long or cost too much, use a lower effort level for those turns. In Anthropic’s testing, an instruction to answer directly without deliberating didn’t stop the model from thinking at medium and above.

选档时要注意三个行为:

effort 越低,模型越容易提前停。low 或 medium 做 agentic 工作时,把《完成整个任务》里的文字加进去。

high 及以上,模型几乎每次回复前都会思考,连回一句问候也不例外。如果简单请求太慢或太贵,就把这些回合降到更低档。在 Anthropic 的测试中,让模型“直接回答、不要思考”的指令,在 medium 及以上并没有阻止它思考。

§ 4

Effort barely changes how long the model’s replies are. To change the length and tone of a reply, use your prompt.

effort 几乎不改变回复长短。要调整回复的长度和语气,得改提示词。

§ 5

You can also mix levels in one workflow. For example, you might plan and iterate with the model at medium, then raise effort for the long, unattended part. To change levels within a conversation and keep the prompt cache, use a per-message effort change (beta, mid-conversation-output-config-2026-07-01 header); that section lists the platforms where it’s available. A change holds until another one replaces it. Where per-message effort isn’t available, set a new top-level effort value on the next request, which starts the cache over.

你也可以在一个工作流里混用档位。比如先用 medium 做规划和迭代,再把长时间、无人值守的部分调高 effort。要在同一对话里换档又保住 prompt cache,就用按消息调整 effort(beta,mid-conversation-output-config-2026-07-01 header);那一节列出了支持它的平台。一次调整会一直生效,直到被下一次调整替换。如果平台不支持按消息调整,就在下一次请求里设新的顶层 effort 值,但这会让 cache 重新开始。

§ 6

On long, multistep tasks, Claude Fable 5.2 sometimes ends a turn before the work is done. The turn closes with a list of what remains, an offer to continue, or a stop at an ordinary obstacle such as a timeout. This occurs more often at low and medium effort.

If you see these stops in your agent, add text like this to your system prompt:

This text separates two kinds of obstacle. It tells the model to diagnose and work through ordinary obstacles, such as errors, timeouts, and failing tools. It tells the model to leave deliberate blockers alone, such as a file marked not to be touched, and to report them. Treat the text as a starting point, and keep that distinction when you adapt it to your application.

在长时间、多步骤任务中,Claude Fable 5.2 有时会在工作完成前结束回合。回合收尾时,它会列出还剩什么、提出继续,或者停在一个普通障碍上,比如超时。这种情况在 low 和 medium 档更常见。

如果你在 agent 里看到这种提前停,就把类似下面这段文字加入系统提示词:

这段文字区分两类障碍。它让模型诊断并处理普通障碍,比如报错、超时和工具失败;同时让模型不要碰有意设置的阻塞,比如标记为不可改动的文件,并把它们报告出来。把这段文字当作起点,改成你的应用时也要保留这个区分。

§ 7

Anthropic replayed recorded sessions from an agentic coding product at medium effort. With a version of this text, about half as many sessions ended with doable work left. The text removed most endings that ask permission or offer to continue, but not endings that list what remains and then stop. Output tokens rose by about 30 percent.

Because the model asks less often with this text, keep your own confirmation step for risky or irreversible actions.

Anthropic 把某个 agentic 编码产品在 medium 档录下的会话重新跑了一遍。用了这段文字的一个版本后,带着可做工作却结束的会话大约减少一半。这段文字消除了大多数“请求许可”或“提出继续”的结尾,但没消除“列出剩余工作然后停止”的结尾。输出 token 增加约 30%。

用了这段文字后,模型更少主动询问,所以有风险或不可逆的操作,仍要保留你自己的确认步骤。

§ 8

When you tell the model to keep going, say clearly what you want from it instead of sending a bare “continue.” For example, reply “Yes, run the migration on the staging database” where you might have sent “go” or a thumbs-up.

If your system prompt has approval rules, name the exact actions they cover, because the model applies them as written. In Anthropic’s testing on simulated tasks with nobody there to approve, one rule listed “sending messages to people outside this conversation” among the steps that need approval. With that rule, the model held back roughly half of its routine requests to colleagues and other teams.

你让模型继续时,要说清楚你要它做什么,不要只回一句“继续”。比如,本来你可能发“go”或一个点赞,现在改成“是,在 staging 数据库上跑迁移”。

如果你的系统提示词里有批准规则,要把规则覆盖的具体动作写出来,因为模型会照字面执行。在 Anthropic 的无人批准模拟任务测试中,有一条规则把“给本对话之外的人发消息”列入需要批准的步骤。带上这条规则后,模型把大约一半发给同事和其他团队的常规请求压了下来。

§ 9

Claude Fable 5.2 responds closely to what the prompt says about who owns the code it works on. In Anthropic’s testing on small coding tasks, when a prompt said nothing about ownership or presented the code base as someone else’s, the model tended to add to the existing structure, even when that repeated existing code. It also tended to report nearby problems instead of fixing them. When the prompt says the code base is the model’s own, the model often merges repeated code and makes related fixes without being asked.

If you want the model to improve the structure as it works, say that the code is its own:

In Anthropic’s testing on small coding tasks, the model merged repeated code in about half of the tries with this sentence, and in under a tenth of the tries without it. The rate varied by task. The result held when the sentence stood inside a long system prompt. The requested feature worked in nearly every try either way.

In the same testing, the model also used about 1.5 times the output tokens with the sentence and made several changes that nobody had asked for, many of them new tests and documentation. Apart from bug fixes, it changed how an existing feature behaves in one try in six to ten, and more often at higher effort. Its closing summary named the larger changes but often left out small ones, so review the diff and not only the summary.

Claude Fable 5.2 对提示词里“代码归谁”非常敏感。在 Anthropic 的小型编码任务测试中,如果提示词没提归属,或把代码库说成别人的,模型倾向于在现有结构上继续加东西,即使这会重复已有代码。它也倾向于只报告附近的问题,而不动手修。如果提示词说代码库是模型自己的,模型常会合并重复代码,并主动做相关修复。

如果你想让模型边做边改善结构,就说明代码是它自己的:

在 Anthropic 的小型编码任务测试中,带这句话时,模型约有一半的尝试合并了重复代码;不带时不到十分之一。比例因任务而异。这句话放在很长的系统提示词里,结果依然成立。无论有没有这句话,请求的功能几乎每次都能正常工作。

同一批测试里,带这句话时模型输出的 token 约为 1.5 倍,还做了几处没人要求的改动,其中很多是新测试和文档。除修 bug 外,它每六到十次尝试就有一次改变现有功能的行为,effort 越高越频繁。它的收尾总结会点名较大的改动,但常漏掉小改动,所以要看 diff,不能只看总结。

§ 10

Leave the ownership sentence out where the user owns the code and wants it changed as little as possible. A rule elsewhere in the prompt that limits scope doesn’t cancel the ownership sentence. In Anthropic’s testing, with “No drive-by refactors, renames or cleanups” earlier in the same prompt, the model still merged repeated code in about a third of the tries.

如果代码归用户所有,且用户希望尽量少改,就不要写归属句。提示词别处有限制范围的规则,也抵不过归属句。在 Anthropic 的测试中,同一提示词前面写了“不要顺手重构、改名或清理”,模型仍有约三分之一尝试合并重复代码。

§ 11

Claude Fable 5.2 sometimes writes little user-facing text during long runs of tool calls. The model might also make its first tool call without saying what it’s about to do.

First, check that your client receives the model’s updates. On Claude Fable 5.2, the updates the model writes between tool calls come back as progress-update thinking blocks. These updates say what the model found and what it’s doing next. Their text is empty at the default thinking.display of “omitted”. So a client that renders only text blocks can look silent during a long agentic turn. Set display: “updates” (beta, thinking-display-updates-2026-08-18 header) to receive a short summary of each update, or “summarized” to receive the updates along with summarized reasoning. Then render the non-empty thinking blocks between tool calls.

Frequent updates matter most when a user watches the work in real time, as in interactive coding. If your users watch the work and still get too few updates, use one or more of these options.

If you can change your harness, an effective option is to have it count consecutive tool-calling steps that give the user nothing to read: no text block and no thinking block with text. Count with display set to “updates” or “summarized”, because at “omitted” every thinking block is empty. This option works where your platform supports mid-conversation system messages. After several such steps in a row, have the harness append this reminder after the latest tool results as a turn-scoped system message (clear_at: “next_user_message”, beta, mid-conversation-system-clear-at-2026-08-21 header):

In Anthropic’s testing on multi-turn coding tasks, the reminder roughly halved the longest silent stretch, with no noticeable increase in tokens or time.

Leave each reminder in messages on later requests. Removing or rewording one edits an earlier turn, which invalidates the thinking blocks after it. See Send per-turn reminders as turn-scoped system messages.

Claude Fable 5.2 在长时间连续调用工具时,有时很少写面向用户的文字。它也可能在没说要做什么的情况下,直接发起第一次工具调用。

先检查你的客户端能不能收到模型的更新。在 Claude Fable 5.2 上,模型在工具调用之间写的更新会以 progress-update thinking 块返回。这些更新说明模型发现了什么、接下来要做什么。默认 thinking.display 为 “omitted” 时,它们的文本是空的。所以只渲染 text 块的客户端,在长 agentic 回合里看起来会一片沉默。把 display 设为 “updates”(beta,thinking-display-updates-2026-08-18 header),就能收到每条更新的简短摘要;设为 “summarized”,则连同摘要后的推理一起收到更新。然后在工具调用之间渲染非空的 thinking 块。

用户实时盯着工作时,频繁更新最重要,交互式编码就是典型。如果你的用户会盯着看,却还是收到太少更新,就用下面一个或多个办法。

如果你能改 harness,一个有效办法是让它统计连续多少步工具调用没给用户任何可读内容:没有 text 块,也没有带文字的 thinking 块。统计时要把 display 设为 “updates” 或 “summarized”,因为在 “omitted” 下每个 thinking 块都是空的。这个办法适用于平台支持对话中系统消息的情况。连续出现若干这样的步骤后,让 harness 把下面这条提醒作为回合级系统消息追加在最新工具结果之后(clear_at: “next_user_message”,beta,mid-conversation-system-clear-at-2026-08-21 header):

在 Anthropic 的多轮编码任务测试中,这条提醒把最长沉默区间大约减半,token 和时间都没有明显增加。

后续请求里,要把每条提醒保留在 messages 中。删掉或改写一条提醒,等于编辑了较早的回合,会让它之后的 thinking 块失效。见《把每轮提醒作为回合级系统消息发送》。

§ 12

To also get an opening line before the first tool call, brief updates, and a closing recap, add this text to your system prompt:

In Anthropic’s testing on coding tasks, the model spoke before its first tool call every time with this text. The text also raised output tokens per task by roughly 20 percent. Use this text where a human is directly in the loop. To get the most updates, pair it with the reminder that your harness appends.

If you can’t change the harness, or your platform has no mid-conversation system messages, add this sentence to your system prompt:

In Anthropic’s testing on workflow automation tasks, this sentence cut most long silent stretches.

Even with the reminder and the opening and recap text together, expect runs of several tool calls between updates. Claude Fable 5.2 works well on long-running asynchronous tasks, where the user comes back for the result instead of watching each step. Gaps between updates matter less there.

如果还想在第一次工具调用前说一句开场、过程中给简短更新、结束时做收尾回顾,把下面这段文字加入系统提示词:

在 Anthropic 的编码任务测试中,带这段文字时,模型每次都会在第一次工具调用前开口。这段文字还让每个任务的输出 token 增加约 20%。在人直接参与流程的场景用这段文字。想让更新最多,就把它和 harness 追加的提醒一起用。

如果你改不了 harness,或平台不支持对话中系统消息,就把下面这句话加入系统提示词:

在 Anthropic 的工作流自动化任务测试中,这句话消除了大多数长时间沉默。

即使把提醒、开场和收尾文字都用上,也要预期两次更新之间会隔好几次工具调用。Claude Fable 5.2 很适合长时间异步任务:用户过一阵回来取结果,而不是盯着每一步。那种场景里,更新间隔没那么重要。

§ 13

How much work Claude Fable 5.2 delegates to subagents depends on your harness and tasks. In Anthropic’s testing on short tasks with a minimal tool for starting subagents, it rarely started one. In an agentic coding product whose prompts invite delegation, it delegates readily.

If your system prompt, skills, or agent files tell the model to delegate, review those lines first. Change the description of the tool that starts subagents only if Claude Fable 5.2 still starts more subagents than your tasks need. If the tool has a plain description and nothing else in your prompts asks for delegation, you likely don’t need a new description.

In the new description, state what a subagent adds to the cost of a session, say when delegation is worth it and when it isn’t, and tell the model how to brief a subagent that it starts. The description that Anthropic tested does these three things and puts cost first. A description of this kind is most useful when your harness already invites delegation and subagents make up a large share of your token usage.

In Anthropic’s testing on short tasks, the model delegated about a third less often with the tested description than with one that mostly listed reasons to delegate. Task success was the same.

In the tested description, the opening sentences on cost hold delegation back. Say less about cost if the model delegates too little. If it still delegates too much, say more about what a subagent costs in your harness, and test the change.

Claude Fable 5.2 把多少工作委派给 subagent,取决于你的 harness 和任务。在 Anthropic 用最小启动 subagent 工具做的短任务测试中,它很少启动 subagent。而在提示词鼓励委派的 agentic 编码产品里,它很愿意委派。

如果你的系统提示词、skills 或 agent 文件让模型委派,先审查这些行。只有当 Claude Fable 5.2 启动的 subagent 仍多于任务需要时,才去改启动 subagent 的工具描述。如果工具描述很普通,提示词里也没别的地方要求委派,那你多半不需要新描述。

新描述里要说明 subagent 会给会话增加什么成本,说明什么时候值得委派、什么时候不值得,还要告诉模型如何给它启动的 subagent 交代任务。Anthropic 测试的描述做了这三件事,并把成本放在最前面。如果你的 harness 已经在鼓励委派,且 subagent 占 token 用量很大一部分,这类描述最有用。

在 Anthropic 的短任务测试中,用测试过的描述时,模型委派的次数比用“主要列举委派理由”的描述少约三分之一。任务成功率相同。

在测试过的描述里,开头几句讲成本的话会压住委派。如果模型委派太少,就少讲成本。如果它还是委派太多,就多讲你的 harness 里 subagent 的实际成本,并测试改动效果。

§ 14

Anthropic also observed Claude Fable 5.2 using subagents to review its own work in an agentic coding product at higher effort levels, such as xhigh and max. Claude Fable 5.1 didn’t do this on the same tasks. Early testers had good results with Claude Fable 5.2 as the planner and orchestrator for other models. Delegation can speed up work that runs well in parallel. However, subagents can account for a large part of what a session costs, so check which model your harness runs subagents on by default.

Anthropic 还观察到,在 xhigh、max 等较高 effort 档下,Claude Fable 5.2 会在 agentic 编码产品里用 subagent 审查自己的工作。Claude Fable 5.1 在同一批任务里没这样做。早期测试者让 Claude Fable 5.2 担任其他模型的规划者和编排者,效果不错。委派能加速适合并行的工作。不过,subagent 可能占会话成本的一大部分,所以要检查你的 harness 默认让哪个模型跑 subagent。

§ 15

Cautious instructions build up wherever context carries over: memory, notes, instruction files, and messages between agents. Claude Fable 5.2 follows these instructions closely, so it might ask for approvals it doesn’t need or hold back routine work. A few early testers saw this behavior, mostly where several agents work together. Earlier models follow such instructions too, but in one of the setups described here only Claude Fable 5.2 held back.

If you see this behavior, clean up what your agents carry:

Remove notes you no longer need. In Anthropic’s testing on simulated tasks, one of a dozen notes from earlier sessions said never to retry. With those notes in context, and with nothing in the prompt that allowed retries, the model retried after a tool was busy in about four in ten tries, down from nearly all without those notes.

谨慎指令会在任何上下文延续的地方堆积:memory、notes、指令文件,以及 agent 之间的消息。Claude Fable 5.2 会严格照这些指令做,所以可能请求本不需要的批准,或对常规工作缩手缩脚。少数早期测试者见过这种行为,多发生在多个 agent 协作时。旧模型也会照做,但在这里描述的某个设置里,只有 Claude Fable 5.2 缩了回去。

如果你看到这种行为,就清理 agent 携带的内容:

删掉不再需要的 notes。在 Anthropic 的模拟任务测试中,早前会话留下的十几条 notes 里有一条写着“绝不重试”。这些 notes 在上下文里,提示词又没有允许重试,结果工具忙时模型大约十次里有四次重试;没有这些 notes 时几乎每次都会重试。

§ 16

Name the steps that need no approval. In Anthropic’s testing on simulated tasks, the context held “never” rules, notes, and a reviewer’s conditions. A line at the end of the rules that listed retries among the steps that need no approval raised retries from almost none to about half of the tries. In the same setup, a general instruction to act more freely changed nothing. Name retries only for calls that are safe to repeat.

Check what reviewer agents attach. In Anthropic’s testing on simulated tasks, one setup had a line in the prompt that listed retries among the steps that need no approval, and a reviewer’s “stop at the first error” in context. Claude Fable 5.2 didn’t retry in about a third of the tries. Claude Fable 5.1 and Claude Opus 5.5 retried.

点名不需要批准的步骤。在 Anthropic 的模拟任务测试中,上下文里有“绝不”规则、notes 和 reviewer 的条件。在规则末尾加一行,把重试列入不需要批准的步骤,重试率从几乎为零升到约一半的尝试。同一设置里,一条泛泛的“可以更自由行动”指令没有带来任何变化。只对可以安全重复的调用点名重试。

检查 reviewer agent 附加了什么条件。在 Anthropic 的模拟任务测试中,一个设置里提示词有一行把重试列入不需要批准的步骤,上下文里又有 reviewer 的“遇到第一个错误就停”。Claude Fable 5.2 约三分之一尝试没有重试。Claude Fable 5.1 和 Claude Opus 5.5 则重试了。

§ 17

Write the exception into the rule. In Anthropic’s testing on simulated tasks, the person in charge had approved a step. Under a “never” rule, the model took that step in about one try in ten. A separate line that said an approved step has its go-ahead didn’t change that rate much. When the rule itself said to get a go-ahead first, the model took the step in about nine tries in ten. See Approvals.

Also keep your own confirmation step for risky or irreversible actions.

把例外写进规则本身。在 Anthropic 的模拟任务测试中,负责人已经批准了某一步。在“绝不”规则下,模型约十次里只有一次执行该步骤。另起一行说“已批准的步骤可以放行”,对比例改变不大。当规则本身说“先拿到放行再做”,模型约十次里有九次执行了该步骤。见《批准》。

有风险或不可逆的操作,仍要保留你自己的确认步骤。

§ 18

When you migrate to Claude Fable 5.2, review your prompts. In Anthropic’s testing, some instructions written for earlier models raised cost, caused side effects, or no longer had an effect. Reconsider these instructions:

Standing instructions to delegate: Lines that push work to subagents can sit in system prompts, skills, and agent files. Read those files before you migrate. If, in your tests, the model starts more subagents than your tasks need, remove the lines you no longer need. See Set expectations for subagents.

A token budget that your harness writes into the prompt: Some harnesses tell the model in the prompt how many tokens the task may use and how many are left. The size of that budget changes how much Claude Fable 5.2 spends. In Anthropic’s testing on coding tasks at high and xhigh effort, removing a large budget lowered cost, with equivalent performance. Test your tasks without the budget. This finding is about text in the prompt, not the API’s task budgets, a beta feature that the testing didn’t cover.

迁移到 Claude Fable 5.2 时,要审查提示词。在 Anthropic 的测试中,一些为旧模型写的指令提高了成本、造成副作用,或不再有效果。重点重新考虑这些指令:

要求委派的常驻指令:把工作推给 subagent 的行,可能出现在系统提示词、skills 和 agent 文件里。迁移前先读这些文件。如果你的测试里模型启动的 subagent 多于任务需要,就删掉不再需要的行。见《设定对 subagent 的预期》。

harness 写进提示词的 token 预算:有些 harness 会在提示词里告诉模型任务能用多少 token、还剩多少。预算大小会改变 Claude Fable 5.2 的花费。在 Anthropic 的 high 和 xhigh 编码任务测试中,去掉大预算后成本下降,表现相当。拿掉预算跑一遍你的任务。这个结论说的是提示词里的文字,不是 API 的 task budgets;后者是 beta 功能,测试没有覆盖。

§ 19

Harness code that edits earlier turns: Claude Fable 5.2 uses preserved thinking. If your harness changes the system prompt, the tools, or an earlier message between requests, the thinking blocks that follow the changed point in the history become invalid. By default, the Messages API then rejects the request, and the Message Batches API drops those blocks. To shorten the history without this error, use context editing, or compaction that keeps no earlier turns after the summary. To have the Messages API drop the blocks too, set thinking.block_binding.prefix_mismatch_behavior to “drop_block” (beta, thinking-binding-controls-2026-08-01 header). In Anthropic’s testing, when earlier thinking was dropped on every turn, the model thought again and used more output tokens. That is the worst case, and the increase depends on how often your harness edits earlier turns. Apart from compaction and context editing, keep the history append-only. That keeps the cache hit rate high, and no thinking is dropped. Measure output tokens on your own tasks before you rely on “drop_block”. See What the API does with an invalid block and Make changes without editing the prefix.

会编辑较早回合的 harness 代码:Claude Fable 5.2 使用保留式 thinking。如果你的 harness 在请求之间改了系统提示词、工具或较早的消息,历史中改动点之后的 thinking 块就会失效。默认情况下,Messages API 会拒绝请求,Message Batches API 会丢掉这些块。想缩短历史又不报错,可以用上下文编辑,或用压缩,但摘要之后不能保留更早的回合。要让 Messages API 也丢掉这些块,把 thinking.block_binding.prefix_mismatch_behavior 设为 “drop_block”(beta,thinking-binding-controls-2026-08-01 header)。在 Anthropic 的测试中,如果每轮都丢掉较早的 thinking,模型会重新思考,输出 token 更多。这是最坏情况,增幅取决于 harness 编辑较早回合的频率。除了压缩和上下文编辑,历史应保持只追加。这样 cache 命中率高,也不会丢 thinking。依赖 “drop_block” 之前,先在自己的任务上测输出 token。见《API 如何处理无效块》和《不改前缀也能做改动》。

§ 20

The “treat that answer as done” lines: Prompting Claude Opus 5.5 offers two sentences for chat system prompts. They tell the model to treat an earlier answer as done and to focus its thinking on the new message. In Anthropic’s testing at high effort, these sentences reduced Claude Fable 5.2’s thinking on follow-up questions, but the model also became far less likely to point out mistakes in its earlier answers. Leave these lines out where you want the model to keep re-examining its earlier answers. Elsewhere, test whether the model still points out its own mistakes before you adopt the lines.

Instructions to think less: Claude Fable 5.1 usually follows a line such as “answer directly without deliberating.” In Anthropic’s testing, such a line didn’t stop Claude Fable 5.2 from thinking at medium and above. Remove these lines and lower the effort level, as described in Calibrate effort.

Style rules for writing: Claude Fable 5.2 follows style rules closely, so a hard limit such as “one instruction per sentence, in 20 words or fewer” can make its prose choppy. Remove the rules you no longer need before you add the text in Make reports easy to follow.

Rules, notes, and memories that have built up: Memory files, notes, and instruction files collect cautions over time, and the model might have written some of them itself. Before you migrate, delete the cautions whose reason no longer holds, and rewrite absolute rules so that they state their scope and reason. If a system is already stuck, consider restarting it with its memory and notes trimmed, and keep a copy of the originals. See Keep caution from piling up.

“把那个答案当作已完成”的句子:Prompting Claude Opus 5.5 给了两句用于聊天系统提示词的话。它们让模型把较早的回答当作已完成,把思考集中到新消息上。在 Anthropic 的 high 档测试中,这两句减少了 Claude Fable 5.2 在追问上的思考,但模型指出早前回答错误的可能性也大幅下降。如果你希望模型持续复查早前回答,就不要放这两句。其他场景里,先测试模型是否还会指出自己的错误,再决定是否采用。

让模型少思考的指令:Claude Fable 5.1 通常会照“直接回答,不要斟酌”这类话做。在 Anthropic 的测试中,这种话在 medium 及以上并没有阻止 Claude Fable 5.2 思考。删掉这些行,改用更低的 effort 档,见《校准 effort》。

写作风格规则:Claude Fable 5.2 会严格照风格规则做,所以“每句一条指令,不超过 20 个词”这种硬限制会让文字变得一顿一顿。先把不再需要的规则删掉,再加入《让报告易读》里的文字。

堆积起来的规则、notes 和 memories:memory 文件、notes 和指令文件会随时间积攒谨慎规则,其中一些可能还是模型自己写的。迁移前,删掉理由已不成立的谨慎规则,把绝对规则改写成写明适用范围和理由。如果某个系统已经卡住,可以考虑清掉 memory 和 notes 后重启,并保留原始副本。见《别让谨慎越积越多》。

§ 21

After long agentic work, the people who read Claude Fable 5.2’s final report usually haven’t seen the tool calls or files behind it. The report needs to make sense on its own.

If you ask Claude Fable 5.2 to write final reports or handoffs, add this text to your system prompt, and adjust it to your readers and your product:

In Anthropic’s testing on agentic tasks, this text made final reports less dense, with fewer semicolons. On workflow automation tasks, it also made sentences shorter. You might also add instructions about length or ask the model to include specific details.

长时间 agentic 工作之后,读 Claude Fable 5.2 最终报告的人通常没见过背后的工具调用和文件。报告必须能独立读懂。

如果你让 Claude Fable 5.2 写最终报告或交接文档,把下面这段文字加入系统提示词,并按读者和产品调整:

在 Anthropic 的 agentic 任务测试中,这段文字让最终报告更不密集,分号更少。在工作流自动化任务中,它还让句子更短。你也可以补充长度要求,或让模型写入具体细节。

§ 22

Claude Fable 5.2 runs safety classifiers that can decline a request. A declined request returns stop_reason: “refusal”, and stop_details.category names the refusal category:

cyber: the request could enable cyber harm, such as malware or exploit development.

bio: the request could enable biological harm, such as dangerous lab methods.

frontier_llm: the request could help with the development of competing AI models.

reasoning_extraction: the request asks the model to reproduce its internal reasoning in the response text.

general_harms: the request falls under another usage-policy area.

Claude Fable 5.2 会运行安全分类器,可能拒绝请求。被拒绝的请求返回 stop_reason: “refusal”,stop_details.category 给出拒答类别:

cyber:请求可能助长网络危害,比如恶意软件或漏洞利用开发。

bio:请求可能助长生物危害,比如危险的实验室方法。

frontier_llm:请求可能帮助开发竞争性 AI 模型。

reasoning_extraction:请求要求模型在回复文本中复现其内部推理。

general_harms:请求属于其他使用政策领域。

§ 23

Benign cybersecurity and life sciences work can also trigger the cyber and bio classifiers. If they block your organization’s legitimate work, see Anthropic’s Cyber Verification Program and Life Sciences Verification Program. Claude Mythos 5.2 offers the same capabilities as Claude Fable 5.2 only to organizations verified through these programs.

If your prompts, skills, or tool descriptions ask the model to write its reasoning in the response, remove those instructions. To see how the model reasoned, set display: “summarized” and read the thinking blocks. See Keep reasoning in thinking blocks.

To retry a declined request on another model, see Refusals, fallback, and billing.

良性的网络安全和生命科学工作也可能触发 cyber 和 bio 分类器。如果它们挡住了你组织的合法工作,见 Anthropic 的 Cyber Verification Program 和 Life Sciences Verification Program。Claude Mythos 5.2 只向通过这些项目验证的组织提供与 Claude Fable 5.2 相同的能力。

如果你的提示词、skills 或工具描述要求模型在回复里写出推理,删掉这些指令。想了解模型如何推理,把 display 设为 “summarized”,读 thinking 块。见《把推理留在 thinking 块里》。

要在另一个模型上重试被拒请求,见《拒答、回退与计费》。

§ 24

When you migrate, work through these steps in order:

Set effort to high explicitly, then run your evals at medium and xhigh as well.

Read the system prompts, skills, agent files, memory files, notes, and harness text you carry over. Remove or test the instructions listed in Review instructions written for earlier models.

Run your longest agentic tasks. Note where the model stops early, asks for approvals it doesn’t need, goes quiet, delegates more than the task needs, or adds to existing code where you wanted it restructured.

Apply the guidance for each behavior you observed, one at a time, and measure its effect and its token cost on your own tasks.

迁移时,按顺序走这几步:

把 effort 显式设为 high,然后用 medium 和 xhigh 也跑一遍评测。

读你沿用的系统提示词、skills、agent 文件、memory 文件、notes 和 harness 文字。删掉或测试《审查为旧模型写的指令》里列出的内容。

跑你最长的 agentic 任务。记录模型在哪里提前停、请求不需要的批准、变得沉默、委派超过任务需要,或在你希望重构的地方继续往现有代码上加。

针对观察到的每种行为,一次应用一条建议,并在自己的任务上测量效果和 token 成本。

打开原文 ↗