agent-bios 0.19.4 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/DEPENDENCIES.md +20 -5
  2. package/README.md +14 -19
  3. package/claude/agents/frontier.md +1 -1
  4. package/claude/guides/claude-prompting.md +475 -234
  5. package/claude/guides/cli-multi-model-workflow.md +8 -7
  6. package/claude/guides/gpt-prompting.md +319 -144
  7. package/claude/guides/session-distill-workflow.md +93 -43
  8. package/claude/guides/tooling-gotchas.md +3 -1
  9. package/codex/agents/frontier.toml +1 -1
  10. package/codex/agents/reviewer.toml +1 -1
  11. package/codex/agents/workhorse.toml +1 -1
  12. package/codex/guides/claude-prompting.md +475 -234
  13. package/codex/guides/cli-multi-model-workflow.md +8 -7
  14. package/codex/guides/gpt-prompting.md +319 -144
  15. package/codex/guides/session-distill-workflow.md +93 -43
  16. package/codex/guides/tooling-gotchas.md +3 -1
  17. package/compose/assemble.py +4 -1
  18. package/compose/canary.sh +8 -6
  19. package/compose/host_platform.py +158 -15
  20. package/compose/instructions-state.py +183 -41
  21. package/compose/instructions_install.py +222 -27
  22. package/compose/instructions_session.py +250 -75
  23. package/compose/instructions_setup_cli.py +2 -36
  24. package/compose/instructions_store.py +160 -3
  25. package/compose/instructions_transaction.py +29 -5
  26. package/docs/advanced-launch.md +5 -1
  27. package/docs/releases/0.20.0.md +102 -0
  28. package/docs/releases/0.20.1.md +76 -0
  29. package/install.sh +42 -14
  30. package/launch/agent-launch.py +152 -18
  31. package/launch/agent-launch.toml +28 -16
  32. package/launch/agent-launch.zsh +104 -13
  33. package/launch/claude_subcommands.py +179 -0
  34. package/launch/shell_integration.py +7 -1
  35. package/learn/collect-learning.py +60 -9
  36. package/learn/migrate-learnings.py +70 -4
  37. package/learn/redact.py +2 -1
  38. package/package.json +36 -3
  39. package/provenance.json +1 -1
  40. package/session-cost.py +80 -9
  41. package/session-distill/coverage.json +6 -0
  42. package/session-distill/distill.py +2575 -0
  43. package/session-distill/grammar/__init__.py +0 -0
  44. package/session-distill/grammar/owner_lines.py +874 -0
  45. package/session-distill/originators.json +9 -0
  46. package/session-distill/packets/cross_review.md +31 -0
  47. package/session-distill/packets/form.md +86 -0
  48. package/session-distill/packets/judge.md +81 -0
  49. package/session-distill/packets/placement_contract.md +90 -0
  50. package/session-distill/packets/propose.md +124 -0
  51. package/session-distill/packets/read.md +57 -0
  52. package/session-distill/packets/reconsider.md +53 -0
  53. package/session-distill/packets/s7b.md +65 -0
  54. package/session-distill/packets/s9b.md +39 -0
  55. package/session-distill/packets/stitch.md +35 -0
  56. package/session-distill/packets/sweep.md +33 -0
  57. package/session-distill/runlib/__init__.py +0 -0
  58. package/session-distill/runlib/bound.py +1102 -0
  59. package/session-distill/runlib/breaker.py +467 -0
  60. package/session-distill/runlib/census.py +2347 -0
  61. package/session-distill/runlib/claims.py +420 -0
  62. package/session-distill/runlib/controls.py +902 -0
  63. package/session-distill/runlib/coverage.py +881 -0
  64. package/session-distill/runlib/declare.py +888 -0
  65. package/session-distill/runlib/delivery_evidence.py +1145 -0
  66. package/session-distill/runlib/derive.py +812 -0
  67. package/session-distill/runlib/destinations.py +3072 -0
  68. package/session-distill/runlib/dispatch.py +7940 -0
  69. package/session-distill/runlib/drift.py +1077 -0
  70. package/session-distill/runlib/entry.py +401 -0
  71. package/session-distill/runlib/evidence.py +890 -0
  72. package/session-distill/runlib/exposure.py +1162 -0
  73. package/session-distill/runlib/gate.py +2727 -0
  74. package/session-distill/runlib/gitread.py +79 -0
  75. package/session-distill/runlib/inventory.py +19624 -0
  76. package/session-distill/runlib/journal.py +1919 -0
  77. package/session-distill/runlib/ledger.py +3210 -0
  78. package/session-distill/runlib/ledger_compat.py +101 -0
  79. package/session-distill/runlib/ledger_migration.py +190 -0
  80. package/session-distill/runlib/lifecycle_intake.py +693 -0
  81. package/session-distill/runlib/lineage.py +454 -0
  82. package/session-distill/runlib/measures.py +249 -0
  83. package/session-distill/runlib/monitor.py +1180 -0
  84. package/session-distill/runlib/operations.py +522 -0
  85. package/session-distill/runlib/packet.py +838 -0
  86. package/session-distill/runlib/placement.py +1769 -0
  87. package/session-distill/runlib/projection.py +4090 -0
  88. package/session-distill/runlib/ranking.py +740 -0
  89. package/session-distill/runlib/receipts.py +200 -0
  90. package/session-distill/runlib/records.py +1965 -0
  91. package/session-distill/runlib/search.py +249 -0
  92. package/session-distill/runlib/sequencing.py +829 -0
  93. package/session-distill/runlib/sources.py +641 -0
  94. package/session-distill/runlib/stage_adjudicate.py +845 -0
  95. package/session-distill/runlib/stage_apply.py +1378 -0
  96. package/session-distill/runlib/stage_approvals.py +758 -0
  97. package/session-distill/runlib/stage_close.py +1220 -0
  98. package/session-distill/runlib/stage_confirm.py +929 -0
  99. package/session-distill/runlib/stage_delivery.py +3080 -0
  100. package/session-distill/runlib/stage_form.py +2576 -0
  101. package/session-distill/runlib/stage_judge.py +4248 -0
  102. package/session-distill/runlib/stage_propose.py +3307 -0
  103. package/session-distill/runlib/stage_read.py +5179 -0
  104. package/session-distill/runlib/stage_render.py +2739 -0
  105. package/session-distill/runlib/stage_retrieve.py +924 -0
  106. package/session-distill/runlib/stage_review_korean.py +1002 -0
  107. package/session-distill/runlib/stage_review_proposals.py +1292 -0
  108. package/session-distill/runlib/stagelock.py +412 -0
  109. package/session-distill/runlib/stop.py +1061 -0
  110. package/session-distill/runlib/targets.py +809 -0
  111. package/session-distill/runlib/usage.py +280 -0
  112. package/session-distill/runlib/validate.py +319 -0
  113. package/session-distill/runlib/views.py +4327 -0
  114. package/session-distill/schemas/adjudication.schema.json +35 -0
  115. package/session-distill/schemas/approval.schema.json +35 -0
  116. package/session-distill/schemas/census.schema.json +128 -0
  117. package/session-distill/schemas/checks.schema.json +207 -0
  118. package/session-distill/schemas/claim.schema.json +16 -0
  119. package/session-distill/schemas/confirmation.schema.json +24 -0
  120. package/session-distill/schemas/coverage.schema.json +66 -0
  121. package/session-distill/schemas/cross_review.schema.json +24 -0
  122. package/session-distill/schemas/event.schema.json +20 -0
  123. package/session-distill/schemas/evidence.schema.json +20 -0
  124. package/session-distill/schemas/expected_observation.schema.json +18 -0
  125. package/session-distill/schemas/form.schema.json +103 -0
  126. package/session-distill/schemas/intake.schema.json +71 -0
  127. package/session-distill/schemas/inventory.schema.json +872 -0
  128. package/session-distill/schemas/judge.schema.json +77 -0
  129. package/session-distill/schemas/ledger.schema.json +313 -0
  130. package/session-distill/schemas/observation.schema.json +16 -0
  131. package/session-distill/schemas/propose.schema.json +555 -0
  132. package/session-distill/schemas/read.schema.json +76 -0
  133. package/session-distill/schemas/reconsider.schema.json +122 -0
  134. package/session-distill/schemas/run.schema.json +150 -0
  135. package/session-distill/schemas/s7b.schema.json +200 -0
  136. package/session-distill/schemas/s9b.schema.json +28 -0
  137. package/session-distill/schemas/stitch.schema.json +25 -0
  138. package/session-distill/schemas/sweep.schema.json +25 -0
  139. package/session-distill/seats.json +149 -0
  140. package/session-distill/tables/allowed_pairs.json +257 -0
  141. package/session-distill/tables/controls.json +30 -0
  142. package/session-distill/tables/delivery_evidence.json +36 -0
  143. package/session-distill/tables/delivery_evidence_fixtures.json +731 -0
  144. package/session-distill/tables/destinations.json +684 -0
  145. package/session-distill/tables/drift_layers.json +68 -0
  146. package/session-distill/tables/exposure_rules.json +192 -0
  147. package/session-distill/tables/placement_rules.json +148 -0
  148. package/session-distill/tables/propose_fixtures.json +154 -0
  149. package/session-distill/tables/ranking.json +194 -0
  150. package/session-distill/tables/redundancy.json +10 -0
  151. package/session-distill/tables/structural_rules.json +44 -0
  152. package/session-distill/tables/transition_fixtures.json +398 -0
  153. package/session-distill/tables/transitions.json +69 -0
  154. package/session-distill/tables/unit_outcome.json +67 -0
  155. package/session-distill/tables/unit_outcome_fixtures.json +2364 -0
  156. package/wrappers/claude-run.sh +481 -33
  157. package/wrappers/claude_hermetic_evidence.py +1423 -0
  158. package/wrappers/codex-helm.sh +46 -15
  159. package/wrappers/codex-run.sh +183 -20
  160. package/wrappers/codex_frame_filter.py +1199 -0
  161. package/wrappers/codex_protocol.py +737 -0
  162. package/wrappers/jsonl_lines.py +65 -0
