claudecode-omc 5.11.0 → 5.13.0

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 (448) hide show
  1. package/.local/skills/prompt-pilot/SKILL.md +258 -0
  2. package/bundled/manifest.json +3 -3
  3. package/bundled/upstream/anthropic-skills/.omc-source/bundle.json +2 -2
  4. package/bundled/upstream/anthropic-skills/.omc-source/provenance.json +394 -390
  5. package/bundled/upstream/anthropic-skills/skills/claude-api/SKILL.md +60 -29
  6. package/bundled/upstream/anthropic-skills/skills/claude-api/csharp/claude-api.md +46 -1
  7. package/bundled/upstream/anthropic-skills/skills/claude-api/curl/examples.md +2 -2
  8. package/bundled/upstream/anthropic-skills/skills/claude-api/curl/managed-agents.md +3 -1
  9. package/bundled/upstream/anthropic-skills/skills/claude-api/go/claude-api.md +23 -4
  10. package/bundled/upstream/anthropic-skills/skills/claude-api/java/claude-api.md +32 -3
  11. package/bundled/upstream/anthropic-skills/skills/claude-api/php/claude-api.md +27 -0
  12. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/README.md +123 -7
  13. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/batches.md +13 -0
  14. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/files-api.md +7 -2
  15. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/streaming.md +18 -1
  16. package/bundled/upstream/anthropic-skills/skills/claude-api/python/managed-agents/README.md +9 -7
  17. package/bundled/upstream/anthropic-skills/skills/claude-api/ruby/claude-api.md +27 -0
  18. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/agent-design.md +1 -1
  19. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/anthropic-cli.md +246 -0
  20. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/claude-platform-on-aws.md +59 -0
  21. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/error-codes.md +24 -4
  22. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/live-sources.md +8 -0
  23. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-api-reference.md +48 -4
  24. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-client-patterns.md +3 -1
  25. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-core.md +15 -1
  26. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-environments.md +10 -6
  27. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-events.md +25 -0
  28. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-onboarding.md +48 -18
  29. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-overview.md +8 -5
  30. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-scheduled-deployments.md +144 -0
  31. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-self-hosted-sandboxes.md +2 -1
  32. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-tools.md +46 -9
  33. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/model-migration.md +259 -3
  34. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/models.md +17 -9
  35. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/prompt-caching.md +55 -3
  36. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/token-counting.md +56 -0
  37. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/tool-use-concepts.md +22 -2
  38. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/README.md +45 -6
  39. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/streaming.md +1 -1
  40. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/managed-agents/README.md +10 -12
  41. package/bundled/upstream/anthropic-skills/skills/frontend-design/SKILL.md +39 -26
  42. package/bundled/upstream/ecc/.omc-source/bundle.json +2 -2
  43. package/bundled/upstream/ecc/.omc-source/manifests/.claude-plugin/marketplace.json +2 -2
  44. package/bundled/upstream/ecc/.omc-source/provenance.json +602 -550
  45. package/bundled/upstream/ecc/agents/agent-evaluator.md +206 -0
  46. package/bundled/upstream/ecc/agents/performance-optimizer.md +9 -9
  47. package/bundled/upstream/ecc/agents/php-reviewer.md +109 -0
  48. package/bundled/upstream/ecc/agents/spec-miner.md +217 -0
  49. package/bundled/upstream/ecc/agents/vue-reviewer.md +206 -0
  50. package/bundled/upstream/ecc/commands/cost-report.md +58 -84
  51. package/bundled/upstream/ecc/commands/epic-claim.md +26 -0
  52. package/bundled/upstream/ecc/commands/epic-decompose.md +23 -0
  53. package/bundled/upstream/ecc/commands/epic-publish.md +23 -0
  54. package/bundled/upstream/ecc/commands/epic-review.md +23 -0
  55. package/bundled/upstream/ecc/commands/epic-sync.md +23 -0
  56. package/bundled/upstream/ecc/commands/epic-unblock.md +22 -0
  57. package/bundled/upstream/ecc/commands/epic-validate.md +22 -0
  58. package/bundled/upstream/ecc/commands/instinct-status.md +8 -8
  59. package/bundled/upstream/ecc/commands/multi-backend.md +2 -0
  60. package/bundled/upstream/ecc/commands/multi-execute.md +2 -0
  61. package/bundled/upstream/ecc/commands/multi-frontend.md +2 -0
  62. package/bundled/upstream/ecc/commands/multi-plan.md +2 -0
  63. package/bundled/upstream/ecc/commands/multi-workflow.md +2 -0
  64. package/bundled/upstream/ecc/commands/orch-add-feature.md +36 -0
  65. package/bundled/upstream/ecc/commands/orch-build-mvp.md +36 -0
  66. package/bundled/upstream/ecc/commands/orch-change-feature.md +38 -0
  67. package/bundled/upstream/ecc/commands/orch-fix-defect.md +38 -0
  68. package/bundled/upstream/ecc/commands/orch-refine-code.md +39 -0
  69. package/bundled/upstream/ecc/commands/quality-gate.md +34 -16
  70. package/bundled/upstream/ecc/commands/vue-review.md +174 -0
  71. package/bundled/upstream/ecc/skills/accessibility/SKILL.md +2 -1
  72. package/bundled/upstream/ecc/skills/agent-architecture-audit/SKILL.md +2 -1
  73. package/bundled/upstream/ecc/skills/agent-eval/SKILL.md +2 -1
  74. package/bundled/upstream/ecc/skills/agent-harness-construction/SKILL.md +2 -1
  75. package/bundled/upstream/ecc/skills/agent-introspection-debugging/SKILL.md +2 -1
  76. package/bundled/upstream/ecc/skills/agent-payment-x402/SKILL.md +2 -1
  77. package/bundled/upstream/ecc/skills/agent-self-evaluation/SKILL.md +182 -0
  78. package/bundled/upstream/ecc/skills/agent-self-evaluation/examples/high-score-example.md +87 -0
  79. package/bundled/upstream/ecc/skills/agent-self-evaluation/examples/low-score-example.md +86 -0
  80. package/bundled/upstream/ecc/skills/agent-self-evaluation/references/evaluation-criteria.md +71 -0
  81. package/bundled/upstream/ecc/skills/agent-self-evaluation/references/hook-integration.md +64 -0
  82. package/bundled/upstream/ecc/skills/agent-self-evaluation/scripts/evaluate.py +408 -0
  83. package/bundled/upstream/ecc/skills/agent-self-evaluation/templates/evaluation-report.md +86 -0
  84. package/bundled/upstream/ecc/skills/agent-sort/SKILL.md +2 -1
  85. package/bundled/upstream/ecc/skills/agentic-engineering/SKILL.md +2 -1
  86. package/bundled/upstream/ecc/skills/agentic-os/SKILL.md +2 -1
  87. package/bundled/upstream/ecc/skills/ai-first-engineering/SKILL.md +2 -1
  88. package/bundled/upstream/ecc/skills/ai-regression-testing/SKILL.md +2 -1
  89. package/bundled/upstream/ecc/skills/android-clean-architecture/SKILL.md +2 -1
  90. package/bundled/upstream/ecc/skills/angular-developer/SKILL.md +2 -1
  91. package/bundled/upstream/ecc/skills/api-connector-builder/SKILL.md +2 -1
  92. package/bundled/upstream/ecc/skills/api-design/SKILL.md +2 -1
  93. package/bundled/upstream/ecc/skills/architecture-decision-records/SKILL.md +2 -1
  94. package/bundled/upstream/ecc/skills/article-writing/SKILL.md +2 -1
  95. package/bundled/upstream/ecc/skills/automation-audit-ops/SKILL.md +2 -1
  96. package/bundled/upstream/ecc/skills/autonomous-agent-harness/SKILL.md +2 -1
  97. package/bundled/upstream/ecc/skills/autonomous-loops/SKILL.md +2 -1
  98. package/bundled/upstream/ecc/skills/backend-patterns/SKILL.md +2 -1
  99. package/bundled/upstream/ecc/skills/benchmark/SKILL.md +2 -1
  100. package/bundled/upstream/ecc/skills/benchmark-methodology/SKILL.md +190 -0
  101. package/bundled/upstream/ecc/skills/benchmark-optimization-loop/SKILL.md +2 -1
  102. package/bundled/upstream/ecc/skills/blender-motion-state-inspection/SKILL.md +2 -1
  103. package/bundled/upstream/ecc/skills/blueprint/SKILL.md +2 -1
  104. package/bundled/upstream/ecc/skills/brand-discovery/SKILL.md +145 -0
  105. package/bundled/upstream/ecc/skills/brand-discovery/references/10_purpose-why.md +40 -0
  106. package/bundled/upstream/ecc/skills/brand-discovery/references/20_positioning.md +44 -0
  107. package/bundled/upstream/ecc/skills/brand-discovery/references/30_audience-niche.md +52 -0
  108. package/bundled/upstream/ecc/skills/brand-discovery/references/40_personality-archetype.md +57 -0
  109. package/bundled/upstream/ecc/skills/brand-discovery/references/50_voice-tone.md +59 -0
  110. package/bundled/upstream/ecc/skills/brand-discovery/references/60_narrative-story.md +50 -0
  111. package/bundled/upstream/ecc/skills/brand-discovery/references/70_founder-tension.md +49 -0
  112. package/bundled/upstream/ecc/skills/brand-discovery/references/90_SYNTHESIS.md +133 -0
  113. package/bundled/upstream/ecc/skills/brand-voice/SKILL.md +2 -1
  114. package/bundled/upstream/ecc/skills/browser-qa/SKILL.md +22 -4
  115. package/bundled/upstream/ecc/skills/bun-runtime/SKILL.md +2 -1
  116. package/bundled/upstream/ecc/skills/canary-watch/SKILL.md +2 -1
  117. package/bundled/upstream/ecc/skills/carrier-relationship-management/SKILL.md +1 -1
  118. package/bundled/upstream/ecc/skills/cisco-ios-patterns/SKILL.md +2 -1
  119. package/bundled/upstream/ecc/skills/ck/SKILL.md +2 -1
  120. package/bundled/upstream/ecc/skills/claude-devfleet/SKILL.md +11 -2
  121. package/bundled/upstream/ecc/skills/click-path-audit/SKILL.md +2 -1
  122. package/bundled/upstream/ecc/skills/clickhouse-io/SKILL.md +2 -1
  123. package/bundled/upstream/ecc/skills/code-tour/SKILL.md +2 -1
  124. package/bundled/upstream/ecc/skills/codebase-onboarding/SKILL.md +2 -1
  125. package/bundled/upstream/ecc/skills/codehealth-mcp/SKILL.md +167 -0
  126. package/bundled/upstream/ecc/skills/coding-standards/SKILL.md +4 -2
  127. package/bundled/upstream/ecc/skills/competitive-platform-analysis/SKILL.md +214 -0
  128. package/bundled/upstream/ecc/skills/competitive-report-structure/SKILL.md +162 -0
  129. package/bundled/upstream/ecc/skills/compose-multiplatform-patterns/SKILL.md +2 -1
  130. package/bundled/upstream/ecc/skills/config-gc/SKILL.md +120 -0
  131. package/bundled/upstream/ecc/skills/configure-ecc/SKILL.md +2 -1
  132. package/bundled/upstream/ecc/skills/connections-optimizer/SKILL.md +2 -1
  133. package/bundled/upstream/ecc/skills/content-engine/SKILL.md +2 -1
  134. package/bundled/upstream/ecc/skills/content-hash-cache-pattern/SKILL.md +2 -1
  135. package/bundled/upstream/ecc/skills/context-budget/SKILL.md +2 -1
  136. package/bundled/upstream/ecc/skills/continuous-agent-loop/SKILL.md +2 -1
  137. package/bundled/upstream/ecc/skills/continuous-learning/SKILL.md +2 -1
  138. package/bundled/upstream/ecc/skills/continuous-learning-v2/SKILL.md +2 -1
  139. package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/observer-loop.sh +14 -1
  140. package/bundled/upstream/ecc/skills/continuous-learning-v2/hooks/observe.sh +31 -7
  141. package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/instinct-cli.py +90 -2
  142. package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/test_parse_instinct.py +27 -0
  143. package/bundled/upstream/ecc/skills/cost-aware-llm-pipeline/SKILL.md +2 -1
  144. package/bundled/upstream/ecc/skills/cost-tracking/SKILL.md +58 -108
  145. package/bundled/upstream/ecc/skills/council/SKILL.md +2 -1
  146. package/bundled/upstream/ecc/skills/cpp-coding-standards/SKILL.md +2 -1
  147. package/bundled/upstream/ecc/skills/cpp-testing/SKILL.md +2 -1
  148. package/bundled/upstream/ecc/skills/crosspost/SKILL.md +2 -1
  149. package/bundled/upstream/ecc/skills/csharp-testing/SKILL.md +2 -1
  150. package/bundled/upstream/ecc/skills/customer-billing-ops/SKILL.md +2 -1
  151. package/bundled/upstream/ecc/skills/customs-trade-compliance/SKILL.md +1 -1
  152. package/bundled/upstream/ecc/skills/dart-flutter-patterns/SKILL.md +2 -1
  153. package/bundled/upstream/ecc/skills/dashboard-builder/SKILL.md +2 -1
  154. package/bundled/upstream/ecc/skills/data-scraper-agent/SKILL.md +2 -1
  155. package/bundled/upstream/ecc/skills/data-throughput-accelerator/SKILL.md +2 -1
  156. package/bundled/upstream/ecc/skills/database-migrations/SKILL.md +2 -1
  157. package/bundled/upstream/ecc/skills/deep-research/SKILL.md +2 -1
  158. package/bundled/upstream/ecc/skills/defi-amm-security/SKILL.md +2 -1
  159. package/bundled/upstream/ecc/skills/deployment-patterns/SKILL.md +2 -1
  160. package/bundled/upstream/ecc/skills/design-system/SKILL.md +2 -1
  161. package/bundled/upstream/ecc/skills/django-celery/SKILL.md +3 -2
  162. package/bundled/upstream/ecc/skills/django-patterns/SKILL.md +2 -1
  163. package/bundled/upstream/ecc/skills/django-security/SKILL.md +2 -1
  164. package/bundled/upstream/ecc/skills/django-tdd/SKILL.md +2 -1
  165. package/bundled/upstream/ecc/skills/django-verification/SKILL.md +2 -1
  166. package/bundled/upstream/ecc/skills/dmux-workflows/SKILL.md +2 -1
  167. package/bundled/upstream/ecc/skills/docker-patterns/SKILL.md +2 -1
  168. package/bundled/upstream/ecc/skills/documentation-lookup/SKILL.md +2 -1
  169. package/bundled/upstream/ecc/skills/dotnet-patterns/SKILL.md +2 -1
  170. package/bundled/upstream/ecc/skills/dynamic-workflow-mode/SKILL.md +2 -1
  171. package/bundled/upstream/ecc/skills/e2e-testing/SKILL.md +2 -1
  172. package/bundled/upstream/ecc/skills/ecc-guide/SKILL.md +2 -1
  173. package/bundled/upstream/ecc/skills/ecc-tools-cost-audit/SKILL.md +2 -1
  174. package/bundled/upstream/ecc/skills/email-ops/SKILL.md +2 -1
  175. package/bundled/upstream/ecc/skills/energy-procurement/SKILL.md +1 -1
  176. package/bundled/upstream/ecc/skills/enterprise-agent-ops/SKILL.md +2 -1
  177. package/bundled/upstream/ecc/skills/error-handling/SKILL.md +2 -1
  178. package/bundled/upstream/ecc/skills/eval-harness/SKILL.md +2 -1
  179. package/bundled/upstream/ecc/skills/evm-token-decimals/SKILL.md +2 -1
  180. package/bundled/upstream/ecc/skills/exa-search/SKILL.md +2 -1
  181. package/bundled/upstream/ecc/skills/fal-ai-media/SKILL.md +2 -1
  182. package/bundled/upstream/ecc/skills/fastapi-patterns/SKILL.md +375 -188
  183. package/bundled/upstream/ecc/skills/finance-billing-ops/SKILL.md +2 -1
  184. package/bundled/upstream/ecc/skills/flox-environments/SKILL.md +3 -2
  185. package/bundled/upstream/ecc/skills/flutter-dart-code-review/SKILL.md +2 -1
  186. package/bundled/upstream/ecc/skills/frontend-a11y/SKILL.md +3 -3
  187. package/bundled/upstream/ecc/skills/frontend-design-direction/SKILL.md +2 -1
  188. package/bundled/upstream/ecc/skills/frontend-patterns/SKILL.md +23 -8
  189. package/bundled/upstream/ecc/skills/frontend-slides/SKILL.md +2 -1
  190. package/bundled/upstream/ecc/skills/frontend-slides/scripts/export-pdf.sh +1 -1
  191. package/bundled/upstream/ecc/skills/fsharp-testing/SKILL.md +2 -1
  192. package/bundled/upstream/ecc/skills/gan-style-harness/SKILL.md +2 -1
  193. package/bundled/upstream/ecc/skills/gateguard/SKILL.md +9 -1
  194. package/bundled/upstream/ecc/skills/generating-python-installer/SKILL.md +820 -0
  195. package/bundled/upstream/ecc/skills/git-workflow/SKILL.md +2 -1
  196. package/bundled/upstream/ecc/skills/github-ops/SKILL.md +2 -1
  197. package/bundled/upstream/ecc/skills/golang-patterns/SKILL.md +2 -1
  198. package/bundled/upstream/ecc/skills/golang-testing/SKILL.md +2 -1
  199. package/bundled/upstream/ecc/skills/google-workspace-ops/SKILL.md +2 -1
  200. package/bundled/upstream/ecc/skills/healthcare-cdss-patterns/SKILL.md +2 -1
  201. package/bundled/upstream/ecc/skills/healthcare-emr-patterns/SKILL.md +2 -1
  202. package/bundled/upstream/ecc/skills/healthcare-eval-harness/SKILL.md +2 -1
  203. package/bundled/upstream/ecc/skills/healthcare-phi-compliance/SKILL.md +2 -1
  204. package/bundled/upstream/ecc/skills/hermes-imports/SKILL.md +2 -1
  205. package/bundled/upstream/ecc/skills/hexagonal-architecture/SKILL.md +2 -1
  206. package/bundled/upstream/ecc/skills/hipaa-compliance/SKILL.md +2 -1
  207. package/bundled/upstream/ecc/skills/homelab-network-readiness/SKILL.md +2 -1
  208. package/bundled/upstream/ecc/skills/homelab-network-setup/SKILL.md +2 -1
  209. package/bundled/upstream/ecc/skills/homelab-pihole-dns/SKILL.md +10 -9
  210. package/bundled/upstream/ecc/skills/homelab-vlan-segmentation/SKILL.md +2 -1
  211. package/bundled/upstream/ecc/skills/homelab-wireguard-vpn/SKILL.md +4 -3
  212. package/bundled/upstream/ecc/skills/inherit-legacy-style/SKILL.md +157 -0
  213. package/bundled/upstream/ecc/skills/intent-driven-development/SKILL.md +360 -0
  214. package/bundled/upstream/ecc/skills/inventory-demand-planning/SKILL.md +1 -1
  215. package/bundled/upstream/ecc/skills/investor-materials/SKILL.md +2 -1
  216. package/bundled/upstream/ecc/skills/investor-outreach/SKILL.md +2 -1
  217. package/bundled/upstream/ecc/skills/ios-icon-gen/SKILL.md +2 -1
  218. package/bundled/upstream/ecc/skills/iterative-retrieval/SKILL.md +2 -1
  219. package/bundled/upstream/ecc/skills/ito-basket-compare/SKILL.md +2 -1
  220. package/bundled/upstream/ecc/skills/ito-data-atlas-agent/SKILL.md +2 -1
  221. package/bundled/upstream/ecc/skills/ito-market-intelligence/SKILL.md +2 -1
  222. package/bundled/upstream/ecc/skills/ito-trade-planner/SKILL.md +2 -1
  223. package/bundled/upstream/ecc/skills/java-coding-standards/SKILL.md +2 -1
  224. package/bundled/upstream/ecc/skills/jira-integration/SKILL.md +17 -7
  225. package/bundled/upstream/ecc/skills/jpa-patterns/SKILL.md +2 -1
  226. package/bundled/upstream/ecc/skills/knowledge-ops/SKILL.md +2 -1
  227. package/bundled/upstream/ecc/skills/kotlin-coroutines-flows/SKILL.md +2 -1
  228. package/bundled/upstream/ecc/skills/kotlin-exposed-patterns/SKILL.md +2 -1
  229. package/bundled/upstream/ecc/skills/kotlin-ktor-patterns/SKILL.md +2 -1
  230. package/bundled/upstream/ecc/skills/kotlin-patterns/SKILL.md +2 -1
  231. package/bundled/upstream/ecc/skills/kotlin-testing/SKILL.md +2 -1
  232. package/bundled/upstream/ecc/skills/kubernetes-patterns/SKILL.md +756 -0
  233. package/bundled/upstream/ecc/skills/laravel-patterns/SKILL.md +2 -1
  234. package/bundled/upstream/ecc/skills/laravel-plugin-discovery/SKILL.md +2 -1
  235. package/bundled/upstream/ecc/skills/laravel-security/SKILL.md +826 -163
  236. package/bundled/upstream/ecc/skills/laravel-tdd/SKILL.md +541 -149
  237. package/bundled/upstream/ecc/skills/laravel-verification/SKILL.md +2 -1
  238. package/bundled/upstream/ecc/skills/latency-critical-systems/SKILL.md +2 -1
  239. package/bundled/upstream/ecc/skills/lead-intelligence/SKILL.md +2 -1
  240. package/bundled/upstream/ecc/skills/llm-trading-agent-security/SKILL.md +2 -1
  241. package/bundled/upstream/ecc/skills/logistics-exception-management/SKILL.md +1 -1
  242. package/bundled/upstream/ecc/skills/make-interfaces-feel-better/SKILL.md +2 -1
  243. package/bundled/upstream/ecc/skills/manim-video/SKILL.md +2 -1
  244. package/bundled/upstream/ecc/skills/market-research/SKILL.md +2 -1
  245. package/bundled/upstream/ecc/skills/marketing-campaign/SKILL.md +2 -1
  246. package/bundled/upstream/ecc/skills/mcp-server-patterns/SKILL.md +2 -1
  247. package/bundled/upstream/ecc/skills/messages-ops/SKILL.md +2 -1
  248. package/bundled/upstream/ecc/skills/ml-adoption-playbook/SKILL.md +57 -0
  249. package/bundled/upstream/ecc/skills/mle-workflow/SKILL.md +2 -1
  250. package/bundled/upstream/ecc/skills/motion-patterns/SKILL.md +1 -2
  251. package/bundled/upstream/ecc/skills/motion-ui/SKILL.md +2 -1
  252. package/bundled/upstream/ecc/skills/mysql-patterns/SKILL.md +2 -1
  253. package/bundled/upstream/ecc/skills/nanoclaw-repl/SKILL.md +2 -1
  254. package/bundled/upstream/ecc/skills/nestjs-patterns/SKILL.md +2 -1
  255. package/bundled/upstream/ecc/skills/netmiko-ssh-automation/SKILL.md +2 -1
  256. package/bundled/upstream/ecc/skills/network-bgp-diagnostics/SKILL.md +2 -1
  257. package/bundled/upstream/ecc/skills/network-config-validation/SKILL.md +2 -1
  258. package/bundled/upstream/ecc/skills/network-interface-health/SKILL.md +2 -1
  259. package/bundled/upstream/ecc/skills/nextjs-turbopack/SKILL.md +2 -1
  260. package/bundled/upstream/ecc/skills/nodejs-keccak256/SKILL.md +2 -1
  261. package/bundled/upstream/ecc/skills/nutrient-document-processing/SKILL.md +2 -1
  262. package/bundled/upstream/ecc/skills/nuxt4-patterns/SKILL.md +2 -1
  263. package/bundled/upstream/ecc/skills/openclaw-persona-forge/SKILL.md +2 -1
  264. package/bundled/upstream/ecc/skills/opensource-pipeline/SKILL.md +2 -1
  265. package/bundled/upstream/ecc/skills/orch-add-feature/SKILL.md +45 -0
  266. package/bundled/upstream/ecc/skills/orch-build-mvp/SKILL.md +49 -0
  267. package/bundled/upstream/ecc/skills/orch-change-feature/SKILL.md +43 -0
  268. package/bundled/upstream/ecc/skills/orch-fix-defect/SKILL.md +43 -0
  269. package/bundled/upstream/ecc/skills/orch-pipeline/SKILL.md +121 -0
  270. package/bundled/upstream/ecc/skills/orch-refine-code/SKILL.md +44 -0
  271. package/bundled/upstream/ecc/skills/parallel-execution-optimizer/SKILL.md +2 -1
  272. package/bundled/upstream/ecc/skills/perl-patterns/SKILL.md +2 -1
  273. package/bundled/upstream/ecc/skills/perl-security/SKILL.md +2 -1
  274. package/bundled/upstream/ecc/skills/perl-testing/SKILL.md +2 -1
  275. package/bundled/upstream/ecc/skills/plan-orchestrate/SKILL.md +2 -1
  276. package/bundled/upstream/ecc/skills/plankton-code-quality/SKILL.md +2 -1
  277. package/bundled/upstream/ecc/skills/postgres-patterns/SKILL.md +2 -1
  278. package/bundled/upstream/ecc/skills/prediction-market-oracle-research/SKILL.md +2 -1
  279. package/bundled/upstream/ecc/skills/prediction-market-risk-review/SKILL.md +2 -1
  280. package/bundled/upstream/ecc/skills/prisma-patterns/SKILL.md +2 -1
  281. package/bundled/upstream/ecc/skills/product-capability/SKILL.md +2 -1
  282. package/bundled/upstream/ecc/skills/product-lens/SKILL.md +2 -1
  283. package/bundled/upstream/ecc/skills/production-audit/SKILL.md +2 -1
  284. package/bundled/upstream/ecc/skills/production-scheduling/SKILL.md +1 -1
  285. package/bundled/upstream/ecc/skills/project-flow-ops/SKILL.md +2 -1
  286. package/bundled/upstream/ecc/skills/prompt-optimizer/SKILL.md +1 -1
  287. package/bundled/upstream/ecc/skills/python-patterns/SKILL.md +4 -3
  288. package/bundled/upstream/ecc/skills/python-testing/SKILL.md +2 -1
  289. package/bundled/upstream/ecc/skills/pytorch-patterns/SKILL.md +2 -1
  290. package/bundled/upstream/ecc/skills/quality-nonconformance/SKILL.md +1 -1
  291. package/bundled/upstream/ecc/skills/quarkus-patterns/SKILL.md +51 -50
  292. package/bundled/upstream/ecc/skills/quarkus-security/SKILL.md +25 -24
  293. package/bundled/upstream/ecc/skills/quarkus-tdd/SKILL.md +73 -72
  294. package/bundled/upstream/ecc/skills/quarkus-verification/SKILL.md +8 -7
  295. package/bundled/upstream/ecc/skills/ralphinho-rfc-pipeline/SKILL.md +2 -1
  296. package/bundled/upstream/ecc/skills/react-patterns/SKILL.md +2 -1
  297. package/bundled/upstream/ecc/skills/react-performance/SKILL.md +2 -1
  298. package/bundled/upstream/ecc/skills/react-testing/SKILL.md +2 -1
  299. package/bundled/upstream/ecc/skills/recsys-pipeline-architect/SKILL.md +2 -1
  300. package/bundled/upstream/ecc/skills/recursive-decision-ledger/SKILL.md +2 -1
  301. package/bundled/upstream/ecc/skills/redis-patterns/SKILL.md +2 -1
  302. package/bundled/upstream/ecc/skills/regex-vs-llm-structured-text/SKILL.md +2 -1
  303. package/bundled/upstream/ecc/skills/repo-scan/SKILL.md +64 -63
  304. package/bundled/upstream/ecc/skills/research-ops/SKILL.md +2 -1
  305. package/bundled/upstream/ecc/skills/returns-reverse-logistics/SKILL.md +1 -1
  306. package/bundled/upstream/ecc/skills/rules-distill/SKILL.md +2 -1
  307. package/bundled/upstream/ecc/skills/rust-patterns/SKILL.md +2 -1
  308. package/bundled/upstream/ecc/skills/rust-testing/SKILL.md +2 -1
  309. package/bundled/upstream/ecc/skills/safety-guard/SKILL.md +2 -1
  310. package/bundled/upstream/ecc/skills/santa-method/SKILL.md +2 -1
  311. package/bundled/upstream/ecc/skills/scientific-db-pubmed-database/SKILL.md +2 -1
  312. package/bundled/upstream/ecc/skills/scientific-db-uspto-database/SKILL.md +2 -1
  313. package/bundled/upstream/ecc/skills/scientific-pkg-gget/SKILL.md +2 -1
  314. package/bundled/upstream/ecc/skills/scientific-thinking-literature-review/SKILL.md +2 -1
  315. package/bundled/upstream/ecc/skills/scientific-thinking-scholar-evaluation/SKILL.md +2 -1
  316. package/bundled/upstream/ecc/skills/search-first/SKILL.md +2 -1
  317. package/bundled/upstream/ecc/skills/security-bounty-hunter/SKILL.md +2 -1
  318. package/bundled/upstream/ecc/skills/security-review/SKILL.md +2 -1
  319. package/bundled/upstream/ecc/skills/security-scan/SKILL.md +2 -1
  320. package/bundled/upstream/ecc/skills/seo/SKILL.md +2 -1
  321. package/bundled/upstream/ecc/skills/skill-comply/SKILL.md +2 -1
  322. package/bundled/upstream/ecc/skills/skill-comply/scripts/runner.py +8 -0
  323. package/bundled/upstream/ecc/skills/skill-scout/SKILL.md +2 -1
  324. package/bundled/upstream/ecc/skills/skill-stocktake/SKILL.md +2 -1
  325. package/bundled/upstream/ecc/skills/social-graph-ranker/SKILL.md +2 -1
  326. package/bundled/upstream/ecc/skills/social-publisher/SKILL.md +17 -2
  327. package/bundled/upstream/ecc/skills/springboot-patterns/SKILL.md +2 -1
  328. package/bundled/upstream/ecc/skills/springboot-security/SKILL.md +2 -1
  329. package/bundled/upstream/ecc/skills/springboot-tdd/SKILL.md +2 -1
  330. package/bundled/upstream/ecc/skills/springboot-verification/SKILL.md +2 -1
  331. package/bundled/upstream/ecc/skills/strategic-compact/SKILL.md +10 -5
  332. package/bundled/upstream/ecc/skills/swift-actor-persistence/SKILL.md +2 -1
  333. package/bundled/upstream/ecc/skills/swift-protocol-di-testing/SKILL.md +2 -1
  334. package/bundled/upstream/ecc/skills/taste/SKILL.md +264 -0
  335. package/bundled/upstream/ecc/skills/taste/references/genre-taxonomy.md +87 -0
  336. package/bundled/upstream/ecc/skills/tdd-workflow/SKILL.md +64 -1
  337. package/bundled/upstream/ecc/skills/team-agent-orchestration/SKILL.md +2 -1
  338. package/bundled/upstream/ecc/skills/team-builder/SKILL.md +2 -1
  339. package/bundled/upstream/ecc/skills/terminal-ops/SKILL.md +2 -1
  340. package/bundled/upstream/ecc/skills/tinystruct-patterns/SKILL.md +77 -1
  341. package/bundled/upstream/ecc/skills/token-budget-advisor/SKILL.md +2 -1
  342. package/bundled/upstream/ecc/skills/ui-demo/SKILL.md +2 -1
  343. package/bundled/upstream/ecc/skills/ui-to-vue/SKILL.md +2 -1
  344. package/bundled/upstream/ecc/skills/uncloud/SKILL.md +2 -1
  345. package/bundled/upstream/ecc/skills/unified-notifications-ops/SKILL.md +2 -1
  346. package/bundled/upstream/ecc/skills/verification-loop/SKILL.md +2 -1
  347. package/bundled/upstream/ecc/skills/video-editing/SKILL.md +2 -1
  348. package/bundled/upstream/ecc/skills/videodb/SKILL.md +2 -1
  349. package/bundled/upstream/ecc/skills/vite-patterns/SKILL.md +2 -1
  350. package/bundled/upstream/ecc/skills/vue-patterns/SKILL.md +471 -0
  351. package/bundled/upstream/ecc/skills/windows-desktop-e2e/SKILL.md +9 -8
  352. package/bundled/upstream/ecc/skills/workspace-surface-audit/SKILL.md +2 -1
  353. package/bundled/upstream/ecc/skills/x-api/SKILL.md +2 -1
  354. package/bundled/upstream/impeccable/.omc-source/bundle.json +2 -2
  355. package/bundled/upstream/impeccable/.omc-source/provenance.json +30 -25
  356. package/bundled/upstream/impeccable/skills/impeccable/SKILL.md +2 -2
  357. package/bundled/upstream/impeccable/skills/impeccable/reference/hooks.md +10 -8
  358. package/bundled/upstream/impeccable/skills/impeccable/reference/live.md +1 -1
  359. package/bundled/upstream/impeccable/skills/impeccable/scripts/context.mjs +707 -26
  360. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/browser/injected/index.mjs +202 -0
  361. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/cli/main.mjs +57 -11
  362. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/design-system.mjs +750 -0
  363. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/detect-antipatterns-browser.js +231 -0
  364. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/detect-antipatterns.mjs +7 -0
  365. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/browser/detect-url.mjs +29 -4
  366. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/regex/detect-text.mjs +20 -4
  367. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +2 -0
  368. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/static-html/detect-html.mjs +27 -1
  369. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/registry/antipatterns.mjs +29 -0
  370. package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/shared/inline-ignores.mjs +148 -0
  371. package/bundled/upstream/impeccable/skills/impeccable/scripts/hook-admin.mjs +135 -48
  372. package/bundled/upstream/impeccable/skills/impeccable/scripts/hook-before-edit.mjs +5 -2
  373. package/bundled/upstream/impeccable/skills/impeccable/scripts/hook-lib.mjs +375 -29
  374. package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/design-parser.mjs +8 -1
  375. package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/impeccable-config.mjs +638 -0
  376. package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/impeccable-paths.mjs +37 -35
  377. package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/target-args.mjs +42 -0
  378. package/bundled/upstream/impeccable/skills/impeccable/scripts/live-browser.js +159 -72
  379. package/bundled/upstream/impeccable/skills/impeccable/scripts/live-poll.mjs +16 -11
  380. package/bundled/upstream/impeccable/skills/impeccable/scripts/live-server.mjs +9 -8
  381. package/bundled/upstream/impeccable/skills/impeccable/scripts/live-target.mjs +30 -0
  382. package/bundled/upstream/impeccable/skills/impeccable/scripts/live-wrap.mjs +1 -1
  383. package/bundled/upstream/impeccable/skills/impeccable/scripts/live.mjs +72 -21
  384. package/bundled/upstream/oh-my-claudecode/.omc-source/bundle.json +2 -2
  385. package/bundled/upstream/oh-my-claudecode/.omc-source/provenance.json +103 -103
  386. package/bundled/upstream/oh-my-claudecode/agents/analyst.md +6 -0
  387. package/bundled/upstream/oh-my-claudecode/agents/architect.md +6 -0
  388. package/bundled/upstream/oh-my-claudecode/agents/code-reviewer.md +6 -0
  389. package/bundled/upstream/oh-my-claudecode/agents/critic.md +6 -0
  390. package/bundled/upstream/oh-my-claudecode/agents/debugger.md +6 -0
  391. package/bundled/upstream/oh-my-claudecode/agents/security-reviewer.md +6 -0
  392. package/bundled/upstream/oh-my-claudecode/agents/tracer.md +6 -0
  393. package/bundled/upstream/oh-my-claudecode/agents/verifier.md +7 -0
  394. package/bundled/upstream/oh-my-claudecode/hooks/hooks.json +9 -2
  395. package/bundled/upstream/oh-my-claudecode/skills/ask/SKILL.md +15 -4
  396. package/bundled/upstream/oh-my-claudecode/skills/autopilot/SKILL.md +30 -1
  397. package/bundled/upstream/oh-my-claudecode/skills/cancel/SKILL.md +29 -35
  398. package/bundled/upstream/oh-my-claudecode/skills/ccg/SKILL.md +20 -9
  399. package/bundled/upstream/oh-my-claudecode/skills/configure-notifications/SKILL.md +2 -2
  400. package/bundled/upstream/oh-my-claudecode/skills/omc-reference/SKILL.md +6 -4
  401. package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/02-configure.md +1 -1
  402. package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/03-integrations.md +2 -1
  403. package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/04-welcome.md +2 -2
  404. package/bundled/upstream/oh-my-claudecode/skills/omc-teams/SKILL.md +29 -18
  405. package/bundled/upstream/oh-my-claudecode/skills/team/SKILL.md +127 -165
  406. package/bundled/upstream/superpowers/.omc-source/bundle.json +2 -2
  407. package/bundled/upstream/superpowers/.omc-source/provenance.json +59 -52
  408. package/bundled/upstream/superpowers/hooks/hooks-codex.json +16 -0
  409. package/bundled/upstream/superpowers/hooks/session-start +4 -12
  410. package/bundled/upstream/superpowers/hooks/session-start-codex +26 -0
  411. package/bundled/upstream/superpowers/skills/brainstorming/SKILL.md +5 -10
  412. package/bundled/upstream/superpowers/skills/brainstorming/scripts/frame-template.html +25 -26
  413. package/bundled/upstream/superpowers/skills/brainstorming/scripts/helper.js +101 -22
  414. package/bundled/upstream/superpowers/skills/brainstorming/scripts/server.cjs +399 -30
  415. package/bundled/upstream/superpowers/skills/brainstorming/scripts/start-server.sh +70 -9
  416. package/bundled/upstream/superpowers/skills/brainstorming/scripts/stop-server.sh +66 -2
  417. package/bundled/upstream/superpowers/skills/brainstorming/spec-document-reviewer-prompt.md +1 -1
  418. package/bundled/upstream/superpowers/skills/brainstorming/visual-companion.md +33 -22
  419. package/bundled/upstream/superpowers/skills/dispatching-parallel-agents/SKILL.md +9 -6
  420. package/bundled/upstream/superpowers/skills/executing-plans/SKILL.md +2 -2
  421. package/bundled/upstream/superpowers/skills/finishing-a-development-branch/SKILL.md +2 -12
  422. package/bundled/upstream/superpowers/skills/receiving-code-review/SKILL.md +2 -2
  423. package/bundled/upstream/superpowers/skills/requesting-code-review/SKILL.md +2 -2
  424. package/bundled/upstream/superpowers/skills/requesting-code-review/code-reviewer.md +15 -11
  425. package/bundled/upstream/superpowers/skills/subagent-driven-development/SKILL.md +206 -67
  426. package/bundled/upstream/superpowers/skills/subagent-driven-development/implementer-prompt.md +30 -4
  427. package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/review-package +44 -0
  428. package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/sdd-workspace +22 -0
  429. package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/task-brief +40 -0
  430. package/bundled/upstream/superpowers/skills/subagent-driven-development/task-reviewer-prompt.md +188 -0
  431. package/bundled/upstream/superpowers/skills/systematic-debugging/SKILL.md +1 -1
  432. package/bundled/upstream/superpowers/skills/test-driven-development/SKILL.md +1 -1
  433. package/bundled/upstream/superpowers/skills/using-git-worktrees/SKILL.md +9 -22
  434. package/bundled/upstream/superpowers/skills/using-superpowers/SKILL.md +19 -15
  435. package/bundled/upstream/superpowers/skills/using-superpowers/references/antigravity-tools.md +96 -0
  436. package/bundled/upstream/superpowers/skills/using-superpowers/references/claude-code-tools.md +50 -0
  437. package/bundled/upstream/superpowers/skills/using-superpowers/references/codex-tools.md +25 -12
  438. package/bundled/upstream/superpowers/skills/using-superpowers/references/copilot-tools.md +27 -20
  439. package/bundled/upstream/superpowers/skills/using-superpowers/references/gemini-tools.md +44 -32
  440. package/bundled/upstream/superpowers/skills/using-superpowers/references/pi-tools.md +28 -0
  441. package/bundled/upstream/superpowers/skills/writing-plans/SKILL.md +22 -0
  442. package/bundled/upstream/superpowers/skills/writing-plans/plan-document-reviewer-prompt.md +1 -1
  443. package/bundled/upstream/superpowers/skills/writing-skills/SKILL.md +52 -18
  444. package/bundled/upstream/superpowers/skills/writing-skills/anthropic-best-practices.md +88 -88
  445. package/bundled/upstream/superpowers/skills/writing-skills/persuasion-principles.md +3 -3
  446. package/package.json +1 -1
  447. package/bundled/upstream/superpowers/skills/subagent-driven-development/code-quality-reviewer-prompt.md +0 -25
  448. package/bundled/upstream/superpowers/skills/subagent-driven-development/spec-reviewer-prompt.md +0 -61
