@kolbo/kolbo-code-linux-arm64-musl 1.1.73 → 2.0.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 (239) hide show
  1. package/bin/kolbo +0 -0
  2. package/package.json +1 -1
  3. package/skills/brainstorming/SKILL.md +164 -0
  4. package/skills/brainstorming/scripts/frame-template.html +214 -0
  5. package/skills/brainstorming/scripts/helper.js +88 -0
  6. package/skills/brainstorming/scripts/server.cjs +354 -0
  7. package/skills/brainstorming/scripts/start-server.sh +148 -0
  8. package/skills/brainstorming/scripts/stop-server.sh +56 -0
  9. package/skills/brainstorming/spec-document-reviewer-prompt.md +49 -0
  10. package/skills/brainstorming/visual-companion.md +287 -0
  11. package/skills/dispatching-parallel-agents/SKILL.md +182 -0
  12. package/skills/docx/.skillfish.json +10 -0
  13. package/skills/docx/SKILL.md +196 -0
  14. package/skills/docx/docx-js.md +350 -0
  15. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  16. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  17. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  18. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  19. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  20. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  21. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  22. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  23. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  24. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  25. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  26. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  27. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  28. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  29. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  30. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  31. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  32. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  33. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  34. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  35. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  36. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  37. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  38. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  39. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  40. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  41. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  42. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  43. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  44. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  45. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  46. package/skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
  47. package/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  48. package/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  49. package/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  50. package/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  51. package/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  52. package/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  53. package/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  54. package/skills/docx/ooxml/scripts/pack.py +159 -0
  55. package/skills/docx/ooxml/scripts/unpack.py +29 -0
  56. package/skills/docx/ooxml/scripts/validate.py +69 -0
  57. package/skills/docx/ooxml/scripts/validation/__init__.py +15 -0
  58. package/skills/docx/ooxml/scripts/validation/base.py +951 -0
  59. package/skills/docx/ooxml/scripts/validation/docx.py +274 -0
  60. package/skills/docx/ooxml/scripts/validation/pptx.py +315 -0
  61. package/skills/docx/ooxml/scripts/validation/redlining.py +279 -0
  62. package/skills/docx/ooxml.md +599 -0
  63. package/skills/docx/scripts/__init__.py +1 -0
  64. package/skills/docx/scripts/document.py +1272 -0
  65. package/skills/docx/scripts/templates/comments.xml +3 -0
  66. package/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  67. package/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  68. package/skills/docx/scripts/templates/commentsIds.xml +3 -0
  69. package/skills/docx/scripts/templates/people.xml +3 -0
  70. package/skills/docx/scripts/utilities.py +374 -0
  71. package/skills/executing-plans/SKILL.md +70 -0
  72. package/skills/finishing-a-development-branch/SKILL.md +200 -0
  73. package/skills/fullstack-app/SKILL.md +621 -0
  74. package/skills/kolbo/SKILL.md +19 -263
  75. package/skills/ollama-vision/SKILL.md +105 -0
  76. package/skills/pdf/.skillfish.json +10 -0
  77. package/skills/pdf/FORMS.md +205 -0
  78. package/skills/pdf/REFERENCE.md +612 -0
  79. package/skills/pdf/SKILL.md +293 -0
  80. package/skills/pdf/scripts/check_bounding_boxes.py +70 -0
  81. package/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
  82. package/skills/pdf/scripts/check_fillable_fields.py +12 -0
  83. package/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
  84. package/skills/pdf/scripts/create_validation_image.py +41 -0
  85. package/skills/pdf/scripts/extract_form_field_info.py +152 -0
  86. package/skills/pdf/scripts/fill_fillable_fields.py +114 -0
  87. package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
  88. package/skills/photo-studio/SKILL.md +122 -0
  89. package/skills/pptx/.skillfish.json +10 -0
  90. package/skills/pptx/SKILL.md +483 -0
  91. package/skills/pptx/html2pptx.md +626 -0
  92. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  93. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  94. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  95. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  96. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  97. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  98. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  99. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  100. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  101. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  102. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  103. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  104. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  105. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  106. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  107. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  108. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  109. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  110. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  111. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  112. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  113. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  114. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  115. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  116. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  117. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  118. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  119. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  120. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  121. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  122. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  123. package/skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
  124. package/skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  125. package/skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  126. package/skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  127. package/skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  128. package/skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  129. package/skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  130. package/skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  131. package/skills/pptx/ooxml/scripts/pack.py +159 -0
  132. package/skills/pptx/ooxml/scripts/unpack.py +29 -0
  133. package/skills/pptx/ooxml/scripts/validate.py +69 -0
  134. package/skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
  135. package/skills/pptx/ooxml/scripts/validation/base.py +951 -0
  136. package/skills/pptx/ooxml/scripts/validation/docx.py +274 -0
  137. package/skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
  138. package/skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
  139. package/skills/pptx/ooxml.md +427 -0
  140. package/skills/pptx/scripts/html2pptx.js +995 -0
  141. package/skills/pptx/scripts/inventory.py +1020 -0
  142. package/skills/pptx/scripts/rearrange.py +231 -0
  143. package/skills/pptx/scripts/replace.py +385 -0
  144. package/skills/pptx/scripts/thumbnail.py +450 -0
  145. package/skills/receiving-code-review/SKILL.md +213 -0
  146. package/skills/requesting-code-review/SKILL.md +105 -0
  147. package/skills/requesting-code-review/code-reviewer.md +146 -0
  148. package/skills/subagent-driven-development/SKILL.md +277 -0
  149. package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +26 -0
  150. package/skills/subagent-driven-development/implementer-prompt.md +113 -0
  151. package/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
  152. package/skills/supabase/.skillfish.json +10 -0
  153. package/skills/supabase/SKILL.md +106 -0
  154. package/skills/supabase/assets/feedback-issue-template.md +17 -0
  155. package/skills/supabase/references/skill-feedback.md +17 -0
  156. package/skills/supabase-postgres-best-practices/.skillfish.json +10 -0
  157. package/skills/supabase-postgres-best-practices/SKILL.md +64 -0
  158. package/skills/supabase-postgres-best-practices/references/_contributing.md +170 -0
  159. package/skills/supabase-postgres-best-practices/references/_sections.md +39 -0
  160. package/skills/supabase-postgres-best-practices/references/_template.md +34 -0
  161. package/skills/supabase-postgres-best-practices/references/advanced-full-text-search.md +55 -0
  162. package/skills/supabase-postgres-best-practices/references/advanced-jsonb-indexing.md +49 -0
  163. package/skills/supabase-postgres-best-practices/references/conn-idle-timeout.md +46 -0
  164. package/skills/supabase-postgres-best-practices/references/conn-limits.md +44 -0
  165. package/skills/supabase-postgres-best-practices/references/conn-pooling.md +41 -0
  166. package/skills/supabase-postgres-best-practices/references/conn-prepared-statements.md +46 -0
  167. package/skills/supabase-postgres-best-practices/references/data-batch-inserts.md +54 -0
  168. package/skills/supabase-postgres-best-practices/references/data-n-plus-one.md +53 -0
  169. package/skills/supabase-postgres-best-practices/references/data-pagination.md +50 -0
  170. package/skills/supabase-postgres-best-practices/references/data-upsert.md +50 -0
  171. package/skills/supabase-postgres-best-practices/references/lock-advisory.md +56 -0
  172. package/skills/supabase-postgres-best-practices/references/lock-deadlock-prevention.md +68 -0
  173. package/skills/supabase-postgres-best-practices/references/lock-short-transactions.md +50 -0
  174. package/skills/supabase-postgres-best-practices/references/lock-skip-locked.md +54 -0
  175. package/skills/supabase-postgres-best-practices/references/monitor-explain-analyze.md +45 -0
  176. package/skills/supabase-postgres-best-practices/references/monitor-pg-stat-statements.md +55 -0
  177. package/skills/supabase-postgres-best-practices/references/monitor-vacuum-analyze.md +55 -0
  178. package/skills/supabase-postgres-best-practices/references/query-composite-indexes.md +44 -0
  179. package/skills/supabase-postgres-best-practices/references/query-covering-indexes.md +40 -0
  180. package/skills/supabase-postgres-best-practices/references/query-index-types.md +48 -0
  181. package/skills/supabase-postgres-best-practices/references/query-missing-indexes.md +43 -0
  182. package/skills/supabase-postgres-best-practices/references/query-partial-indexes.md +45 -0
  183. package/skills/supabase-postgres-best-practices/references/schema-constraints.md +80 -0
  184. package/skills/supabase-postgres-best-practices/references/schema-data-types.md +46 -0
  185. package/skills/supabase-postgres-best-practices/references/schema-foreign-key-indexes.md +59 -0
  186. package/skills/supabase-postgres-best-practices/references/schema-lowercase-identifiers.md +55 -0
  187. package/skills/supabase-postgres-best-practices/references/schema-partitioning.md +55 -0
  188. package/skills/supabase-postgres-best-practices/references/schema-primary-keys.md +61 -0
  189. package/skills/supabase-postgres-best-practices/references/security-privileges.md +54 -0
  190. package/skills/supabase-postgres-best-practices/references/security-rls-basics.md +50 -0
  191. package/skills/supabase-postgres-best-practices/references/security-rls-performance.md +57 -0
  192. package/skills/supabase-quickstart/SKILL.md +400 -0
  193. package/skills/systematic-debugging/CREATION-LOG.md +119 -0
  194. package/skills/systematic-debugging/SKILL.md +296 -0
  195. package/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  196. package/skills/systematic-debugging/condition-based-waiting.md +115 -0
  197. package/skills/systematic-debugging/defense-in-depth.md +122 -0
  198. package/skills/systematic-debugging/find-polluter.sh +63 -0
  199. package/skills/systematic-debugging/root-cause-tracing.md +169 -0
  200. package/skills/systematic-debugging/test-academic.md +14 -0
  201. package/skills/systematic-debugging/test-pressure-1.md +58 -0
  202. package/skills/systematic-debugging/test-pressure-2.md +68 -0
  203. package/skills/systematic-debugging/test-pressure-3.md +69 -0
  204. package/skills/test-driven-development/SKILL.md +371 -0
  205. package/skills/test-driven-development/testing-anti-patterns.md +299 -0
  206. package/skills/using-git-worktrees/SKILL.md +218 -0
  207. package/skills/using-superpowers/SKILL.md +115 -0
  208. package/skills/using-superpowers/references/codex-tools.md +100 -0
  209. package/skills/using-superpowers/references/gemini-tools.md +33 -0
  210. package/skills/verification-before-completion/SKILL.md +139 -0
  211. package/skills/video-production/SKILL.md +8 -7
  212. package/skills/writing-plans/SKILL.md +152 -0
  213. package/skills/writing-plans/plan-document-reviewer-prompt.md +49 -0
  214. package/skills/writing-skills/SKILL.md +655 -0
  215. package/skills/writing-skills/anthropic-best-practices.md +1150 -0
  216. package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
  217. package/skills/writing-skills/graphviz-conventions.dot +172 -0
  218. package/skills/writing-skills/persuasion-principles.md +187 -0
  219. package/skills/writing-skills/render-graphs.js +168 -0
  220. package/skills/writing-skills/testing-skills-with-subagents.md +384 -0
  221. package/skills/xlsx/.skillfish.json +10 -0
  222. package/skills/xlsx/SKILL.md +288 -0
  223. package/skills/xlsx/recalc.py +178 -0
  224. package/skills/color-grading/SKILL.md +0 -152
  225. package/skills/ffmpeg-patterns/SKILL.md +0 -240
  226. package/skills/image-prompting-guide/SKILL.md +0 -143
  227. package/skills/music-prompting/SKILL.md +0 -146
  228. package/skills/production-review/SKILL.md +0 -152
  229. package/skills/short-form-video/SKILL.md +0 -168
  230. package/skills/sound-design/SKILL.md +0 -154
  231. package/skills/storytelling/SKILL.md +0 -139
  232. package/skills/subtitle-production/SKILL.md +0 -244
  233. package/skills/subtitle-production/reference/burn_to_video.py +0 -222
  234. package/skills/subtitle-production/reference/export_srts.py +0 -127
  235. package/skills/subtitle-production/reference/gen_srt.py +0 -42
  236. package/skills/typography-video/SKILL.md +0 -182
  237. package/skills/typography-video/reference/KineticTitleScene.tsx +0 -345
  238. package/skills/video-editing/SKILL.md +0 -128
  239. package/skills/video-prompting-guide/SKILL.md +0 -268