@@ -9,35 +9,47 @@ use_when:
9
9
  - porting a prompt written for an older claude model
10
10
  - deciding a reasoning-effort level for claude work
11
11
  core_rules:
12
- - choose guidance by the actual target model — each bound tier has its own vendor document and they disagree on effort, initiative, and verification
12
+ - choose guidance by the actual target model — effort defaults, thinking controls, initiative, and how much verification to ask for differ per model, and a technique measured on one model is re-checked before it is applied to another
13
13
  - effort level names do not carry across models; after a rebind, sweep levels again instead of keeping the previous model's setting
14
- - state the goal, the constraints, and the reason behind the request; let the model choose the route
14
+ - state the goal, the reason behind it, and what done means; let the model choose the route
15
+ - for long-horizon work, put the full task specification and the completion condition in the first turn rather than revealing them across turns
16
+ - hold progress and completion claims to a check run in the same session, and have work that was not checked named as such
17
+ - make tool descriptions prescriptive about when to call, not only what the tool does — the prompt is the lever where forced tool choice is rejected
15
18
  - compare inherited process scaffolding on the target model before keeping or removing it
16
- - put the full task specification in the first turn for long-horizon work rather than revealing it across turns
17
- - make tool descriptions prescriptive about when to call, not only what the tool does
18
- - require progress claims to be audited against a tool result from the same session
19
19
  - name the boundary explicitly — what to do without asking, and what to stop and ask about
20
- derived_at: 2026-10-21
20
+ - keep the conversation history append-only, and never ask for the reasoning written out in the response
21
+ - an absolute rule and an approval rule are applied as written, so name the exact actions each covers and name the steps that need no approval; a separate permission elsewhere does not cancel either, and cautions that have accumulated in memory, notes, and agent files are pruned rather than overridden
22
+ derived_at: 2026-11-11
21
23
  source_pins:
22
- - doc: prompting-claude-opus-5
23
- sha256: e73cd26863642596486a43f90ff9c04d13f8e4b6cd00ae83546d4d3cd93c5143
24
- pinned_at: 2026-10-21
25
24
  - doc: claude-prompting-best-practices
26
- sha256: e9bd30b6abd49cc42549387cfa7a4cd9946d79d0eb7ed2a1c12f4cf431ee04f4
27
- pinned_at: 2026-10-21
25
+ sha256: 77e8b8b73a2588d09a118d4cef92cd3b4e82c400ceca042d41af75865351c96d
26
+ pinned_at: 2026-11-11
27
+ - doc: prompting-claude-fable-5-2
28
+ sha256: 6e2ad08df7e9468048a4a57b63a6c154fe9f82d46e292aec944cefbfa3b22a84
29
+ pinned_at: 2026-11-11
28
30
  - doc: prompting-claude-fable-5-1
29
- sha256: b921ea4d827411b3f4401fd5c92021eb7166c6c5642688321a3780297d8b5497
30
- pinned_at: 2026-10-21
31
+ sha256: d4102222092bacb1310faf97fa5a27c5ceac1de4b4474666c557aeff75e8f5bc
32
+ pinned_at: 2026-11-11
31
33
  - doc: prompting-claude-opus-5-5
32
- sha256: 3432e66ac97f77b45e1ecba014c9d6d0001be7ab47b55ebe8c70f5aa55883a14
33
- pinned_at: 2026-10-21
34
+ sha256: 0203e04ee828c0ad41c99a814aeaf45f2e2e76ffec7a88da7b724a86ba01d9ea
35
+ pinned_at: 2026-11-11
34
36
  - doc: prompting-claude-sonnet-5-5
35
- sha256: 6886cdd2625b73be5bd74420e31c3a050c1c52b8073b9bebe15f4dcf33e44f91
36
- pinned_at: 2026-10-21
37
+ sha256: 0826ae2afb34141ee8abda47c9044ec7ecd5f5c6511c1d2516066b20eb6b8d18
38
+ pinned_at: 2026-11-11
37
39
  - doc: prompting-claude-haiku-5-5
38
- sha256: e871a37701e88998c5bed2e15c586048c86d3d8ab5c333a67c60ad717e0131fd
39
- pinned_at: 2026-10-21
40
+ sha256: 69d8bf18169f27ac8f14fb7f805495a03e4cd7800de5dcfc527982a9fde9a1bf
41
+ pinned_at: 2026-11-11
42
+ - doc: prompting-claude-opus-5
43
+ sha256: b34cb10619cc7b2ba2b6a195210673055c6fb84e1c5d1141ffd26a863f6514a0
44
+ pinned_at: 2026-11-11
45
+ - doc: thinking
46
+ sha256: 072f1b039bbea4b923c9da9a53f672f66b04c7b04edc4ccb6f67bba27db33129
47
+ pinned_at: 2026-11-11
48
+ - doc: effort
49
+ sha256: 87c3900847cb21bd1b44f466831fd97a9d19f689e65400da4157b6302a4ee55f
50
+ pinned_at: 2026-11-11
40
51
  targets:
52
+ - claude-fable-5-2
41
53
  - claude-fable-5-1
42
54
  - claude-opus-5-5
43
55
  - claude-sonnet-5-5
@@ -55,23 +67,26 @@ verification_focus:
55
67
 
56
68
  # Claude Prompting Guide
57
69
 
58
- This guide is a scoped extension of the global Coding Guidelines. Use it when
59
- composing a prompt for a claude-tier model — a review packet dispatched
60
- cross-family, a subagent brief, or the main's own instructions when the main is
61
- Claude.
70
+ This guide is a scoped extension of the global Coding Guidelines. Use it when composing
71
+ a prompt for a claude-tier model — a review packet dispatched cross-family, a subagent
72
+ brief, or the main's own instructions when the main is Claude.
62
73
 
63
74
  Use the shared recipe and checklist together with the section for the model being