@@ -1,6 +1,9 @@
1
1
  ---
2
2
  name: claude-api
3
- description: "Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML."
3
+ description: |-
4
+ Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration.
5
+ TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens).
6
+ SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).
4
7
  license: Complete terms in LICENSE.txt
5
8
  ---
6
9
 
@@ -35,6 +38,9 @@ For the Claude model version, please use Claude Opus 4.8, which you can access v
35
38
 
36
39
  If the User Request at the bottom of this prompt is a bare subcommand string (no prose), search every **Subcommands** table in this document — including any in sections appended below — and follow the matching Action column directly. This lets users invoke specific flows via `/claude-api <subcommand>`. If no table in the document matches, treat the request as normal prose.
37
40
 
41
+ | Subcommand | Action |
42
+ |---|---|
43
+ | `migrate` | Migrate existing Claude API code to a newer model. **Read `shared/model-migration.md` immediately** and follow it in order: Step 0 (confirm scope — ask which files/directories before any edit), Step 1 (classify each file), then the per-target breaking-changes section. Do not summarize the guide — execute it. If the user did not name a target model, ask which model to migrate to in the same turn as the scope question. |
38
44
 
39
45
  ---
40
46
 
@@ -81,11 +87,11 @@ Before reading code examples, determine which language the user is working in:
81
87
  | Java | Yes (beta) | Yes (beta) | Beta tool use with annotated classes |
