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,216 @@
1
+ # Claude API — cURL / Raw HTTP
2
+
3
+ Use these examples when the user needs raw HTTP requests or is working in a language without an official SDK.
4
+
5
+ ## Setup
6
+
7
+ ```bash
8
+ export ANTHROPIC_API_KEY="your-api-key"
9
+ ```
10
+
11
+ ---
12
+
13
+ ## Basic Message Request
14
+
15
+ ```bash
16
+ curl https://api.anthropic.com/v1/messages \
17
+ -H "Content-Type: application/json" \
18
+ -H "x-api-key: $ANTHROPIC_API_KEY" \
19
+ -H "anthropic-version: 2023-06-01" \
20
+ -d '{
21
+ "model": "claude-opus-4-6",
22
+ "max_tokens": 16000,
23
+ "messages": [
24
+ {"role": "user", "content": "What is the capital of France?"}
25
+ ]
26
+ }'
27
+ ```
28
+
29
+ ### Parsing the response
30
+
31
+ Use `jq` to extract fields from the JSON response. Do not use `grep`/`sed` —
32
+ JSON strings can contain any character and regex parsing will break on quotes,
33
+ escapes, or multi-line content.
34
+
35
+ ```bash
36
+ # Capture the response, then extract fields
37
+ response=$(curl -s https://api.anthropic.com/v1/messages \
38
+ -H "Content-Type: application/json" \
39
+ -H "x-api-key: $ANTHROPIC_API_KEY" \
40
+ -H "anthropic-version: 2023-06-01" \
41
+ -d '{"model":"claude-opus-4-6","max_tokens":16000,"messages":[{"role":"user","content":"Hello"}]}')
42
+
43
+ # Print the first text block (-r strips the JSON quotes)
44
+ echo "$response" | jq -r '.content[0].text'
45
+
46
+ # Read usage fields
47
+ input_tokens=$(echo "$response" | jq -r '.usage.input_tokens')
48
+ output_tokens=$(echo "$response" | jq -r '.usage.output_tokens')
49
+
50
+ # Read stop reason (for tool-use loops)
51
+ stop_reason=$(echo "$response" | jq -r '.stop_reason')
52
+
53
+ # Extract all text blocks (content is an array; filter to type=="text")
54
+ echo "$response" | jq -r '.content[] | select(.type == "text") | .text'
55
+ ```
56
+
57
+
58
+ ---
59
+
60
+ ## Streaming (SSE)
61
+
62
+ ```bash
63
+ curl https://api.anthropic.com/v1/messages \
64
+ -H "Content-Type: application/json" \
65
+ -H "x-api-key: $ANTHROPIC_API_KEY" \
66
+ -H "anthropic-version: 2023-06-01" \
67
+ -d '{
68
+ "model": "claude-opus-4-6",
69
+ "max_tokens": 64000,
70
+ "stream": true,
71
+ "messages": [{"role": "user", "content": "Write a haiku"}]
72
+ }'
73
+ ```
74
+
75
+ The response is a stream of Server-Sent Events:
76
+
77
+ ```
78
+ event: message_start
79
+ data: {"type":"message_start","message":{"id":"msg_...","type":"message",...}}
80
+
81
+ event: content_block_start
82
+ data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
83
+
84
+ event: content_block_delta
85
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Hello"}}
86
+
87
+ event: content_block_stop
88
+ data: {"type":"content_block_stop","index":0}
89
+
90
+ event: message_delta
91
+ data: {"type":"message_delta","delta":{"stop_reason":"end_turn"},"usage":{"output_tokens":12}}
92
+
93
+ event: message_stop
94
+ data: {"type":"message_stop"}
95
+ ```
96
+
97
+ ---
98
+
99
+ ## Tool Use
100
+
101
+ ```bash
102
+ curl https://api.anthropic.com/v1/messages \
103
+ -H "Content-Type: application/json" \
104
+ -H "x-api-key: $ANTHROPIC_API_KEY" \
105
+ -H "anthropic-version: 2023-06-01" \
106
+ -d '{
107
+ "model": "claude-opus-4-6",
108
+ "max_tokens": 16000,
109
+ "tools": [{
110
+ "name": "get_weather",
111
+ "description": "Get current weather for a location",
112
+ "input_schema": {
113
+ "type": "object",
114
+ "properties": {
115
+ "location": {"type": "string", "description": "City name"}
116
+ },
117
+ "required": ["location"]
118
+ }
119
+ }],
120
+ "messages": [{"role": "user", "content": "What is the weather in Paris?"}]
121
+ }'
122
+ ```
123
+
124
+ When Claude responds with a `tool_use` block, send the result back:
125
+
126
+ ```bash
127
+ curl https://api.anthropic.com/v1/messages \
128
+ -H "Content-Type: application/json" \
129
+ -H "x-api-key: $ANTHROPIC_API_KEY" \
130
+ -H "anthropic-version: 2023-06-01" \
131
+ -d '{
132
+ "model": "claude-opus-4-6",
133
+ "max_tokens": 16000,
134
+ "tools": [{
135
+ "name": "get_weather",
136
+ "description": "Get current weather for a location",
137
+ "input_schema": {
138
+ "type": "object",
139
+ "properties": {
140
+ "location": {"type": "string", "description": "City name"}
141
+ },
142
+ "required": ["location"]
143
+ }
144
+ }],
145
+ "messages": [
146
+ {"role": "user", "content": "What is the weather in Paris?"},
147
+ {"role": "assistant", "content": [
148
+ {"type": "text", "text": "Let me check the weather."},
149
+ {"type": "tool_use", "id": "toolu_abc123", "name": "get_weather", "input": {"location": "Paris"}}
150
+ ]},
151
+ {"role": "user", "content": [
152
+ {"type": "tool_result", "tool_use_id": "toolu_abc123", "content": "72°F and sunny"}
153
+ ]}
154
+ ]
155
+ }'
156
+ ```
157
+
158
+ ---
159
+
160
+ ## Prompt Caching
161
+
162
+ Put `cache_control` on the last block of the stable prefix. See `shared/prompt-caching.md` for placement patterns and the silent-invalidator audit checklist.
163
+
164
+ ```bash
165
+ curl https://api.anthropic.com/v1/messages \
166
+ -H "Content-Type: application/json" \
167
+ -H "x-api-key: $ANTHROPIC_API_KEY" \
168
+ -H "anthropic-version: 2023-06-01" \
169
+ -d '{
170
+ "model": "claude-opus-4-6",
171
+ "max_tokens": 16000,
172
+ "system": [
173
+ {"type": "text", "text": "<large shared prompt...>", "cache_control": {"type": "ephemeral"}}
174
+ ],
175
+ "messages": [{"role": "user", "content": "Summarize the key points"}]
176
+ }'
177
+ ```
178
+
179
+ For 1-hour TTL: `"cache_control": {"type": "ephemeral", "ttl": "1h"}`. Top-level `"cache_control"` on the request body auto-places on the last cacheable block. Verify hits via the response `usage.cache_creation_input_tokens` / `usage.cache_read_input_tokens` fields.
180
+
181
+ ---
182
+
183
+ ## Extended Thinking
184
+
185
+ > **Opus 4.6 and Sonnet 4.6:** Use adaptive thinking. `budget_tokens` is deprecated on both Opus 4.6 and Sonnet 4.6.
186
+ > **Older models:** Use `"type": "enabled"` with `"budget_tokens": N` (must be < `max_tokens`, min 1024).
187
+
188
+ ```bash
189
+ # Opus 4.6: adaptive thinking (recommended)
190
+ curl https://api.anthropic.com/v1/messages \
191
+ -H "Content-Type: application/json" \
192
+ -H "x-api-key: $ANTHROPIC_API_KEY" \
193
+ -H "anthropic-version: 2023-06-01" \
194
+ -d '{
195
+ "model": "claude-opus-4-6",
196
+ "max_tokens": 16000,
197
+ "thinking": {
198
+ "type": "adaptive"
199
+ },
200
+ "output_config": {
201
+ "effort": "high"
202
+ },
203
+ "messages": [{"role": "user", "content": "Solve this step by step..."}]
204
+ }'
205
+ ```
206
+
207
+ ---
208
+
209
+ ## Required Headers
210
+
211
+ | Header | Value | Description |
212
+ | ------------------- | ------------------ | -------------------------- |
213
+ | `Content-Type` | `application/json` | Required |
214
+ | `x-api-key` | Your API key | Authentication |
215
+ | `anthropic-version` | `2023-06-01` | API version |
216
+ | `anthropic-beta` | Beta feature IDs | Required for beta features |
@@ -0,0 +1,421 @@
1
+ # Claude API — Go
2
+
3
+ > **Note:** The Go SDK supports the Claude API and beta tool use with `BetaToolRunner`. Agent SDK is not yet available for Go.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ go get github.com/anthropics/anthropic-sdk-go
9
+ ```
10
+
11
+ ## Client Initialization
12
+
13
+ ```go
14
+ import (
15
+ "github.com/anthropics/anthropic-sdk-go"
16
+ "github.com/anthropics/anthropic-sdk-go/option"
17
+ )
18
+
19
+ // Default (uses ANTHROPIC_API_KEY env var)
20
+ client := anthropic.NewClient()
21
+
22
+ // Explicit API key
23
+ client := anthropic.NewClient(
24
+ option.WithAPIKey("your-api-key"),
25
+ )
26
+ ```
27
+
28
+ ---
29
+
30
+ ## Basic Message Request
31
+
32
+ ```go
33
+ response, err := client.Messages.New(context.Background(), anthropic.MessageNewParams{
34
+ Model: anthropic.ModelClaudeOpus4_6,
35
+ MaxTokens: 16000,
36
+ Messages: []anthropic.MessageParam{
37
+ anthropic.NewUserMessage(anthropic.NewTextBlock("What is the capital of France?")),
38
+ },
39
+ })
40
+ if err != nil {
41
+ log.Fatal(err)
42
+ }
43
+ for _, block := range response.Content {
44
+ switch variant := block.AsAny().(type) {
45
+ case anthropic.TextBlock:
46
+ fmt.Println(variant.Text)
47
+ }
48
+ }
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Streaming
54
+
55
+ ```go
56
+ stream := client.Messages.NewStreaming(context.Background(), anthropic.MessageNewParams{
57
+ Model: anthropic.ModelClaudeOpus4_6,
58
+ MaxTokens: 64000,
59
+ Messages: []anthropic.MessageParam{
60
+ anthropic.NewUserMessage(anthropic.NewTextBlock("Write a haiku")),
61
+ },
62
+ })
63
+
64
+ for stream.Next() {
65
+ event := stream.Current()
66
+ switch eventVariant := event.AsAny().(type) {
67
+ case anthropic.ContentBlockDeltaEvent:
68
+ switch deltaVariant := eventVariant.Delta.AsAny().(type) {
69
+ case anthropic.TextDelta:
70
+ fmt.Print(deltaVariant.Text)
71
+ }
72
+ }
73
+ }
74
+ if err := stream.Err(); err != nil {
75
+ log.Fatal(err)
76
+ }
77
+ ```
78
+
79
+ **Accumulating the final message** (there is no `GetFinalMessage()` on the stream):
80
+
81
+ ```go
82
+ stream := client.Messages.NewStreaming(ctx, params)
83
+ message := anthropic.Message{}
84
+ for stream.Next() {
85
+ message.Accumulate(stream.Current())
86
+ }
87
+ if err := stream.Err(); err != nil { log.Fatal(err) }
88
+ // message.Content now has the complete response
89
+ ```
90
+
91
+
92
+ ---
93
+
94
+ ## Tool Use
95
+
96
+ ### Tool Runner (Beta — Recommended)
97
+
98
+ **Beta:** The Go SDK provides `BetaToolRunner` for automatic tool use loops via the `toolrunner` package.
99
+
100
+ ```go
101
+ import (
102
+ "context"
103
+ "fmt"
104
+ "log"
105
+
106
+ "github.com/anthropics/anthropic-sdk-go"
107
+ "github.com/anthropics/anthropic-sdk-go/toolrunner"
108
+ )
109
+
110
+ // Define tool input with jsonschema tags for automatic schema generation
111
+ type GetWeatherInput struct {
112
+ City string `json:"city" jsonschema:"required,description=The city name"`
113
+ }
114
+
115
+ // Create a tool with automatic schema generation from struct tags
116
+ weatherTool, err := toolrunner.NewBetaToolFromJSONSchema(
117
+ "get_weather",
118
+ "Get current weather for a city",
119
+ func(ctx context.Context, input GetWeatherInput) (anthropic.BetaToolResultBlockParamContentUnion, error) {
120
+ return anthropic.BetaToolResultBlockParamContentUnion{
121
+ OfText: &anthropic.BetaTextBlockParam{
122
+ Text: fmt.Sprintf("The weather in %s is sunny, 72°F", input.City),
123
+ },
124
+ }, nil
125
+ },
126
+ )
127
+ if err != nil {
128
+ log.Fatal(err)
129
+ }
130
+
131
+ // Create a tool runner that handles the conversation loop automatically
132
+ runner := client.Beta.Messages.NewToolRunner(
133
+ []anthropic.BetaTool{weatherTool},
134
+ anthropic.BetaToolRunnerParams{
135
+ BetaMessageNewParams: anthropic.BetaMessageNewParams{
136
+ Model: anthropic.ModelClaudeOpus4_6,
137
+ MaxTokens: 16000,
138
+ Messages: []anthropic.BetaMessageParam{
139
+ anthropic.NewBetaUserMessage(anthropic.NewBetaTextBlock("What's the weather in Paris?")),
140
+ },
141
+ },
142
+ MaxIterations: 5,
143
+ },
144
+ )
145
+
146
+ // Run until Claude produces a final response
147
+ message, err := runner.RunToCompletion(context.Background())
148
+ if err != nil {
149
+ log.Fatal(err)
150
+ }
151
+
152
+ // RunToCompletion returns *BetaMessage; content is []BetaContentBlockUnion.
153
+ // Narrow via AsAny() switch — note the Beta-namespace types (BetaTextBlock,
154
+ // not TextBlock):
155
+ for _, block := range message.Content {
156
+ switch block := block.AsAny().(type) {
157
+ case anthropic.BetaTextBlock:
158
+ fmt.Println(block.Text)
159
+ }
160
+ }
161
+ ```
162
+
163
+ **Key features of the Go tool runner:**
164
+
165
+ - Automatic schema generation from Go structs via `jsonschema` tags
166
+ - `RunToCompletion()` for simple one-shot usage
167
+ - `All()` iterator for processing each message in the conversation
168
+ - `NextMessage()` for step-by-step iteration
169
+ - Streaming variant via `NewToolRunnerStreaming()` with `AllStreaming()`
170
+
171
+ ### Manual Loop
172
+
173
+ For fine-grained control over the agentic loop, define tools with `ToolParam`, check `StopReason`, execute tools yourself, and feed `tool_result` blocks back. This is the pattern when you need to intercept, validate, or log tool calls.
174
+
175
+ Derived from `anthropic-sdk-go/examples/tools/main.go`.
176
+
177
+ ```go
178
+ package main
179
+
180
+ import (
181
+ "context"
182
+ "encoding/json"
183
+ "fmt"
184
+ "log"
185
+
186
+ "github.com/anthropics/anthropic-sdk-go"
187
+ )
188
+
189
+ func main() {
190
+ client := anthropic.NewClient()
191
+
192
+ // 1. Define tools. ToolParam.InputSchema uses a map, no struct tags needed.
193
+ addTool := anthropic.ToolParam{
194
+ Name: "add",
195
+ Description: anthropic.String("Add two integers"),
196
+ InputSchema: anthropic.ToolInputSchemaParam{
197
+ Properties: map[string]any{
198
+ "a": map[string]any{"type": "integer"},
199
+ "b": map[string]any{"type": "integer"},
200
+ },
201
+ },
202
+ }
203
+ // ToolParam must be wrapped in ToolUnionParam for the Tools slice
204
+ tools := []anthropic.ToolUnionParam{{OfTool: &addTool}}
205
+
206
+ messages := []anthropic.MessageParam{
207
+ anthropic.NewUserMessage(anthropic.NewTextBlock("What is 2 + 3?")),
208
+ }
209
+
210
+ for {
211
+ resp, err := client.Messages.New(context.Background(), anthropic.MessageNewParams{
212
+ Model: anthropic.ModelClaudeSonnet4_6,
213
+ MaxTokens: 16000,
214
+ Messages: messages,
215
+ Tools: tools,
216
+ })
217
+ if err != nil {
218
+ log.Fatal(err)
219
+ }
220
+
221
+ // 2. Append the assistant response to history BEFORE processing tool calls.
222
+ // resp.ToParam() converts Message → MessageParam in one call.
223
+ messages = append(messages, resp.ToParam())
224
+
225
+ // 3. Walk content blocks. ContentBlockUnion is a flattened struct;
226
+ // use block.AsAny().(type) to switch on the actual variant.
227
+ toolResults := []anthropic.ContentBlockParamUnion{}
228
+ for _, block := range resp.Content {
229
+ switch variant := block.AsAny().(type) {
230
+ case anthropic.TextBlock:
231
+ fmt.Println(variant.Text)
232
+ case anthropic.ToolUseBlock:
233
+ // 4. Parse the tool input. Use variant.JSON.Input.Raw() to get the
234
+ // raw JSON — block.Input is json.RawMessage, not the parsed value.
235
+ var in struct {
236
+ A int `json:"a"`
237
+ B int `json:"b"`
238
+ }
239
+ if err := json.Unmarshal([]byte(variant.JSON.Input.Raw()), &in); err != nil {
240
+ log.Fatal(err)
241
+ }
242
+ result := fmt.Sprintf("%d", in.A+in.B)
243
+ // 5. NewToolResultBlock(toolUseID, content, isError) builds the
244
+ // ContentBlockParamUnion for you. block.ID is the tool_use_id.
245
+ toolResults = append(toolResults,
246
+ anthropic.NewToolResultBlock(block.ID, result, false))
247
+ }
248
+ }
249
+
250
+ // 6. Exit when Claude stops asking for tools
251
+ if resp.StopReason != anthropic.StopReasonToolUse {
252
+ break
253
+ }
254
+
255
+ // 7. Tool results go in a user message (variadic: all results in one turn)
256
+ messages = append(messages, anthropic.NewUserMessage(toolResults...))
257
+ }
258
+ }
259
+ ```
260
+
261
+ **Key API surface:**
262
+
263
+ | Symbol | Purpose |
264
+ |---|---|
265
+ | `resp.ToParam()` | Convert `Message` response → `MessageParam` for history |
266
+ | `block.AsAny().(type)` | Type-switch on `ContentBlockUnion` variants |
267
+ | `variant.JSON.Input.Raw()` | Raw JSON string of tool input (for `json.Unmarshal`) |
268
+ | `anthropic.NewToolResultBlock(id, content, isError)` | Build `tool_result` block |
269
+ | `anthropic.NewUserMessage(blocks...)` | Wrap tool results as a user turn |
270
+ | `anthropic.StopReasonToolUse` | `StopReason` constant to check loop termination |
271
+ | `anthropic.ToolUnionParam{OfTool: &t}` | Wrap `ToolParam` in the union for `Tools:` |
272
+
273
+ ---
274
+
275
+ ## Thinking
276
+
277
+ Enable Claude's internal reasoning by setting `Thinking` in `MessageNewParams`. The response will contain `ThinkingBlock` content before the final `TextBlock`.
278
+
279
+ **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
+
281
+ Derived from `anthropic-sdk-go/message.go` (`ThinkingConfigParamUnion`, `NewThinkingConfigAdaptiveParam`).
282
+
283
+ ```go
284
+ // There is no ThinkingConfigParamOfAdaptive helper — construct the union
285
+ // struct-literal directly and take the address of the variant.
286
+ adaptive := anthropic.NewThinkingConfigAdaptiveParam()
287
+ params := anthropic.MessageNewParams{
288
+ Model: anthropic.ModelClaudeSonnet4_6,
289
+ MaxTokens: 16000,
290
+ Thinking: anthropic.ThinkingConfigParamUnion{OfAdaptive: &adaptive},
291
+ Messages: []anthropic.MessageParam{
292
+ anthropic.NewUserMessage(anthropic.NewTextBlock("How many r's in strawberry?")),
293
+ },
294
+ }
295
+
296
+ resp, err := client.Messages.New(context.Background(), params)
297
+ if err != nil {
298
+ log.Fatal(err)
299
+ }
300
+
301
+ // ThinkingBlock(s) precede TextBlock in content
302
+ for _, block := range resp.Content {
303
+ switch b := block.AsAny().(type) {
304
+ case anthropic.ThinkingBlock:
305
+ fmt.Println("[thinking]", b.Thinking)
306
+ case anthropic.TextBlock:
307
+ fmt.Println(b.Text)
308
+ }
309
+ }
310
+ ```
311
+
312
+ > **Deprecated:** `ThinkingConfigParamOfEnabled(budgetTokens)` (fixed-budget extended thinking) still works on Claude 4.6 but is deprecated. Use adaptive thinking above.
313
+
314
+ To disable: `anthropic.ThinkingConfigParamUnion{OfDisabled: &anthropic.ThinkingConfigDisabledParam{}}`.
315
+
316
+ ---
317
+
318
+ ## Prompt Caching
319
+
320
+ `System` is `[]TextBlockParam`; set `CacheControl` on the last block to cache tools + system together. For placement patterns and the silent-invalidator audit checklist, see `shared/prompt-caching.md`.
321
+
322
+ ```go
323
+ System: []anthropic.TextBlockParam{{
324
+ Text: longSystemPrompt,
325
+ CacheControl: anthropic.NewCacheControlEphemeralParam(), // default 5m TTL
326
+ }},
327
+ ```
328
+
329
+ For 1-hour TTL: `anthropic.CacheControlEphemeralParam{TTL: anthropic.CacheControlEphemeralTTLTTL1h}`. There's also a top-level `CacheControl` on `MessageNewParams` that auto-places on the last cacheable block.
330
+
331
+ Verify hits via `resp.Usage.CacheCreationInputTokens` / `resp.Usage.CacheReadInputTokens`.
332
+
333
+ ---
334
+
335
+ ## Server-Side Tools
336
+
337
+ Version-suffixed struct names with `Param` suffix. `Name`/`Type` are `constant.*` types — zero value marshals correctly, so `{}` works. Wrap in `ToolUnionParam` with the matching `Of*` field.
338
+
339
+ ```go
340
+ Tools: []anthropic.ToolUnionParam{
341
+ {OfWebSearchTool20260209: &anthropic.WebSearchTool20260209Param{}},
342
+ {OfBashTool20250124: &anthropic.ToolBash20250124Param{}},
343
+ {OfTextEditor20250728: &anthropic.ToolTextEditor20250728Param{}},
344
+ {OfCodeExecutionTool20260120: &anthropic.CodeExecutionTool20260120Param{}},
345
+ },
346
+ ```
347
+
348
+ Also available: `WebFetchTool20260209Param`, `MemoryTool20250818Param`, `ToolSearchToolBm25_20251119Param`, `ToolSearchToolRegex20251119Param`.
349
+
350
+ ---
351
+
352
+ ## PDF / Document Input
353
+
354
+ `NewDocumentBlock` generic helper accepts any source type. `MediaType`/`Type` are auto-set.
355
+
356
+ ```go
357
+ b64 := base64.StdEncoding.EncodeToString(pdfBytes)
358
+
359
+ msg := anthropic.NewUserMessage(
360
+ anthropic.NewDocumentBlock(anthropic.Base64PDFSourceParam{Data: b64}),
361
+ anthropic.NewTextBlock("Summarize this document"),
362
+ )
363
+ ```
364
+
365
+ Other sources: `URLPDFSourceParam{URL: "https://..."}`, `PlainTextSourceParam{Data: "..."}`.
366
+
367
+ ---
368
+
369
+ ## Files API (Beta)
370
+
371
+ Under `client.Beta.Files`. Method is **`Upload`** (NOT `New`/`Create`), params struct is `BetaFileUploadParams`. The `File` field takes an `io.Reader`; use `anthropic.File()` to attach a filename + content-type for the multipart encoding.
372
+
373
+ ```go
374
+ f, _ := os.Open("./upload_me.txt")
375
+ defer f.Close()
376
+
377
+ meta, err := client.Beta.Files.Upload(ctx, anthropic.BetaFileUploadParams{
378
+ File: anthropic.File(f, "upload_me.txt", "text/plain"),
379
+ Betas: []anthropic.AnthropicBeta{anthropic.AnthropicBetaFilesAPI2025_04_14},
380
+ })
381
+ // meta.ID is the file_id to reference in subsequent message requests
382
+ ```
383
+
384
+ Other `Beta.Files` methods: `List`, `Delete`, `Download`, `GetMetadata`.
385
+
386
+ ---
387
+
388
+ ## Context Editing / Compaction (Beta)
389
+
390
+ Use `Beta.Messages.New` with `ContextManagement` on `BetaMessageNewParams`. There is no `NewBetaAssistantMessage` — use `.ToParam()` for the round-trip.
391
+
392
+ ```go
393
+ params := anthropic.BetaMessageNewParams{
394
+ Model: anthropic.ModelClaudeOpus4_6, // also supported: ModelClaudeSonnet4_6
395
+ MaxTokens: 16000,
396
+ Betas: []anthropic.AnthropicBeta{"compact-2026-01-12"},
397
+ ContextManagement: anthropic.BetaContextManagementConfigParam{
398
+ Edits: []anthropic.BetaContextManagementConfigEditUnionParam{
399
+ {OfCompact20260112: &anthropic.BetaCompact20260112EditParam{}},
400
+ },
401
+ },
402
+ Messages: []anthropic.BetaMessageParam{ /* ... */ },
403
+ }
404
+
405
+ resp, err := client.Beta.Messages.New(ctx, params)
406
+ if err != nil {
407
+ log.Fatal(err)
408
+ }
409
+
410
+ // Round-trip: append response to history via .ToParam()
411
+ params.Messages = append(params.Messages, resp.ToParam())
412
+
413
+ // Read compaction blocks from the response
414
+ for _, block := range resp.Content {
415
+ if c, ok := block.AsAny().(anthropic.BetaCompactionBlock); ok {
416
+ fmt.Println("compaction summary:", c.Content)
417
+ }
418
+ }
419
+ ```
420
+
421
+ Other edit types: `BetaClearToolUses20250919EditParam`, `BetaClearThinking20251015EditParam`.