64
- prompted, even when a subagent uses a different model from the main. Model-specific
65
- tuning preserves the instructions' permission boundaries and required verification.
75
+ prompted, even when a subagent uses a different model from the main. Each sectioned model
76
+ has its own official prompting document; a technique measured on one model is re-checked
77
+ on the target before it is borrowed. Model-specific tuning preserves the instructions'
78
+ permission boundaries and required verification.
66
79
 
67
80
  | Target | Apply |
68
81
  | --- | --- |
82
+ | `claude-fable-5-2` | Shared recipe and Claude Fable 5.2 |
69
83
  | `claude-fable-5-1` | Shared recipe and Claude Fable 5.1 |
70
84
  | `claude-opus-5-5` | Shared recipe and Claude Opus 5.5 |
71
85
  | `claude-sonnet-5-5` | Shared recipe and Claude Sonnet 5.5 |
72
86
  | `claude-haiku-5-5` | Shared recipe and Claude Haiku 5.5 |
73
87
  | `claude-opus-5` | Shared recipe and Claude Opus 5 |
74
- | `claude-fable-5`, `claude-sonnet-5`, `claude-haiku-4-5` | Shared recipe; consult the target's own guidance before borrowing another model's tuning |
88
+ | `claude-fable-5`, `claude-sonnet-5` | Shared recipe, plus the model's own prompting document (`prompting-claude-fable-5`, `prompting-claude-sonnet-5`) read for every dispatch to it — this guide carries none of its tuning |
89
+ | `claude-haiku-4-5` | Shared recipe only. No model-specific document exists. Thinking is off unless manual extended thinking (`enabled` with `budget_tokens`) is requested, adaptive returns a 400, it has no effort levels, and while thinking is on it rejects forced tool choice, a prefilled assistant turn, and `temperature` or `top_k`, allowing `top_p` only between 0.95 and 1 |
75
90
 
76
91
  ## Default prompt recipe
77
92
 
@@ -79,234 +94,460 @@ tuning preserves the instructions' permission boundaries and required verificati
79
94
  context so the model does not have to infer the intent.
80
95
  - `Success criteria` — what done means and how it is checked.
81
96
  - `Constraints and boundaries` — state the permitted scope and approval conditions.