82
88
  | Go | Yes (beta) | Yes (beta) | `BetaToolRunner` in `toolrunner` pkg |
83
89
  | Ruby | Yes (beta) | Yes (beta) | `BaseTool` + `tool_runner` in beta |
84
- | C# | No | No | Official SDK |
90
+ | C# | Yes (beta) | Yes (beta) | `BetaToolRunner` + raw JSON schema |
85
91
  | PHP | Yes (beta) | Yes (beta) | `BetaRunnableTool` + `toolRunner()` |
86
92
  | cURL | N/A | Yes (beta) | Raw HTTP, no SDK features |
87
93
 
88
- > **Managed Agents code examples**: dedicated language-specific READMEs are provided for Python, TypeScript, Go, Ruby, PHP, Java, and cURL (`{lang}/managed-agents/README.md`, `curl/managed-agents.md`). Read your language's README plus the language-agnostic `shared/managed-agents-*.md` concept files. **Agents are persistent — create once, reference by ID.** Store the agent ID returned by `agents.create` and pass it to every subsequent `sessions.create`; do not call `agents.create` in the request path. The Anthropic CLI is one convenient way to create agents and environments from version-controlled YAML — its URL is in `shared/live-sources.md`. If a binding you need isn't shown in the README, WebFetch the relevant entry from `shared/live-sources.md` rather than guess. C# does not currently have Managed Agents support; use cURL-style raw HTTP requests against the API.
94
+ > **Managed Agents code examples**: dedicated language-specific READMEs are provided for Python, TypeScript, Go, Ruby, PHP, Java, and cURL (`{lang}/managed-agents/README.md`, `curl/managed-agents.md`). Read your language's README plus the language-agnostic `shared/managed-agents-*.md` concept files. **Agents are persistent — create once, reference by ID.** Store the agent ID returned by `agents.create` and pass it to every subsequent `sessions.create`; do not call `agents.create` in the request path. The Anthropic CLI (`ant`) is one convenient way to create agents and environments from version-controlled YAML — see `shared/anthropic-cli.md`. If a binding you need isn't shown in the README, WebFetch the relevant entry from `shared/live-sources.md` rather than guess. C# has beta Managed Agents support via `client.Beta.Agents` and related namespaces.
89
95
 
