Claude Code技巧:$20套餐默认Opus 5.5,配Sonnet省配额
𝗖𝗹𝗮𝘂𝗱𝗲 𝗖𝗼𝗱𝗲 𝘁𝗶𝗽: the $20 plan now runs your whole session on Opus 5.5 by default…
提供了具体的命令行参数与配置文件修改方案,结构清晰且包含可执行的操作步骤,对开发者优化 AI 编程工具的使用成本有直接参考价值。
𝗖𝗹𝗮𝘂𝗱𝗲 𝗖𝗼𝗱𝗲 𝘁𝗶𝗽: the $20 plan now runs your whole session on Opus 5.5 by default. To make your quota last longer, switch the main session to Sonnet 5.5 and keep Opus on call with /advisor.
𝗖𝗹𝗮𝘂𝗱𝗲 𝗖𝗼𝗱𝗲 提示:$20 套餐现在默认在整个会话中使用 Opus 5.5。为了让你的配额更耐用,将主会话切换为 Sonnet 5.5,并通过 /advisor 命令让 Opus 随时待命。
Launch with claude --model sonnet --advisor opus to make Opus 𝗮𝗻 𝗮𝗱𝘃𝗶𝘀𝗼𝗿 𝗼𝗻 𝘁𝗵𝗲 𝘀𝗶𝗱𝗲𝗹𝗶𝗻𝗲𝘀. Sonnet 5.5 keeps doing the work and calls Opus in at three moments: → Before committing to a plan: is it right? → When the same error keeps coming back: am I heading the wrong way? → Before saying "done": did I miss anything? Opus reads the whole session and gives advice. Sonnet still writes the code.
使用 claude --model sonnet --advisor opus 启动,使 Opus 成为 𝗮𝗻 𝗮𝗱𝘃𝗶𝘀𝗼𝗿 𝗼𝗻 𝘁𝗵𝗲 𝘀𝗶𝗱𝗲𝗹𝗶𝗻𝗲𝘀(侧边顾问)。Sonnet 5.5 继续执行工作,并在三个时刻调用 Opus: → 在决定计划之前:这个计划对吗? → 当同一个错误反复出现时:我是否走错了方向? → 在说“完成”之前:我有没有遗漏什么? Opus 会阅读整个会话并提供建议。Sonnet 仍然负责编写代码。
Hand the tree and this prompt to Claude Code to set it up 👇
将目录树和此提示词交给 Claude Code 以进行设置 👇
"Set up my Claude Code to match this tree: 1. For the three subagents in the tree, check ~/.claude/agents and .claude/agents first. Reuse fitting ones, and propose new ones only for missing roles. Set the ones that read code and look up docs to model: haiku, and the one that edits code and runs tests to model: sonnet. Leave any subagent that already sets a different model alone, and list it. 2. In ~/.claude/settings.json, set model to sonnet and advisorModel to opus. 3. Check these environment variables and report them without changing anything: CLAUDE_CODE_DISABLE_ADVISOR_TOOL turns the advisor off, and so does DISABLE_TELEMETRY or anything else that stops flag fetching. CLAUDE_CODE_SUBAGENT_MODEL_FORCE forces every subagent onto one model. Then check the version: if Claude Code is older than 2.1.293, tell me (in earlier versions, haiku still meant Haiku 4.5). Don't upgrade it yourself. 4. Add one rule to ~/.claude/CLAUDE.md: ask the advisor before committing to a big plan, when the same error shows up a second time, and before calling a long task done.
"根据以下目录树配置我的 Claude Code: 1. 对于目录树中的三个子代理,首先检查 ~/.claude/agents 和 .claude/agents。复用合适的代理,仅针对缺失的角色提出新的代理。将用于读取代码和查阅文档的代理设置为 model: haiku,将用于编辑代码和运行测试的代理设置为 model: sonnet。保留任何已设置不同模型的现有子代理不变,并将其列出。 2. 在 ~/.claude/settings.json 中,将 model 设置为 sonnet,将 advisorModel 设置为 opus。 3. 检查这些环境变量并报告结果,不要更改任何内容:CLAUDE_CODE_DISABLE_ADVISOR_TOOL 会关闭顾问功能,DISABLE_TELEMETRY 或其他阻止标志获取的内容也会关闭顾问功能。CLAUDE_CODE_SUBAGENT_MODEL_FORCE 会将所有子代理强制指定到同一个模型。然后检查版本:如果 Claude Code 版本低于 2.1.293,请告诉我(在早期版本中,haiku 仍指 Haiku 4.5)。不要自行升级它。 4. 在 ~/.claude/CLAUDE.md 中添加一条规则:在提交大型计划前、同一错误第二次出现时、以及调用长时间任务完成前,先咨询顾问。"
Show me the changes first. Don't edit any files yet."
先向我展示更改内容。暂时不要编辑任何文件。"
https://code.claude.com/docs/en/advisor
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力