82
- - `Tools` — each description states **when to call it**, not only what it does.
83
- Name prerequisite retrieval and validation when correctness depends on them.
84
- - `Output` — the artifact shape and the register.
97
+ - `Tools` — each description states **when to call it**, not only what it does. Name
98
+ prerequisite retrieval and validation when correctness depends on them.
99
+ - `Output` — the artifact shape and the register, phrased as what to do rather than what
100
+ to avoid; where words describe a format poorly, give an example in `<example>` tags.
101
+ - `Long inputs` — documents and other long material at the top, the request at the end,
102
+ and a request to quote the relevant parts before acting on them.
103
+ - `Long runs` — if the harness compacts context or lets the model save state to files,
104
+ say so: otherwise it may wrap up early as the context limit nears. For work across
105
+ context windows, give it a place for state (structured status such as a `tests.json`,
106
+ free-form progress notes, git) and say to read that place when a fresh window starts.
107
+
108
+ A bounded review packet runs as one self-contained run by default — repository practice,
109
+ not a vendor claim.
110
+
111
+ ## Constraints by model
112
+
113
+ Confirm a constraint against the live surface before a dispatch relies on it.
114
+
115
+ | Model | Default effort | Thinking off | `tool_choice` `any` / `tool` |
116
+ | --- | --- | --- | --- |
117
+ | Fable 5.2 | `high` | rejected — always on | rejected |
118
+ | Fable 5.1 | `high` | rejected — always on | rejected |
119
+ | Opus 5.5 | `medium` | rejected — always on | rejected |
120
+ | Sonnet 5.5 | `high` | rejected; `between_tools` turns off up-front thinking at `high` or below | rejected |
121
+ | Haiku 5.5 | `medium` | accepted at `high` or below | accepted |
122
+ | Opus 5 | `high` | accepted at `high` or below | accepted |
123
+
124
+ - Where forced tool choice is rejected, keep `tool_choice` on `auto`, say in the prompt
125
+ when the tool applies, and get schema-valid JSON from strict tool use or structured
126
+ outputs where available (not on every platform; otherwise ask for the format in the
127
+ prompt). Where accepted, a forced call skips thinking; prefer `auto` plus an instruction.
128
+ - Manual thinking (`enabled` with `budget_tokens`) returns a 400 on all six, and a
129
+ prefilled final assistant turn on every target but Haiku 4.5; effort, instructions, and
130
+ structured outputs replace them.
131
+ - Omit `temperature`, `top_p`, and `top_k` on all six and on Fable 5 and Sonnet 5:
132
+ non-default values return a 400, the `top_p` default is `0.99` so `top_p: 1` is one, and
133
+ `temperature` with `top_p` returns one even at defaults. From API version `2026-10-21`,
134
+ sending any of the three at any value returns a 400 on every model, so omit them
135
+ outright rather than tracking which model still tolerates a default.
136
+ - Thinking counts toward `max_tokens`, a hard limit on thinking plus reply text, and the
137
+ ceiling is 128K on every target in the table; leave room, and stream above 21,333 (SDK
138
+ rule).
139
+ - Keep the history append-only: pass each assistant turn back exactly as returned,
140
+ thinking blocks included. On Fable 5.2, Fable 5.1, and the 5.5 models, editing earlier
141
+ messages, rebuilding `system` or `tools`, or summarizing older turns in place invalidates
142
+ every later thinking block; send per-turn reminders as turn-scoped system messages and
143
+ let server-side compaction trim. A model switch can drop earlier reasoning, since a
144
+ thinking block is readable only by the model that produced it and certain others —
145
+ on the Claude API Fable 5.2 reads the other targets' blocks and no other model reads its
146
+ own, so a switch up to it keeps the conversation's reasoning and a switch away drops it. Fable 5.2, Sonnet 5.5, and Haiku 5.5
147
+ blocks are also bound to the account that produced them, so a session cannot be replayed
148
+ from another account's credentials.
149
+ - Do not ask for the reasoning written out in the response, verbatim or in a fixed format:
150
+ on Fable 5.2, Fable 5.1, Opus 5.5, Sonnet 5.5, and Opus 5 such a prompt, skill, or tool
151
+ description may be declined with `reasoning_extraction`. Ask for a short explanation or a
152
+ summary of the actions taken, or read `display: "summarized"` thinking blocks.
153
+ - A decline returns `stop_reason: "refusal"` with the category in `stop_details` and is
154
+ not an answer; the categories are `cyber`, `bio`, `frontier_llm`, `reasoning_extraction`,
155
+ and `general_harms`. Each model's document says what a server-side fallback retries, and
156
+ Haiku 5.5 has no fallback and usually refuses again on retry.
157
+ - A top-level `effort` change between requests restarts the prompt cache; on Fable 5.2,
158
+ Fable 5.1, Opus 5.5, Opus 5, Sonnet 5.5, and Haiku 5.5, change effort mid-conversation
159
+ with the per-message form (beta), which takes effect from the next user turn with new
160
+ input and holds until another change replaces it. It needs adaptive thinking: thinking
161
+ off on Haiku 5.5 or `between_tools` on Sonnet 5.5 → 400. Platform coverage differs per
162
+ model; confirm it for the target before a dispatch relies on it.
163
+
164
+ ## Claude Fable 5.2
165
+
166
+ The document also covers Claude Mythos 5.2, which offers the same capabilities only to
167
+ organizations verified through the vendor's cyber and life-sciences programs. Fable 5.1
168
+ prompts do not carry over unexamined: the document's own migration order is to set effort
169
+ explicitly, then read every system prompt, skill, agent file, memory file, note, and
170
+ harness string for instructions written for an earlier model, then run the longest agentic
171
+ tasks and apply one fix at a time. Add system-prompt text in new conversations only — the
172
+ prefix check is enforced for every account here, so a stored conversation resumed with
173
+ changed `system`, `tools`, or earlier messages can return a 400.
174
+
175
+ - Effort: start at the default `high` and sweep on your own evals rather than carrying a
176
+ Fable 5.1 or Opus 5.5 setting over. `low` suits quick exchanges, well-specified tasks,
177
+ and high-volume subagents; `medium` interactive coding, chat, and everyday knowledge
178
+ work; `high` hard coding, research, agentic work, and long unattended runs; `xhigh` the
179
+ hardest long-running work where a gain is measured; `max` only to measure the ceiling or
180
+ for open-ended problems where time and tokens do not matter. Most of the capability is
181
+ already present at `high` and gains above it are uneven, so step down to `medium`
182
+ wherever quality holds. Three behaviors to expect: early stopping is likelier at the
183
+ lower levels, at `high` and above it thinks before almost every reply including a
184
+ greeting, and effort barely changes reply length — use the prompt for that. Mixing levels
185
+ in one workflow is supported; plan at `medium` and raise effort for the unattended part.
186
+ - Finishing: it may end a turn with a list of what remains, an offer to continue, or a stop
187
+ at an ordinary obstacle such as a timeout, more often at `low` and `medium`. A finishing
188
+ block that separates the two kinds of obstacle carries the effect — diagnose and work
189
+ through ordinary ones (errors, timeouts, locked files, empty results, failing tools) with
190
+ the access at hand, and leave a deliberate blocker alone, say plainly what was found, and
191
+ look for another safe route. Replayed agentic coding sessions at `medium` ended with
192
+ doable work left about half as often, and output tokens rose about 30%. It removed most
193
+ endings that ask permission or offer to continue, but not endings that list what remains.
194
+ Because it then asks less often, keep your own confirmation step for risky actions.
195
+ - Approvals: ask for the action, not for assent — "Yes, run the migration on the staging
196
+ database" rather than "go". An approval rule is applied exactly as written: one listing
197
+ "sending messages to people outside this conversation" among the steps needing approval
198
+ held back roughly half of the model's routine requests to colleagues. Write the exception
199
+ into the rule itself; a separate line saying an approved step has its go-ahead moved an
200
+ absolute rule's compliance barely at all, while a rule that itself said to get a
201
+ go-ahead first was followed in about nine tries in ten.
202
+ - Code ownership: it reads the prompt closely on who owns the code. Say nothing, or present
203
+ the repository as someone else's, and it adds to the existing structure even where that
204
+ repeats code, and reports nearby problems instead of fixing them. One sentence saying the
205
+ code base is its own raised merging of repeated code from under a tenth of tries to about
206
+ half, and held inside a long system prompt — at about 1.5 times the output tokens, with
207
+ unrequested changes (often tests and documentation), a behavior change to an existing
208
+ feature in one try in six to ten, and a closing summary that names the large changes and
209
+ omits small ones, so review the diff rather than the summary. Leave the sentence out
210
+ where the user owns the code; a scope limit elsewhere does not cancel it — with "No
211
+ drive-by refactors, renames or cleanups" earlier in the same prompt it still merged
212
+ repeated code in about a third of tries.
213
+ - Progress text: it writes little user-facing text during long tool runs and may make its
214
+ first call without saying what it is about to do. Updates arrive as progress-update
215
+ `thinking` blocks, empty at the default `display` of `"omitted"` — set `display:
216
+ "updates"` (beta) or `"summarized"` and render the non-empty blocks between tool calls.
217
+ Then ask in the system prompt for an opening line, brief updates, and a standalone recap
218
+ (it spoke before its first tool call every time, at roughly 20% more output tokens). With
219
+ a harness that can count consecutive steps giving the user nothing to read, append a
220
+ one-line reminder after the latest tool results as a turn-scoped system message, which
221
+ roughly halved the longest silent stretch at no noticeable cost; leave each reminder in
222
+ place, since rewording one edits an earlier turn. Without that harness, one sentence
223
+ asking for a one-line update every few tool calls cut most long silences. Expect runs of
224
+ several calls between updates even so.
225
+ - Subagents: how much it delegates follows the harness. With a minimal start-subagent tool
226
+ it rarely delegates; in a product whose prompts invite delegation it delegates readily.
227
+ Review the standing delegate-this instructions in system prompts, skills, and agent files
228
+ before rewriting the tool description. A description that puts what a subagent costs
229
+ first, says when delegation is and is not worth it, and says how to brief one cut
230
+ delegation by about a third at equal task success. At `xhigh` and `max` it also starts
231
+ subagents to review its own work, which Fable 5.1 did not; check which model the harness
232
+ runs subagents on, because they can dominate what a session costs.
233
+ - Caution that piles up: cautious instructions accumulate wherever context carries over —
234
+ memory, notes, instruction files, messages between agents — and it follows them closely
235
+ enough to withhold routine work. Remove notes whose reason no longer holds (one "never
236
+ retry" note among a dozen cut retries from nearly all tries to about four in ten), name
237
+ the steps that need no approval for calls that are safe to repeat (which raised retries
238
+ from almost none to about half, where a general instruction to act more freely changed
239
+ nothing), and check what reviewer agents attach, since a reviewer's "stop at the first
240
+ error" in context stopped it where Fable 5.1 and Opus 5.5 went on.
241
+ - Inherited instructions that now cost: a harness-written token budget in the prompt
242
+ changes how much it spends — removing a large one lowered cost at equivalent performance
243
+ at `high` and `xhigh`. The Opus 5.5 "treat that answer as done" chat lines cut its
244
+ thinking on follow-ups but made it far less likely to flag mistakes in its own earlier
245
+ answers. An instruction to answer directly without deliberating does not stop it from
246
+ thinking at `medium` and above; lower the effort instead. A hard style limit such as one
247
+ instruction per sentence in twenty words makes its prose choppy. Harness code that edits
248
+ earlier turns invalidates the thinking after the edit point: shorten history with context
249
+ editing or with compaction that keeps no earlier turns, and measure output tokens before
250
+ relying on `prefix_mismatch_behavior: "drop_block"`, which made it think again.
251
+ - Final reports: readers of a long run's report have not seen the tool calls or files. Ask
252
+ for a self-contained message written for an intelligent low-context reader, key points
253
+ first, in plain words with no term invented during the work, mostly short active
254
+ sentences using one word per thing, prose where ideas connect and bullets for separate
255
+ items. That text made reports less dense with fewer semicolons, and shorter sentences on
256
+ workflow automation tasks.
257
+ - Refusals: safety classifiers decline with `stop_reason: "refusal"` in the five categories
258
+ listed above, and benign cybersecurity and life-sciences work can trigger `cyber` and
259
+ `bio`. Remove instructions asking it to write its reasoning in the response and read
260
+ `display: "summarized"` thinking blocks instead.
85
261
 
86
262
  ## Claude Fable 5.1
87
263
 
88
- - Begin effort experiments at `high`; compare supported levels afresh. Identical
89
- effort names need not have identical costs across models.
90
- - Request brief start, progress, and final updates; first verify the client renders
91
- updates and remove conflicting silence instructions.
92
- - Batch independent tool calls. Let the lead do independent work while subagents run.
93
- - Complete authorized requests, including promised next steps. State genuine approval
94
- boundaries and whether a person is available; avoid unnecessary pauses.
95
- - Ask for literal prose and useful formatting. Demonstrate how retrieved quotations
96
- should be marked and attributed.
97
- - Keep edits targeted and tests proportional to the requested behavior; report
98
- unrelated issues separately.
99
- - At `low`, explicitly trigger retrieval for current facts instead of trusting name
100
- recognition. Compare higher effort when retrieval still fails.
101
- - Preserve decisions, constraints, open work, and exact details in compaction summaries.
102
- - Append API history unchanged; use supported compaction instead of replaying thinking
103
- against an edited prefix.
104
- - At `xhigh`/`max`, budget tokens for thinking and the deliverable; compare `high` for
105
- long outputs.
106
- - Give dense-image work crop and zoom tools.
107
-
108
- - `medium` roughly matches Claude Fable 5 at lower cost, and `low` often beats the
109
- smaller models on cost per task — include it wherever you would otherwise run a
110
- smaller model at a higher level.
111
-
112
- These are prompt and harness tuning choices, not changes to the configured seat's
113
- effort or permissions. Advice in the other model sections does not transfer to this one.
264
+ The document also covers Claude Mythos 5.1. Fable 5 prompts carry over unchanged.
265
+
266
+ - Effort: start at the default `high` and test the others on your own evals; level names
267
+ do not mean the same amount of thinking across models. `medium` roughly matches Fable 5
268
+ at lower cost, and `low` is often competitive with Opus and Sonnet models on cost per
269
+ task while scoring higher — include it wherever you would otherwise run a smaller
270
+ model at a higher level.
271
+ - Progress text: it writes fewer user-facing updates in long tool-calling turns, more so
272
+ at higher effort. First check that the client renders progress-update `thinking` blocks
273
+ (`display: "updates"`, beta), then remove lines that suppress narration, then ask for a
274
+ one-line start, brief updates, and a recap that stands alone. Say when the UI hides tool
275
+ output, or it runs commands to "show" output nobody sees.
276
+ - Batching: in coding and computer-use loops it may issue one implied call per turn. Nudge
277
+ it to list what it needs next and request every independent item at once — a turn-scoped
278
+ system message after each round of tool results (beta), or a text block after the
279
+ `tool_result` blocks — appending a fresh copy each turn and never deleting old ones.
280
+ - Finishing: on long asynchronous work it may announce the next step instead of doing it,
281
+ or ask permission for work already requested. The autonomy block (the user is not
282
+ watching; proceed on reversible actions; stop only for destructive actions or genuine
283
+ scope changes; do what your last paragraph promises) carries most of the effect, and a
284
+ second block makes the request itself the scope. Keep its two exceptions — a problem
285
+ described, a question asked, or thinking aloud without a request for a change gets an
286
+ assessment, not a fix; a state-changing command needs evidence for that exact action —
287
+ and check whether it asks less about ambiguous requests.
288
+ - Extras: it may fix nearby code or commit more tests than the change warrants; a
289
+ leave-it-out instruction drops both with no measurable change in task success, and asks
290
+ for a pre-existing bug or unmentioned behavior it finds to be reported as a follow-up
291
+ rather than fixed. It rewrites whole files more readily than Fable 5; ask for surgical
292
+ edits.
293
+ - Compaction: with server-side compaction, let it trim. If you compact on the client,
294
+ tell the summary what to preserve — problems and how they were handled, options raised
295
+ or set aside, what was asked for, decided, agreed, or ruled out and every preference,
296
+ constraint, or boundary set (stated exactly), where things stand, what is still open or
297
+ promised, and hard-to-reconstruct details kept exactly.
298
+ - Prose: denser than Fable 5's, and it formats less — replace anti-formatting rules with
299
+ when formatting helps; "Please remove all mannered prose." works. Summaries may reproduce
300
+ source passages unmarked; add one complete example of a correct response and why.
301
+ - Search at `low`: it answers from memory more readily. Raise effort for those turns, or
302
+ say that recognizing a name is not knowing its current state and to search it as written.
303
+ - Long deliverables at `xhigh`/`max`: it may draft them in thinking and write them again.
304
+ Run them at `high`, or size `max_tokens` for thinking plus reply and say the two share
305
+ one limit.
306
+ - Subagents: let the lead keep working — the start tool returns at once, results arrive in
307
+ a later user message, a separate tool waits. It still often waits by choice.
308
+ - Dense images: a crop-and-enlarge tool alone delivers most of the uplift. False refusals
309
+ rise on compile-check phrasing (ask "are there bugs"), lesser-known languages (give
310
+ context), and base64 in tool output (remove it).
114
311
 
115
312
  ## Claude Opus 5.5
116
313
 
117
- - The default is `medium`, where Claude Opus 5 defaulted to `high`. At a GIVEN level
118
- this model thinks more per turn, so carrying an Opus 5 level forward buys longer
119
- turns and more output tokens rather than more depth. Reserve `xhigh` and `max` for
120
- work with a measured gain.
121
- - Thinking is always on and `thinking: disabled` is rejected. Remove instructions that
122
- stood in for thinking, and remove any rule telling the model not to think.
123
- - Progress notes between tool calls arrive as progress-update thinking blocks whose
124
- text is empty at the default display, so a client that renders only text looks silent
125
- through a long turn.
126
- - In unattended loops a text-only end of turn is a report, not proof of completion.
127
- Keep the parts in a checklist, re-prompt the open items, and stop after two or three
128
- automatic continuations rather than looping.
129
- - Safety classifiers decline with `stop_reason: "refusal"` and a named category; the
130
- biology safeguards are new if you are coming from Opus 5.
131
- - It reads charts, diagrams and screenshots markedly better unaided — re-test visual
132
- scaffolding built for earlier models before keeping it.
133
- - In multi-agent harnesses, an elapsed-time line against a budget makes teams finish
134
- sooner; the budget is advisory, so keep your own timeout.
135
- - Mark text the user pasted in tagged blocks and say so in the system prompt.
136
- - For frontend work, name the specific defaults to avoid; a general "avoid a generic
137
- look" swaps one default for another.
314
+ Opus 5 prompts carry over, and the Opus 5 section remains a reasonable starting point.
315
+
316
+ - Effort: the default is `medium` (Opus 5: `high`). Set it explicitly and sweep rather
317
+ than carrying the Opus 5 value over: `medium` matches or exceeds Opus 5 at `high` on
318
+ coding and knowledge-work evals, and `low` comes close on several coding evals. At a
319
+ given level it thinks more per turn than Opus 5, most at `xhigh`/`max` — keeping the
320
+ Opus 5 value means longer turns and more output tokens — so leave room in
321
+ `max_tokens` (128,000 has worked for long agentic coding turns), reserve `xhigh`/`max`
322
+ for measured gains, and lower effort before prompting for less thinking.
323
+ - Thinking is always on. For a prompt that ran on Opus 5 with thinking off: start at `low`
324
+ and measure, remove instructions that stood in for thinking, re-test the Opus 5
325
+ thinking-off mitigations and drop any no-thinking rule either way, and read responses by
326
+ block type. In chat, remove "think carefully" lines; telling it to treat earlier answers
327
+ as settled cuts follow-up thinking, but leave that out of long analyses and agentic work
328
+ and test whether it mutes the model's own corrections.
329
+ - Unattended runs: some progress updates end the turn as text (`end_turn`). Treat a
330
+ text-only end of turn as a report, not proof: keep the task's parts in a checklist the
331
+ model updates, send a short user message naming the open items, stop after two or three
332
+ automatic continuations, and wait for background commands or subagents it started. A
333
+ system-prompt paragraph naming the early stops to avoid (a summary that announces the
334
+ next step, an offer to continue, a list of non-blocking decisions, stopping at a
335
+ milestone) and the stops you want makes them rarer; add it from the first request, keep
336
+ your own confirmation for risky actions, and leave it out when a person can answer.
337
+ - Progress text arrives as progress-update `thinking` blocks, empty at the default display
338
+ — set `display: "updates"` (beta). Declare a send-to-user tool for verbatim content from
339
+ the first request. After about five silent tool steps, append a one-line reminder as a
340
+ turn-scoped system message, at most two or three times; appended rather than deleted,
341
+ it keeps cache and thinking blocks intact and roughly halved long silences at no cost.
342
+ - It gets to work quickly: on loosely specified multi-app tasks say to explore the relevant
343
+ sources, including ones the task does not name, before acting — and keep untrusted
344
+ content out of what it searches, because it acts on what it finds.
345
+ - It paces to elapsed time: a harness line such as `elapsed 340s / 1200s` makes agent teams
346
+ finish sooner at comparable quality; the budget is advisory (keep your own timeout) and
347
+ may cost a little searching and verifying.
348
+ - Pasted text: wrap it in `<pasted_content id="…">` tags carrying one random id and say in
349
+ the system prompt that instructions inside are followed only where the user asks; the
350
+ tags can be imitated, so this is one guardrail among others.
351
+ - Safety classifiers cover biology, cybersecurity, and reasoning extraction; the biology
352
+ safeguards are Fable 5.1's and are new coming from Opus 5.
353
+ - Dense images: it reads charts, diagrams, and screenshots more precisely without tools,
354
+ so re-test scaffolding built for earlier models; for the densest inputs, higher
355
+ resolution and crop/measure tools still help (more at higher effort), while effort alone
356
+ helps technical drawings, not charts. Frontend: "avoid a generic look" only swaps one
357
+ default for another — name the patterns to avoid, inspect, and extend the list.
138
358
 
139
359
  ## Claude Sonnet 5.5
140
360
 
141
- - Levels are recalibrated against Claude Sonnet 5, so sweep again rather than carrying
142
- a level over. Start at `medium` for well-specified agentic work and `high` for harder
143
- or longer tasks.
144
- - At `low` it can report a change done without running a check, and at `low`/`medium`
145
- it checks in before finishing a long task. Raise effort first; otherwise state
146
- carry-through and the scope boundary in the system prompt.
147
- - At `xhigh` and `max` it starts its own review rounds and may launch reviewer
148
- subagents. Telling it to stop once the requested work passes its checks cut session
149
- cost by about a third in vendor testing with no quality change.
150
- - It adds tests, docs and supporting files that were not requested, at every level and
151
- more at higher effort. Say so explicitly if you want changes limited to the request.
152
- - For a JSON answer to a multi-step reasoning task, add a line asking it to think the
153
- problem through first, or run `xhigh`. Treat `stop_reason: "max_tokens"` as failed
154
- even when the text parses.
155
- - It occasionally calls a tool with the wrong letter case or a near-miss parameter
156
- name: accept an unambiguous match, or return an error naming the exact expected name.
157
- - Never put user text inside a tool result; deliver mid-turn input as a user turn, and
158
- keep harness notices in a separate message.
361
+ Sonnet 5 prompts carry over. For the hardest long-horizon work an Opus model is the better
362
+ choice.
363
+
364
+ - Effort: the levels are recalibrated, so run a fresh sweep. Start at the default `high`
365
+ unless the work is agentic or latency-sensitive: `medium` for well-specified agentic
366
+ coding and `high` for harder or longer tasks, `medium` or `low` for chat. At `low` it
367
+ keeps thinking short and can skip verifying a change; at `low` and `medium` it is more
368
+ likely to check in before a long task is done. For agentic coding set `max_tokens` to
369
+ 128,000 and stream. Asking in the prompt for less thinking does not reliably work.
370
+ - Initiative: to carry work through at `low`/`medium`, try a higher effort first; to keep
371
+ the effort, say to keep working until everything asked for is done and to stop only when
372
+ blocked on the user or before a risky step. It adds tests, docs, and supporting files at every effort, more at higher ones;
373
+ "when the work is done and checked, stop and report; mention extras instead of doing
374
+ them" limits that. At `xhigh`/`max` it starts its own review rounds and reviewer
375
+ subagents, so run routine work at `high` or below. One paragraph — when the work is done
376
+ and its checks pass, stop and report; start no extra review rounds and launch no reviewer
377
+ subagents unless the user asked — stopped the reviewer subagents and cut session cost by
378
+ about a third at `max` with no change in quality; self-started review rounds became
379
+ rarer, not gone. For ideas or a plan, say to stop there.
380
+ - `between_tools` is the lowest thinking setting, accepted at `high` or below; with it,
381
+ per-message effort returns a 400, and any instruction not to think must go because it
382
+ leaks internal XML tags. In a request without tools it means no thinking at all.
383
+ - JSON on reasoning tasks: with structured outputs it often skips thinking at `low` and
384
+ `medium`. Add "Think the problem through before you answer." (at `high` this nears
385
+ `xhigh` accuracy) or run `xhigh`, with adaptive thinking rather than `between_tools`.
386
+ Treat `stop_reason: "max_tokens"` as a failure even when the text holds valid JSON.
387
+ Without structured outputs it often writes working-out before the final JSON, so a
388
+ whole-response parser fails: follow the document's extraction recipe (non-overlapping
389
+ parse of the last value, or of the last run of values for multi-record answers, a field
390
+ check, one retry) rather than slicing from the first brace to the last.
391
+ - Progress text longer than a sentence or two arrives as progress-update `thinking` blocks
392
+ — with adaptive thinking set `display: "updates"` (beta); under `between_tools` the
393
+ summary text comes back anyway and `display` is rejected. Remove "hold all findings"
394
+ lines; after about five silent steps append a one-line reminder as a turn-scoped system
395
+ message, at most two or three times.
396
+ - Mid-turn input: it may read harness text after a tool result as an injection. Never put
397
+ user text inside a `tool_result`: append it as a text block after the last `tool_result`,
398
+ keep harness notices in a separate system message, and add no token countdown after
399
+ tool results in interactive sessions.
400
+ - Verification: at `low` it may report a change done without a check that exercises it. A
401
+ paragraph requiring a real test, type-check, or build makes that rare at slightly higher
402
+ cost: a syntax-only check or a command that failed to start does not count, missing
403
+ declared dependencies are installed with the project's own package manager and lockfile
404
+ (never via sudo or the system package manager), and a skipped check is named with its
405
+ reason instead of reporting the change done.
406
+ - Tool names: it occasionally calls a declared tool with the wrong letter case or passes
407
+ a known parameter under a slightly different name. Accept an unambiguous match, or
408
+ return an `is_error` result naming the exact expected name; it usually corrects the
409
+ call on the next turn.
410
+ - Chat and knowledge work: it sometimes answers from training knowledge where a search
411
+ would catch changed details. Remove "minimize tool calls" wording and say to search for
412
+ specifics that may have changed (what is allowed, required, or charged).
413
+ - Dense images: give it a crop, zoom, or code tool. On charts tools help at every effort
414
+ (tools at `high` beat no tools at `max`, cheaper); on technical drawings from `high` up.
159
415
 