90
96
  ---
91
97
 
@@ -105,16 +111,16 @@ Before reading code examples, determine which language the user is working in:
105
111
 
106
112
  > **Note:** Managed Agents is the right choice when you want Anthropic to run the agent loop *and* host the container where tools execute — file ops, bash, code execution all run in the per-session workspace. If you want to host the compute yourself or run your own custom tool runtime, Claude API + tool use is the right choice — use the tool runner for automatic loop handling, or the manual loop for fine-grained control (approval gates, custom logging, conditional execution).
107
113
 
108
- > **Third-party providers (Amazon Bedrock, Google Vertex AI, Microsoft Foundry):** Managed Agents is **not available** on Bedrock, Vertex, or Foundry. If you are deploying through any third-party provider, use **Claude API + tool use** for all use cases — including ones where Managed Agents would otherwise be the recommended surface.
114
+ > **Cloud-provider access.** **Claude Platform on AWS** is Anthropic-operated with same-day API parity — Managed Agents and every feature in this skill work there, **except self-hosted sandboxes** (see `shared/claude-platform-on-aws.md`). **Amazon Bedrock**, **Google Vertex AI**, and **Microsoft Foundry** do **not** support Managed Agents or Anthropic server-side tools; use **Claude API + tool use** on those.
109
115
 
110
116
  ### Decision Tree
111
117
 
