claudecode-omc 5.2.0 → 5.4.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 (383) hide show
  1. package/bundled/manifest.json +2 -1
  2. package/bundled/upstream/anthropic-skills/skills/algorithmic-art/LICENSE.txt +202 -0
  3. package/bundled/upstream/anthropic-skills/skills/algorithmic-art/SKILL.md +405 -0
  4. package/bundled/upstream/anthropic-skills/skills/algorithmic-art/templates/generator_template.js +223 -0
  5. package/bundled/upstream/anthropic-skills/skills/algorithmic-art/templates/viewer.html +599 -0
  6. package/bundled/upstream/anthropic-skills/skills/brand-guidelines/LICENSE.txt +202 -0
  7. package/bundled/upstream/anthropic-skills/skills/brand-guidelines/SKILL.md +73 -0
  8. package/bundled/upstream/anthropic-skills/skills/canvas-design/LICENSE.txt +202 -0
  9. package/bundled/upstream/anthropic-skills/skills/canvas-design/SKILL.md +130 -0
  10. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
  11. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  12. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  13. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
  14. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  15. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
  16. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  17. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  18. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
  19. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  20. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  21. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  22. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
  23. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  24. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
  25. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  26. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
  27. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  28. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  29. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
  30. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  31. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
  32. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  33. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  34. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
  35. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  36. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  37. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  38. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  39. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  40. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  41. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  42. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  43. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
  44. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  45. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  46. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  47. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
  48. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  49. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  50. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
  51. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  52. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  53. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  54. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
  55. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
  56. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  57. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  58. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  59. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  60. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
  61. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  62. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  63. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
  64. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  65. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
  66. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  67. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  68. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
  69. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  70. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  71. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
  72. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
  73. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  74. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  75. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
  76. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  77. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
  78. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  79. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  80. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
  81. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  82. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
  83. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  84. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  85. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  86. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  87. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
  88. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  89. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
  90. package/bundled/upstream/anthropic-skills/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  91. package/bundled/upstream/anthropic-skills/skills/claude-api/LICENSE.txt +202 -0
  92. package/bundled/upstream/anthropic-skills/skills/claude-api/SKILL.md +262 -0
  93. package/bundled/upstream/anthropic-skills/skills/claude-api/csharp/claude-api.md +402 -0
  94. package/bundled/upstream/anthropic-skills/skills/claude-api/curl/examples.md +216 -0
  95. package/bundled/upstream/anthropic-skills/skills/claude-api/go/claude-api.md +421 -0
  96. package/bundled/upstream/anthropic-skills/skills/claude-api/java/claude-api.md +432 -0
  97. package/bundled/upstream/anthropic-skills/skills/claude-api/php/claude-api.md +375 -0
  98. package/bundled/upstream/anthropic-skills/skills/claude-api/python/agent-sdk/README.md +355 -0
  99. package/bundled/upstream/anthropic-skills/skills/claude-api/python/agent-sdk/patterns.md +359 -0
  100. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/README.md +420 -0
  101. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/batches.md +185 -0
  102. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/files-api.md +165 -0
  103. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/streaming.md +162 -0
  104. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/tool-use.md +590 -0
  105. package/bundled/upstream/anthropic-skills/skills/claude-api/ruby/claude-api.md +113 -0
  106. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/error-codes.md +206 -0
  107. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/live-sources.md +121 -0
  108. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/models.md +119 -0
  109. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/prompt-caching.md +128 -0
  110. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/tool-use-concepts.md +305 -0
  111. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/agent-sdk/README.md +297 -0
  112. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/agent-sdk/patterns.md +209 -0
  113. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/README.md +333 -0
  114. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/batches.md +106 -0
  115. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/files-api.md +98 -0
  116. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/streaming.md +178 -0
  117. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/tool-use.md +527 -0
  118. package/bundled/upstream/anthropic-skills/skills/doc-coauthoring/SKILL.md +375 -0
  119. package/bundled/upstream/anthropic-skills/skills/docx/LICENSE.txt +30 -0
  120. package/bundled/upstream/anthropic-skills/skills/docx/SKILL.md +590 -0
  121. package/bundled/upstream/anthropic-skills/skills/docx/scripts/__init__.py +1 -0
  122. package/bundled/upstream/anthropic-skills/skills/docx/scripts/accept_changes.py +135 -0
  123. package/bundled/upstream/anthropic-skills/skills/docx/scripts/comment.py +318 -0
  124. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/helpers/__init__.py +0 -0
  125. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/helpers/merge_runs.py +199 -0
  126. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/helpers/simplify_redlines.py +197 -0
  127. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/pack.py +159 -0
  128. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  129. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  130. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  131. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  132. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  133. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  134. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  135. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  136. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  137. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  138. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  139. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  140. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  141. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  142. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  143. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  144. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  145. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  146. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  147. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  148. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  149. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  150. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  151. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  152. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  153. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  154. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  155. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  156. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  157. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  158. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  159. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/mce/mc.xsd +75 -0
  160. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  161. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  162. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  163. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  164. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  165. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  166. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  167. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/soffice.py +183 -0
  168. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/unpack.py +132 -0
  169. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/validate.py +111 -0
  170. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/validators/__init__.py +15 -0
  171. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/validators/base.py +847 -0
  172. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/validators/docx.py +446 -0
  173. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/validators/pptx.py +275 -0
  174. package/bundled/upstream/anthropic-skills/skills/docx/scripts/office/validators/redlining.py +247 -0
  175. package/bundled/upstream/anthropic-skills/skills/docx/scripts/templates/comments.xml +3 -0
  176. package/bundled/upstream/anthropic-skills/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  177. package/bundled/upstream/anthropic-skills/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  178. package/bundled/upstream/anthropic-skills/skills/docx/scripts/templates/commentsIds.xml +3 -0
  179. package/bundled/upstream/anthropic-skills/skills/docx/scripts/templates/people.xml +3 -0
  180. package/bundled/upstream/anthropic-skills/skills/frontend-design/LICENSE.txt +177 -0
  181. package/bundled/upstream/anthropic-skills/skills/frontend-design/SKILL.md +42 -0
  182. package/bundled/upstream/anthropic-skills/skills/internal-comms/LICENSE.txt +202 -0
  183. package/bundled/upstream/anthropic-skills/skills/internal-comms/SKILL.md +32 -0
  184. package/bundled/upstream/anthropic-skills/skills/internal-comms/examples/3p-updates.md +47 -0
  185. package/bundled/upstream/anthropic-skills/skills/internal-comms/examples/company-newsletter.md +65 -0
  186. package/bundled/upstream/anthropic-skills/skills/internal-comms/examples/faq-answers.md +30 -0
  187. package/bundled/upstream/anthropic-skills/skills/internal-comms/examples/general-comms.md +16 -0
  188. package/bundled/upstream/anthropic-skills/skills/mcp-builder/LICENSE.txt +202 -0
  189. package/bundled/upstream/anthropic-skills/skills/mcp-builder/SKILL.md +236 -0
  190. package/bundled/upstream/anthropic-skills/skills/mcp-builder/reference/evaluation.md +602 -0
  191. package/bundled/upstream/anthropic-skills/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
  192. package/bundled/upstream/anthropic-skills/skills/mcp-builder/reference/node_mcp_server.md +970 -0
  193. package/bundled/upstream/anthropic-skills/skills/mcp-builder/reference/python_mcp_server.md +719 -0
  194. package/bundled/upstream/anthropic-skills/skills/mcp-builder/scripts/connections.py +151 -0
  195. package/bundled/upstream/anthropic-skills/skills/mcp-builder/scripts/evaluation.py +373 -0
  196. package/bundled/upstream/anthropic-skills/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  197. package/bundled/upstream/anthropic-skills/skills/mcp-builder/scripts/requirements.txt +2 -0
  198. package/bundled/upstream/anthropic-skills/skills/pdf/LICENSE.txt +30 -0
  199. package/bundled/upstream/anthropic-skills/skills/pdf/SKILL.md +314 -0
  200. package/bundled/upstream/anthropic-skills/skills/pdf/forms.md +294 -0
  201. package/bundled/upstream/anthropic-skills/skills/pdf/reference.md +612 -0
  202. package/bundled/upstream/anthropic-skills/skills/pdf/scripts/check_bounding_boxes.py +65 -0
  203. package/bundled/upstream/anthropic-skills/skills/pdf/scripts/check_fillable_fields.py +11 -0
  204. package/bundled/upstream/anthropic-skills/skills/pdf/scripts/convert_pdf_to_images.py +33 -0
  205. package/bundled/upstream/anthropic-skills/skills/pdf/scripts/create_validation_image.py +37 -0
  206. package/bundled/upstream/anthropic-skills/skills/pdf/scripts/extract_form_field_info.py +122 -0
  207. package/bundled/upstream/anthropic-skills/skills/pdf/scripts/extract_form_structure.py +115 -0
  208. package/bundled/upstream/anthropic-skills/skills/pdf/scripts/fill_fillable_fields.py +98 -0
  209. package/bundled/upstream/anthropic-skills/skills/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
  210. package/bundled/upstream/anthropic-skills/skills/pptx/LICENSE.txt +30 -0
  211. package/bundled/upstream/anthropic-skills/skills/pptx/SKILL.md +232 -0
  212. package/bundled/upstream/anthropic-skills/skills/pptx/editing.md +205 -0
  213. package/bundled/upstream/anthropic-skills/skills/pptx/pptxgenjs.md +420 -0
  214. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/__init__.py +0 -0
  215. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/add_slide.py +195 -0
  216. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/clean.py +286 -0
  217. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/helpers/__init__.py +0 -0
  218. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/helpers/merge_runs.py +199 -0
  219. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
  220. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/pack.py +159 -0
  221. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  222. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  223. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  224. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  225. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  226. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  227. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  228. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  229. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  230. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  231. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  232. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  233. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  234. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  235. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  236. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  237. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  238. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  239. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  240. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  241. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  242. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  243. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  244. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  245. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  246. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  247. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  248. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  249. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  250. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  251. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  252. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
  253. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  254. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  255. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  256. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  257. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  258. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  259. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  260. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/soffice.py +183 -0
  261. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/unpack.py +132 -0
  262. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/validate.py +111 -0
  263. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/validators/__init__.py +15 -0
  264. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/validators/base.py +847 -0
  265. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/validators/docx.py +446 -0
  266. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/validators/pptx.py +275 -0
  267. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/office/validators/redlining.py +247 -0
  268. package/bundled/upstream/anthropic-skills/skills/pptx/scripts/thumbnail.py +289 -0
  269. package/bundled/upstream/anthropic-skills/skills/skill-creator/LICENSE.txt +202 -0
  270. package/bundled/upstream/anthropic-skills/skills/skill-creator/SKILL.md +485 -0
  271. package/bundled/upstream/anthropic-skills/skills/skill-creator/agents/analyzer.md +274 -0
  272. package/bundled/upstream/anthropic-skills/skills/skill-creator/agents/comparator.md +202 -0
  273. package/bundled/upstream/anthropic-skills/skills/skill-creator/agents/grader.md +223 -0
  274. package/bundled/upstream/anthropic-skills/skills/skill-creator/assets/eval_review.html +146 -0
  275. package/bundled/upstream/anthropic-skills/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  276. package/bundled/upstream/anthropic-skills/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  277. package/bundled/upstream/anthropic-skills/skills/skill-creator/references/schemas.md +430 -0
  278. package/bundled/upstream/anthropic-skills/skills/skill-creator/scripts/__init__.py +0 -0
  279. package/bundled/upstream/anthropic-skills/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  280. package/bundled/upstream/anthropic-skills/skills/skill-creator/scripts/generate_report.py +326 -0
  281. package/bundled/upstream/anthropic-skills/skills/skill-creator/scripts/improve_description.py +247 -0
  282. package/bundled/upstream/anthropic-skills/skills/skill-creator/scripts/package_skill.py +136 -0
  283. package/bundled/upstream/anthropic-skills/skills/skill-creator/scripts/quick_validate.py +103 -0
  284. package/bundled/upstream/anthropic-skills/skills/skill-creator/scripts/run_eval.py +310 -0
  285. package/bundled/upstream/anthropic-skills/skills/skill-creator/scripts/run_loop.py +328 -0
  286. package/bundled/upstream/anthropic-skills/skills/skill-creator/scripts/utils.py +47 -0
  287. package/bundled/upstream/anthropic-skills/skills/slack-gif-creator/LICENSE.txt +202 -0
  288. package/bundled/upstream/anthropic-skills/skills/slack-gif-creator/SKILL.md +254 -0
  289. package/bundled/upstream/anthropic-skills/skills/slack-gif-creator/core/easing.py +234 -0
  290. package/bundled/upstream/anthropic-skills/skills/slack-gif-creator/core/frame_composer.py +176 -0
  291. package/bundled/upstream/anthropic-skills/skills/slack-gif-creator/core/gif_builder.py +269 -0
  292. package/bundled/upstream/anthropic-skills/skills/slack-gif-creator/core/validators.py +136 -0
  293. package/bundled/upstream/anthropic-skills/skills/slack-gif-creator/requirements.txt +4 -0
  294. package/bundled/upstream/anthropic-skills/skills/theme-factory/LICENSE.txt +202 -0
  295. package/bundled/upstream/anthropic-skills/skills/theme-factory/SKILL.md +59 -0
  296. package/bundled/upstream/anthropic-skills/skills/theme-factory/theme-showcase.pdf +0 -0
  297. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/arctic-frost.md +19 -0
  298. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/botanical-garden.md +19 -0
  299. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/desert-rose.md +19 -0
  300. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/forest-canopy.md +19 -0
  301. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/golden-hour.md +19 -0
  302. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/midnight-galaxy.md +19 -0
  303. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/modern-minimalist.md +19 -0
  304. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/ocean-depths.md +19 -0
  305. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/sunset-boulevard.md +19 -0
  306. package/bundled/upstream/anthropic-skills/skills/theme-factory/themes/tech-innovation.md +19 -0
  307. package/bundled/upstream/anthropic-skills/skills/web-artifacts-builder/LICENSE.txt +202 -0
  308. package/bundled/upstream/anthropic-skills/skills/web-artifacts-builder/SKILL.md +74 -0
  309. package/bundled/upstream/anthropic-skills/skills/web-artifacts-builder/scripts/bundle-artifact.sh +54 -0
  310. package/bundled/upstream/anthropic-skills/skills/web-artifacts-builder/scripts/init-artifact.sh +322 -0
  311. package/bundled/upstream/anthropic-skills/skills/web-artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  312. package/bundled/upstream/anthropic-skills/skills/webapp-testing/LICENSE.txt +202 -0
  313. package/bundled/upstream/anthropic-skills/skills/webapp-testing/SKILL.md +96 -0
  314. package/bundled/upstream/anthropic-skills/skills/webapp-testing/examples/console_logging.py +35 -0
  315. package/bundled/upstream/anthropic-skills/skills/webapp-testing/examples/element_discovery.py +40 -0
  316. package/bundled/upstream/anthropic-skills/skills/webapp-testing/examples/static_html_automation.py +33 -0
  317. package/bundled/upstream/anthropic-skills/skills/webapp-testing/scripts/with_server.py +106 -0
  318. package/bundled/upstream/anthropic-skills/skills/xlsx/LICENSE.txt +30 -0
  319. package/bundled/upstream/anthropic-skills/skills/xlsx/SKILL.md +292 -0
  320. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/helpers/__init__.py +0 -0
  321. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/helpers/merge_runs.py +199 -0
  322. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
  323. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/pack.py +159 -0
  324. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  325. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  326. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  327. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  328. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  329. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  330. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  331. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  332. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  333. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  334. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  335. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  336. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  337. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  338. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  339. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  340. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  341. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  342. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  343. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  344. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  345. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  346. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  347. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  348. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  349. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  350. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  351. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  352. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  353. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  354. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  355. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
  356. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  357. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  358. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  359. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  360. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  361. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  362. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  363. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/soffice.py +183 -0
  364. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/unpack.py +132 -0
  365. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/validate.py +111 -0
  366. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/validators/__init__.py +15 -0
  367. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/validators/base.py +847 -0
  368. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/validators/docx.py +446 -0
  369. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/validators/pptx.py +275 -0
  370. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/office/validators/redlining.py +247 -0
  371. package/bundled/upstream/anthropic-skills/skills/xlsx/scripts/recalc.py +184 -0
  372. package/bundled/upstream/anthropic-skills/spec/agent-skills-spec.md +3 -0
  373. package/bundled/upstream/anthropic-skills/template/SKILL.md +6 -0
  374. package/package.json +1 -1
  375. package/src/cli/artifact.js +18 -3
  376. package/src/cli/index.js +6 -0
  377. package/src/cli/setup.js +16 -1
  378. package/src/cli/skill.js +271 -0
  379. package/src/config/sources.js +12 -0
  380. package/src/merge/base-merger.js +28 -6
  381. package/src/utils/overlap.js +300 -0
  382. package/src/utils/quality.js +286 -32
  383. package/templates/merge-config.json +12 -1