160
416
  ## Claude Haiku 5.5
161
417
 
162
- - The first Haiku with effort levels, replacing the thinking budget, so there is no
163
- previous setting to carry over. The default is `medium`.
164
- - `low` is cheapest but likelier to skip a search, stop early, or skip a check. Use
165
- `high` where strict instruction following matters. Before paying for `xhigh` or
166
- `max`, compare Claude Sonnet 5.5 on quality, cost and speed.
167
- - Give a search tool today's date. Add an explicit instruction to search what may have
168
- changed when the system prompt is long or effort is `low`; avoid blanket "always
169
- search" wording, which searches when nothing needs it without improving answers.
170
- - In long agent prompts at `low` it stops early and hands the task back. Add a
171
- carry-through instruction, raise effort, or both.
172
- - At `low` and `medium` it can report a code change done without a check that exercises
173
- it; require a real check and name what counts as one.
174
- - Safety classifiers are new coming from Haiku 4.5, and this model has no server-side
175
- fallback — handle a refusal in your own client.
418
+ Haiku 4.5 prompts carry over. It is the first Haiku with effort levels; effort replaces
419
+ the thinking budget Haiku 4.5 used. Add system-prompt text to new conversations only.
420
+
421
+ - Effort: `low` for chat, short tool tasks, and high-volume requests (in long agent
422
+ prompts it then skips searches, stops early, and skips checks more often); `medium`, the
423
+ default, for most work including agentic coding; `high` for knowledge work, longer
424
+ agent tasks, and strict instruction following; at `xhigh`/`max` also run the evals on
425
+ Sonnet 5.5 and compare performance, cost, and speed. Telling it to answer directly did not stop it from thinking —
426
+ lower the effort. At `xhigh` in multi-turn chat it sometimes answers entirely in
427
+ thinking and ends with no visible text; check for empty replies.
428
+ - Search: give today's date, rendered once and sent unchanged on later requests; on a
429
+ later day, give the new date in the newest turn. With a long prompt or at `low`, add
430
+ after the date that training data ends well before today and changeable facts are
431
+ searched even when it feels sure. A blanket "search any factual question" rule searched
432
+ half of the no-search prompts with no more correct answers.
433
+ - JSON with your own tools: with thinking off it may skip a tool call it needs. Use
434
+ adaptive thinking, drop `output_config.format` where a tool must run, or force the call
435
+ with `tool_choice`; if thinking must stay off, say the JSON format applies to the final
436
+ answer only and tools are called first with no text before the call.
437
+ - Early stopping: with a long coding-agent prompt at `low` it may hand the task back. Say
438
+ to keep working until done and to stop only when blocked or before a risky step; moving
439
+ from `low` to `medium` roughly halved early stops and more than doubled output tokens.
440
+ At `low`/`medium` it may also report a change done without a check; the same real-check
441
+ paragraph as for Sonnet 5.5 made it check more often, with better results at more tokens.
442
+ - Refusals: safety classifiers decline with `stop_reason: "refusal"`; coming from Haiku 4.5
443
+ these refusals are new, and with no server-side fallback the client handles them.
444
+ - Mid-turn input and chatbots: never put user text in a `tool_result`; append it after the
445
+ last `tool_result` and keep notices in a separate system message. For a chatbot, say the
446
+ system prompt's rules hold for the whole conversation despite arguing, sympathetic
447
+ reasons, or repeated asking, and use `high` when adherence matters most. Reasoning-like
448
+ text in the reply means switch to adaptive thinking at `medium`.
176
449
 