112
118
  ```
113
119
  What does your application need?
114
120
 
115
- 0. Are you deploying through Amazon Bedrock, Google Vertex AI, or Microsoft Foundry?
116
- └── Yes → Claude API (+ tool use for agents) Managed Agents is 1P only.
117
- Nocontinue.
121
+ 0. Which provider?
122
+ ├── First-party API or Claude Platform on AWS continue (full surface available).
123
+ └── Amazon Bedrock, Google Vertex AI, or Microsoft Foundry Claude API (+ tool use for agents); Managed Agents not available there.
118
124
 
119
125
  1. Single LLM call (classification, summarization, extraction, Q&A)
120
126
  └── Claude API — one request, one response
@@ -157,23 +163,37 @@ Everything goes through `POST /v1/messages`. Tools and output constraints are fe
157
163
 
158
164
  **Structured outputs** — Constrains the Messages API response format (`output_config.format`) and/or tool parameter validation (`strict: true`). The recommended approach is `client.messages.parse()` which validates responses against your schema automatically. Note: the old `output_format` parameter is deprecated; use `output_config: {format: {...}}` on `messages.create()`.
159
165
 
160
- **Supporting endpoints** — Batches (`POST /v1/messages/batches`), Files (`POST /v1/files`), Token Counting, and Models (`GET /v1/models`, `GET /v1/models/{id}` — live capability/context-window discovery) feed into or support Messages API requests.
166
+ **Supporting endpoints** — Batches (`POST /v1/messages/batches`), Files (`POST /v1/files`), Token Counting (`POST /v1/messages/count_tokens` — see `shared/token-counting.md`), and Models (`GET /v1/models`, `GET /v1/models/{id}` — live capability/context-window discovery) feed into or support Messages API requests.
161
167
 
162
168
  ---
163
169
 
164
- ## Current Models (cached: 2026-05-26)
170
+ ## Current Models (cached: 2026-06-04)
165
171
 
166
172
  | Model | Model ID | Context | Input $/1M | Output $/1M |
167
173
  | ----------------- | ------------------- | -------------- | ---------- | ----------- |
174
+ | Claude Fable 5 | `claude-fable-5` | 1M | $10.00 | $50.00 |
175
+ | Claude Mythos 5 (Project Glasswing only) | `claude-mythos-5` | 1M | $10.00 | $50.00 |
168
176
  | Claude Opus 4.8 | `claude-opus-4-8` | 1M | $5.00 | $25.00 |
169
177
  | Claude Opus 4.7 | `claude-opus-4-7` | 1M | $5.00 | $25.00 |
170
178
  | Claude Opus 4.6 | `claude-opus-4-6` | 1M | $5.00 | $25.00 |
171
179
  | Claude Sonnet 4.6 | `claude-sonnet-4-6` | 1M | $3.00 | $15.00 |
172
180
  | Claude Haiku 4.5 | `claude-haiku-4-5` | 200K | $1.00 | $5.00 |
173
181
 
174
- **ALWAYS use `claude-opus-4-8` unless the user explicitly names a different model.** This is non-negotiable. Do not use `claude-sonnet-4-6`, `claude-sonnet-4-5`, or any other model unless the user literally says "use sonnet" or "use haiku". Never downgrade for cost — that's the user's decision, not yours.
182
+ **ALWAYS use `claude-opus-4-8` unless the user explicitly names a different model.** This is non-negotiable. Do not use `claude-sonnet-4-6`, `claude-sonnet-4-5`, or any other model unless the user literally says "use sonnet" or "use haiku". Never downgrade for cost — that's the user's decision, not yours. Use `claude-fable-5` only when the user explicitly asks for Claude Fable 5, "fable", or Anthropic's most capable model — it has different API behavior than the Opus family (see below) and pricing that exceeds Opus-tier.
183
+
184
+ ### Claude Fable 5 (`claude-fable-5`) — most capable widely released model
185
+
186
+ Claude Fable 5 is Anthropic's most capable widely released model, for the most demanding reasoning and long-horizon agentic work. **Claude Mythos 5** (`claude-mythos-5`) offers the same capabilities, pricing, and API surface through Project Glasswing (participation is the only way to access it), succeeding the invitation-only Claude Mythos Preview (`claude-mythos-preview`) — everything below applies to both models. 1M context window (the maximum is also the default), 128K max output. Key API differences from Opus-tier — see `shared/model-migration.md` → Migrating to Claude Fable 5 for details:
175
187
 
176
- **CRITICAL: Use only the exact model ID strings from the table above they are complete as-is. Do not append date suffixes.** For example, use `claude-sonnet-4-5`, never `claude-sonnet-4-5-20250514` or any other date-suffixed variant you might recall from training data. If the user requests an older model not in the table (e.g., "opus 4.5", "sonnet 3.7"), read `shared/models.md` for the exact ID — do not construct one yourself.
188
+ - **Thinking is always on** omit the `thinking` parameter entirely (or send `{type: "adaptive"}`). Any other explicit configuration is rejected: `{type: "disabled"}` and `{type: "enabled", budget_tokens: N}` both return a 400. Control depth with `output_config.effort` (supports `low` through `xhigh` and `max`).
189
+ - **Protected thinking = the raw chain of thought, not the summary** — responses carry regular `thinking` blocks (not `redacted_thinking`): `display: "summarized"` returns a readable summary, `"omitted"` (the default) leaves the `thinking` field as an empty string; the raw chain of thought is never exposed on any model. Replay rules: pass thinking blocks back exactly as received on the same model (including empty-text blocks — the API rejects *modified* blocks, not read ones); a **different** model **silently ignores** them (not an error), but ignored blocks still bill input tokens — strip them when switching models for good.
190
+ - **New tokenizer** — the same content tokenizes to roughly 30% more tokens than on Opus-tier models. Don't reuse token counts or `max_tokens` settings measured on other models; re-baseline with `count_tokens`.
191
+ - **`refusal` stop reason** — safety classifiers may decline a request (HTTP 200, `stop_reason: "refusal"`, with a `stop_details` category). A pre-output refusal has an empty `content` array and is not billed at all; a mid-stream refusal bills the already-streamed output — discard the partial output. Always check `stop_reason` before reading `content`. To retry on another model: the beta `fallbacks` parameter (Claude API and Claude Platform on AWS) retries server-side in one round trip; the GA SDKs' `BetaRefusalFallbackMiddleware` + `BetaFallbackState` handle client-side retry everywhere else (incl. Bedrock/Vertex); fallback credit refunds the cache-switch cost of client-side retries. See the migration guide's refusal section.
192
+ - **No assistant prefill** — same as the rest of the 4.6+ family.
193
+ - **30-day data retention required** — Claude Fable 5 is not available under zero data retention; requests from an org whose retention configuration doesn't meet the requirement return `400 invalid_request_error`.
194
+ - **Longer turns, different prompting** — single requests on hard tasks can run many minutes (plan timeouts/streaming/progress UX); effort sweeps should include low/medium for routine work; prompts written for prior models are often too prescriptive and reduce output quality. See `shared/model-migration.md` → Migrating to Claude Fable 5 → Behavioral shifts (prompt-tunable) for the recommended prompt snippets (anti-overplanning, no-tidying, grounded progress claims, boundaries, async sub-agents, memory, `send_to_user`).
195
+
196
+ **CRITICAL: Use only the exact model ID strings from the table above — they are complete as-is. Do not append date suffixes.** For example, use `claude-sonnet-4-6`, never `claude-sonnet-4-6-20251114` or any other date-suffixed variant you might recall from training data. If the user requests an older model not in the table (e.g., "opus 4.5", "sonnet 3.7"), read `shared/models.md` for the exact ID — do not construct one yourself.
177
197
 
178
198
  A note: if any of the model strings above look unfamiliar to you, that's to be expected — that just means they were released after your training data cutoff. Rest assured they are real models; we wouldn't mess with you like that.
179
199
 
@@ -183,13 +203,13 @@ A note: if any of the model strings above look unfamiliar to you, that's to be e
183
203
 
184
204
  ## Thinking & Effort (Quick Reference)
185
205
 
186
- **Opus 4.8 / 4.7 — Adaptive thinking only:** Use `thinking: {type: "adaptive"}`. `thinking: {type: "enabled", budget_tokens: N}` returns a 400 — adaptive is the only on-mode. `{type: "disabled"}` and omitting `thinking` both work. Sampling parameters (`temperature`, `top_p`, `top_k`) are also removed and will 400. Opus 4.8 keeps the same request surface as 4.7 (no new breaking changes) — see `shared/model-migration.md` → Migrating to Opus 4.8 for the behavioral re-tuning, and → Migrating to Opus 4.7 for the full breaking-change list when coming from 4.6 or earlier. Note: with `thinking` disabled, Opus 4.8 may write longer reasoning into the visible response — leave adaptive thinking on, or add a final-answer-only instruction (see the migration guide).
187
- **Opus 4.6 — Adaptive thinking (recommended):** Use `thinking: {type: "adaptive"}`. Claude dynamically decides when and how much to think. No `budget_tokens` needed — `budget_tokens` is deprecated on Opus 4.6 and Sonnet 4.6 and should not be used for new code. Adaptive thinking also automatically enables interleaved thinking (no beta header needed). **When the user asks for "extended thinking", a "thinking budget", or `budget_tokens`: always use Opus 4.8, 4.7, or 4.6 with `thinking: {type: "adaptive"}`. The concept of a fixed token budget for thinking is deprecated — adaptive thinking replaces it. Do NOT use `budget_tokens` for new 4.6/4.7/4.8 code and do NOT switch to an older model.** *Gradual-migration carve-out:* `budget_tokens` is still functional on Opus 4.6 and Sonnet 4.6 as a transitional escape hatch — if you're migrating existing code and need a hard token ceiling before you've tuned `effort`, see `shared/model-migration.md` → Transitional escape hatch. Note: this carve-out does **not** apply to Opus 4.7 or 4.8 — `budget_tokens` is fully removed there.
188
- **Effort parameter (GA, no beta header):** Controls thinking depth and overall token spend via `output_config: {effort: "low"|"medium"|"high"|"max"}` (inside `output_config`, not top-level). Default is `high` (equivalent to omitting it). `max` is Opus-tier only (Opus 4.6 and later not Sonnet or Haiku). Opus 4.7 added `"xhigh"` (between `high` and `max`) — the best setting for most coding and agentic use cases on Opus 4.7/4.8, and the default in Claude Code; use a minimum of `high` for most intelligence-sensitive work. Works on Opus 4.5, Opus 4.6, Opus 4.7, Opus 4.8, and Sonnet 4.6. Will error on Sonnet 4.5 / Haiku 4.5. On Opus 4.7 and 4.8, effort matters more than on any prior Opus — re-tune it when migrating, and run long-horizon/agentic tasks at `high`/`xhigh` with the full task spec given up front. Combine with adaptive thinking for the best cost-quality tradeoffs. Lower effort means fewer and more-consolidated tool calls, less preamble, and terser confirmations — `high` is often the sweet spot balancing quality and token efficiency; use `max` when correctness matters more than cost; use `low` for subagents or simple tasks.
206
+ **Fable 5 / Opus 4.8 / 4.7 — Adaptive thinking only:** Use `thinking: {type: "adaptive"}`. `thinking: {type: "enabled", budget_tokens: N}` returns a 400 — adaptive is the only on-mode. On Opus 4.8 and 4.7, `{type: "disabled"}` and omitting `thinking` both work; on Fable 5, an explicit `{type: "disabled"}` returns a 400 — omit the `thinking` param entirely instead. Sampling parameters (`temperature`, `top_p`, `top_k`) are also removed and will 400. Opus 4.8 keeps the same request surface as 4.7 (no new breaking changes) — see `shared/model-migration.md` → Migrating to Opus 4.8 for the behavioral re-tuning, and → Migrating to Opus 4.7 for the full breaking-change list when coming from 4.6 or earlier. Note: with `thinking` disabled, Opus 4.8 may write longer reasoning into the visible response — leave adaptive thinking on, or add a final-answer-only instruction (see the migration guide).
207
+ **Opus 4.6 — Adaptive thinking (recommended):** Use `thinking: {type: "adaptive"}`. Claude dynamically decides when and how much to think. No `budget_tokens` needed — `budget_tokens` is deprecated on Opus 4.6 and Sonnet 4.6 and should not be used for new code. Adaptive thinking also automatically enables interleaved thinking (no beta header needed). **When the user asks for "extended thinking", a "thinking budget", or `budget_tokens`: always use Fable 5, Opus 4.8, 4.7, or 4.6 with `thinking: {type: "adaptive"}`. The concept of a fixed token budget for thinking is deprecated — adaptive thinking replaces it. Do NOT use `budget_tokens` for new 4.6/4.7/4.8 code and do NOT switch to an older model.** *Gradual-migration carve-out:* `budget_tokens` is still functional on Opus 4.6 and Sonnet 4.6 as a transitional escape hatch — if you're migrating existing code and need a hard token ceiling before you've tuned `effort`, see `shared/model-migration.md` → Transitional escape hatch. Note: this carve-out does **not** apply to Fable 5, Opus 4.7 or 4.8 — `budget_tokens` is fully removed there.
208
+ **Effort parameter (GA, no beta header):** Controls thinking depth and overall token spend via `output_config: {effort: "low"|"medium"|"high"|"max"}` (inside `output_config`, not top-level). Default is `high` (equivalent to omitting it). `max` is supported on Fable 5, Opus 4.6 and later, and Sonnet 4.6 (not Haiku or earlier Sonnets). Opus 4.7 added `"xhigh"` (between `high` and `max`) — the best setting for most coding and agentic use cases on Fable 5 / Opus 4.7/4.8, and the default in Claude Code; use a minimum of `high` for most intelligence-sensitive work. Works on Fable 5, Opus 4.5, Opus 4.6, Opus 4.7, Opus 4.8, and Sonnet 4.6. Will error on Sonnet 4.5 / Haiku 4.5. On Fable 5, Opus 4.7 and 4.8, effort matters more than on any prior Opus — re-tune it when migrating, and run long-horizon/agentic tasks at `high`/`xhigh` with the full task spec given up front. Combine with adaptive thinking for the best cost-quality tradeoffs. Lower effort means fewer and more-consolidated tool calls, less preamble, and terser confirmations — `high` is often the sweet spot balancing quality and token efficiency; use `max` when correctness matters more than cost; use `low` for subagents or simple tasks.
189
209
 
190
- **Opus 4.8 / 4.7 thinking content omitted by default:** `thinking` blocks still stream but their text is empty unless you opt in with `thinking: {type: "adaptive", display: "summarized"}` (default is `"omitted"`). Silent changeno error. If you stream reasoning to users, the default looks like a long pause before output; set `"summarized"` to restore visible progress.
210
+ **Thinking display — `"omitted"` by default on Fable 5 / Mythos 5 / Opus 4.8 / 4.7:** `display: "summarized"` returns a readable summary of the reasoning; `"omitted"` (the default on all four a silent change from Opus 4.6, where it was `"summarized"`) streams `thinking` blocks with empty text. `display` controls visibility only thinking happens and is billed the same under every setting; the raw chain of thought is never exposed on any model. If you stream reasoning to users, the default looks like a long pause before output set `thinking: {type: "adaptive", display: "summarized"}` explicitly. (Independent of display, echo thinking blocks back unchanged when continuing on the same model; other models silently ignore them — see the migration guide.)
191
211
 
192
- **Task Budgets (beta, Opus 4.7 / 4.8):** `output_config: {task_budget: {type: "tokens", total: N}}` tells the model how many tokens it has for a full agentic loop — it sees a running countdown and self-moderates (minimum 20,000; beta header `task-budgets-2026-03-13`). Distinct from `max_tokens`, which is an enforced per-response ceiling the model is not aware of. See `shared/model-migration.md` → Task Budgets.
212
+ **Task Budgets (beta, Fable 5 / Opus 4.7 / 4.8):** `output_config: {task_budget: {type: "tokens", total: N}}` tells the model how many tokens it has for a full agentic loop — it sees a running countdown and self-moderates (minimum 20,000; beta header `task-budgets-2026-03-13`). Distinct from `max_tokens`, which is an enforced per-response ceiling the model is not aware of. See `shared/model-migration.md` → Task Budgets.
193
213
 
194
214
  **Sonnet 4.6:** Supports adaptive thinking (`thinking: {type: "adaptive"}`). `budget_tokens` is deprecated on Sonnet 4.6 — use adaptive thinking instead.
195
215
 
@@ -199,7 +219,7 @@ A note: if any of the model strings above look unfamiliar to you, that's to be e
199
219
 
200
220
  ## Compaction (Quick Reference)
201
221
 
202
- **Beta, Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6.** For long-running conversations that may exceed the 1M context window, enable server-side compaction. The API automatically summarizes earlier context when it approaches the trigger threshold (default: 150K tokens). Requires beta header `compact-2026-01-12`.
222
+ **Beta, Fable 5, Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6.** For long-running conversations that may exceed the 1M context window, enable server-side compaction. The API automatically summarizes earlier context when it approaches the trigger threshold (default: 150K tokens). Requires beta header `compact-2026-01-12`.
203
223
 
204
224
  **Critical:** Append `response.content` (not just the text) back to your messages on every turn. Compaction blocks in the response must be preserved — the API uses them to replace the compacted history on the next request. Extracting only the text string and appending that will silently lose the compaction state.
205
225
 
@@ -211,6 +231,8 @@ See `{lang}/claude-api/README.md` (Compaction section) for code examples. Full d
211
231
 
212
232
  **Prefix match.** Any byte change anywhere in the prefix invalidates everything after it. Render order is `tools` → `system` → `messages`. Keep stable content first (frozen system prompt, deterministic tool list), put volatile content (timestamps, per-request IDs, varying questions) after the last `cache_control` breakpoint.
213
233
 
234
+ **Mid-conversation operator instructions** (beta header `mid-conversation-system-2026-04-07`, on supporting models): append `{"role": "system", ...}` to `messages[]` instead of editing top-level `system`. Preserves the cached history prefix and is the prompt-injection-safe operator channel. See `shared/prompt-caching.md` § Mid-conversation system messages.
235
+
214
236
  **Top-level auto-caching** (`cache_control: {type: "ephemeral"}` on `messages.create()`) is the simplest option when you don't need fine-grained placement. Max 4 breakpoints per request. Minimum cacheable prefix is ~1024 tokens — shorter prefixes silently won't cache.
215
237
 
216
238
  **Verify with `usage.cache_read_input_tokens`** — if it's zero across repeated requests, a silent invalidator is at work (`datetime.now()` in system prompt, unsorted JSON, varying tool set).
@@ -223,24 +245,27 @@ For placement patterns, architectural guidance, and the silent-invalidator audit
223
245
 
224
246
  **Managed Agents** is a third surface: server-managed stateful agents with Anthropic-hosted tool execution. You create a persisted, versioned Agent config (`POST /v1/agents`), then start Sessions that reference it. Each session provisions a container as the agent's workspace — bash, file ops, and code execution run there; the agent loop itself runs on Anthropic's orchestration layer and acts on the container via tools. The session streams events; you send messages and tool results back.
225
247
 
226
- **Managed Agents is first-party only.** It is not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. For agents on third-party providers, use Claude API + tool use.
248
+ **Managed Agents is available on the first-party API and Claude Platform on AWS.** It is **not** available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry for agents there, use Claude API + tool use.
227
249
 
228
250
  **Mandatory flow:** Agent (once) → Session (every run). `model`/`system`/`tools` live on the agent, never the session. See `shared/managed-agents-overview.md` for the full reading guide, beta headers, and pitfalls.
229
251
 
230
- **Beta headers:** `managed-agents-2026-04-01` — the SDK sets this automatically for all `client.beta.{agents,environments,sessions,vaults,memory_stores}.*` calls. Skills API uses `skills-2025-10-02` and Files API uses `files-api-2025-04-14`, but you don't need to explicitly pass those in for endpoints other than `/v1/skills` and `/v1/files`.
252
+ **Beta headers:** `managed-agents-2026-04-01` — the SDK sets this automatically for all `client.beta.{agents,environments,sessions,vaults,memory_stores,deployments,deployment_runs}.*` calls. Skills API uses `skills-2025-10-02` and Files API uses `files-api-2025-04-14`, but you don't need to explicitly pass those in for endpoints other than `/v1/skills` and `/v1/files`.
231
253
 
232
254
  **Subcommands** — invoke directly with `/claude-api <subcommand>`:
233
255
 
234
256
  | Subcommand | Action |
235
257
  |---|---|
236
- | `managed-agents-onboard` | Walk the user through setting up a Managed Agent from scratch. **Read `shared/managed-agents-onboarding.md` immediately** and follow its interview script: mental model → know-or-explore branch → template config → session setup → emit code. Do not summarize — run the interview. |
258
+ | `managed-agents-onboard` | Walk the user through setting up a Managed Agent from scratch. **Read `shared/managed-agents-onboarding.md` immediately** and follow its interview script: mental model → know-or-explore branch → template config → session setup → **pre-flight viability check** → emit code. The viability check (reconcile the stated job against configured tools/credentials/data) catches under-resourced setups — missing a tool, credential, or data access — before the agent burns budget. Do not summarize — run the interview. |
237
259
 
238
- **Reading guide:** Start with `shared/managed-agents-overview.md`, then the topical `shared/managed-agents-*.md` files (core, environments, tools, events, outcomes, multiagent, webhooks, memory, client-patterns, onboarding, api-reference). For Python, TypeScript, Go, Ruby, PHP, and Java, read `{lang}/managed-agents/README.md` for code examples. For cURL, read `curl/managed-agents.md`. **Agents are persistent — create once, reference by ID.** Store the agent ID returned by `agents.create` and pass it to every subsequent `sessions.create`; do not call `agents.create` in the request path. The Anthropic CLI is one convenient way to create agents and environments from version-controlled YAML (URL in `shared/live-sources.md`). If a binding you need isn't shown in the language README, WebFetch the relevant entry from `shared/live-sources.md` rather than guess. C# does not currently have Managed Agents support; use raw HTTP from `curl/managed-agents.md` as a reference.
260
+ **Reading guide:** Start with `shared/managed-agents-overview.md`, then the topical `shared/managed-agents-*.md` files (core, environments, tools, events, outcomes, multiagent, webhooks, memory, scheduled-deployments, client-patterns, onboarding, api-reference). For Python, TypeScript, Go, Ruby, PHP, and Java, read `{lang}/managed-agents/README.md` for code examples. For cURL, read `curl/managed-agents.md`. **Agents are persistent — create once, reference by ID.** Store the agent ID returned by `agents.create` and pass it to every subsequent `sessions.create`; do not call `agents.create` in the request path. The Anthropic CLI (`ant`) is one convenient way to create agents and environments from version-controlled YAML see `shared/anthropic-cli.md`. If a binding you need isn't shown in the language README, WebFetch the relevant entry from `shared/live-sources.md` rather than guess. C# has beta Managed Agents support via `client.Beta.Agents` and related namespaces.
239
261
 
240
262
  **When the user wants to set up a Managed Agent from scratch** (e.g. "how do I get started", "walk me through creating one", "set up a new agent"): read `shared/managed-agents-onboarding.md` and run its interview — same flow as the `managed-agents-onboard` subcommand.
241
263
 
242
264
  **When the user asks "how do I write the client code for X":** reach for `shared/managed-agents-client-patterns.md` — covers lossless stream reconnect, `processed_at` queued/processed gate, interrupt, `tool_confirmation` round-trip, the correct idle/terminated break gate, post-idle status race, stream-first ordering, file-mount gotchas, keeping credentials host-side via custom tools, etc.
243
265
 
266
+ **When the user wants the agent to run on a schedule** (cron, "every night", "weekly report"): read `shared/managed-agents-scheduled-deployments.md` — deployments fire sessions autonomously on a cron cadence, with run records, retries, and auto-pause.
267
+
268
+
244
269
  ---
245
270
 
246
271
  ## Reading Guide
@@ -257,10 +282,14 @@ After detecting the language, read the relevant files based on what the user nee
257
282
 
258
283
  **Long-running conversations (may exceed context window):**
259
284
  → Read `{lang}/claude-api/README.md` — see Compaction section
260
- **Migrating to a newer model (Opus 4.8 / Opus 4.7 / Opus 4.6 / Sonnet 4.6) or replacing a retired model:**
285
+ **Migrating to a newer model (Fable 5 / Opus 4.8 / Opus 4.7 / Opus 4.6 / Sonnet 4.6) or replacing a retired model:**
261
286
  → Read `shared/model-migration.md`
287
+ **Prompting or tuning Fable 5 (long turns, effort, verbosity, autonomous runs, sub-agents):**
288
+ → Read `shared/model-migration.md` → Migrating to Fable 5 → Behavioral shifts (prompt-tunable) + Long-running agent recommendations
262
289
  **Prompt caching / optimize caching / "why is my cache hit rate low":**
263
290
  → Read `shared/prompt-caching.md` + `{lang}/claude-api/README.md` (Prompt Caching section)
291
+ **Count tokens in a file / prompt / diff ("how many tokens is X"):**
292
+ → Read `shared/token-counting.md` — use `messages.count_tokens`, never `tiktoken`
264
293
 
265
294
  **Function calling / tool use / agents:**
266
295
  → Read `{lang}/claude-api/README.md` + `shared/tool-use-concepts.md` + `{lang}/claude-api/tool-use.md`
@@ -275,7 +304,7 @@ After detecting the language, read the relevant files based on what the user nee
275
304
  → Read `{lang}/claude-api/README.md` + `{lang}/claude-api/files-api.md`
276
305
 
277
306
  **Managed Agents (server-managed stateful agents with workspace):**
278
- → Read `shared/managed-agents-overview.md` + the rest of the `shared/managed-agents-*.md` files. For Python, TypeScript, Go, Ruby, PHP, and Java, read `{lang}/managed-agents/README.md` for code examples. For cURL, read `curl/managed-agents.md`. **Agents are persistent — create once, reference by ID.** Store the agent ID returned by `agents.create` and pass it to every subsequent `sessions.create`; do not call `agents.create` in the request path. The Anthropic CLI is one convenient way to create agents and environments from version-controlled YAML (URL in `shared/live-sources.md`). If a binding you need isn't shown in the language README, WebFetch the relevant entry from `shared/live-sources.md` rather than guess. C# does not currently support Managed Agents — use raw HTTP from `curl/managed-agents.md` as a reference.
307
+ → Read `shared/managed-agents-overview.md` + the rest of the `shared/managed-agents-*.md` files. For Python, TypeScript, Go, Ruby, PHP, and Java, read `{lang}/managed-agents/README.md` for code examples. For cURL, read `curl/managed-agents.md`. **Agents are persistent — create once, reference by ID.** Store the agent ID returned by `agents.create` and pass it to every subsequent `sessions.create`; do not call `agents.create` in the request path. The Anthropic CLI (`ant`) is one convenient way to create agents and environments from version-controlled YAML see `shared/anthropic-cli.md`. If a binding you need isn't shown in the language README, WebFetch the relevant entry from `shared/live-sources.md` rather than guess. C# has beta Managed Agents support see `csharp/claude-api.md` for details, or `curl/managed-agents.md` for raw HTTP reference.
279
308
 
280
309
  ### Claude API (Full File Reference)
281
310
 
@@ -312,13 +341,15 @@ Live documentation URLs are in `shared/live-sources.md`.
312
341
  ## Common Pitfalls
313
342
 
314
343
  - Don't truncate inputs when passing files or content to the API. If the content is too long to fit in the context window, notify the user and discuss options (chunking, summarization, etc.) rather than silently truncating.
315
- - **Opus 4.8 / 4.7 thinking:** Adaptive only. `thinking: {type: "enabled", budget_tokens: N}` returns 400 — `budget_tokens` is fully removed (along with `temperature`, `top_p`, `top_k`). Use `thinking: {type: "adaptive"}`. Opus 4.8 inherits this surface from 4.7 with no new breaking changes.
316
- - **Opus 4.6 / Sonnet 4.6 thinking:** Use `thinking: {type: "adaptive"}` — do NOT use `budget_tokens` for new 4.6 code (deprecated on both Opus 4.6 and Sonnet 4.6; for gradual migration of existing code, see the transitional escape hatch in `shared/model-migration.md` — note this carve-out does not apply to Opus 4.7 or 4.8). For older models, `budget_tokens` must be less than `max_tokens` (minimum 1024). This will throw an error if you get it wrong.
317
- - **4.6/4.7/4.8 family prefill removed:** Assistant message prefills (last-assistant-turn prefills) return a 400 error on Opus 4.6, Opus 4.7, Opus 4.8, and Sonnet 4.6. Use structured outputs (`output_config.format`) or system prompt instructions to control response format instead.
344
+ - **Fable 5 / Opus 4.8 / 4.7 thinking:** Adaptive only. `thinking: {type: "enabled", budget_tokens: N}` returns 400 — `budget_tokens` is fully removed (along with `temperature`, `top_p`, `top_k`). Use `thinking: {type: "adaptive"}`. Opus 4.8 inherits this surface from 4.7 with no new breaking changes; Fable 5 adds one — an explicit `thinking: {type: "disabled"}` returns a 400 (accepted on 4.7/4.8); omit the param instead.
345
+ - **Opus 4.6 / Sonnet 4.6 thinking:** Use `thinking: {type: "adaptive"}` — do NOT use `budget_tokens` for new 4.6 code (deprecated on both Opus 4.6 and Sonnet 4.6; for gradual migration of existing code, see the transitional escape hatch in `shared/model-migration.md` — note this carve-out does not apply to Fable 5, Opus 4.7 or 4.8). For older models, `budget_tokens` must be less than `max_tokens` (minimum 1024). This will throw an error if you get it wrong.
346
+ - **Prefill removed (Fable 5 and the 4.6/4.7/4.8 family):** Assistant message prefills (last-assistant-turn prefills) return a 400 error on Fable 5, Opus 4.6, Opus 4.7, Opus 4.8, and Sonnet 4.6. Use structured outputs (`output_config.format`) or system prompt instructions to control response format instead. (One exception: the fallback-credit prefill claim — when redeeming a credit with `fallback_has_prefill_claim: true`, the server accepts the echoed assistant message; see the migration guide's refusal section.)
347
+ - **Fable 5 `refusal` stop reason:** Safety classifiers may decline a request — a successful HTTP 200 with `stop_reason: "refusal"` (pre-output: empty `content`, nothing billed; mid-stream: partial output billed — discard it). Check `stop_reason` before reading `response.content[0]`, or you'll hit index errors on refused requests. To retry on another model, replaying history as-is works — other models silently ignore the refused model's thinking blocks — but ignored blocks still bill input tokens, so strip them when switching for good (exception: a fallback-credit redemption must echo the refused body exactly, thinking blocks included).
348
+ - **Fable 5 tokenizer:** ~30% more tokens for the same content vs Opus-tier models. Token counts, context-window budgets, and `max_tokens` values measured on other models don't transfer — re-measure with `count_tokens` passing `model: "claude-fable-5"` (the response includes counts under both tokenizers).
318
349
  - **Confirm migration scope before editing:** When a user asks to migrate code to a newer Claude model without naming a specific file, directory, or file list, **ask which scope to apply first** — the entire working directory, a specific subdirectory, or a specific set of files. Do not start editing until the user confirms. Imperative phrasings like "migrate my codebase", "move my project to X", "upgrade to Sonnet 4.6", or bare "migrate to Opus 4.8" are **still ambiguous** — they tell you what to do but not where, so ask. Proceed without asking only when the prompt names an exact file, a specific directory, or an explicit file list ("migrate `app.py`", "migrate everything under `services/`", "update `a.py` and `b.py`"). See `shared/model-migration.md` Step 0.
319
- - **`max_tokens` defaults:** Don't lowball `max_tokens` — hitting the cap truncates output mid-thought and requires a retry. For non-streaming requests, default to `~16000` (keeps responses under SDK HTTP timeouts). For streaming requests, default to `~64000` (timeouts aren't a concern, so give the model room). Only go lower when you have a hard reason: classification (`~256`), cost caps, or deliberately short outputs.
320
- - **128K output tokens:** Opus 4.6, Opus 4.7, and Opus 4.8 support up to 128K `max_tokens`, but the SDKs require streaming for values that large to avoid HTTP timeouts. Use `.stream()` with `.get_final_message()` / `.finalMessage()`.
321
- - **Tool call JSON parsing (4.6/4.7/4.8 family):** Opus 4.6, Opus 4.7, Opus 4.8, and Sonnet 4.6 may produce different JSON string escaping in tool call `input` fields (e.g., Unicode or forward-slash escaping). Always parse tool inputs with `json.loads()` / `JSON.parse()` — never do raw string matching on the serialized input.
350
+ - **`max_tokens` defaults:** Don't lowball `max_tokens` — hitting the cap truncates output mid-thought and requires a retry. For non-streaming requests, default to `~16000` (keeps responses under SDK HTTP timeouts). For streaming requests, default to `~64000` (timeouts aren't a concern, so give the model room). Only go lower when you have a hard reason: classification (`~256`), cost caps, deliberately short outputs, or **`max_tokens: 0`** for cache pre-warming (see `shared/prompt-caching.md` → Pre-warming).
351
+ - **128K output tokens:** Fable 5, Opus 4.6, Opus 4.7, and Opus 4.8 support up to 128K `max_tokens`, but the SDKs require streaming for values that large to avoid HTTP timeouts. Use `.stream()` with `.get_final_message()` / `.finalMessage()`.
352
+ - **Tool call JSON parsing (Fable 5 and the 4.6/4.7/4.8 family):** Fable 5, Opus 4.6, Opus 4.7, Opus 4.8, and Sonnet 4.6 may produce different JSON string escaping in tool call `input` fields (e.g., Unicode or forward-slash escaping). Always parse tool inputs with `json.loads()` / `JSON.parse()` — never do raw string matching on the serialized input.
322
353
  - **Structured outputs (all models):** Use `output_config: {format: {...}}` instead of the deprecated `output_format` parameter on `messages.create()`. This is a general API change, not 4.6-specific.
323
354
  - **Don't reimplement SDK functionality:** The SDK provides high-level helpers — use them instead of building from scratch. Specifically: use `stream.finalMessage()` instead of wrapping `.on()` events in `new Promise()`; use typed exception classes (`Anthropic.RateLimitError`, etc.) instead of string-matching error messages; use SDK types (`Anthropic.MessageParam`, `Anthropic.Tool`, `Anthropic.Message`, etc.) instead of redefining equivalent interfaces.
324
355
  - **Don't define custom types for SDK data structures:** The SDK exports types for all API objects. Use `Anthropic.MessageParam` for messages, `Anthropic.Tool` for tool definitions, `Anthropic.ToolUseBlock` / `Anthropic.ToolResultBlockParam` for tool results, `Anthropic.Message` for responses. Defining your own `interface ChatMessage { role: string; content: unknown }` duplicates what the SDK already provides and loses type safety.
@@ -1,6 +1,6 @@
1
1
  # Claude API — C#
2
2
 
3
- > **Note:** The C# SDK is the official Anthropic SDK for C#. Tool use is supported via the Messages API. A class-annotation-based tool runner is not available; use raw tool definitions with JSON schema. The SDK also supports Microsoft.Extensions.AI IChatClient integration with function invocation.
3
+ > **Note:** The C# SDK is the official Anthropic SDK for C#. Tool use is supported via the Messages API with a beta `BetaToolRunner` for automatic tool execution loops. The SDK also supports Microsoft.Extensions.AI IChatClient integration with function invocation and Managed Agents (beta).
4
4
 
5
5
  ## Installation
6
6
 
@@ -400,3 +400,48 @@ new BetaRequestDocumentBlock {
400
400
  ```
