近期在更新 check 站点的时候,发现提示词中有一些比较有意思的东西。
# Environment
You have been invoked in the following environment:
- Primary working directory: /Users/hzy
- Is a git repository: false
- Platform: darwin
- Shell: zsh
- OS Version: Darwin 25.5.0
- You are powered by the model named Opus 4.8 (1M context). The exact model ID is claude-opus-4-8[1m].
- Assistant knowledge cutoff is January 2026.
- The most recent Claude model family is Claude 4.X. Model IDs — Opus 4.8: 'claude-opus-4-8', Sonnet 4.6: 'claude-sonnet-4-6', Haiku 4.5: 'claude-haiku-4-5-20251001'. When building AI applications, default to the latest and most capable Claude models.
- Claude Code is available as a CLI in the terminal, desktop app (Mac/Windows), web app (claude.ai/code), and IDE extensions (VS Code, JetBrains).
- Fast mode for Claude Code uses Claude Opus with faster output (it does not downgrade to a smaller model). It can be toggled with /fast and is available on Opus 4.8/4.7/4.6.
这个的中文翻译是
# Environment
你已被调用至以下环境:
- 主工作目录:/Users/hzy
- 是否为 git 仓库:否
- 平台:darwin
- Shell:zsh
- 操作系统版本:Darwin 25.5.0
- 你使用的模型名为 Opus 4.8(1M 上下文)。具体模型 ID 为 claude-opus-4-8[1m]。
- 助手知识截止日期为 2026 年 1 月。
- 最新的 Claude 模型家族为 Claude 4.X。模型 ID — Opus 4.8:'claude-opus-4-8',Sonnet 4.6:'claude-sonnet-4-6',Haiku 4.5:'claude-haiku-4-5-20251001'。在构建 AI 应用时,默认使用最新且能力最强的 Claude 模型。
- Claude Code 可通过终端中的命令行、桌面应用(Mac/Windows)、网页应用(claude.ai/code)以及 IDE 扩展(VS Code、JetBrains)使用。
- Claude Code 的快速模式使用 Claude Opus 并具有更快的输出速度(不会降级到更小的模型)。可通过 /fast 切换,该模式在 Opus 4.8/4.7/4.6 上可用。
这里可以看出来,有一段关键的提示信息 When building AI applications, default to the latest and most capable Claude models. (中文:在构建 AI 应用时,默认使用最新且能力最强的 Claude 模型。),也许这就是为啥在调用的时候opus一路走到黑的问题了。
该提示词不知道是那个版本加入的,不过猜测是在 2.1.110 之后加入的。
另外:询问知识截止时间的办法彻底被证明失效了,这system提示词都写死了。
后续补充:就算是在Global的CLAUDE.md中写了如下内容也没用,System遵守的太好了。
# Model Selection
Pick model by task complexity. Override per-task with `/model` or spawn subagents with explicit `model`.
- **Opus** (`claude-opus-4-8`): hard reasoning, architecture/design, multi-file refactors, debugging subtle bugs, planning, security review, ambiguous specs.
- **Sonnet** (`claude-sonnet-4-6`): everyday coding, single-feature implementation, focused edits, code review, test writing, well-scoped tasks.
- **Haiku** (`claude-haiku-4-5-20251001`): cheap/fast mechanical work — typo fixes, renames, formatting, simple lookups, log/grep parsing, bulk repetitive edits.
Default Opus when unsure. Delegate mechanical subtasks to Haiku/Sonnet subagents to save cost.
看来我们回不到 haiku 积极调用的时候了,也许可以通过 proxy 抹掉这个提示?但估计会增加风控,得不偿失啊。
1 个帖子 - 1 位参与者