177
450
  ## Claude Opus 5
178
451
 
179
- The following behavior claims and tuning recommendations apply to `claude-opus-5`,
180
- which no tier binds today; they remain here because the model stays selectable.
181
-
182
- ### When to add blocks
183
-
184
- - Long-horizon or autonomous work: give the full spec up front in one
185
- well-specified turn and run at a high effort. Do **not** add a self-check
186
- cadence or a dedicated verifier subagent: the helm binding verifies its own
187
- work unasked, so an instruction to verify buys over-verification instead.
188
- Deleting inherited verification scaffolding costs no capability — this inverts
189
- the usual self-check advice, so carve this tier out of a prompt library that
190
- applies that advice uniformly.
191
- - Review: state the evidence bar and the verdict shape. This tier follows
192
- severity filters literally, so "only report high-severity" depresses measured
193
- recall even as bug-finding improves — ask for every finding with confidence
194
- and severity attached, and filter downstream.
195
- - Delegation: say when *not* to delegate, and cap the spawn count. The helm
196
- binding reaches for subagents readily — the reverse of the binding it replaced
197
- — and every spawn rebuilds context, reports back, and is then re-read, so
198
- unbounded delegation multiplies cost and latency. Where the harness offers
199
- deterministic caps, prefer them to prose: under Claude Code and the Agent SDK
200
- these are `CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH`,
201
- `CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS`, and the SDK's `max_budget_usd` — a
202
- limit the model cannot talk itself past. Confirm the harness version supports
203
- them before relying on it. File-based memory and custom
204
- tools are the opposite case: they still need an explicit when-to-use trigger.
205
- - Autonomous runs with no human watching: say so. Otherwise it asks permission
206
- it does not need and blocks. Grant autonomy on minor choices (naming,
207
- defaults, equivalent approaches) while keeping the ask for scope changes and
208
- destructive actions.
209
- - Progress reporting: require each claim to be traceable to a tool result from
210
- the session, and unverified work to be labeled as such.
211
-
212
- ### How to choose prompt shape
213
-
214
- - One bounded question with a self-contained packet → a single run. Default for
215
- review.
216
- - Independent workstreams → delegate, and prefer asynchronous subagents over
217
- spawn-and-block: long-lived agents keep their context instead of rebuilding it
218
- per subtask, and the orchestrator is not pinned to the slowest one.
219
- - Start effort experiments at `high`; compare lower settings on representative
220
- tasks and step up to `xhigh` for demanding coding or agentic work when quality
221
- improves. Re-test inherited defaults. The configured seat's effort remains an
222
- explicit workload choice. Effort does not control response length — see Working
223
- rules.
224
- - Per-model constraints differ across the `targets` bindings — thinking
225
- configuration, sampling parameters, and effort support are not uniform, and
226
- the sweep binding is the most restricted. On the helm binding, for instance,
227
- thinking is on by default and turning it off is accepted only at `high` effort
228
- or below. Confirm the constraint against the
229
- live surface before relying on it in a dispatch; do not assume the frontier
230
- binding's rules apply to the sweep one.
231
-
232
- ### Working rules
233
-
234
- - Expect long turns. A single request on a hard task at high effort can run for
235
- minutes; plan timeouts, streaming, and progress UX around that rather than
236
- treating a quiet call as a hang.
237
- - Do not add "summarize every N tool calls" scaffolding — this tier narrates on
238
- its own. If it narrates too much for a coding agent, set a silence default
239
- instead: text only on a finding, a direction change, or a blocker. Describe the
240
- cadence you want by example; a positive description of the style outperforms a
241
- list of what not to do.
242
- - Length is a prompting lever, not an effort lever. This tier writes longer
243
- answers and longer files than its predecessors, and lowering `effort` does not
244
- reliably shorten visible output — only an explicit instruction does. Calibrate
245
- the deliverable's length separately from the conversation's.
246
- - Scope self-correction. Left alone this tier narrates its own earlier mistakes
247
- at length, which reads as thrash. Ask it to correct only what would change the
248
- reader's decisions, say it plainly, and carry on.
249
- - Give it somewhere to write learnings, tell it to consult that place later, and
250
- give the file a format. It performs notably better with a memory surface.
251
- - Keep the deliverable readable: the final message is the reader's first look at
252
- work they did not watch. Lead with the outcome; drop the working shorthand.
253
- - Do not show a remaining-context countdown. This tier can start conserving and
254
- suggest a fresh session instead of finishing.
255
- - Re-validate prompt-side vision workarounds carried from older bindings; this
256
- tier is strong on charts, documents, diagrams, and UI replication, and the
257
- workaround may now be the thing costing quality. Tools that let it crop and
258
- visually verify beat thinking alone here.
259
- - Instruction following stays consistent across the full context window, so a
260
- rule does not need restating near the end to survive a long session.
261
-
262
- ### Running with thinking disabled
263
-
264
- Disabling thinking is accepted only at `high` effort or below, and it is usually
265
- the wrong lever: thinking on at `low` effort generally beats thinking off at
266
- comparable cost. Reach for lower effort before reaching for the switch.
267
-
268
- Two artifacts appear when it is off, and both are prompt-fixable:
269
-
270
- - A tool call written as **user-facing text** instead of a structured call. The
271
- turn completes, the call never runs, and in an agentic loop the leaked text
272
- stays in history and contaminates later turns. Most common on tool-heavy work.
273
- - Internal XML tags leaking into the visible response.
274
-
275
- One instruction mitigates both — permission to speak before a call, an out when
276
- no tool fits, and a general ban on internal tags:
277
-
278
- > When you use a tool, you may say a brief sentence first. If no tool can express
279
- > what the user asked for, say so instead of guessing. Do not include internal or
280
- > system XML tags in your response.
281
-
282
- Two traps. Naming the tags specifically is **less** effective than the general
283
- form. And if a prompt anywhere tells this tier not to think or not to reason,
284
- delete it: that instruction increases tag leakage rather than suppressing it.
452
+ No tier binds `claude-opus-5` today; the section remains for prompts still dispatched
453
+ to it.
454
+
455
+ - Effort: start at the default `high` and re-run the sweep; `low` and `medium` hold strong
456
+ quality at a fraction of the tokens, and `xhigh` is for demanding coding and agentic
457
+ work. It performs best given the complete specification up front and left to run.
458
+ - Review: it finds real bugs at a high rate with few false positives, and accuracy holds
459
+ at lower effort. State the evidence bar and the verdict shape. "Only report high-severity
460
+ issues" is followed literally and depresses what is reported; ask for everything and
461
+ filter in a separate pass.
462
+ - Verification: it verifies its own work unasked. Remove scaffolding that only tells it to
463
+ verify — a self-check step for every task, a verifier subagent, "double-check" rules —
464
+ which cuts tokens with no loss in quality; a repository's required checks and the user's
465
+ explicit asks are not such scaffolding. This inverts the general self-check advice, so
466
+ carve it out of a prompt library that applies that advice to every model. Constrain
467
+ scope explicitly for narrow tasks, since it can widen a task on its own judgment.
468
+ - Delegation: it delegates readily, which multiplies cost and time on small tasks. Say which work
469
+ warrants a subagent and which does not, and prefer deterministic caps —
470
+ `CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH`, `CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS`, and the
471
+ SDK's `max_budget_usd` (Claude Code 2.1.217 or later). Claude Code adds its own
472
+ delegation instruction only with the `claude_code` preset.
473
+ - Length: responses and written files run longer than earlier Opus models', and lowering
474
+ effort does not reliably shorten the visible response. Prompt for conciseness, and
475
+ calibrate written documents' length separately from the conversation's.
476
+ - Long context: instruction following, tool calling, and reasoning stay consistent across
477
+ its 1M-token window, so rules in general need no restating near the end. The one
478
+ documented exception is the conciseness instruction: in a long system prompt, pair it
479
+ with a short reminder near the end.
480
+ - Narration: it announces what it is about to do. Describe the cadence you want (one line
481
+ before the first call, updates on a finding or direction change, outcome first at the
482
+ end); positive examples beat lists of what not to do. Limit correction narration to
483
+ errors that would change the reader's code or decisions.
484
+ - Dense images: it is strong on charts, documents, diagrams, and UI replication; re-validate
485
+ prompt-side workarounds tuned for prior models, which may no longer be needed. Tools to
486
+ crop and visually verify are a more cost-effective lever than thinking alone.
487
+ - Thinking off is accepted at `high` or below and is usually the wrong lever: thinking on
488
+ at `low` beats it at similar cost. Off, it can write a tool call as text — the call never
489
+ runs and the text stays in history, affecting later turns, most often on tool-heavy work
490
+ such as search — or leak internal XML tags; one instruction mitigates both (you may say a brief sentence before a
491
+ tool call; say so when no tool fits; no internal XML tags), the general form beats
492
+ naming the tags, and any "do not think" rule must go.
493
+
494
+ > **Carried from the 2026-09-07 derivation against an earlier version of
495
+ > `prompting-claude-opus-5` (65be3e…); the currently pinned text does not state these.
496
+ > Re-derive or remove at the next re-derivation.**
497
+ >
498
+ > - Review: ask for every finding with confidence and severity attached, then filter.
499
+ > - Delegation: every spawn rebuilds context, reports back, and is then re-read, which is
500
+ > why unbounded delegation multiplies cost and latency; a deterministic cap is a limit
501
+ > the model cannot talk itself past. Prefer asynchronous subagents over spawn-and-block:
502
+ > long-lived agents keep their context instead of rebuilding it per subtask, and the
503
+ > orchestrator is not pinned to the slowest one.
504
+ > - File-based memory and custom tools need an explicit when-to-use trigger. Give it
505
+ > somewhere to write learnings, tell it to consult that place later, and give the file a
506
+ > format; it performs notably better with a memory surface.
507
+ > - Autonomous runs with no human watching: say so, or it asks permission it does not need
508
+ > and blocks. Grant autonomy on minor choices (naming, defaults, equivalent approaches)
509
+ > while keeping the ask for scope changes and destructive actions.
510
+ > - Expect long turns: one request on a hard task at high effort can run for minutes; plan
511
+ > timeouts, streaming, and progress UX around that rather than treating a quiet call as
512
+ > a hang.
513
+ > - Do not add "summarize every N tool calls" scaffolding; it narrates on its own. For a
514
+ > coding agent that narrates too much, set a silence default: text only on a finding, a
515
+ > direction change, or a blocker.
516
+ > - In the final message, drop the working shorthand.
517
+ > - Do not show a remaining-context countdown: it can start conserving and suggest a fresh
518
+ > session instead of finishing.
519
+ > - A vision workaround carried from an older model may now be the thing costing quality.
285
520
 