@@ -0,0 +1,206 @@
1
+ # HTTP Error Codes Reference
2
+
3
+ This file documents HTTP error codes returned by the Claude API, their common causes, and how to handle them. For language-specific error handling examples, see the `python/` or `typescript/` folders.
4
+
5
+ ## Error Code Summary
6
+
7
+ | Code | Error Type | Retryable | Common Cause |
8
+ | ---- | ----------------------- | --------- | ------------------------------------ |
9
+ | 400 | `invalid_request_error` | No | Invalid request format or parameters |
10
+ | 401 | `authentication_error` | No | Invalid or missing API key |
11
+ | 403 | `permission_error` | No | API key lacks permission |
12
+ | 404 | `not_found_error` | No | Invalid endpoint or model ID |
13
+ | 413 | `request_too_large` | No | Request exceeds size limits |
14
+ | 429 | `rate_limit_error` | Yes | Too many requests |
15
+ | 500 | `api_error` | Yes | Anthropic service issue |
16
+ | 529 | `overloaded_error` | Yes | API is temporarily overloaded |
17
+
18
+ ## Detailed Error Information
19
+
20
+ ### 400 Bad Request
21
+
22
+ **Causes:**
23
+
24
+ - Malformed JSON in request body
25
+ - Missing required parameters (`model`, `max_tokens`, `messages`)
26
+ - Invalid parameter types (e.g., string where integer expected)
27
+ - Empty messages array
28
+ - Messages not alternating user/assistant
29
+
30
+ **Example error:**
31
+
32
+ ```json
33
+ {
34
+ "type": "error",
35
+ "error": {
36
+ "type": "invalid_request_error",
37
+ "message": "messages: roles must alternate between \"user\" and \"assistant\""
38
+ },
39
+ "request_id": "req_011CSHoEeqs5C35K2UUqR7Fy"
40
+ }
41
+ ```
42
+
43
+ **Fix:** Validate request structure before sending. Check that:
44
+
45
+ - `model` is a valid model ID
46
+ - `max_tokens` is a positive integer
47
+ - `messages` array is non-empty and alternates correctly
48
+
49
+ ---
50
+
51
+ ### 401 Unauthorized
52
+
53
+ **Causes:**
54
+
55
+ - Missing `x-api-key` header or `Authorization` header
56
+ - Invalid API key format
57
+ - Revoked or deleted API key
58
+
59
+ **Fix:** Ensure `ANTHROPIC_API_KEY` environment variable is set correctly.
60
+
61
+ ---
62
+
63
+ ### 403 Forbidden
64
+
65
+ **Causes:**
66
+
67
+ - API key doesn't have access to the requested model
68
+ - Organization-level restrictions
69
+ - Attempting to access beta features without beta access
70
+
71
+ **Fix:** Check your API key permissions in the Console. You may need a different API key or to request access to specific features.
72
+
73
+ ---
74
+
75
+ ### 404 Not Found
76
+
77
+ **Causes:**
78
+
79
+ - Typo in model ID (e.g., `claude-sonnet-4.6` instead of `claude-sonnet-4-6`)
80
+ - Using deprecated model ID
81
+ - Invalid API endpoint
82
+
83
+ **Fix:** Use exact model IDs from the models documentation. You can use aliases (e.g., `claude-opus-4-6`).
84
+
85
+ ---
86
+
87
+ ### 413 Request Too Large
88
+
89
+ **Causes:**
90
+
91
+ - Request body exceeds maximum size
92
+ - Too many tokens in input
93
+ - Image data too large
94
+
95
+ **Fix:** Reduce input size — truncate conversation history, compress/resize images, or split large documents into chunks.
96
+
97
+ ---
98
+
99
+ ### 400 Validation Errors
100
+
101
+ Some 400 errors are specifically related to parameter validation:
102
+
103
+ - `max_tokens` exceeds model's limit
104
+ - Invalid `temperature` value (must be 0.0-1.0)
105
+ - `budget_tokens` >= `max_tokens` in extended thinking
106
+ - Invalid tool definition schema
107
+
108
+ **Common mistake with extended thinking:**
109
+
110
+ ```
111
+ # Wrong: budget_tokens must be < max_tokens
112
+ thinking: budget_tokens=10000, max_tokens=1000 → Error!
113
+
114
+ # Correct
115
+ thinking: budget_tokens=10000, max_tokens=16000
116
+ ```
117
+
118
+ ---
119
+
120
+ ### 429 Rate Limited
121
+
122
+ **Causes:**
123
+
124
+ - Exceeded requests per minute (RPM)
125
+ - Exceeded tokens per minute (TPM)
126
+ - Exceeded tokens per day (TPD)
127
+
128
+ **Headers to check:**
129
+
130
+ - `retry-after`: Seconds to wait before retrying
131
+ - `x-ratelimit-limit-*`: Your limits
132
+ - `x-ratelimit-remaining-*`: Remaining quota
133
+
134
+ **Fix:** The Anthropic SDKs automatically retry 429 and 5xx errors with exponential backoff (default: `max_retries=2`). For custom retry behavior, see the language-specific error handling examples.
135
+
136
+ ---
137
+
138
+ ### 500 Internal Server Error
139
+
140
+ **Causes:**
141
+
142
+ - Temporary Anthropic service issue
143
+ - Bug in API processing
144
+
145
+ **Fix:** Retry with exponential backoff. If persistent, check [status.anthropic.com](https://status.anthropic.com).
146
+
147
+ ---
148
+
149
+ ### 529 Overloaded
150
+
151
+ **Causes:**
152
+
153
+ - High API demand
154
+ - Service capacity reached
155
+
156
+ **Fix:** Retry with exponential backoff. Consider using a different model (Haiku is often less loaded), spreading requests over time, or implementing request queuing.
157
+
158
+ ---
159
+
160
+ ## Common Mistakes and Fixes
161
+
162
+ | Mistake | Error | Fix |
163
+ | ------------------------------- | ---------------- | ------------------------------------------------------- |
164
+ | `budget_tokens` >= `max_tokens` | 400 | Ensure `budget_tokens` < `max_tokens` |
165
+ | Typo in model ID | 404 | Use valid model ID like `claude-opus-4-6` |
166
+ | First message is `assistant` | 400 | First message must be `user` |
167
+ | Consecutive same-role messages | 400 | Alternate `user` and `assistant` |
168
+ | API key in code | 401 (leaked key) | Use environment variable |
169
+ | Custom retry needs | 429/5xx | SDK retries automatically; customize with `max_retries` |
170
+
171
+ ## Typed Exceptions in SDKs
172
+
173
+ **Always use the SDK's typed exception classes** instead of checking error messages with string matching. Each HTTP error code maps to a specific exception class:
174
+
175
+ | HTTP Code | TypeScript Class | Python Class |
176
+ | --------- | --------------------------------- | --------------------------------- |
177
+ | 400 | `Anthropic.BadRequestError` | `anthropic.BadRequestError` |
178
+ | 401 | `Anthropic.AuthenticationError` | `anthropic.AuthenticationError` |
179
+ | 403 | `Anthropic.PermissionDeniedError` | `anthropic.PermissionDeniedError` |
180
+ | 404 | `Anthropic.NotFoundError` | `anthropic.NotFoundError` |
181
+ | 429 | `Anthropic.RateLimitError` | `anthropic.RateLimitError` |
182
+ | 500+ | `Anthropic.InternalServerError` | `anthropic.InternalServerError` |
183
+ | Any | `Anthropic.APIError` | `anthropic.APIError` |
184
+
185
+ ```typescript
186
+ // ✅ Correct: use typed exceptions
187
+ try {
188
+ const response = await client.messages.create({...});
189
+ } catch (error) {
190
+ if (error instanceof Anthropic.RateLimitError) {
191
+ // Handle rate limiting
192
+ } else if (error instanceof Anthropic.APIError) {
193
+ console.error(`API error ${error.status}:`, error.message);
194
+ }
195
+ }
196
+
197
+ // ❌ Wrong: don't check error messages with string matching
198
+ try {
199
+ const response = await client.messages.create({...});
200
+ } catch (error) {
201
+ const msg = error instanceof Error ? error.message : String(error);
202
+ if (msg.includes("429") || msg.includes("rate_limit")) { ... }
203
+ }
204
+ ```
205
+
206
+ All exception classes extend `Anthropic.APIError`, which has a `status` property. Use `instanceof` checks from most specific to least specific (e.g., check `RateLimitError` before `APIError`).
@@ -0,0 +1,121 @@
1
+ # Live Documentation Sources
2
+
3
+ This file contains WebFetch URLs for fetching current information from platform.claude.com and Agent SDK repositories. Use these when users need the latest data that may have changed since the cached content was last updated.
4
+
5
+ ## When to Use WebFetch
6
+
7
+ - User explicitly asks for "latest" or "current" information
8
+ - Cached data seems incorrect
9
+ - User asks about features not covered in cached content
10
+ - User needs specific API details or examples
11
+
12
+ ## Claude API Documentation URLs
13
+
14
+ ### Models & Pricing
15
+
16
+ | Topic | URL | Extraction Prompt |
17
+ | --------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
18
+ | Models Overview | `https://platform.claude.com/docs/en/about-claude/models/overview.md` | "Extract current model IDs, context windows, and pricing for all Claude models" |
19
+ | Pricing | `https://platform.claude.com/docs/en/pricing.md` | "Extract current pricing per million tokens for input and output" |
20
+
21
+ ### Core Features
22
+
23
+ | Topic | URL | Extraction Prompt |
24
+ | ----------------- | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
25
+ | Extended Thinking | `https://platform.claude.com/docs/en/build-with-claude/extended-thinking.md` | "Extract extended thinking parameters, budget_tokens requirements, and usage examples" |
26
+ | Adaptive Thinking | `https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking.md` | "Extract adaptive thinking setup, effort levels, and Claude Opus 4.6 usage examples" |
27
+ | Effort Parameter | `https://platform.claude.com/docs/en/build-with-claude/effort.md` | "Extract effort levels, cost-quality tradeoffs, and interaction with thinking" |
28
+ | Tool Use | `https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview.md` | "Extract tool definition schema, tool_choice options, and handling tool results" |
29
+ | Streaming | `https://platform.claude.com/docs/en/build-with-claude/streaming.md` | "Extract streaming event types, SDK examples, and best practices" |
30
+ | Prompt Caching | `https://platform.claude.com/docs/en/build-with-claude/prompt-caching.md` | "Extract cache_control usage, pricing benefits, and implementation examples" |
31
+
32
+ ### Media & Files
33
+
34
+ | Topic | URL | Extraction Prompt |
35
+ | ----------- | ---------------------------------------------------------------------- | ----------------------------------------------------------------- |
36
+ | Vision | `https://platform.claude.com/docs/en/build-with-claude/vision.md` | "Extract supported image formats, size limits, and code examples" |
37
+ | PDF Support | `https://platform.claude.com/docs/en/build-with-claude/pdf-support.md` | "Extract PDF handling capabilities, limits, and examples" |
38
+
39
+ ### API Operations
40
+
41
+ | Topic | URL | Extraction Prompt |
42
+ | ---------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
43
+ | Batch Processing | `https://platform.claude.com/docs/en/build-with-claude/batch-processing.md` | "Extract batch API endpoints, request format, and polling for results" |
44
+ | Files API | `https://platform.claude.com/docs/en/build-with-claude/files.md` | "Extract file upload, download, and referencing in messages, including supported types and beta header" |
45
+ | Token Counting | `https://platform.claude.com/docs/en/build-with-claude/token-counting.md` | "Extract token counting API usage and examples" |
46
+ | Rate Limits | `https://platform.claude.com/docs/en/api/rate-limits.md` | "Extract current rate limits by tier and model" |
47
+ | Errors | `https://platform.claude.com/docs/en/api/errors.md` | "Extract HTTP error codes, meanings, and retry guidance" |
48
+
49
+ ### Tools
50
+
51
+ | Topic | URL | Extraction Prompt |
52
+ | -------------- | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
53
+ | Code Execution | `https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool.md` | "Extract code execution tool setup, file upload, container reuse, and response handling" |
54
+ | Computer Use | `https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use.md` | "Extract computer use tool setup, capabilities, and implementation examples" |
55
+
56
+ ### Advanced Features
57
+
58
+ | Topic | URL | Extraction Prompt |
59
+ | ------------------ | ----------------------------------------------------------------------------- | --------------------------------------------------- |
60
+ | Structured Outputs | `https://platform.claude.com/docs/en/build-with-claude/structured-outputs.md` | "Extract output_config.format usage and schema enforcement" |
61
+ | Compaction | `https://platform.claude.com/docs/en/build-with-claude/compaction.md` | "Extract compaction setup, trigger config, and streaming with compaction" |
62
+ | Citations | `https://platform.claude.com/docs/en/build-with-claude/citations.md` | "Extract citation format and implementation" |
63
+ | Context Windows | `https://platform.claude.com/docs/en/build-with-claude/context-windows.md` | "Extract context window sizes and token management" |
64
+
65
+ ---
66
+
67
+ ## Claude API SDK Repositories
68
+
69
+ | SDK | URL | Description |
70
+ | ---------- | --------------------------------------------------------- | ------------------------------ |
71
+ | Python | `https://github.com/anthropics/anthropic-sdk-python` | `anthropic` pip package source |
72
+ | TypeScript | `https://github.com/anthropics/anthropic-sdk-typescript` | `@anthropic-ai/sdk` npm source |
73
+ | Java | `https://github.com/anthropics/anthropic-sdk-java` | `anthropic-java` Maven source |
74
+ | Go | `https://github.com/anthropics/anthropic-sdk-go` | Go module source |
75
+ | Ruby | `https://github.com/anthropics/anthropic-sdk-ruby` | `anthropic` gem source |
76
+ | C# | `https://github.com/anthropics/anthropic-sdk-csharp` | NuGet package source |
77
+ | PHP | `https://github.com/anthropics/anthropic-sdk-php` | Composer package source |
78
+
79
+ ---
80
+
81
+ ## Agent SDK Documentation URLs
82
+
83
+ ### Core Documentation
84
+
85
+ | Topic | URL | Extraction Prompt |
86
+ | -------------------- | ----------------------------------------------------------- | --------------------------------------------------------------- |
87
+ | Agent SDK Overview | `https://platform.claude.com/docs/en/agent-sdk.md` | "Extract the Agent SDK overview, key features, and use cases" |
88
+ | Agent SDK Python | `https://github.com/anthropics/claude-agent-sdk-python` | "Extract Python SDK installation, imports, and basic usage" |
89
+ | Agent SDK TypeScript | `https://github.com/anthropics/claude-agent-sdk-typescript` | "Extract TypeScript SDK installation, imports, and basic usage" |
90
+
91
+ ### SDK Reference (GitHub READMEs)
92
+
93
+ | Topic | URL | Extraction Prompt |
94
+ | -------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
95
+ | Python SDK | `https://raw.githubusercontent.com/anthropics/claude-agent-sdk-python/main/README.md` | "Extract Python SDK API reference, classes, and methods" |
96
+ | TypeScript SDK | `https://raw.githubusercontent.com/anthropics/claude-agent-sdk-typescript/main/README.md` | "Extract TypeScript SDK API reference, types, and functions" |
97
+
98
+ ### npm/PyPI Packages
99
+
100
+ | Package | URL | Description |
101
+ | ----------------------------------- | -------------------------------------------------------------- | ------------------------- |
102
+ | claude-agent-sdk (Python) | `https://pypi.org/project/claude-agent-sdk/` | Python package on PyPI |
103
+ | @anthropic-ai/claude-agent-sdk (TS) | `https://www.npmjs.com/package/@anthropic-ai/claude-agent-sdk` | TypeScript package on npm |
104
+
105
+ ### GitHub Repositories
106
+
107
+ | Resource | URL | Description |
108
+ | -------------- | ----------------------------------------------------------- | ----------------------------------- |
109
+ | Python SDK | `https://github.com/anthropics/claude-agent-sdk-python` | Python package source |
110
+ | TypeScript SDK | `https://github.com/anthropics/claude-agent-sdk-typescript` | TypeScript/Node.js package source |
111
+ | MCP Servers | `https://github.com/modelcontextprotocol` | Official MCP server implementations |
112
+
113
+ ---
114
+
115
+ ## Fallback Strategy
116
+
117
+ If WebFetch fails (network issues, URL changed):
118
+
119
+ 1. Use cached content from the language-specific files (note the cache date)
120
+ 2. Inform user the data may be outdated
121
+ 3. Suggest they check platform.claude.com or the GitHub repos directly
@@ -0,0 +1,119 @@
1
+ # Claude Model Catalog
2
+
3
+ **Only use exact model IDs listed in this file.** Never guess or construct model IDs — incorrect IDs will cause API errors. Use aliases wherever available. For the latest information, WebFetch the Models Overview URL in `shared/live-sources.md`, or query the Models API directly (see Programmatic Model Discovery below).
4
+
5
+ ## Programmatic Model Discovery
6
+
7
+ For **live** capability data — context window, max output tokens, feature support (thinking, vision, effort, structured outputs, etc.) — query the Models API instead of relying on the cached tables below. Use this when the user asks "what's the context window for X", "does model X support vision/thinking/effort", "which models support feature Y", or wants to select a model by capability at runtime.
8
+
9
+ ```python
10
+ m = client.models.retrieve("claude-opus-4-6")
11
+ m.id # "claude-opus-4-6"
12
+ m.display_name # "Claude Opus 4.6"
13
+ m.max_input_tokens # context window (int)
14
+ m.max_tokens # max output tokens (int)
15
+
16
+ # capabilities is an untyped nested dict — bracket access, check ["supported"] at the leaf
17
+ caps = m.capabilities
18
+ caps["image_input"]["supported"] # vision
19
+ caps["thinking"]["types"]["adaptive"]["supported"] # adaptive thinking
20
+ caps["effort"]["max"]["supported"] # effort: max (also low/medium/high)
21
+ caps["structured_outputs"]["supported"]
22
+ caps["context_management"]["compact_20260112"]["supported"]
23
+
24
+ # filter across all models — iterate the page object directly (auto-paginates); do NOT use .data
25
+ [m for m in client.models.list()
26
+ if m.capabilities["thinking"]["types"]["adaptive"]["supported"]
27
+ and m.max_input_tokens >= 200_000]
28
+ ```
29
+
30
+ Top-level fields (`id`, `display_name`, `max_input_tokens`, `max_tokens`) are typed attributes. `capabilities` is a dict — use bracket access, not attribute access. The API returns the full capability tree for every model with `supported: true/false` at each leaf, so bracket chains are safe without `.get()` guards. TypeScript SDK: same method names, also auto-paginates on iteration.
31
+
32
+ ### Raw HTTP
33
+
34
+ ```bash
35
+ curl https://api.anthropic.com/v1/models/claude-opus-4-6 \
36
+ -H "x-api-key: $ANTHROPIC_API_KEY" \
37
+ -H "anthropic-version: 2023-06-01"
38
+ ```
39
+
40
+ ```json
41
+ {
42
+ "id": "claude-opus-4-6",
43
+ "display_name": "Claude Opus 4.6",
44
+ "max_input_tokens": 1000000,
45
+ "max_tokens": 128000,
46
+ "capabilities": {
47
+ "image_input": {"supported": true},
48
+ "structured_outputs": {"supported": true},
49
+ "thinking": {"supported": true, "types": {"enabled": {"supported": true}, "adaptive": {"supported": true}}},
50
+ "effort": {"supported": true, "low": {"supported": true}, …, "max": {"supported": true}},
51
+
52
+ }
53
+ }
54
+ ```
55
+
56
+ ## Current Models (recommended)
57
+
58
+ | Friendly Name | Alias (use this) | Full ID | Context | Max Output | Status |
59
+ |-------------------|---------------------|-------------------------------|----------------|------------|--------|
60
+ | Claude Opus 4.6 | `claude-opus-4-6` | — | 200K (1M beta) | 128K | Active |
61
+ | Claude Sonnet 4.6 | `claude-sonnet-4-6` | - | 200K (1M beta) | 64K | Active |
62
+ | Claude Haiku 4.5 | `claude-haiku-4-5` | `claude-haiku-4-5-20251001` | 200K | 64K | Active |
63
+
64
+ ### Model Descriptions
65
+
66
+ - **Claude Opus 4.6** — Our most intelligent model for building agents and coding. Supports adaptive thinking (recommended), 128K max output tokens (requires streaming for large outputs). 1M context window available in beta via `context-1m-2025-08-07` header.
67
+ - **Claude Sonnet 4.6** — Our best combination of speed and intelligence. Supports adaptive thinking (recommended). 1M context window available in beta via `context-1m-2025-08-07` header. 64K max output tokens.
68
+ - **Claude Haiku 4.5** — Fastest and most cost-effective model for simple tasks.
69
+
70
+ ## Legacy Models (still active)
71
+
72
+ | Friendly Name | Alias (use this) | Full ID | Status |
73
+ |-------------------|---------------------|-------------------------------|--------|
74
+ | Claude Opus 4.5 | `claude-opus-4-5` | `claude-opus-4-5-20251101` | Active |
75
+ | Claude Opus 4.1 | `claude-opus-4-1` | `claude-opus-4-1-20250805` | Active |
76
+ | Claude Sonnet 4.5 | `claude-sonnet-4-5` | `claude-sonnet-4-5-20250929` | Active |
77
+ | Claude Sonnet 4 | `claude-sonnet-4-0` | `claude-sonnet-4-20250514` | Active |
78
+ | Claude Opus 4 | `claude-opus-4-0` | `claude-opus-4-20250514` | Active |
79
+
80
+ ## Deprecated Models (retiring soon)
81
+
82
+ | Friendly Name | Alias (use this) | Full ID | Status | Retires |
83
+ |-------------------|---------------------|-------------------------------|------------|--------------|
84
+ | Claude Haiku 3 | — | `claude-3-haiku-20240307` | Deprecated | Apr 19, 2026 |
85
+
86
+ ## Retired Models (no longer available)
87
+
88
+ | Friendly Name | Full ID | Retired |
89
+ |-------------------|-------------------------------|-------------|
90
+ | Claude Sonnet 3.7 | `claude-3-7-sonnet-20250219` | Feb 19, 2026 |
91
+ | Claude Haiku 3.5 | `claude-3-5-haiku-20241022` | Feb 19, 2026 |
92
+ | Claude Opus 3 | `claude-3-opus-20240229` | Jan 5, 2026 |
93
+ | Claude Sonnet 3.5 | `claude-3-5-sonnet-20241022` | Oct 28, 2025 |
94
+ | Claude Sonnet 3.5 | `claude-3-5-sonnet-20240620` | Oct 28, 2025 |
95
+ | Claude Sonnet 3 | `claude-3-sonnet-20240229` | Jul 21, 2025 |
96
+ | Claude 2.1 | `claude-2.1` | Jul 21, 2025 |
97
+ | Claude 2.0 | `claude-2.0` | Jul 21, 2025 |
98
+
99
+ ## Resolving User Requests
100
+
101
+ When a user asks for a model by name, use this table to find the correct model ID:
102
+
103
+ | User says... | Use this model ID |
104
+ |-------------------------------------------|--------------------------------|
105
+ | "opus", "most powerful" | `claude-opus-4-6` |
106
+ | "opus 4.6" | `claude-opus-4-6` |
107
+ | "opus 4.5" | `claude-opus-4-5` |
108
+ | "opus 4.1" | `claude-opus-4-1` |
109
+ | "opus 4", "opus 4.0" | `claude-opus-4-0` |
110
+ | "sonnet", "balanced" | `claude-sonnet-4-6` |
111
+ | "sonnet 4.6" | `claude-sonnet-4-6` |
112
+ | "sonnet 4.5" | `claude-sonnet-4-5` |
113
+ | "sonnet 4", "sonnet 4.0" | `claude-sonnet-4-0` |
114
+ | "sonnet 3.7" | Retired — suggest `claude-sonnet-4-5` |
115
+ | "sonnet 3.5" | Retired — suggest `claude-sonnet-4-5` |
116
+ | "haiku", "fast", "cheap" | `claude-haiku-4-5` |
117
+ | "haiku 4.5" | `claude-haiku-4-5` |
118
+ | "haiku 3.5" | Retired — suggest `claude-haiku-4-5` |
119
+ | "haiku 3" | Deprecated — suggest `claude-haiku-4-5` |
@@ -0,0 +1,128 @@
1
+ # Prompt Caching — Design & Optimization
2
+
3
+ This file covers how to design prompt-building code for effective caching. For language-specific syntax, see the `## Prompt Caching` section in each language's README or single-file doc.
4
+
5
+ ## The one invariant everything follows from
6
+
7
+ **Prompt caching is a prefix match. Any change anywhere in the prefix invalidates everything after it.**
8
+
9
+ The cache key is derived from the exact bytes of the rendered prompt up to each `cache_control` breakpoint. A single byte difference at position N — a timestamp, a reordered JSON key, a different tool in the list — invalidates the cache for all breakpoints at positions ≥ N.
10
+
11
+ Render order is: `tools` → `system` → `messages`. A breakpoint on the last system block caches both tools and system together.
12
+
13
+ Design the prompt-building path around this constraint. Get the ordering right and most caching works for free. Get it wrong and no amount of `cache_control` markers will help.
14
+
15
+ ---
16
+
17
+ ## Workflow for optimizing existing code
18
+
19
+ When asked to add or optimize caching:
20
+
21
+ 1. **Trace the prompt assembly path.** Find where `system`, `tools`, and `messages` are constructed. Identify every input that flows into them.
22
+ 2. **Classify each input by stability:**
23
+ - Never changes → belongs early in the prompt, before any breakpoint
24
+ - Changes per-session → belongs after the global prefix, cache per-session
25
+ - Changes per-turn → belongs at the end, after the last breakpoint
26
+ - Changes per-request (timestamps, UUIDs, random IDs) → **eliminate or move to the very end**
27
+ 3. **Check rendered order matches stability order.** Stable content must physically precede volatile content. If a timestamp is interpolated into the system prompt header, everything after it is uncacheable regardless of markers.
28
+ 4. **Place breakpoints at stability boundaries.** See placement patterns below.
29
+ 5. **Audit for silent invalidators.** See anti-patterns table.
30
+
31
+ ---
32
+
33
+ ## Placement patterns
34
+
35
+ ### Large system prompt shared across many requests
36
+
37
+ Put a breakpoint on the last system text block. If there are tools, they render before system — the marker on the last system block caches tools + system together.
38
+
39
+ ```json
40
+ "system": [
41
+ {"type": "text", "text": "<large shared prompt>", "cache_control": {"type": "ephemeral"}}
42
+ ]
43
+ ```
44
+
45
+ ### Multi-turn conversations
46
+
47
+ Put a breakpoint on the last content block of the most-recently-appended turn. Each subsequent request reuses the entire prior conversation prefix. Earlier breakpoints remain valid read points, so hits accrue incrementally as the conversation grows.
48
+
49
+ ```json
50
+ // Last content block of the last user turn
51
+ messages[-1].content[-1].cache_control = {"type": "ephemeral"}
52
+ ```
53
+
54
+ ### Shared prefix, varying suffix
55
+
56
+ Many requests share a large fixed preamble (few-shot examples, retrieved docs, instructions) but differ in the final question. Put the breakpoint at the end of the **shared** portion, not at the end of the whole prompt — otherwise every request writes a distinct cache entry and nothing is ever read.
57
+
58
+ ```json
59
+ "messages": [{"role": "user", "content": [
60
+ {"type": "text", "text": "<shared context>", "cache_control": {"type": "ephemeral"}},
61
+ {"type": "text", "text": "<varying question>"} // no marker — differs every time
62
+ ]}]
63
+ ```
64
+
65
+ ### Prompts that change from the beginning every time
66
+
67
+ Don't cache. If the first 1K tokens differ per request, there is no reusable prefix. Adding `cache_control` only pays the cache-write premium with zero reads. Leave it off.
68
+
69
+ ---
70
+
71
+ ## Architectural guidance
72
+
73
+ These are the decisions that matter more than marker placement. Fix these first.
74
+
75
+ **Keep the system prompt frozen.** Don't interpolate "current date: X", "mode: Y", "user name: Z" into the system prompt — those sit at the front of the prefix and invalidate everything downstream. Inject dynamic context as a user or assistant message later in `messages`. A message at turn 5 invalidates nothing before turn 5.
76
+
77
+ **Don't change tools or model mid-conversation.** Tools render at position 0; adding, removing, or reordering a tool invalidates the entire cache. Same for switching models (caches are model-scoped). If you need "modes", don't swap the tool set — give Claude a tool that records the mode transition, or pass the mode as message content. Serialize tools deterministically (sort by name).
78
+
79
+ **Fork operations must reuse the parent's exact prefix.** Side computations (summarization, compaction, sub-agents) often spin up a separate API call. If the fork rebuilds `system` / `tools` / `model` with any difference, it misses the parent's cache entirely. Copy the parent's `system`, `tools`, and `model` verbatim, then append fork-specific content at the end.
80
+
81
+ ---
82
+
83
+ ## Silent invalidators
84
+
85
+ When reviewing code, grep for these inside anything that feeds the prompt prefix:
86
+
87
+ | Pattern | Why it breaks caching |
88
+ |---|---|
89
+ | `datetime.now()` / `Date.now()` / `time.time()` in system prompt | Prefix changes every request |
90
+ | `uuid4()` / `crypto.randomUUID()` / request IDs early in content | Same — every request is unique |
91
+ | `json.dumps(d)` without `sort_keys=True` / iterating a `set` | Non-deterministic serialization → prefix bytes differ |
92
+ | f-string interpolating session/user ID into system prompt | Per-user prefix; no cross-user sharing |
93
+ | Conditional system sections (`if flag: system += ...`) | Every flag combination is a distinct prefix |
94
+ | `tools=build_tools(user)` where set varies per user | Tools render at position 0; nothing caches across users |
95
+
96
+ Fix by moving the dynamic piece after the last breakpoint, making it deterministic, or deleting it if it's not load-bearing.
97
+
98
+ ---
99
+
100
+ ## API reference
101
+
102
+ ```json
103
+ "cache_control": {"type": "ephemeral"} // 5-minute TTL (default)
104
+ "cache_control": {"type": "ephemeral", "ttl": "1h"} // 1-hour TTL
105
+ ```
106
+
107
+ - Max **4** `cache_control` breakpoints per request.
108
+ - Goes on any content block: system text blocks, tool definitions, message content blocks (`text`, `image`, `tool_use`, `tool_result`, `document`).
109
+ - Top-level `cache_control` on `messages.create()` auto-places on the last cacheable block — simplest option when you don't need fine-grained placement.
110
+ - Minimum cacheable prefix is model-dependent (typically 1024–2048 tokens). Shorter prefixes silently won't cache even with a marker.
111
+
112
+ **Economics:** Cache writes cost ~1.25× base input price; reads cost ~0.1×. A prefix must be used in at least two requests within TTL to break even (one writes the cache, subsequent ones read it). For bursty traffic, the 1-hour TTL keeps entries alive across gaps.
113
+
114
+ ---
115
+
116
+ ## Verifying cache hits
117
+
118
+ The response `usage` object reports cache activity:
119
+
120
+ | Field | Meaning |
121
+ |---|---|
122
+ | `cache_creation_input_tokens` | Tokens written to cache this request (you paid the ~1.25× write premium) |
123
+ | `cache_read_input_tokens` | Tokens served from cache this request (you paid ~0.1×) |
124
+ | `input_tokens` | Tokens processed at full price (not cached) |
125
+
126
+ If `cache_read_input_tokens` is zero across repeated requests with identical prefixes, a silent invalidator is at work — diff the rendered prompt bytes between two requests to find it.
127
+
128
+ Language-specific access: `response.usage.cache_read_input_tokens` (Python/TS/Ruby), `$message->usage->cacheReadInputTokens` (PHP), `resp.Usage.CacheReadInputTokens` (Go/C#), `.usage().cacheReadInputTokens()` (Java).