返回博客

Claude Fable 5 提示词示例(兼谈「系统提示词泄露」真相)

可复制的 Claude Fable 5 提示词示例,覆盖编码、研究与 Agent——并讲清所谓 Fable 5 系统提示词泄露到底是什么、以及你为何不需要它。

2026年6月27日Fable5 编辑部Fable5 编辑部

发布后,「Claude Fable 5 提示词示例」和「Fable 5 系统提示词泄露」的搜索量激增。下面是遵循 Anthropic 官方指引、可直接复制的干净示例——以及对人人都在找的「泄露」的诚实看法。

先说:「系统提示词泄露」的真相

在 GitHub 和论坛流传的 Fable 5「系统提示词泄露」,大多是社区复刻与模板,并非经核实的 Anthropic 生产提示词转储。 即便真有一份浮出水面,照抄一份为 Anthropic 自家产品设计的内部提示词也帮不到你的任务——它是为他们的 UI、工具和安全面调校的,不是为你的代码库。

真正提升质量的是一份干净、为目的定制的系统提示词,遵循 Fable 5 已公开的习惯。在我们的提示词生成器里几秒就能构建(下载 .xml 或直接复制),或用下面的示例手写。

Fable 5 希望被怎样提示

有四个习惯在 Fable 5 上比任何旧 Claude 都更重要(见我们完整的提示词指南):

  1. 要字面。 写明角色、一行上下文、任务、输出格式、硬约束。
  2. spec 先行。 长 Agentic 任务把完整规格放进第一条消息,而非分轮挤牙膏。
  3. 没有采样旋钮。 temperaturetop_p 已移除——想要变化就明确要求。
  4. 调 effort,不调 temperature。 effort 参数(low→max)在深度与速度/成本间权衡。多数工作在 max 以下就够。

示例 1 —— 软件工程 Agent

<role_and_goal>
You are an autonomous software engineering agent. Complete the coding task
end-to-end, self-verifying and correcting along the way.
</role_and_goal>

<task>
(在此描述具体任务、仓库与验收标准。)
</task>

<execution_guidelines>
1. Act on reversible operations without asking. Pause only for destructive
   actions, scope changes, or when input is truly required.
2. Do the simplest effective thing. No features or abstractions beyond the task.
3. Before reporting, audit every claim against actual tool results. If a test
   fails, include the output.
</execution_guidelines>

<output_format>
Return a summary line first (what changed), then the diff, then any caveats.
</output_format>

示例 2 —— 研究与分析

<role_and_goal>
You are a research analyst. Investigate the question below and produce a
sourced, decision-ready brief.
</role_and_goal>

<task>
(写明问题、受众,以及它支撑的决策。)
</task>

<constraints>
- Cite every non-obvious claim. Mark anything you could not verify.
- Lead with the answer; put reasoning and sources after.
- Max 800 words unless told otherwise.
</constraints>

示例 3 —— 带记忆的长链路 Agent

<role_and_goal>
You are a long-running agent. Sustain focus across the full task and keep notes
in a memory file to improve your own work between steps.
</role_and_goal>

<task>
(完整规格——在第一条消息里把一切都放进来。)
</task>

<memory_system>
Track: confirmed working approaches, errors and their fixes, skipped steps and
why. End with a "Lessons Learned" section.
</memory_system>

<effort>max</effort>

与其照抄,不如生成一份定制提示词

这些示例只是起点。针对你确切的任务类型、自主程度和输出风格,Fable 5 提示词生成器会按 Anthropic 官方结构组装完整系统提示词,并支持一键下载 .xml 或复制——无需泄露。每个区块背后的设计原理见提示词设计指南如何给 Fable 5 写提示词

结论

别再找 Fable 5「系统提示词泄露」了——它大多是复刻的,而一份为你的任务构建的干净提示词胜过照抄的内部版。从上面的示例起步或生成一份,让它在各 Claude 模型间可移植,并调 effort 而非 temperature。

示例遵循 Anthropic 2026 年 6 月提示词工程指引。在我们的提示词生成器构建并下载你的版本。

相关文章