401
401
 
402
402
  The non-beta `DocumentBlockParamSource` union has no file-ID variant — file references need `client.Beta.Messages.Create()`.
403
+
404
+ ---
405
+
406
+ ## Tool Runner (Beta)
407
+
408
+ The C# SDK provides a `BetaToolRunner` for automatic tool execution loops. Define tools with raw JSON schemas, and the runner handles the API call → tool execution → result feedback loop.
409
+
410
+ ```csharp
411
+ using Anthropic.Models.Beta.Messages;
412
+
413
+ // Define tools and create params as shown in the Tool Use section above,
414
+ // but using the beta namespace types (BetaToolUnion, etc.)
415
+ var runner = client.Beta.Messages.ToolRunner(betaParams);
416
+
417
+ await foreach (BetaMessage message in runner)
418
+ {
419
+ foreach (var block in message.Content)
420
+ {
421
+ if (block.TryPickText(out var text))
422
+ {
423
+ Console.WriteLine(text.Text);
424
+ }
425
+ }
426
+ }
427
+ ```
428
+
429
+ ---
430
+
431
+ ## Stop Details
432
+
433
+ When `StopReason` is `"refusal"`, the response includes structured `StopDetails`:
434
+
435
+ ```csharp
436
+ if (response.StopReason == "refusal" && response.StopDetails is { } details)
437
+ {
438
+ Console.WriteLine($"Category: {details.Category}");
439
+ Console.WriteLine($"Explanation: {details.Explanation}");
440
+ }
441
+ ```
442
+
443
+ ---
444
+
445
+ ## Managed Agents (Beta)
446
+
447
+ The C# SDK supports Managed Agents via `client.Beta.Agents`, `client.Beta.Sessions`, `client.Beta.Environments`, and related namespaces. See `shared/managed-agents-overview.md` for the architecture and `curl/managed-agents.md` for the wire-level reference.
@@ -182,11 +182,11 @@ For 1-hour TTL: `"cache_control": {"type": "ephemeral", "ttl": "1h"}`. Top-level
182
182
 