286
521
  ## Prompt assembly checklist
287
522
 
288
523
  1. Write the goal, the reason behind it, and the success criteria.
289
524
  2. Name the boundaries — what to do freely, what to stop and ask about.
290
- 3. Give each tool a when-to-call description.
291
- 4. Say how progress claims must be grounded, and how the deliverable should read.
292
- 5. Apply the target model's section and check for contradictions. Compare changes
293
- on the same tasks; remove inherited scaffolding only when the target benefits,
294
- keeping required repository checks and permission boundaries intact.
525
+ 3. Give each tool a when-to-call description, and check that the target accepts the tool
526
+ and output settings the dispatch relies on.
527
+ 4. Say what the final message must contain, how progress and completion claims are
528
+ grounded, and how the deliverable should read; decide how the harness treats a turn
529
+ that ends in text with work still open.
530
+ 5. Apply the target model's section and check for contradictions. Compare changes on the
531
+ same tasks; remove inherited scaffolding only when the target benefits, keeping
532
+ required repository checks and permission boundaries intact.
295
533
 
296
534
  ## Sources
297
535
 
298
- The shared recipe is derived from `claude-prompting-best-practices`; each model
299
- section from that model's own document — `prompting-claude-fable-5-1`,
300
- `prompting-claude-opus-5-5`, `prompting-claude-sonnet-5-5`,
301
- `prompting-claude-haiku-5-5`, `prompting-claude-opus-5`. `source_pins` records the
302
- exact bytes used for this derivation. A model name in `targets` never extends one
303
- model's behavior claims to another; the sections are deliberately separate because
304
- the vendor's own pages disagree on effort defaults and on how much initiative to
305
- expect.
306
-
307
- When a `targets` model changes, re-derive its advice from its own current document
308
- and check the shared recipe for conflicts.
309
- `launch/check-prompting-targets.sh` fails when the launch config binds a model
310
- this guide does not list; that check is about **naming**, and a model added to
311
- `targets:` satisfies it forever. Whether the guidance was actually re-derived is
312
- not decidable and is gated nowhere.
536
+ The shared recipe and the append-only and reasoning rules come from
537
+ `claude-prompting-best-practices`; the constraints from `thinking`, `effort`, and the
538
+ model documents; each model section from its own document (`prompting-claude-fable-5-2`,
539
+ `prompting-claude-fable-5-1`, `prompting-claude-opus-5-5`, `prompting-claude-sonnet-5-5`,
540
+ `prompting-claude-haiku-5-5`, `prompting-claude-opus-5`). The core rules on a first-turn
541
+ specification and on checked claims generalize what the Opus 5, Opus 5.5, Sonnet 5.5, and
542
+ Haiku 5.5 documents each say for their model; the core rule on absolute and approval rules
543
+ generalizes the Fable 5.2 document, which states that earlier models follow such
544
+ instructions too. `source_pins` records the exact bytes used, and a model name in
545
+ `targets` does not extend another model's claims to it: the vendor's pages disagree on
546
+ effort defaults and on how much initiative to expect.
547
+
548
+ When a `targets` model changes, or a target without a section here gets its own prompting
549
+ document, re-derive its advice from that document and check the shared recipe for
550
+ conflicts. `launch/check-prompting-targets.sh` fails when the
551
+ launch config binds a model this guide does not list; that check is about **naming**, and a
552
+ model added to `targets:` satisfies it forever. Whether the guidance was actually
553
+ re-derived is not decidable and is gated nowhere.