@synsci/cli-darwin-x64 1.1.70 → 1.1.72

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 (339) hide show
  1. package/bin/skills/citation-management/SKILL.md +1109 -0
  2. package/bin/skills/citation-management/assets/bibtex_template.bib +264 -0
  3. package/bin/skills/citation-management/assets/citation_checklist.md +386 -0
  4. package/bin/skills/citation-management/references/bibtex_formatting.md +908 -0
  5. package/bin/skills/citation-management/references/citation_validation.md +794 -0
  6. package/bin/skills/citation-management/references/google_scholar_search.md +725 -0
  7. package/bin/skills/citation-management/references/metadata_extraction.md +870 -0
  8. package/bin/skills/citation-management/references/pubmed_search.md +839 -0
  9. package/bin/skills/citation-management/scripts/doi_to_bibtex.py +182 -0
  10. package/bin/skills/citation-management/scripts/extract_metadata.py +570 -0
  11. package/bin/skills/citation-management/scripts/format_bibtex.py +349 -0
  12. package/bin/skills/citation-management/scripts/search_google_scholar.py +251 -0
  13. package/bin/skills/citation-management/scripts/search_pubmed.py +348 -0
  14. package/bin/skills/citation-management/scripts/validate_citations.py +494 -0
  15. package/bin/skills/clinical-decision-support/README.md +129 -0
  16. package/bin/skills/clinical-decision-support/SKILL.md +506 -0
  17. package/bin/skills/clinical-decision-support/assets/biomarker_report_template.tex +380 -0
  18. package/bin/skills/clinical-decision-support/assets/clinical_pathway_template.tex +222 -0
  19. package/bin/skills/clinical-decision-support/assets/cohort_analysis_template.tex +359 -0
  20. package/bin/skills/clinical-decision-support/assets/color_schemes.tex +149 -0
  21. package/bin/skills/clinical-decision-support/assets/example_gbm_cohort.md +208 -0
  22. package/bin/skills/clinical-decision-support/assets/recommendation_strength_guide.md +328 -0
  23. package/bin/skills/clinical-decision-support/assets/treatment_recommendation_template.tex +529 -0
  24. package/bin/skills/clinical-decision-support/references/biomarker_classification.md +719 -0
  25. package/bin/skills/clinical-decision-support/references/clinical_decision_algorithms.md +604 -0
  26. package/bin/skills/clinical-decision-support/references/evidence_synthesis.md +840 -0
  27. package/bin/skills/clinical-decision-support/references/outcome_analysis.md +640 -0
  28. package/bin/skills/clinical-decision-support/references/patient_cohort_analysis.md +427 -0
  29. package/bin/skills/clinical-decision-support/references/treatment_recommendations.md +521 -0
  30. package/bin/skills/clinical-decision-support/scripts/biomarker_classifier.py +383 -0
  31. package/bin/skills/clinical-decision-support/scripts/build_decision_tree.py +417 -0
  32. package/bin/skills/clinical-decision-support/scripts/create_cohort_tables.py +509 -0
  33. package/bin/skills/clinical-decision-support/scripts/generate_survival_analysis.py +441 -0
  34. package/bin/skills/clinical-decision-support/scripts/validate_cds_document.py +326 -0
  35. package/bin/skills/clinical-reports/IMPLEMENTATION_SUMMARY.md +641 -0
  36. package/bin/skills/clinical-reports/README.md +236 -0
  37. package/bin/skills/clinical-reports/SKILL.md +1127 -0
  38. package/bin/skills/clinical-reports/assets/case_report_template.md +352 -0
  39. package/bin/skills/clinical-reports/assets/clinical_trial_csr_template.md +353 -0
  40. package/bin/skills/clinical-reports/assets/clinical_trial_sae_template.md +359 -0
  41. package/bin/skills/clinical-reports/assets/consult_note_template.md +305 -0
  42. package/bin/skills/clinical-reports/assets/discharge_summary_template.md +453 -0
  43. package/bin/skills/clinical-reports/assets/hipaa_compliance_checklist.md +395 -0
  44. package/bin/skills/clinical-reports/assets/history_physical_template.md +305 -0
  45. package/bin/skills/clinical-reports/assets/lab_report_template.md +309 -0
  46. package/bin/skills/clinical-reports/assets/pathology_report_template.md +249 -0
  47. package/bin/skills/clinical-reports/assets/quality_checklist.md +338 -0
  48. package/bin/skills/clinical-reports/assets/radiology_report_template.md +318 -0
  49. package/bin/skills/clinical-reports/assets/soap_note_template.md +253 -0
  50. package/bin/skills/clinical-reports/references/case_report_guidelines.md +570 -0
  51. package/bin/skills/clinical-reports/references/clinical_trial_reporting.md +693 -0
  52. package/bin/skills/clinical-reports/references/data_presentation.md +530 -0
  53. package/bin/skills/clinical-reports/references/diagnostic_reports_standards.md +629 -0
  54. package/bin/skills/clinical-reports/references/medical_terminology.md +588 -0
  55. package/bin/skills/clinical-reports/references/patient_documentation.md +744 -0
  56. package/bin/skills/clinical-reports/references/peer_review_standards.md +585 -0
  57. package/bin/skills/clinical-reports/references/regulatory_compliance.md +577 -0
  58. package/bin/skills/clinical-reports/scripts/check_deidentification.py +332 -0
  59. package/bin/skills/clinical-reports/scripts/compliance_checker.py +78 -0
  60. package/bin/skills/clinical-reports/scripts/extract_clinical_data.py +97 -0
  61. package/bin/skills/clinical-reports/scripts/format_adverse_events.py +97 -0
  62. package/bin/skills/clinical-reports/scripts/generate_report_template.py +149 -0
  63. package/bin/skills/clinical-reports/scripts/terminology_validator.py +126 -0
  64. package/bin/skills/clinical-reports/scripts/validate_case_report.py +323 -0
  65. package/bin/skills/clinical-reports/scripts/validate_trial_report.py +88 -0
  66. package/bin/skills/fireworks-ai/SKILL.md +665 -0
  67. package/bin/skills/generate-image/SKILL.md +178 -0
  68. package/bin/skills/generate-image/scripts/generate_image.py +254 -0
  69. package/bin/skills/groq/SKILL.md +347 -0
  70. package/bin/skills/hypothesis-generation/SKILL.md +293 -0
  71. package/bin/skills/hypothesis-generation/assets/FORMATTING_GUIDE.md +672 -0
  72. package/bin/skills/hypothesis-generation/assets/hypothesis_generation.sty +307 -0
  73. package/bin/skills/hypothesis-generation/assets/hypothesis_report_template.tex +572 -0
  74. package/bin/skills/hypothesis-generation/references/experimental_design_patterns.md +329 -0
  75. package/bin/skills/hypothesis-generation/references/hypothesis_quality_criteria.md +198 -0
  76. package/bin/skills/hypothesis-generation/references/literature_search_strategies.md +622 -0
  77. package/bin/skills/latex-posters/README.md +417 -0
  78. package/bin/skills/latex-posters/SKILL.md +1602 -0
  79. package/bin/skills/latex-posters/assets/baposter_template.tex +257 -0
  80. package/bin/skills/latex-posters/assets/beamerposter_template.tex +244 -0
  81. package/bin/skills/latex-posters/assets/poster_quality_checklist.md +358 -0
  82. package/bin/skills/latex-posters/assets/tikzposter_template.tex +251 -0
  83. package/bin/skills/latex-posters/references/latex_poster_packages.md +745 -0
  84. package/bin/skills/latex-posters/references/poster_content_guide.md +748 -0
  85. package/bin/skills/latex-posters/references/poster_design_principles.md +806 -0
  86. package/bin/skills/latex-posters/references/poster_layout_design.md +900 -0
  87. package/bin/skills/latex-posters/scripts/review_poster.sh +214 -0
  88. package/bin/skills/literature-review/SKILL.md +641 -0
  89. package/bin/skills/literature-review/assets/review_template.md +412 -0
  90. package/bin/skills/literature-review/references/citation_styles.md +166 -0
  91. package/bin/skills/literature-review/references/database_strategies.md +455 -0
  92. package/bin/skills/literature-review/scripts/generate_pdf.py +184 -0
  93. package/bin/skills/literature-review/scripts/search_databases.py +310 -0
  94. package/bin/skills/literature-review/scripts/verify_citations.py +218 -0
  95. package/bin/skills/market-research-reports/SKILL.md +904 -0
  96. package/bin/skills/market-research-reports/assets/FORMATTING_GUIDE.md +428 -0
  97. package/bin/skills/market-research-reports/assets/market_report_template.tex +1380 -0
  98. package/bin/skills/market-research-reports/assets/market_research.sty +564 -0
  99. package/bin/skills/market-research-reports/references/data_analysis_patterns.md +548 -0
  100. package/bin/skills/market-research-reports/references/report_structure_guide.md +999 -0
  101. package/bin/skills/market-research-reports/references/visual_generation_guide.md +1077 -0
  102. package/bin/skills/market-research-reports/scripts/generate_market_visuals.py +472 -0
  103. package/bin/skills/markitdown/INSTALLATION_GUIDE.md +318 -0
  104. package/bin/skills/markitdown/LICENSE.txt +22 -0
  105. package/bin/skills/markitdown/OPENROUTER_INTEGRATION.md +359 -0
  106. package/bin/skills/markitdown/QUICK_REFERENCE.md +309 -0
  107. package/bin/skills/markitdown/README.md +184 -0
  108. package/bin/skills/markitdown/SKILL.md +486 -0
  109. package/bin/skills/markitdown/SKILL_SUMMARY.md +307 -0
  110. package/bin/skills/markitdown/assets/example_usage.md +463 -0
  111. package/bin/skills/markitdown/references/api_reference.md +399 -0
  112. package/bin/skills/markitdown/references/file_formats.md +542 -0
  113. package/bin/skills/markitdown/scripts/batch_convert.py +195 -0
  114. package/bin/skills/markitdown/scripts/convert_literature.py +262 -0
  115. package/bin/skills/markitdown/scripts/convert_with_ai.py +224 -0
  116. package/bin/skills/ml-paper-writing/SKILL.md +937 -0
  117. package/bin/skills/ml-paper-writing/references/checklists.md +361 -0
  118. package/bin/skills/ml-paper-writing/references/citation-workflow.md +562 -0
  119. package/bin/skills/ml-paper-writing/references/reviewer-guidelines.md +367 -0
  120. package/bin/skills/ml-paper-writing/references/sources.md +159 -0
  121. package/bin/skills/ml-paper-writing/references/writing-guide.md +476 -0
  122. package/bin/skills/ml-paper-writing/templates/README.md +251 -0
  123. package/bin/skills/ml-paper-writing/templates/aaai2026/README.md +534 -0
  124. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-supp.tex +144 -0
  125. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-template.tex +952 -0
  126. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.bib +111 -0
  127. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.bst +1493 -0
  128. package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.sty +315 -0
  129. package/bin/skills/ml-paper-writing/templates/acl/README.md +50 -0
  130. package/bin/skills/ml-paper-writing/templates/acl/acl.sty +312 -0
  131. package/bin/skills/ml-paper-writing/templates/acl/acl_latex.tex +377 -0
  132. package/bin/skills/ml-paper-writing/templates/acl/acl_lualatex.tex +101 -0
  133. package/bin/skills/ml-paper-writing/templates/acl/acl_natbib.bst +1940 -0
  134. package/bin/skills/ml-paper-writing/templates/acl/anthology.bib.txt +26 -0
  135. package/bin/skills/ml-paper-writing/templates/acl/custom.bib +70 -0
  136. package/bin/skills/ml-paper-writing/templates/acl/formatting.md +326 -0
  137. package/bin/skills/ml-paper-writing/templates/colm2025/README.md +3 -0
  138. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bib +11 -0
  139. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bst +1440 -0
  140. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.pdf +0 -0
  141. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.sty +218 -0
  142. package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.tex +305 -0
  143. package/bin/skills/ml-paper-writing/templates/colm2025/fancyhdr.sty +485 -0
  144. package/bin/skills/ml-paper-writing/templates/colm2025/math_commands.tex +508 -0
  145. package/bin/skills/ml-paper-writing/templates/colm2025/natbib.sty +1246 -0
  146. package/bin/skills/ml-paper-writing/templates/iclr2026/fancyhdr.sty +485 -0
  147. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bib +24 -0
  148. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bst +1440 -0
  149. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.pdf +0 -0
  150. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.sty +246 -0
  151. package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.tex +414 -0
  152. package/bin/skills/ml-paper-writing/templates/iclr2026/math_commands.tex +508 -0
  153. package/bin/skills/ml-paper-writing/templates/iclr2026/natbib.sty +1246 -0
  154. package/bin/skills/ml-paper-writing/templates/icml2026/algorithm.sty +79 -0
  155. package/bin/skills/ml-paper-writing/templates/icml2026/algorithmic.sty +201 -0
  156. package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.bib +75 -0
  157. package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.pdf +0 -0
  158. package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.tex +662 -0
  159. package/bin/skills/ml-paper-writing/templates/icml2026/fancyhdr.sty +864 -0
  160. package/bin/skills/ml-paper-writing/templates/icml2026/icml2026.bst +1443 -0
  161. package/bin/skills/ml-paper-writing/templates/icml2026/icml2026.sty +767 -0
  162. package/bin/skills/ml-paper-writing/templates/icml2026/icml_numpapers.pdf +0 -0
  163. package/bin/skills/ml-paper-writing/templates/neurips2025/Makefile +36 -0
  164. package/bin/skills/ml-paper-writing/templates/neurips2025/extra_pkgs.tex +53 -0
  165. package/bin/skills/ml-paper-writing/templates/neurips2025/main.tex +38 -0
  166. package/bin/skills/ml-paper-writing/templates/neurips2025/neurips.sty +382 -0
  167. package/bin/skills/paper-2-web/SKILL.md +491 -0
  168. package/bin/skills/paper-2-web/references/installation.md +141 -0
  169. package/bin/skills/paper-2-web/references/paper2poster.md +346 -0
  170. package/bin/skills/paper-2-web/references/paper2video.md +305 -0
  171. package/bin/skills/paper-2-web/references/paper2web.md +187 -0
  172. package/bin/skills/paper-2-web/references/usage_examples.md +436 -0
  173. package/bin/skills/peer-review/SKILL.md +702 -0
  174. package/bin/skills/peer-review/references/calibration_guidelines.md +196 -0
  175. package/bin/skills/peer-review/references/common_issues.md +552 -0
  176. package/bin/skills/peer-review/references/paper_mechanics.md +269 -0
  177. package/bin/skills/peer-review/references/reporting_standards.md +290 -0
  178. package/bin/skills/peer-review/references/scoring_rubric.md +239 -0
  179. package/bin/skills/pptx-posters/SKILL.md +410 -0
  180. package/bin/skills/pptx-posters/assets/poster_html_template.html +257 -0
  181. package/bin/skills/pptx-posters/assets/poster_quality_checklist.md +358 -0
  182. package/bin/skills/pptx-posters/references/poster_content_guide.md +748 -0
  183. package/bin/skills/pptx-posters/references/poster_design_principles.md +806 -0
  184. package/bin/skills/pptx-posters/references/poster_layout_design.md +900 -0
  185. package/bin/skills/research-grants/README.md +285 -0
  186. package/bin/skills/research-grants/SKILL.md +938 -0
  187. package/bin/skills/research-grants/assets/budget_justification_template.md +453 -0
  188. package/bin/skills/research-grants/assets/nih_specific_aims_template.md +166 -0
  189. package/bin/skills/research-grants/assets/nsf_project_summary_template.md +92 -0
  190. package/bin/skills/research-grants/references/broader_impacts.md +392 -0
  191. package/bin/skills/research-grants/references/darpa_guidelines.md +636 -0
  192. package/bin/skills/research-grants/references/doe_guidelines.md +586 -0
  193. package/bin/skills/research-grants/references/nih_guidelines.md +851 -0
  194. package/bin/skills/research-grants/references/nsf_guidelines.md +570 -0
  195. package/bin/skills/research-grants/references/specific_aims_guide.md +458 -0
  196. package/bin/skills/research-lookup/README.md +156 -0
  197. package/bin/skills/research-lookup/SKILL.md +606 -0
  198. package/bin/skills/research-lookup/examples.py +174 -0
  199. package/bin/skills/research-lookup/lookup.py +187 -0
  200. package/bin/skills/research-lookup/research_lookup.py +483 -0
  201. package/bin/skills/research-lookup/scripts/research_lookup.py +483 -0
  202. package/bin/skills/scholar-evaluation/SKILL.md +289 -0
  203. package/bin/skills/scholar-evaluation/references/evaluation_framework.md +663 -0
  204. package/bin/skills/scholar-evaluation/scripts/calculate_scores.py +366 -0
  205. package/bin/skills/scientific-critical-thinking/SKILL.md +566 -0
  206. package/bin/skills/scientific-critical-thinking/references/common_biases.md +364 -0
  207. package/bin/skills/scientific-critical-thinking/references/evidence_hierarchy.md +484 -0
  208. package/bin/skills/scientific-critical-thinking/references/experimental_design.md +496 -0
  209. package/bin/skills/scientific-critical-thinking/references/logical_fallacies.md +478 -0
  210. package/bin/skills/scientific-critical-thinking/references/scientific_method.md +169 -0
  211. package/bin/skills/scientific-critical-thinking/references/statistical_pitfalls.md +506 -0
  212. package/bin/skills/scientific-schematics/QUICK_REFERENCE.md +207 -0
  213. package/bin/skills/scientific-schematics/README.md +327 -0
  214. package/bin/skills/scientific-schematics/SKILL.md +615 -0
  215. package/bin/skills/scientific-schematics/example_usage.sh +89 -0
  216. package/bin/skills/scientific-schematics/references/best_practices.md +559 -0
  217. package/bin/skills/scientific-schematics/scripts/generate_schematic.py +135 -0
  218. package/bin/skills/scientific-schematics/scripts/generate_schematic_ai.py +807 -0
  219. package/bin/skills/scientific-schematics/test_ai_generation.py +243 -0
  220. package/bin/skills/scientific-slides/SKILL.md +942 -0
  221. package/bin/skills/scientific-slides/assets/timing_guidelines.md +597 -0
  222. package/bin/skills/scientific-slides/references/data_visualization_slides.md +708 -0
  223. package/bin/skills/scientific-slides/references/presentation_structure.md +642 -0
  224. package/bin/skills/scientific-slides/references/slide_design_principles.md +849 -0
  225. package/bin/skills/scientific-slides/references/talk_types_guide.md +687 -0
  226. package/bin/skills/scientific-slides/references/visual_review_workflow.md +775 -0
  227. package/bin/skills/scientific-slides/scripts/generate_slide_image.py +143 -0
  228. package/bin/skills/scientific-slides/scripts/generate_slide_image_ai.py +748 -0
  229. package/bin/skills/scientific-slides/scripts/pdf_to_images.py +201 -0
  230. package/bin/skills/scientific-slides/scripts/slides_to_pdf.py +220 -0
  231. package/bin/skills/scientific-slides/scripts/validate_presentation.py +367 -0
  232. package/bin/skills/scientific-writing/SKILL.md +714 -0
  233. package/bin/skills/scientific-writing/assets/REPORT_FORMATTING_GUIDE.md +574 -0
  234. package/bin/skills/scientific-writing/assets/scientific_report.sty +606 -0
  235. package/bin/skills/scientific-writing/assets/scientific_report_template.tex +449 -0
  236. package/bin/skills/scientific-writing/references/citation_styles.md +720 -0
  237. package/bin/skills/scientific-writing/references/figures_tables.md +806 -0
  238. package/bin/skills/scientific-writing/references/imrad_structure.md +686 -0
  239. package/bin/skills/scientific-writing/references/professional_report_formatting.md +664 -0
  240. package/bin/skills/scientific-writing/references/reporting_guidelines.md +748 -0
  241. package/bin/skills/scientific-writing/references/writing_principles.md +824 -0
  242. package/bin/skills/tinker/SKILL.md +2 -3
  243. package/bin/skills/together-ai/SKILL.md +722 -0
  244. package/bin/skills/treatment-plans/README.md +488 -0
  245. package/bin/skills/treatment-plans/SKILL.md +1579 -0
  246. package/bin/skills/treatment-plans/assets/STYLING_QUICK_REFERENCE.md +185 -0
  247. package/bin/skills/treatment-plans/assets/chronic_disease_management_plan.tex +665 -0
  248. package/bin/skills/treatment-plans/assets/general_medical_treatment_plan.tex +547 -0
  249. package/bin/skills/treatment-plans/assets/medical_treatment_plan.sty +222 -0
  250. package/bin/skills/treatment-plans/assets/mental_health_treatment_plan.tex +774 -0
  251. package/bin/skills/treatment-plans/assets/one_page_treatment_plan.tex +193 -0
  252. package/bin/skills/treatment-plans/assets/pain_management_plan.tex +799 -0
  253. package/bin/skills/treatment-plans/assets/perioperative_care_plan.tex +753 -0
  254. package/bin/skills/treatment-plans/assets/quality_checklist.md +471 -0
  255. package/bin/skills/treatment-plans/assets/rehabilitation_treatment_plan.tex +756 -0
  256. package/bin/skills/treatment-plans/references/goal_setting_frameworks.md +411 -0
  257. package/bin/skills/treatment-plans/references/intervention_guidelines.md +507 -0
  258. package/bin/skills/treatment-plans/references/regulatory_compliance.md +476 -0
  259. package/bin/skills/treatment-plans/references/specialty_specific_guidelines.md +655 -0
  260. package/bin/skills/treatment-plans/references/treatment_plan_standards.md +485 -0
  261. package/bin/skills/treatment-plans/scripts/check_completeness.py +322 -0
  262. package/bin/skills/treatment-plans/scripts/generate_template.py +233 -0
  263. package/bin/skills/treatment-plans/scripts/timeline_generator.py +385 -0
  264. package/bin/skills/treatment-plans/scripts/validate_treatment_plan.py +369 -0
  265. package/bin/skills/unsloth/SKILL.md +565 -47
  266. package/bin/skills/unsloth/docs/advanced-rl.md +222 -0
  267. package/bin/skills/unsloth/docs/chat-templates.md +141 -0
  268. package/bin/skills/unsloth/docs/datasets.md +489 -0
  269. package/bin/skills/unsloth/docs/docker-extended.md +99 -0
  270. package/bin/skills/unsloth/docs/dynamic-ggufs-2.0.md +116 -0
  271. package/bin/skills/unsloth/docs/dynamic-ggufs-aider.md +118 -0
  272. package/bin/skills/unsloth/docs/faq.md +91 -0
  273. package/bin/skills/unsloth/docs/fp16-vs-bf16.md +61 -0
  274. package/bin/skills/unsloth/docs/fp8-rl.md +224 -0
  275. package/bin/skills/unsloth/docs/glm-4.7-flash.md +997 -0
  276. package/bin/skills/unsloth/docs/inference-deployment-overview.md +17 -0
  277. package/bin/skills/unsloth/docs/inference.md +27 -0
  278. package/bin/skills/unsloth/docs/installation-docker.md +155 -0
  279. package/bin/skills/unsloth/docs/installation-pip.md +148 -0
  280. package/bin/skills/unsloth/docs/kernels-packing.md +190 -0
  281. package/bin/skills/unsloth/docs/kimi-k2.5.md +634 -0
  282. package/bin/skills/unsloth/docs/lm-studio.md +235 -0
  283. package/bin/skills/unsloth/docs/lora-hot-swapping.md +75 -0
  284. package/bin/skills/unsloth/docs/lora-hyperparameters.md +363 -0
  285. package/bin/skills/unsloth/docs/memory-efficient-rl.md +267 -0
  286. package/bin/skills/unsloth/docs/model-selection.md +70 -0
  287. package/bin/skills/unsloth/docs/models.md +532 -0
  288. package/bin/skills/unsloth/docs/multi-gpu-ddp.md +90 -0
  289. package/bin/skills/unsloth/docs/notebooks.md +223 -0
  290. package/bin/skills/unsloth/docs/overview.md +110 -0
  291. package/bin/skills/unsloth/docs/qwen3-coder-next-extended.md +900 -0
  292. package/bin/skills/unsloth/docs/qwen3-coder-next.md +900 -0
  293. package/bin/skills/unsloth/docs/requirements.md +45 -0
  294. package/bin/skills/unsloth/docs/reward-hacking.md +25 -0
  295. package/bin/skills/unsloth/docs/saving-to-gguf.md +138 -0
  296. package/bin/skills/unsloth/docs/saving-to-ollama.md +46 -0
  297. package/bin/skills/unsloth/docs/sglang-guide.md +278 -0
  298. package/bin/skills/unsloth/docs/speculative-decoding.md +70 -0
  299. package/bin/skills/unsloth/docs/tool-calling.md +334 -0
  300. package/bin/skills/unsloth/docs/troubleshooting-faq.md +204 -0
  301. package/bin/skills/unsloth/docs/troubleshooting-inference.md +26 -0
  302. package/bin/skills/unsloth/docs/tts-fine-tuning.md +149 -0
  303. package/bin/skills/unsloth/docs/tutorial-grpo.md +273 -0
  304. package/bin/skills/unsloth/docs/tutorial-llama3-ollama.md +356 -0
  305. package/bin/skills/unsloth/docs/vision-fine-tuning.md +135 -0
  306. package/bin/skills/unsloth/docs/vision-rl.md +170 -0
  307. package/bin/skills/unsloth/docs/vllm-engine-arguments.md +43 -0
  308. package/bin/skills/unsloth/docs/vllm-guide.md +98 -0
  309. package/bin/skills/venue-templates/SKILL.md +686 -0
  310. package/bin/skills/venue-templates/assets/examples/cell_summary_example.md +247 -0
  311. package/bin/skills/venue-templates/assets/examples/medical_structured_abstract.md +313 -0
  312. package/bin/skills/venue-templates/assets/examples/nature_abstract_examples.md +213 -0
  313. package/bin/skills/venue-templates/assets/examples/neurips_introduction_example.md +245 -0
  314. package/bin/skills/venue-templates/assets/grants/nih_specific_aims.tex +235 -0
  315. package/bin/skills/venue-templates/assets/grants/nsf_proposal_template.tex +375 -0
  316. package/bin/skills/venue-templates/assets/journals/nature_article.tex +171 -0
  317. package/bin/skills/venue-templates/assets/journals/neurips_article.tex +283 -0
  318. package/bin/skills/venue-templates/assets/journals/plos_one.tex +317 -0
  319. package/bin/skills/venue-templates/assets/posters/beamerposter_academic.tex +311 -0
  320. package/bin/skills/venue-templates/references/cell_press_style.md +483 -0
  321. package/bin/skills/venue-templates/references/conferences_formatting.md +564 -0
  322. package/bin/skills/venue-templates/references/cs_conference_style.md +463 -0
  323. package/bin/skills/venue-templates/references/grants_requirements.md +787 -0
  324. package/bin/skills/venue-templates/references/journals_formatting.md +486 -0
  325. package/bin/skills/venue-templates/references/medical_journal_styles.md +535 -0
  326. package/bin/skills/venue-templates/references/ml_conference_style.md +556 -0
  327. package/bin/skills/venue-templates/references/nature_science_style.md +405 -0
  328. package/bin/skills/venue-templates/references/posters_guidelines.md +628 -0
  329. package/bin/skills/venue-templates/references/reviewer_expectations.md +417 -0
  330. package/bin/skills/venue-templates/references/venue_writing_styles.md +321 -0
  331. package/bin/skills/venue-templates/scripts/customize_template.py +195 -0
  332. package/bin/skills/venue-templates/scripts/query_template.py +266 -0
  333. package/bin/skills/venue-templates/scripts/validate_format.py +250 -0
  334. package/bin/synsc +0 -0
  335. package/package.json +1 -1
  336. package/bin/skills/unsloth/references/index.md +0 -7
  337. package/bin/skills/unsloth/references/llms-full.md +0 -16799
  338. package/bin/skills/unsloth/references/llms-txt.md +0 -12044
  339. package/bin/skills/unsloth/references/llms.md +0 -82