183
183
  ## Extended Thinking
184
184
 
185
- > **Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6:** Use adaptive thinking. `budget_tokens` is removed on Opus 4.8 and 4.7 (400 if sent); deprecated on Opus 4.6 and Sonnet 4.6.
185
+ > **Fable 5, Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6:** Use adaptive thinking. `budget_tokens` is removed on Fable 5, Opus 4.8, and 4.7 (400 if sent); deprecated on Opus 4.6 and Sonnet 4.6.
186
186
  > **Older models:** Use `"type": "enabled"` with `"budget_tokens": N` (must be < `max_tokens`, min 1024).
187
187
 
188
188
  ```bash
189
- # Opus 4.8 / 4.7 / 4.6: adaptive thinking (recommended)
189
+ # Fable 5 / Opus 4.8 / 4.7 / 4.6: adaptive thinking (recommended)
190
190
  curl https://api.anthropic.com/v1/messages \
191
191
  -H "Content-Type: application/json" \
192
192
  -H "x-api-key: $ANTHROPIC_API_KEY" \
@@ -42,7 +42,9 @@ curl -X POST https://api.anthropic.com/v1/environments \
42
42
  "config": {
43
43
  "type": "cloud",
44
44
  "networking": {
45
- "type": "package_managers_and_custom",
45
+ "type": "limited",
46
+ "allow_package_managers": true,
47
+ "allow_mcp_servers": true,
46
48
  "allowed_hosts": ["api.example.com"]
47
49
  }
48
50
  }
@@ -27,11 +27,17 @@ client := anthropic.NewClient(
27
27
 
28
28
  ---
29
29
 
30
+ ## Model Constants
31
+
32
+ The Go SDK provides typed model constants: `anthropic.ModelClaudeFable5`, `anthropic.ModelClaudeOpus4_8`, `anthropic.ModelClaudeOpus4_7`, `anthropic.ModelClaudeSonnet4_6`, `anthropic.ModelClaudeHaiku4_5_20251001`. Use `ModelClaudeOpus4_8` unless the user specifies otherwise; if they ask for Fable or the most powerful model, use `anthropic.ModelClaudeFable5` (see `shared/models.md` for the full resolution table).
33
+
34
+ ---
35
+
30
36
  ## Basic Message Request
31
37
 
32
38
  ```go
