正在加载陈远的个人网站

提示词

2026年10月8日 收录
  1. X · @mirku21视频 · 引用

    Claude Code 分层编排:Opus 顾问、Sonnet 主建、Haiku 蜂群

    基于官方 advisor 工具的三级模型编排配方:Opus 在关键节点审查,Sonnet 主力构建,Haiku 并行蜂群,附可复制配置提示词。

    holy sh*t. Official Anthropic tip for Claude Code: stop burning Opus 5.5 context on tasks Haiku 5.5 can swarm, while Sonnet 5.5 builds
    
    put the architect on call with /advisor
    
    claude --advisor opus --subagents haiku
    
    Sonnet 5.5 drives the primary session on high effort, writing diffs and running test suites
    Haiku 5.5 subagents swarm the repo in parallel at 340 tok/s, handling file discovery and spec docs lookup
    Opus 5.5 stays on call in the background as the advisor, only stepping in at three critical moments:
    
    → before a plan locks: does the implementation plan miss auth invariants or schema contracts?
    → when a test breaks twice: are we fixing the root cause or falling into a recursive rabbit hole?
    → before calling done: did the full diff introduce hidden regressions or break pre-flight rules?
    
    Opus 5.5 reviews. Sonnet 5.5 builds. Haiku 5.5 swarms
    
    Jev engineering runs the identical pattern one layer down: mechanical decisions that need no reasoning (which file to open, which tool to invoke, retry or abort) execute in 16ms, so the frontier models only wake up when execution paths actually diverge
    
    Plan on high. Delegate on medium. Keep Opus on call.
    
    - the full advisor setup
    > Opus 5.5 on call reads full session history and catches deep architectural traps
    > Sonnet 5.5 lead drives edits, writes core logic, and executes test harnesses
    > Haiku 5.5 subagents swarm AST parsing, grep scans, and API docs in parallel
    > JEV micro-fork layer resolves 1,500+ mechanical routing branches in under 16ms
    > advisor stays completely silent on routine bash execution to protect context
    
    paste the setup and this prompt into Claude Code below:
    
    "Configure my Claude Code workspace for hierarchical advisor orchestration:
    
    1. Audit ~/.claude/settings.json and project config for model roles fitting lead, subagents, and advisor:
    > Pin main session model: sonnet with effortLevel: high for primary execution
    > Pin subagents model: haiku with effortLevel: medium for parallel file discovery and docs retrieval
    > Pin advisor model: opus on call for strategic review
    
    2. Enable the advisor tool in ~/.claude/settings.json:
    > Set advisorModel to claude-opus-5-5
    > Enable subagent parallel dispatcher pool (3x workers)
    
    3. Configure automatic advisor consultation checkpoints in ~/.claude/CLAUDE.md:
    > Consult /advisor opus before finalizing multi-file architecture plans
    > Automatically summon /advisor opus when the same test or compiler error fails twice
    > Enforce advisor diff contract audit before declaring tasks complete or staging git commits
    
    4. Constrain subagent scopes:
    > Haiku subagents return structured AST summaries and docs snippets only without modifying main session context
    
    Show every configuration diff first. Do not apply edits until confirmed"
    
    ↳
    https://t.co/gvAWk6KbDn

    提示词 · 软件工程提示词 · Agent 工程 · 多模型编排 · 上下文管理 · 成本优化

  2. 已加载全部提示词