@@ -0,0 +1,178 @@
1
+ ---
2
+ name: generate-image
3
+ description: Generate or edit images using AI models (FLUX, Gemini). Use for general-purpose image generation including photos, illustrations, artwork, visual assets, concept art, and any image that isn't a technical diagram or schematic. For flowcharts, circuits, pathways, and technical diagrams, use the scientific-schematics skill instead.
4
+ ---
5
+
6
+ # Generate Image
7
+
8
+ Generate and edit high-quality images using OpenRouter's image generation models including FLUX.2 Pro and Gemini 3 Pro.
9
+
10
+ ## When to Use This Skill
11
+
12
+ **Use generate-image for:**
13
+ - Photos and photorealistic images
14
+ - Artistic illustrations and artwork
15
+ - Concept art and visual concepts
16
+ - Visual assets for presentations or documents
17
+ - Image editing and modifications
18
+ - Any general-purpose image generation needs
19
+
20
+ **Use scientific-schematics instead for:**
21
+ - Flowcharts and process diagrams
22
+ - Circuit diagrams and electrical schematics
23
+ - Biological pathways and signaling cascades
24
+ - System architecture diagrams
25
+ - CONSORT diagrams and methodology flowcharts
26
+ - Any technical/schematic diagrams
27
+
28
+ ## Quick Start
29
+
30
+ Use the `scripts/generate_image.py` script to generate or edit images:
31
+
32
+ ```bash
33
+ # Generate a new image
34
+ python scripts/generate_image.py "A beautiful sunset over mountains"
35
+
36
+ # Edit an existing image
37
+ python scripts/generate_image.py "Make the sky purple" --input photo.jpg
38
+ ```
39
+
40
+ This generates/edits an image and saves it as `generated_image.png` in the current directory.
41
+
42
+ ## API Key Setup
43
+
44
+ **CRITICAL**: The script requires an OpenRouter API key. Before running, check if the user has configured their API key:
45
+
46
+ 1. Look for a `.env` file in the project directory or parent directories
47
+ 2. Check for `OPENROUTER_API_KEY=<key>` in the `.env` file
48
+ 3. If not found, inform the user they need to:
49
+ - Create a `.env` file with `OPENROUTER_API_KEY=your-api-key-here`
50
+ - Or set the environment variable: `export OPENROUTER_API_KEY=your-api-key-here`
51
+ - Get an API key from: https://openrouter.ai/keys
52
+
53
+ The script will automatically detect the `.env` file and provide clear error messages if the API key is missing.
54
+
55
+ ## Model Selection
56
+
57
+ **Default model**: `google/gemini-3-pro-image-preview` (high quality, recommended)
58
+
59
+ **Available models for generation and editing**:
60
+ - `google/gemini-3-pro-image-preview` - High quality, supports generation + editing
61
+ - `black-forest-labs/flux.2-pro` - Fast, high quality, supports generation + editing
62
+
63
+ **Generation only**:
64
+ - `black-forest-labs/flux.2-flex` - Fast and cheap, but not as high quality as pro
65
+
66
+ Select based on:
67
+ - **Quality**: Use gemini-3-pro or flux.2-pro
68
+ - **Editing**: Use gemini-3-pro or flux.2-pro (both support image editing)
69
+ - **Cost**: Use flux.2-flex for generation only
70
+
71
+ ## Common Usage Patterns
72
+
73
+ ### Basic generation
74
+ ```bash
75
+ python scripts/generate_image.py "Your prompt here"
76
+ ```
77
+
78
+ ### Specify model
79
+ ```bash
80
+ python scripts/generate_image.py "A cat in space" --model "black-forest-labs/flux.2-pro"
81
+ ```
82
+
83
+ ### Custom output path
84
+ ```bash
85
+ python scripts/generate_image.py "Abstract art" --output artwork.png
86
+ ```
87
+
88
+ ### Edit an existing image
89
+ ```bash
90
+ python scripts/generate_image.py "Make the background blue" --input photo.jpg
91
+ ```
92
+
93
+ ### Edit with a specific model
94
+ ```bash
95
+ python scripts/generate_image.py "Add sunglasses to the person" --input portrait.png --model "black-forest-labs/flux.2-pro"
96
+ ```
97
+
98
+ ### Edit with custom output
99
+ ```bash
100
+ python scripts/generate_image.py "Remove the text from the image" --input screenshot.png --output cleaned.png
101
+ ```
102
+
103
+ ### Multiple images
104
+ Run the script multiple times with different prompts or output paths:
105
+ ```bash
106
+ python scripts/generate_image.py "Image 1 description" --output image1.png
107
+ python scripts/generate_image.py "Image 2 description" --output image2.png
108
+ ```
109
+
110
+ ## Script Parameters
111
+
112
+ - `prompt` (required): Text description of the image to generate, or editing instructions
113
+ - `--input` or `-i`: Input image path for editing (enables edit mode)
114
+ - `--model` or `-m`: OpenRouter model ID (default: google/gemini-3-pro-image-preview)
115
+ - `--output` or `-o`: Output file path (default: generated_image.png)
116
+ - `--api-key`: OpenRouter API key (overrides .env file)
117
+
118
+ ## Example Use Cases
119
+
120
+ ### For Scientific Documents
121
+ ```bash
122
+ # Generate a conceptual illustration for a paper
123
+ python scripts/generate_image.py "Microscopic view of cancer cells being attacked by immunotherapy agents, scientific illustration style" --output figures/immunotherapy_concept.png
124
+
125
+ # Create a visual for a presentation
126
+ python scripts/generate_image.py "DNA double helix structure with highlighted mutation site, modern scientific visualization" --output slides/dna_mutation.png
127
+ ```
128
+
129
+ ### For Presentations and Posters
130
+ ```bash
131
+ # Title slide background
132
+ python scripts/generate_image.py "Abstract blue and white background with subtle molecular patterns, professional presentation style" --output slides/background.png
133
+
134
+ # Poster hero image
135
+ python scripts/generate_image.py "Laboratory setting with modern equipment, photorealistic, well-lit" --output poster/hero.png
136
+ ```
137
+
138
+ ### For General Visual Content
139
+ ```bash
140
+ # Website or documentation images
141
+ python scripts/generate_image.py "Professional team collaboration around a digital whiteboard, modern office" --output docs/team_collaboration.png
142
+
143
+ # Marketing materials
144
+ python scripts/generate_image.py "Futuristic AI brain concept with glowing neural networks" --output marketing/ai_concept.png
145
+ ```
146
+
147
+ ## Error Handling
148
+
149
+ The script provides clear error messages for:
150
+ - Missing API key (with setup instructions)
151
+ - API errors (with status codes)
152
+ - Unexpected response formats
153
+ - Missing dependencies (requests library)
154
+
155
+ If the script fails, read the error message and address the issue before retrying.
156
+
157
+ ## Notes
158
+
159
+ - Images are returned as base64-encoded data URLs and automatically saved as PNG files
160
+ - The script supports both `images` and `content` response formats from different OpenRouter models
161
+ - Generation time varies by model (typically 5-30 seconds)
162
+ - For image editing, the input image is encoded as base64 and sent to the model
163
+ - Supported input image formats: PNG, JPEG, GIF, WebP
164
+ - Check OpenRouter pricing for cost information: https://openrouter.ai/models
165
+
166
+ ## Image Editing Tips
167
+
168
+ - Be specific about what changes you want (e.g., "change the sky to sunset colors" vs "edit the sky")
169
+ - Reference specific elements in the image when possible
170
+ - For best results, use clear and detailed editing instructions
171
+ - Both Gemini 3 Pro and FLUX.2 Pro support image editing through OpenRouter
172
+
173
+ ## Integration with Other Skills
174
+
175
+ - **scientific-schematics**: Use for technical diagrams, flowcharts, circuits, pathways
176
+ - **generate-image**: Use for photos, illustrations, artwork, visual concepts
177
+ - **scientific-slides**: Combine with generate-image for visually rich presentations
178
+ - **latex-posters**: Use generate-image for poster visuals and hero images
@@ -0,0 +1,254 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ Generate and edit images using OpenRouter API with various image generation models.
4
+
5
+ Supports models like:
6
+ - google/gemini-3-pro-image-preview (generation and editing)
7
+ - black-forest-labs/flux.2-pro (generation and editing)
8
+ - black-forest-labs/flux.2-flex (generation)
9
+ - And more image generation models available on OpenRouter
10
+
11
+ For image editing, provide an input image along with an editing prompt.
12
+ """
13
+
14
+ import argparse
15
+ import base64
16
+ import json
17
+ import sys
18
+ from pathlib import Path
19
+ from typing import Optional
20
+
21
+
22
+ def check_env_file() -> Optional[str]:
23
+ """Check if .env file exists and contains OPENROUTER_API_KEY."""
24
+ # Look for .env in current directory and parent directories
25
+ current_dir = Path.cwd()
26
+ for parent in [current_dir] + list(current_dir.parents):
27
+ env_file = parent / ".env"
28
+ if env_file.exists():
29
+ with open(env_file, 'r') as f:
30
+ for line in f:
31
+ if line.startswith('OPENROUTER_API_KEY='):
32
+ api_key = line.split('=', 1)[1].strip().strip('"').strip("'")
33
+ if api_key:
34
+ return api_key
35
+ return None
36
+
37
+
38
+ def load_image_as_base64(image_path: str) -> str:
39
+ """Load an image file and return it as a base64 data URL."""
40
+ path = Path(image_path)
41
+ if not path.exists():
42
+ print(f"❌ Error: Image file not found: {image_path}")
43
+ sys.exit(1)
44
+
45
+ # Determine MIME type from extension
46
+ ext = path.suffix.lower()
47
+ mime_types = {
48
+ '.png': 'image/png',
49
+ '.jpg': 'image/jpeg',
50
+ '.jpeg': 'image/jpeg',
51
+ '.gif': 'image/gif',
52
+ '.webp': 'image/webp',
53
+ }
54
+ mime_type = mime_types.get(ext, 'image/png')
55
+
56
+ with open(path, 'rb') as f:
57
+ image_data = f.read()
58
+
59
+ base64_data = base64.b64encode(image_data).decode('utf-8')
60
+ return f"data:{mime_type};base64,{base64_data}"
61
+
62
+
63
+ def save_base64_image(base64_data: str, output_path: str) -> None:
64
+ """Save base64 encoded image to file."""
65
+ # Remove data URL prefix if present
66
+ if ',' in base64_data:
67
+ base64_data = base64_data.split(',', 1)[1]
68
+
69
+ # Decode and save
70
+ image_data = base64.b64decode(base64_data)
71
+ with open(output_path, 'wb') as f:
72
+ f.write(image_data)
73
+
74
+
75
+ def generate_image(
76
+ prompt: str,
77
+ model: str = "google/gemini-3-pro-image-preview",
78
+ output_path: str = "generated_image.png",
79
+ api_key: Optional[str] = None,
80
+ input_image: Optional[str] = None,
81
+ ) -> dict:
82
+ """
83
+ Generate or edit an image using OpenRouter API.
84
+
85
+ Args:
86
+ prompt: Text description of the image to generate, or editing instructions
87
+ model: OpenRouter model ID (default: google/gemini-3-pro-image-preview)
88
+ output_path: Path to save the generated image
89
+ api_key: OpenRouter API key (will check .env if not provided)
90
+ input_image: Path to an input image for editing (optional)
91
+
92
+ Returns:
93
+ dict: Response from OpenRouter API
94
+ """
95
+ try:
96
+ import requests
97
+ except ImportError:
98
+ print("Error: 'requests' library not found. Install with: pip install requests")
99
+ sys.exit(1)
100
+
101
+ # Check for API key
102
+ if not api_key:
103
+ api_key = check_env_file()
104
+
105
+ if not api_key:
106
+ print("❌ Error: OPENROUTER_API_KEY not found!")
107
+ print("\nPlease create a .env file in your project directory with:")
108
+ print("OPENROUTER_API_KEY=your-api-key-here")
109
+ print("\nOr set the environment variable:")
110
+ print("export OPENROUTER_API_KEY=your-api-key-here")
111
+ print("\nGet your API key from: https://openrouter.ai/keys")
112
+ sys.exit(1)
113
+
114
+ # Determine if this is generation or editing
115
+ is_editing = input_image is not None
116
+
117
+ if is_editing:
118
+ print(f"✏️ Editing image with model: {model}")
119
+ print(f"📷 Input image: {input_image}")
120
+ print(f"📝 Edit prompt: {prompt}")
121
+
122
+ # Load input image as base64
123
+ image_data_url = load_image_as_base64(input_image)
124
+
125
+ # Build multimodal message content for image editing
126
+ message_content = [
127
+ {"type": "text", "text": prompt},
128
+ {"type": "image_url", "image_url": {"url": image_data_url}},
129
+ ]
130
+ else:
131
+ print(f"🎨 Generating image with model: {model}")
132
+ print(f"📝 Prompt: {prompt}")
133
+ message_content = prompt
134
+
135
+ # Make API request
136
+ response = requests.post(
137
+ url="https://openrouter.ai/api/v1/chat/completions",
138
+ headers={
139
+ "Authorization": f"Bearer {api_key}",
140
+ "Content-Type": "application/json",
141
+ },
142
+ json={
143
+ "model": model,
144
+ "messages": [{"role": "user", "content": message_content}],
145
+ "modalities": ["image", "text"],
146
+ },
147
+ )
148
+
149
+ # Check for errors
150
+ if response.status_code != 200:
151
+ print(f"❌ API Error ({response.status_code}): {response.text}")
152
+ sys.exit(1)
153
+
154
+ result = response.json()
155
+
156
+ # Extract and save image
157
+ if result.get("choices"):
158
+ message = result["choices"][0]["message"]
159
+
160
+ # Handle both 'images' and 'content' response formats
161
+ images = []
162
+
163
+ if message.get("images"):
164
+ images = message["images"]
165
+ elif message.get("content"):
166
+ # Some models return content as array with image parts
167
+ content = message["content"]
168
+ if isinstance(content, list):
169
+ for part in content:
170
+ if isinstance(part, dict) and part.get("type") == "image":
171
+ images.append(part)
172
+
173
+ if images:
174
+ # Save the first image
175
+ image = images[0]
176
+ if "image_url" in image:
177
+ image_url = image["image_url"]["url"]
178
+ save_base64_image(image_url, output_path)
179
+ print(f"✅ Image saved to: {output_path}")
180
+ elif "url" in image:
181
+ save_base64_image(image["url"], output_path)
182
+ print(f"✅ Image saved to: {output_path}")
183
+ else:
184
+ print(f"⚠️ Unexpected image format: {image}")
185
+ else:
186
+ print("⚠️ No image found in response")
187
+ if message.get("content"):
188
+ print(f"Response content: {message['content']}")
189
+ else:
190
+ print("❌ No choices in response")
191
+ print(f"Response: {json.dumps(result, indent=2)}")
192
+
193
+ return result
194
+
195
+
196
+ def main():
197
+ parser = argparse.ArgumentParser(
198
+ description="Generate or edit images using OpenRouter API",
199
+ formatter_class=argparse.RawDescriptionHelpFormatter,
200
+ epilog="""
201
+ Examples:
202
+ # Generate with default model (Gemini 3 Pro Image Preview)
203
+ python generate_image.py "A beautiful sunset over mountains"
204
+
205
+ # Use a specific model
206
+ python generate_image.py "A cat in space" --model "black-forest-labs/flux.2-pro"
207
+
208
+ # Specify output path
209
+ python generate_image.py "Abstract art" --output my_image.png
210
+
211
+ # Edit an existing image
212
+ python generate_image.py "Make the sky purple" --input photo.jpg --output edited.png
213
+
214
+ # Edit with a specific model
215
+ python generate_image.py "Add a hat to the person" --input portrait.png -m "black-forest-labs/flux.2-pro"
216
+
217
+ Popular image models:
218
+ - google/gemini-3-pro-image-preview (default, high quality, generation + editing)
219
+ - black-forest-labs/flux.2-pro (fast, high quality, generation + editing)
220
+ - black-forest-labs/flux.2-flex (development version)
221
+ """,
222
+ )
223
+
224
+ parser.add_argument("prompt", type=str, help="Text description of the image to generate, or editing instructions")
225
+
226
+ parser.add_argument(
227
+ "--model",
228
+ "-m",
229
+ type=str,
230
+ default="google/gemini-3-pro-image-preview",
231
+ help="OpenRouter model ID (default: google/gemini-3-pro-image-preview)",
232
+ )
233
+
234
+ parser.add_argument(
235
+ "--output",
236
+ "-o",
237
+ type=str,
238
+ default="generated_image.png",
239
+ help="Output file path (default: generated_image.png)",
240
+ )
241
+
242
+ parser.add_argument("--input", "-i", type=str, help="Input image path for editing (enables edit mode)")
243
+
244
+ parser.add_argument("--api-key", type=str, help="OpenRouter API key (will check .env if not provided)")
245
+
246
+ args = parser.parse_args()
247
+
248
+ generate_image(
249
+ prompt=args.prompt, model=args.model, output_path=args.output, api_key=args.api_key, input_image=args.input
250
+ )
251
+
252
+
253
+ if __name__ == "__main__":
254
+ main()