@@ -0,0 +1,288 @@
1
+ ---
2
+ name: xlsx
3
+ description: "Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas"
4
+ ---
5
+
6
+ # Requirements for Outputs
7
+
8
+ ## All Excel files
9
+
10
+ ### Zero Formula Errors
11
+ - Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV/0!, #VALUE!, #N/A, #NAME?)
12
+
13
+ ### Preserve Existing Templates (when updating templates)
14
+ - Study and EXACTLY match existing format, style, and conventions when modifying files
15
+ - Never impose standardized formatting on files with established patterns
16
+ - Existing template conventions ALWAYS override these guidelines
17
+
18
+ ## Financial models
19
+
20
+ ### Color Coding Standards
21
+ Unless otherwise stated by the user or existing template
22
+
23
+ #### Industry-Standard Color Conventions
24
+ - **Blue text (RGB: 0,0,255)**: Hardcoded inputs, and numbers users will change for scenarios
25
+ - **Black text (RGB: 0,0,0)**: ALL formulas and calculations
26
+ - **Green text (RGB: 0,128,0)**: Links pulling from other worksheets within same workbook
27
+ - **Red text (RGB: 255,0,0)**: External links to other files
28
+ - **Yellow background (RGB: 255,255,0)**: Key assumptions needing attention or cells that need to be updated
29
+
30
+ ### Number Formatting Standards
31
+
32
+ #### Required Format Rules
33
+ - **Years**: Format as text strings (e.g., "2024" not "2,024")
34
+ - **Currency**: Use $#,##0 format; ALWAYS specify units in headers ("Revenue ($mm)")
35
+ - **Zeros**: Use number formatting to make all zeros "-", including percentages (e.g., "$#,##0;($#,##0);-")
36
+ - **Percentages**: Default to 0.0% format (one decimal)
37
+ - **Multiples**: Format as 0.0x for valuation multiples (EV/EBITDA, P/E)
38
+ - **Negative numbers**: Use parentheses (123) not minus -123
39
+
40
+ ### Formula Construction Rules
41
+
42
+ #### Assumptions Placement
43
+ - Place ALL assumptions (growth rates, margins, multiples, etc.) in separate assumption cells
44
+ - Use cell references instead of hardcoded values in formulas
45
+ - Example: Use =B5*(1+$B$6) instead of =B5*1.05
46
+
47
+ #### Formula Error Prevention
48
+ - Verify all cell references are correct
49
+ - Check for off-by-one errors in ranges
50
+ - Ensure consistent formulas across all projection periods
51
+ - Test with edge cases (zero values, negative numbers)
52
+ - Verify no unintended circular references
53
+
54
+ #### Documentation Requirements for Hardcodes
55
+ - Comment or in cells beside (if end of table). Format: "Source: [System/Document], [Date], [Specific Reference], [URL if applicable]"
56
+ - Examples:
57
+ - "Source: Company 10-K, FY2024, Page 45, Revenue Note, [SEC EDGAR URL]"
58
+ - "Source: Company 10-Q, Q2 2025, Exhibit 99.1, [SEC EDGAR URL]"
59
+ - "Source: Bloomberg Terminal, 8/15/2025, AAPL US Equity"
60
+ - "Source: FactSet, 8/20/2025, Consensus Estimates Screen"
61
+
62
+ # XLSX creation, editing, and analysis
63
+
64
+ ## Overview
65
+
66
+ A user may ask you to create, edit, or analyze the contents of an .xlsx file. You have different tools and workflows available for different tasks.
67
+
68
+ ## Important Requirements
69
+
70
+ **LibreOffice Required for Formula Recalculation**: You can assume LibreOffice is installed for recalculating formula values using the `recalc.py` script. The script automatically configures LibreOffice on first run
71
+
72
+ ## Reading and analyzing data
73
+
74
+ ### Data analysis with pandas
75
+ For data analysis, visualization, and basic operations, use **pandas** which provides powerful data manipulation capabilities:
76
+
77
+ ```python
78
+ import pandas as pd
79
+
80
+ # Read Excel
81
+ df = pd.read_excel('file.xlsx') # Default: first sheet
82
+ all_sheets = pd.read_excel('file.xlsx', sheet_name=None) # All sheets as dict
83
+
84
+ # Analyze
85
+ df.head() # Preview data
86
+ df.info() # Column info
87
+ df.describe() # Statistics
88
+
89
+ # Write Excel
90
+ df.to_excel('output.xlsx', index=False)
91
+ ```
92
+
93
+ ## Excel File Workflows
94
+
95
+ ## CRITICAL: Use Formulas, Not Hardcoded Values
96
+
97
+ **Always use Excel formulas instead of calculating values in Python and hardcoding them.** This ensures the spreadsheet remains dynamic and updateable.
98
+
99
+ ### ❌ WRONG - Hardcoding Calculated Values
100
+ ```python
101
+ # Bad: Calculating in Python and hardcoding result
102
+ total = df['Sales'].sum()
103
+ sheet['B10'] = total # Hardcodes 5000
104
+
105
+ # Bad: Computing growth rate in Python
106
+ growth = (df.iloc[-1]['Revenue'] - df.iloc[0]['Revenue']) / df.iloc[0]['Revenue']
107
+ sheet['C5'] = growth # Hardcodes 0.15
108
+
109
+ # Bad: Python calculation for average
110
+ avg = sum(values) / len(values)
111
+ sheet['D20'] = avg # Hardcodes 42.5
112
+ ```
113
+
114
+ ### ✅ CORRECT - Using Excel Formulas
115
+ ```python
116
+ # Good: Let Excel calculate the sum
117
+ sheet['B10'] = '=SUM(B2:B9)'
118
+
119
+ # Good: Growth rate as Excel formula
120
+ sheet['C5'] = '=(C4-C2)/C2'
121
+
122
+ # Good: Average using Excel function
123
+ sheet['D20'] = '=AVERAGE(D2:D19)'
124
+ ```
125
+
126
+ This applies to ALL calculations - totals, percentages, ratios, differences, etc. The spreadsheet should be able to recalculate when source data changes.
127
+
128
+ ## Common Workflow
129
+ 1. **Choose tool**: pandas for data, openpyxl for formulas/formatting
130
+ 2. **Create/Load**: Create new workbook or load existing file
131
+ 3. **Modify**: Add/edit data, formulas, and formatting
132
+ 4. **Save**: Write to file
133
+ 5. **Recalculate formulas (MANDATORY IF USING FORMULAS)**: Use the recalc.py script
134
+ ```bash
135
+ python recalc.py output.xlsx
136
+ ```
137
+ 6. **Verify and fix any errors**:
138
+ - The script returns JSON with error details
139
+ - If `status` is `errors_found`, check `error_summary` for specific error types and locations
140
+ - Fix the identified errors and recalculate again
141
+ - Common errors to fix:
142
+ - `#REF!`: Invalid cell references
143
+ - `#DIV/0!`: Division by zero
144
+ - `#VALUE!`: Wrong data type in formula
145
+ - `#NAME?`: Unrecognized formula name
146
+
147
+ ### Creating new Excel files
148
+
149
+ ```python
150
+ # Using openpyxl for formulas and formatting
151
+ from openpyxl import Workbook
152
+ from openpyxl.styles import Font, PatternFill, Alignment
153
+
154
+ wb = Workbook()
155
+ sheet = wb.active
156
+
157
+ # Add data
158
+ sheet['A1'] = 'Hello'
159
+ sheet['B1'] = 'World'
160
+ sheet.append(['Row', 'of', 'data'])
161
+
162
+ # Add formula
163
+ sheet['B2'] = '=SUM(A1:A10)'
164
+
165
+ # Formatting
166
+ sheet['A1'].font = Font(bold=True, color='FF0000')
167
+ sheet['A1'].fill = PatternFill('solid', start_color='FFFF00')
168
+ sheet['A1'].alignment = Alignment(horizontal='center')
169
+
170
+ # Column width
171
+ sheet.column_dimensions['A'].width = 20
172
+
173
+ wb.save('output.xlsx')
174
+ ```
175
+
176
+ ### Editing existing Excel files
177
+
178
+ ```python
179
+ # Using openpyxl to preserve formulas and formatting
180
+ from openpyxl import load_workbook
181
+
182
+ # Load existing file
183
+ wb = load_workbook('existing.xlsx')
184
+ sheet = wb.active # or wb['SheetName'] for specific sheet
185
+
186
+ # Working with multiple sheets
187
+ for sheet_name in wb.sheetnames:
188
+ sheet = wb[sheet_name]
189
+ print(f"Sheet: {sheet_name}")
190
+
191
+ # Modify cells
192
+ sheet['A1'] = 'New Value'
193
+ sheet.insert_rows(2) # Insert row at position 2
194
+ sheet.delete_cols(3) # Delete column 3
195
+
196
+ # Add new sheet
197
+ new_sheet = wb.create_sheet('NewSheet')
198
+ new_sheet['A1'] = 'Data'
199
+
200
+ wb.save('modified.xlsx')
201
+ ```
202
+
203
+ ## Recalculating formulas
204
+
205
+ Excel files created or modified by openpyxl contain formulas as strings but not calculated values. Use the provided `recalc.py` script to recalculate formulas:
206
+
207
+ ```bash
208
+ python recalc.py <excel_file> [timeout_seconds]
209
+ ```
210
+
211
+ Example:
212
+ ```bash
213
+ python recalc.py output.xlsx 30
214
+ ```
215
+
216
+ The script:
217
+ - Automatically sets up LibreOffice macro on first run
218
+ - Recalculates all formulas in all sheets
219
+ - Scans ALL cells for Excel errors (#REF!, #DIV/0!, etc.)
220
+ - Returns JSON with detailed error locations and counts
221
+ - Works on both Linux and macOS
222
+
223
+ ## Formula Verification Checklist
224
+
225
+ Quick checks to ensure formulas work correctly:
226
+
227
+ ### Essential Verification
228
+ - [ ] **Test 2-3 sample references**: Verify they pull correct values before building full model
229
+ - [ ] **Column mapping**: Confirm Excel columns match (e.g., column 64 = BL, not BK)
230
+ - [ ] **Row offset**: Remember Excel rows are 1-indexed (DataFrame row 5 = Excel row 6)
231
+
232
+ ### Common Pitfalls
233
+ - [ ] **NaN handling**: Check for null values with `pd.notna()`
234
+ - [ ] **Far-right columns**: FY data often in columns 50+
235
+ - [ ] **Multiple matches**: Search all occurrences, not just first
236
+ - [ ] **Division by zero**: Check denominators before using `/` in formulas (#DIV/0!)
237
+ - [ ] **Wrong references**: Verify all cell references point to intended cells (#REF!)
238
+ - [ ] **Cross-sheet references**: Use correct format (Sheet1!A1) for linking sheets
239
+
240
+ ### Formula Testing Strategy
241
+ - [ ] **Start small**: Test formulas on 2-3 cells before applying broadly
242
+ - [ ] **Verify dependencies**: Check all cells referenced in formulas exist
243
+ - [ ] **Test edge cases**: Include zero, negative, and very large values
244
+
245
+ ### Interpreting recalc.py Output
246
+ The script returns JSON with error details:
247
+ ```json
248
+ {
249
+ "status": "success", // or "errors_found"
250
+ "total_errors": 0, // Total error count
251
+ "total_formulas": 42, // Number of formulas in file
252
+ "error_summary": { // Only present if errors found
253
+ "#REF!": {
254
+ "count": 2,
255
+ "locations": ["Sheet1!B5", "Sheet1!C10"]
256
+ }
257
+ }
258
+ }
259
+ ```
260
+
261
+ ## Best Practices
262
+
263
+ ### Library Selection
264
+ - **pandas**: Best for data analysis, bulk operations, and simple data export
265
+ - **openpyxl**: Best for complex formatting, formulas, and Excel-specific features
266
+
267
+ ### Working with openpyxl
268
+ - Cell indices are 1-based (row=1, column=1 refers to cell A1)
269
+ - Use `data_only=True` to read calculated values: `load_workbook('file.xlsx', data_only=True)`
270
+ - **Warning**: If opened with `data_only=True` and saved, formulas are replaced with values and permanently lost
271
+ - For large files: Use `read_only=True` for reading or `write_only=True` for writing
272
+ - Formulas are preserved but not evaluated - use recalc.py to update values
273
+
274
+ ### Working with pandas
275
+ - Specify data types to avoid inference issues: `pd.read_excel('file.xlsx', dtype={'id': str})`
276
+ - For large files, read specific columns: `pd.read_excel('file.xlsx', usecols=['A', 'C', 'E'])`
277
+ - Handle dates properly: `pd.read_excel('file.xlsx', parse_dates=['date_column'])`
278
+
279
+ ## Code Style Guidelines
280
+ **IMPORTANT**: When generating Python code for Excel operations:
281
+ - Write minimal, concise Python code without unnecessary comments
282
+ - Avoid verbose variable names and redundant operations
283
+ - Avoid unnecessary print statements
284
+
285
+ **For Excel files themselves**:
286
+ - Add comments to cells with complex formulas or important assumptions
287
+ - Document data sources for hardcoded values
288
+ - Include notes for key calculations and model sections
@@ -0,0 +1,178 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ Excel Formula Recalculation Script
4
+ Recalculates all formulas in an Excel file using LibreOffice
5
+ """
6
+
7
+ import json
8
+ import sys
9
+ import subprocess
10
+ import os
11
+ import platform
12
+ from pathlib import Path
13
+ from openpyxl import load_workbook
14
+
15
+
16
+ def setup_libreoffice_macro():
17
+ """Setup LibreOffice macro for recalculation if not already configured"""
18
+ if platform.system() == 'Darwin':
19
+ macro_dir = os.path.expanduser('~/Library/Application Support/LibreOffice/4/user/basic/Standard')
20
+ else:
21
+ macro_dir = os.path.expanduser('~/.config/libreoffice/4/user/basic/Standard')
22
+
23
+ macro_file = os.path.join(macro_dir, 'Module1.xba')
24
+
25
+ if os.path.exists(macro_file):
26
+ with open(macro_file, 'r') as f:
27
+ if 'RecalculateAndSave' in f.read():
28
+ return True
29
+
30
+ if not os.path.exists(macro_dir):
31
+ subprocess.run(['soffice', '--headless', '--terminate_after_init'],
32
+ capture_output=True, timeout=10)
33
+ os.makedirs(macro_dir, exist_ok=True)
34
+
35
+ macro_content = '''<?xml version="1.0" encoding="UTF-8"?>
36
+ <!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
37
+ <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Module1" script:language="StarBasic">
38
+ Sub RecalculateAndSave()
39
+ ThisComponent.calculateAll()
40
+ ThisComponent.store()
41
+ ThisComponent.close(True)
42
+ End Sub
43
+ </script:module>'''
44
+
45
+ try:
46
+ with open(macro_file, 'w') as f:
47
+ f.write(macro_content)
48
+ return True
49
+ except Exception:
50
+ return False
51
+
52
+
53
+ def recalc(filename, timeout=30):
54
+ """
55
+ Recalculate formulas in Excel file and report any errors
56
+
57
+ Args:
58
+ filename: Path to Excel file
59
+ timeout: Maximum time to wait for recalculation (seconds)
60
+
61
+ Returns:
62
+ dict with error locations and counts
63
+ """
64
+ if not Path(filename).exists():
65
+ return {'error': f'File {filename} does not exist'}
66
+
67
+ abs_path = str(Path(filename).absolute())
68
+
69
+ if not setup_libreoffice_macro():
70
+ return {'error': 'Failed to setup LibreOffice macro'}
71
+
72
+ cmd = [
73
+ 'soffice', '--headless', '--norestore',
74
+ 'vnd.sun.star.script:Standard.Module1.RecalculateAndSave?language=Basic&location=application',
75
+ abs_path
76
+ ]
77
+
78
+ # Handle timeout command differences between Linux and macOS
79
+ if platform.system() != 'Windows':
80
+ timeout_cmd = 'timeout' if platform.system() == 'Linux' else None
81
+ if platform.system() == 'Darwin':
82
+ # Check if gtimeout is available on macOS
83
+ try:
84
+ subprocess.run(['gtimeout', '--version'], capture_output=True, timeout=1, check=False)
85
+ timeout_cmd = 'gtimeout'
86
+ except (FileNotFoundError, subprocess.TimeoutExpired):
87
+ pass
88
+
89
+ if timeout_cmd:
90
+ cmd = [timeout_cmd, str(timeout)] + cmd
91
+
92
+ result = subprocess.run(cmd, capture_output=True, text=True)
93
+
94
+ if result.returncode != 0 and result.returncode != 124: # 124 is timeout exit code
95
+ error_msg = result.stderr or 'Unknown error during recalculation'
96
+ if 'Module1' in error_msg or 'RecalculateAndSave' not in error_msg:
97
+ return {'error': 'LibreOffice macro not configured properly'}
98
+ else:
99
+ return {'error': error_msg}
100
+
101
+ # Check for Excel errors in the recalculated file - scan ALL cells
102
+ try:
103
+ wb = load_workbook(filename, data_only=True)
104
+
105
+ excel_errors = ['#VALUE!', '#DIV/0!', '#REF!', '#NAME?', '#NULL!', '#NUM!', '#N/A']
106
+ error_details = {err: [] for err in excel_errors}
107
+ total_errors = 0
108
+
109
+ for sheet_name in wb.sheetnames:
110
+ ws = wb[sheet_name]
111
+ # Check ALL rows and columns - no limits
112
+ for row in ws.iter_rows():
113
+ for cell in row:
114
+ if cell.value is not None and isinstance(cell.value, str):
115
+ for err in excel_errors:
116
+ if err in cell.value:
117
+ location = f"{sheet_name}!{cell.coordinate}"
118
+ error_details[err].append(location)
119
+ total_errors += 1
120
+ break
121
+
122
+ wb.close()
123
+
124
+ # Build result summary
125
+ result = {
126
+ 'status': 'success' if total_errors == 0 else 'errors_found',
127
+ 'total_errors': total_errors,
128
+ 'error_summary': {}
129
+ }
130
+
131
+ # Add non-empty error categories
132
+ for err_type, locations in error_details.items():
133
+ if locations:
134
+ result['error_summary'][err_type] = {
135
+ 'count': len(locations),
136
+ 'locations': locations[:20] # Show up to 20 locations
137
+ }
138
+
139
+ # Add formula count for context - also check ALL cells
140
+ wb_formulas = load_workbook(filename, data_only=False)
141
+ formula_count = 0
142
+ for sheet_name in wb_formulas.sheetnames:
143
+ ws = wb_formulas[sheet_name]
144
+ for row in ws.iter_rows():
145
+ for cell in row:
146
+ if cell.value and isinstance(cell.value, str) and cell.value.startswith('='):
147
+ formula_count += 1
148
+ wb_formulas.close()
149
+
150
+ result['total_formulas'] = formula_count
151
+
152
+ return result
153
+
154
+ except Exception as e:
155
+ return {'error': str(e)}
156
+
157
+
158
+ def main():
159
+ if len(sys.argv) < 2:
160
+ print("Usage: python recalc.py <excel_file> [timeout_seconds]")
161
+ print("\nRecalculates all formulas in an Excel file using LibreOffice")
162
+ print("\nReturns JSON with error details:")
163
+ print(" - status: 'success' or 'errors_found'")
164
+ print(" - total_errors: Total number of Excel errors found")
165
+ print(" - total_formulas: Number of formulas in the file")
166
+ print(" - error_summary: Breakdown by error type with locations")
167
+ print(" - #VALUE!, #DIV/0!, #REF!, #NAME?, #NULL!, #NUM!, #N/A")
168
+ sys.exit(1)
169
+
170
+ filename = sys.argv[1]
171
+ timeout = int(sys.argv[2]) if len(sys.argv) > 2 else 30
172
+
173
+ result = recalc(filename, timeout)
174
+ print(json.dumps(result, indent=2))
175
+
176
+
177
+ if __name__ == '__main__':
178
+ main()
@@ -1,152 +0,0 @@
1
- ---
2
- name: color-grading
3
- description: >
4
- Color grading for video with FFmpeg: filter chains, profile selection by content type,
5
- LUT workflow, skin tone protection, mood-specific recipes, colorblind-safe palette,
6
- WCAG contrast requirements. Use when applying color grades, creating visual looks, or
7
- correcting color in video.
8
- Keywords: color grading, color correction, LUT, FFmpeg, filter, cinematic, warm, cool,
9
- skin tone, colorbalance, curves, eq, color temperature, film look
10
- ---
11
-
12
- # Color Grading for Video Production
13
-
14
- ## Quick Reference
15
-
16
- ```
17
- PROFILES: cinematic_warm | cinematic_cool | moody_dark | bright_clean | vintage_film | high_contrast | neutral
18
- LUT FORMAT: .cube (3D LUT) — industry standard
19
- INTENSITY: 0.6-0.85 for subtle grades, 1.0 for full effect
20
- SKIN TONE: Vectorscope should fall on "skin tone line" (~123 degrees)
21
- BIT DEPTH: Grade in 10-bit when possible, deliver in 8-bit for web
22
- ```
23
-
24
- ## FFmpeg Filter Chain Order
25
-
26
- Apply filters in this order for predictable results:
27
-
28
- ```
29
- 1. normalize (auto-levels if source is flat/log)
30
- 2. colortemperature (white balance correction)
31
- 3. colorbalance (shadow/mid/highlight color shifts)
32
- 4. curves (contrast and tone shaping)
33
- 5. eq (final contrast/saturation/brightness tweak)
34
- 6. lut3d (creative LUT — applied LAST, on corrected footage)
35
- ```
36
-
37
- ## FFmpeg Filter Reference
38
-
39
- | Filter | Purpose | Key Parameters |
40
- |--------|---------|----------------|
41
- | `eq` | Brightness, contrast, saturation, gamma | `contrast=1.0:saturation=1.0:brightness=0.0:gamma=1.0` |
42
- | `colorbalance` | RGB in shadows/mids/highlights | `rs/gs/bs` (shadows), `rm/gm/bm` (mids), `rh/gh/bh` (highlights) — range -1.0 to 1.0 |
43
- | `curves` | Tone curves per channel | `all='0/0 0.5/0.5 1/1'` or per-channel `red=`, `green=`, `blue=` |
44
- | `colortemperature` | White balance shift | `temperature=6500` (neutral) — lower=cooler, higher=warmer |
45
- | `lut3d` | Apply .cube LUT | `lut3d='path/to/file.cube'` |
46
- | `hue` | Hue rotation and saturation | `h=0:s=1` |
47
-
48
- ## Profile Selection by Content Type
49
-
50
- | Content Type | Profile | Intensity | Why |
51
- |-------------|---------|-----------|-----|
52
- | Corporate / SaaS explainer | `bright_clean` | 0.8 | Clean, professional |
53
- | Science / educational | `neutral` | 1.0 | Accurate color matters |
54
- | Storytelling / narrative | `cinematic_warm` | 0.85 | Warmth builds connection |
55
- | Tech / dark theme | `cinematic_cool` | 0.7 | Complements dark UI |
56
- | Drama / serious | `moody_dark` | 0.6-0.7 | Atmosphere without crushing detail |
57
- | Lifestyle / social | `high_contrast` | 0.8 | Punchy, attention-grabbing |
58
- | Retro / nostalgic | `vintage_film` | 0.7 | Subtle faded look |
59
-
60
- ## Mood-Specific FFmpeg Recipes
61
-
62
- ### Warm / Inviting
63
- ```
64
- colorbalance=rs=0.06:gs=0.02:bs=-0.04:rh=0.05:gh=0.01:bh=-0.03,
65
- eq=contrast=1.05:saturation=1.08:brightness=0.01
66
- ```
67
-
68
- ### Cool / Technical
69
- ```
70
- colorbalance=rs=-0.03:gs=-0.01:bs=0.06:rh=-0.02:gh=0.01:bh=0.04,
71
- eq=contrast=1.06:saturation=0.95
72
- ```
73
-
74
- ### High Energy
75
- ```
76
- curves=all='0/0 0.15/0.08 0.5/0.52 0.85/0.92 1/1',
77
- eq=contrast=1.15:saturation=1.2
78
- ```
79
-
80
- ### Subdued / Serious
81
- ```
82
- curves=all='0/0.04 0.25/0.22 0.5/0.47 0.75/0.73 1/0.94',
83
- eq=contrast=1.03:saturation=0.75:brightness=-0.02
84
- ```
85
-
86
- ## LUT Workflow
87
-
88
- 1. **Always correct before grading** — normalize/white-balance first, then creative LUT
89
- 2. **Use intensity < 1.0** — full strength usually looks overdone; 0.6-0.8 is typical
90
- 3. **Test on skin tones first** — if people appear, skin must look natural
91
- 4. **One LUT per project** — switching LUTs creates visual inconsistency
92
-
93
- ### FFmpeg LUT at partial intensity
94
- ```bash
95
- ffmpeg -i input.mp4 -vf \
96
- "split[a][b];[b]lut3d='my_lut.cube'[graded];[a][graded]blend=all_mode=normal:all_opacity=0.7" \
97
- output.mp4
98
- ```
99
-
100
- ## Skin Tone Protection
101
-
102
- - On a vectorscope, healthy skin (all ethnicities) falls on a narrow line at ~123 degrees
103
- - Never push saturation above 1.2 on footage with people
104
- - If skin looks orange, green, or magenta after grading — pull back
105
- - `cinematic_warm` at intensity 0.85 is pre-tuned for natural skin
106
- - For `moody_dark`, keep intensity at 0.6-0.7 to avoid grey skin
107
-
108
- ## Enhancement Chain Order
109
-
110
- Apply in this sequence to avoid filter interactions:
111
-
112
- 1. **Subtitles first** — burn into base video
113
- 2. **Face enhance** — smoothing/sharpening on ungraded footage
114
- 3. **Color grade** — applies look after face is enhanced
115
- 4. **Audio enhance** — independent of video, apply last
116
-
117
- ## Colorblind-Safe Palette (Wong)
118
-
119
- For overlays, graphics, and diagrams:
120
-
121
- | Color | Hex | Use For |
122
- |-------|-----|---------|
123
- | Orange | `#E69F00` | Primary accent |
124
- | Sky Blue | `#56B4E9` | Secondary accent |
125
- | Bluish Green | `#009E73` | Positive/success |
126
- | Yellow | `#F0E442` | Highlight/warning |
127
- | Blue | `#0072B2` | Links, info |
128
- | Vermillion | `#D55E00` | Error/danger |
129
- | Reddish Purple | `#CC79A7` | Tertiary accent |
130
-
131
- ---
132
-
133
- ## Kolbo MCP Integration
134
-
135
- Color grading is a **post-production step** applied after Kolbo generates the raw video/images:
136
-
137
- 1. `generate_video` or `generate_video_from_image` → raw footage
138
- 2. Download the result
139
- 3. Apply color grade with FFmpeg using recipes above
140
- 4. Optionally: `upload_media` the graded result back to Kolbo CDN
141
-
142
- **For Remotion compositions:** Apply color grade as the last visual filter, or set the theme/palette in the composition props.
143
-
144
- **For AI-generated images:** Use lighter grades (intensity 0.5-0.6) since AI images are already stylized. Use `generate_image_edit` for major color changes instead of FFmpeg.
145
-
146
- ---
147
-
148
- ## Local / Free Options
149
-
150
- > **IMPORTANT:** Always use Kolbo MCP + FFmpeg by default. FFmpeg is safe to use directly — it's standard software. Do not install additional tools without confirming with the user first.
151
-
152
- **FFmpeg (safe, standard):** All color grading recipes in this skill use FFmpeg — no additional installs needed. This is the only local tool needed for color grading.