33
39
  response, err := client.Messages.New(context.Background(), anthropic.MessageNewParams{
34
- Model: anthropic.ModelClaudeOpus4_6,
40
+ Model: anthropic.ModelClaudeOpus4_8,
35
41
  MaxTokens: 16000,
36
42
  Messages: []anthropic.MessageParam{
37
43
  anthropic.NewUserMessage(anthropic.NewTextBlock("What is the capital of France?")),
@@ -278,12 +284,12 @@ Enable Claude's internal reasoning by setting `Thinking` in `MessageNewParams`.
278
284
 
279
285
  **Adaptive thinking is the recommended mode for Claude 4.6+ models.** Claude decides dynamically when and how much to think. Combine with the `effort` parameter for cost-quality control.
280
286
 
281
- Derived from `anthropic-sdk-go/message.go` (`ThinkingConfigParamUnion`, `NewThinkingConfigAdaptiveParam`).
287
+ Derived from `anthropic-sdk-go/message.go` (`ThinkingConfigParamUnion`, `ThinkingConfigAdaptiveParam`).
282
288
 
283
289
  ```go
284
290
  // There is no ThinkingConfigParamOfAdaptive helper — construct the union
285
291
  // struct-literal directly and take the address of the variant.
286
- adaptive := anthropic.NewThinkingConfigAdaptiveParam()
292
+ adaptive := anthropic.ThinkingConfigAdaptiveParam{}
287
293
  params := anthropic.MessageNewParams{
288
294
  Model: anthropic.ModelClaudeSonnet4_6,
289
295
  MaxTokens: 16000,
@@ -345,7 +351,20 @@ Tools: []anthropic.ToolUnionParam{
345
351
  },
346
352
  ```
347
353
 
348
- Also available: `WebFetchTool20260209Param`, `MemoryTool20250818Param`, `ToolSearchToolBm25_20251119Param`, `ToolSearchToolRegex20251119Param`.
354
+ Also available: `WebFetchTool20260209Param`, `MemoryTool20250818Param`, `ToolSearchToolBm25_20251119Param`, `ToolSearchToolRegex20251119Param`. For the advisor tool, use `BetaAdvisorTool20260301Param` in the beta namespace.
355
+
356
+ ---
357
+
358
+ ## Stop Details
359
+
360
+ When `StopReason` is `anthropic.StopReasonRefusal`, the response includes structured `StopDetails`:
361
+
362
+ ```go
363
+ if resp.StopReason == anthropic.StopReasonRefusal {
364
+ fmt.Println("Category:", resp.StopDetails.Category) // "cyber" | "bio" | ""
365
+ fmt.Println("Explanation:", resp.StopDetails.Explanation)
366
+ }
367
+ ```
349
368
 
350
369
  ---
351
370
 
@@ -10,14 +10,14 @@ Maven:
10
10
  <dependency>
11
11
  <groupId>com.anthropic</groupId>
12
12
  <artifactId>anthropic-java</artifactId>
13
- <version>2.17.0</version>
13
+ <version>2.34.0</version>
14
14
  </dependency>
15
15
  ```
16
16
 
17
17
  Gradle:
18
18
 
19
19
  ```groovy
20
- implementation("com.anthropic:anthropic-java:2.17.0")
20
+ implementation("com.anthropic:anthropic-java:2.34.0")
21
21
  ```
22
22
 
23
23
  ## Client Initialization
@@ -359,7 +359,7 @@ import com.anthropic.models.messages.CodeExecutionTool20260120;
359
359
  .addTool(CodeExecutionTool20260120.builder().build())
360
360
  ```
361
361
 
362
- Also available: `WebFetchTool20260209`, `MemoryTool20250818`, `ToolSearchToolBm25_20251119`.
362
+ Also available: `WebFetchTool20260209`, `MemoryTool20250818`, `ToolSearchToolBm25_20251119`. For the advisor tool, use `BetaAdvisorTool20260301` in the beta namespace.
363
363
 
364
364
  ### Beta namespace (MCP, compaction)
365
365
 
@@ -408,6 +408,35 @@ for (ContentBlock block : response.content()) {
408
408
 
409
409
  ---
410
410
 
411
+ ## Stop Details
412
+
413
+ When `stopReason()` is `"refusal"`, the response includes structured `stopDetails()`:
414
+
415
+ ```java
416
+ response.stopDetails().ifPresent(details -> {
417
+ System.out.println("Category: " + details.category());
418
+ System.out.println("Explanation: " + details.explanation());
419
+ });
420
+ ```
421
+
422
+ ---
423
+
424
+ ## Error Type
425
+
426
+ `AnthropicServiceException` exposes `.errorType()` returning `Optional<ErrorType>` for programmatic error classification:
427
+
428
+ ```java
429
+ try {
430
+ client.messages().create(params);
431
+ } catch (AnthropicServiceException e) {
432
+ e.errorType().ifPresent(type ->
433
+ System.out.println("Error type: " + type) // RATE_LIMIT_ERROR, OVERLOADED_ERROR, etc.
434
+ );
435
+ }
436
+ ```
437
+
438
+ ---
439
+
411
440
  ## Files API (Beta)
412
441
 
413
442
  Under `client.beta().files()`. File references in messages need the beta message types (non-beta `DocumentBlockParam.Source` has no file-ID variant).
@@ -373,3 +373,30 @@ $response = $client->beta->messages->create(
373
373
  ```
374
374
 
375
375
  **Server-side tools** (bash, web_search, text_editor, code_execution) are GA and work on both paths — `Anthropic\Messages\ToolBash20250124` / `WebSearchTool20260209` / `ToolTextEditor20250728` / `CodeExecutionTool20260120` for non-beta, `Anthropic\Beta\Messages\BetaToolBash20250124` / `BetaWebSearchTool20260209` / `BetaToolTextEditor20250728` / `BetaCodeExecutionTool20260120` for beta. No `betas:` header needed for these.
376
+
377
+ ---
378
+
379
+ ## Stop Details
380
+
381
+ When `stopReason` is `'refusal'`, the response includes structured `stopDetails`:
382
+
383
+ ```php
384
+ if ($message->stopReason === 'refusal' && $message->stopDetails !== null) {
385
+ echo "Category: " . $message->stopDetails->category . "\n"; // "cyber" | "bio" | null
386
+ echo "Explanation: " . $message->stopDetails->explanation . "\n";
387
+ }
388
+ ```
389
+
390
+ ---
391
+
392
+ ## Error Type
393
+
394
+ `APIStatusException` exposes a `->type` property for programmatic error classification:
395
+
396
+ ```php
397
+ try {
398
+ $client->messages->create(...);
399
+ } catch (\Anthropic\Core\Exceptions\APIStatusException $e) {
400
+ echo $e->type?->value; // "rate_limit_error", "overloaded_error", etc.
401
+ }
402
+ ```