@synsci/cli-darwin-x64-baseline 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,491 @@
1
+ ---
2
+ name: paper-2-web
3
+ description: This skill should be used when converting academic papers into promotional and presentation formats including interactive websites (Paper2Web), presentation videos (Paper2Video), and conference posters (Paper2Poster). Use this skill for tasks involving paper dissemination, conference preparation, creating explorable academic homepages, generating video abstracts, or producing print-ready posters from LaTeX or PDF sources.
4
+ allowed-tools: [Read, Write, Edit, Bash]
5
+ ---
6
+
7
+ # Paper2All: Academic Paper Transformation Pipeline
8
+
9
+ ## Overview
10
+
11
+ This skill enables the transformation of academic papers into multiple promotional and presentation formats using the Paper2All autonomous pipeline. The system converts research papers (LaTeX or PDF) into three primary outputs:
12
+
13
+ 1. **Paper2Web**: Interactive, explorable academic homepages with layout-aware design
14
+ 2. **Paper2Video**: Professional presentation videos with narration, slides, and optional talking-head
15
+ 3. **Paper2Poster**: Print-ready conference posters with professional layouts
16
+
17
+ The pipeline uses LLM-powered content extraction, design generation, and iterative refinement to create high-quality outputs suitable for conferences, journals, preprint repositories, and academic promotion.
18
+
19
+ ## When to Use This Skill
20
+
21
+ Use this skill when:
22
+
23
+ - **Creating conference materials**: Posters, presentation videos, and companion websites for academic conferences
24
+ - **Promoting research**: Converting published papers or preprints into accessible, engaging web formats
25
+ - **Preparing presentations**: Generating video abstracts or full presentation videos from paper content
26
+ - **Disseminating findings**: Creating promotional materials for social media, lab websites, or institutional showcases
27
+ - **Enhancing preprints**: Adding interactive homepages to bioRxiv, arXiv, or other preprint submissions
28
+ - **Batch processing**: Generating promotional materials for multiple papers simultaneously
29
+
30
+ **Trigger phrases**:
31
+ - "Convert this paper to a website"
32
+ - "Generate a conference poster from my LaTeX paper"
33
+ - "Create a video presentation from this research"
34
+ - "Make an interactive homepage for my paper"
35
+ - "Transform my paper into promotional materials"
36
+ - "Generate a poster and video for my conference talk"
37
+
38
+ ## Visual Enhancement with Scientific Schematics
39
+
40
+ **When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.**
41
+
42
+ If your document does not already contain schematics or diagrams:
43
+ - Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
44
+ - Simply describe your desired diagram in natural language
45
+ - Nano Banana Pro will automatically generate, review, and refine the schematic
46
+
47
+ **For new documents:** Scientific schematics should be generated by default to visually represent key concepts, workflows, architectures, or relationships described in the text.
48
+
49
+ **How to generate schematics:**
50
+ ```bash
51
+ python scripts/generate_schematic.py "your diagram description" -o figures/output.png
52
+ ```
53
+
54
+ The AI will automatically:
55
+ - Create publication-quality images with proper formatting
56
+ - Review and refine through multiple iterations
57
+ - Ensure accessibility (colorblind-friendly, high contrast)
58
+ - Save outputs in the figures/ directory
59
+
60
+ **When to add schematics:**
61
+ - Paper transformation pipeline diagrams
62
+ - Website layout architecture diagrams
63
+ - Video production workflow illustrations
64
+ - Poster design process flowcharts
65
+ - Content extraction diagrams
66
+ - System architecture visualizations
67
+ - Any complex concept that benefits from visualization
68
+
69
+ For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.
70
+
71
+ ---
72
+
73
+ ## Core Capabilities
74
+
75
+ ### 1. Paper2Web: Interactive Website Generation
76
+
77
+ Converts papers into layout-aware, interactive academic homepages that go beyond simple HTML conversion.
78
+
79
+ **Key Features**:
80
+ - Responsive, multi-section layouts adapted to paper content
81
+ - Interactive figures, tables, and citations
82
+ - Mobile-friendly design with navigation
83
+ - Automatic logo discovery (with Google Search API)
84
+ - Aesthetic refinement and quality assessment
85
+
86
+ **Best For**: Post-publication promotion, preprint enhancement, lab websites, permanent research showcases
87
+
88
+ → **See `references/paper2web.md` for detailed documentation**
89
+
90
+ ---
91
+
92
+ ### 2. Paper2Video: Presentation Video Generation
93
+
94
+ Generates professional presentation videos with slides, narration, cursor movements, and optional talking-head video.
95
+
96
+ **Key Features**:
97
+ - Automated slide generation from paper structure
98
+ - Natural-sounding speech synthesis
99
+ - Synchronized cursor movements and highlights
100
+ - Optional talking-head video using Hallo2 (requires GPU)
101
+ - Multi-language support
102
+
103
+ **Best For**: Video abstracts, conference presentations, online talks, course materials, YouTube promotion
104
+
105
+ → **See `references/paper2video.md` for detailed documentation**
106
+
107
+ ---
108
+
109
+ ### 3. Paper2Poster: Conference Poster Generation
110
+
111
+ Creates print-ready academic posters with professional layouts and visual design.
112
+
113
+ **Key Features**:
114
+ - Custom poster dimensions (any size)
115
+ - Professional design templates
116
+ - Institution branding support
117
+ - QR code generation for links
118
+ - High-resolution output (300+ DPI)
119
+
120
+ **Best For**: Conference poster sessions, symposiums, academic exhibitions, virtual conferences
121
+
122
+ → **See `references/paper2poster.md` for detailed documentation**
123
+
124
+ ---
125
+
126
+ ## Quick Start
127
+
128
+ ### Prerequisites
129
+
130
+ 1. **Install Paper2All**:
131
+ ```bash
132
+ git clone https://github.com/YuhangChen1/Paper2All.git
133
+ cd Paper2All
134
+ conda create -n paper2all python=3.11
135
+ conda activate paper2all
136
+ pip install -r requirements.txt
137
+ ```
138
+
139
+ 2. **Configure API Keys** (create `.env` file):
140
+ ```
141
+ OPENAI_API_KEY=your_openai_api_key_here
142
+ # Optional: GOOGLE_API_KEY and GOOGLE_CSE_ID for logo search
143
+ ```
144
+
145
+ 3. **Install System Dependencies**:
146
+ - LibreOffice (document conversion)
147
+ - Poppler utilities (PDF processing)
148
+ - NVIDIA GPU with 48GB (optional, for talking-head videos)
149
+
150
+ → **See `references/installation.md` for complete installation guide**
151
+
152
+ ---
153
+
154
+ ### Basic Usage
155
+
156
+ **Generate All Components** (website + poster + video):
157
+ ```bash
158
+ python pipeline_all.py \
159
+ --input-dir "path/to/paper" \
160
+ --output-dir "path/to/output" \
161
+ --model-choice 1
162
+ ```
163
+
164
+ **Generate Website Only**:
165
+ ```bash
166
+ python pipeline_all.py \
167
+ --input-dir "path/to/paper" \
168
+ --output-dir "path/to/output" \
169
+ --model-choice 1 \
170
+ --generate-website
171
+ ```
172
+
173
+ **Generate Poster with Custom Size**:
174
+ ```bash
175
+ python pipeline_all.py \
176
+ --input-dir "path/to/paper" \
177
+ --output-dir "path/to/output" \
178
+ --model-choice 1 \
179
+ --generate-poster \
180
+ --poster-width-inches 60 \
181
+ --poster-height-inches 40
182
+ ```
183
+
184
+ **Generate Video** (lightweight pipeline):
185
+ ```bash
186
+ python pipeline_light.py \
187
+ --model_name_t gpt-4.1 \
188
+ --model_name_v gpt-4.1 \
189
+ --result_dir "path/to/output" \
190
+ --paper_latex_root "path/to/paper"
191
+ ```
192
+
193
+ → **See `references/usage_examples.md` for comprehensive workflow examples**
194
+
195
+ ---
196
+
197
+ ## Workflow Decision Tree
198
+
199
+ Use this decision tree to determine which components to generate:
200
+
201
+ ```
202
+ User needs promotional materials for paper?
203
+
204
+ ├─ Need permanent online presence?
205
+ │ └─→ Generate Paper2Web (interactive website)
206
+
207
+ ├─ Need physical conference materials?
208
+ │ ├─→ Poster session? → Generate Paper2Poster
209
+ │ └─→ Oral presentation? → Generate Paper2Video
210
+
211
+ ├─ Need video content?
212
+ │ ├─→ Journal video abstract? → Generate Paper2Video (5-10 min)
213
+ │ ├─→ Conference talk? → Generate Paper2Video (15-20 min)
214
+ │ └─→ Social media? → Generate Paper2Video (1-3 min)
215
+
216
+ └─ Need complete package?
217
+ └─→ Generate all three components
218
+ ```
219
+
220
+ ## Input Requirements
221
+
222
+ ### Supported Input Formats
223
+
224
+ **1. LaTeX Source** (Recommended):
225
+ ```
226
+ paper_directory/
227
+ ├── main.tex # Main paper file
228
+ ├── sections/ # Optional: split sections
229
+ ├── figures/ # All figure files
230
+ ├── tables/ # Table files
231
+ └── bibliography.bib # References
232
+ ```
233
+
234
+ **2. PDF**:
235
+ - High-quality PDF with embedded fonts
236
+ - Selectable text (not scanned images)
237
+ - High-resolution figures (300+ DPI preferred)
238
+
239
+ ### Input Organization
240
+
241
+ **Single Paper**:
242
+ ```bash
243
+ input/
244
+ └── paper_name/
245
+ ├── main.tex (or paper.pdf)
246
+ ├── figures/
247
+ └── bibliography.bib
248
+ ```
249
+
250
+ **Multiple Papers** (batch processing):
251
+ ```bash
252
+ input/
253
+ ├── paper1/
254
+ │ └── main.tex
255
+ ├── paper2/
256
+ │ └── main.tex
257
+ └── paper3/
258
+ └── main.tex
259
+ ```
260
+
261
+ ## Common Parameters
262
+
263
+ ### Model Selection
264
+ - `--model-choice 1`: GPT-4 (best balance of quality and cost)
265
+ - `--model-choice 2`: GPT-4.1 (latest features, higher cost)
266
+ - `--model_name_t gpt-3.5-turbo`: Faster, lower cost (acceptable quality)
267
+
268
+ ### Component Selection
269
+ - `--generate-website`: Enable website generation
270
+ - `--generate-poster`: Enable poster generation
271
+ - `--generate-video`: Enable video generation
272
+ - `--enable-talking-head`: Add talking-head to video (requires GPU)
273
+
274
+ ### Customization
275
+ - `--poster-width-inches [width]`: Custom poster width
276
+ - `--poster-height-inches [height]`: Custom poster height
277
+ - `--video-duration [seconds]`: Target video length
278
+ - `--enable-logo-search`: Automatic institution logo discovery
279
+
280
+ ## Output Structure
281
+
282
+ Generated outputs are organized by paper and component:
283
+
284
+ ```
285
+ output/
286
+ └── paper_name/
287
+ ├── website/
288
+ │ ├── index.html
289
+ │ ├── styles.css
290
+ │ └── assets/
291
+ ├── poster/
292
+ │ ├── poster_final.pdf
293
+ │ ├── poster_final.png
294
+ │ └── poster_source/
295
+ └── video/
296
+ ├── final_video.mp4
297
+ ├── slides/
298
+ ├── audio/
299
+ └── subtitles/
300
+ ```
301
+
302
+ ## Best Practices
303
+
304
+ ### Input Preparation
305
+ 1. **Use LaTeX when possible**: Provides best content extraction and structure
306
+ 2. **Organize files properly**: Keep all assets (figures, tables, bibliography) in paper directory
307
+ 3. **High-quality figures**: Use vector formats (PDF, SVG) or high-resolution rasters (300+ DPI)
308
+ 4. **Clean LaTeX**: Remove compilation artifacts, ensure source compiles successfully
309
+
310
+ ### Model Selection Strategy
311
+ - **GPT-4**: Best for production-quality outputs, conferences, publications
312
+ - **GPT-4.1**: Use when you need latest features or best possible quality
313
+ - **GPT-3.5-turbo**: Use for quick drafts, testing, or simple papers
314
+
315
+ ### Component Priority
316
+ For tight deadlines, generate in this order:
317
+ 1. **Website** (fastest, most versatile, ~15-30 min)
318
+ 2. **Poster** (moderate speed, for print deadlines, ~10-20 min)
319
+ 3. **Video** (slowest, can be generated later, ~20-60 min)
320
+
321
+ ### Quality Assurance
322
+ Before finalizing outputs:
323
+ 1. **Website**: Test on multiple devices, verify all links work, check figure quality
324
+ 2. **Poster**: Print test page, verify text readability from 3-6 feet, check colors
325
+ 3. **Video**: Watch entire video, verify audio synchronization, test on different devices
326
+
327
+ ## Resource Requirements
328
+
329
+ ### Processing Time
330
+ - **Website**: 15-30 minutes per paper
331
+ - **Poster**: 10-20 minutes per paper
332
+ - **Video (no talking-head)**: 20-60 minutes per paper
333
+ - **Video (with talking-head)**: 60-120 minutes per paper
334
+
335
+ ### Computational Requirements
336
+ - **CPU**: Multi-core processor for parallel processing
337
+ - **RAM**: 16GB minimum, 32GB recommended for large papers
338
+ - **GPU**: Optional for standard outputs, required for talking-head (NVIDIA A6000 48GB)
339
+ - **Storage**: 1-5GB per paper depending on components and quality settings
340
+
341
+ ### API Costs (Approximate)
342
+ - **Website**: $0.50-2.00 per paper (GPT-4)
343
+ - **Poster**: $0.30-1.00 per paper (GPT-4)
344
+ - **Video**: $1.00-3.00 per paper (GPT-4)
345
+ - **Complete package**: $2.00-6.00 per paper (GPT-4)
346
+
347
+ ## Troubleshooting
348
+
349
+ ### Common Issues
350
+
351
+ **LaTeX parsing errors**:
352
+ - Ensure LaTeX source compiles successfully: `pdflatex main.tex`
353
+ - Check all referenced files are present
354
+ - Verify no custom packages prevent parsing
355
+
356
+ **Poor figure quality**:
357
+ - Use vector formats (PDF, SVG, EPS) instead of rasters
358
+ - Ensure raster images are 300+ DPI
359
+ - Check figures render correctly in compiled PDF
360
+
361
+ **Video generation failures**:
362
+ - Verify sufficient disk space (5GB+ recommended)
363
+ - Check all dependencies installed (LibreOffice, Poppler)
364
+ - Review error logs in output directory
365
+
366
+ **Poster layout issues**:
367
+ - Verify poster dimensions are reasonable (24"-72" range)
368
+ - Check content length (very long papers may need manual curation)
369
+ - Ensure figures have appropriate resolution for poster size
370
+
371
+ **API errors**:
372
+ - Verify API keys in `.env` file
373
+ - Check API credit balance
374
+ - Ensure no rate limiting (wait and retry)
375
+
376
+ ## Platform-Specific Features
377
+
378
+ ### Social Media Optimization
379
+
380
+ The system auto-detects target platforms:
381
+
382
+ **Twitter/X** (English, numeric folder names):
383
+ ```bash
384
+ mkdir -p input/001_twitter/
385
+ # Generates English promotional content
386
+ ```
387
+
388
+ **Xiaohongshu/小红书** (Chinese, alphanumeric folder names):
389
+ ```bash
390
+ mkdir -p input/xhs_paper/
391
+ # Generates Chinese promotional content
392
+ ```
393
+
394
+ ### Conference-Specific Formatting
395
+
396
+ Specify conference requirements:
397
+ - Standard poster sizes (4'×3', 5'×4', A0, A1)
398
+ - Video abstract length limits (typically 3-5 minutes)
399
+ - Institution branding requirements
400
+ - Color scheme preferences
401
+
402
+ ## Integration and Deployment
403
+
404
+ ### Website Deployment
405
+ Deploy generated websites to:
406
+ - **GitHub Pages**: Free hosting with custom domain
407
+ - **Academic hosting**: University web servers
408
+ - **Personal servers**: AWS, DigitalOcean, etc.
409
+ - **Netlify/Vercel**: Modern hosting with CI/CD
410
+
411
+ ### Poster Printing
412
+ Print-ready files work with:
413
+ - Professional poster printing services
414
+ - University print shops
415
+ - Online services (e.g., Spoonflower, VistaPrint)
416
+ - Large format printers (if available)
417
+
418
+ ### Video Distribution
419
+ Share videos on:
420
+ - **YouTube**: Public or unlisted for maximum reach
421
+ - **Institutional repositories**: University video platforms
422
+ - **Conference platforms**: Virtual conference systems
423
+ - **Social media**: Twitter, LinkedIn, ResearchGate
424
+
425
+ ## Advanced Usage
426
+
427
+ ### Batch Processing
428
+ Process multiple papers efficiently:
429
+ ```bash
430
+ # Organize papers in batch directory
431
+ for paper in paper1 paper2 paper3; do
432
+ python pipeline_all.py \
433
+ --input-dir input/$paper \
434
+ --output-dir output/$paper \
435
+ --model-choice 1 &
436
+ done
437
+ wait
438
+ ```
439
+
440
+ ### Custom Branding
441
+ Apply institution or lab branding:
442
+ - Provide logo files in paper directory
443
+ - Specify color schemes in configuration
444
+ - Use custom templates (advanced)
445
+ - Match conference theme requirements
446
+
447
+ ### Multi-Language Support
448
+ Generate content in different languages:
449
+ - Specify target language in configuration
450
+ - System translates content appropriately
451
+ - Selects appropriate voice for video narration
452
+ - Adapts design conventions to culture
453
+
454
+ ## References and Resources
455
+
456
+ This skill includes comprehensive reference documentation:
457
+
458
+ - **`references/installation.md`**: Complete installation and configuration guide
459
+ - **`references/paper2web.md`**: Detailed Paper2Web documentation with all features
460
+ - **`references/paper2video.md`**: Comprehensive Paper2Video guide including talking-head setup
461
+ - **`references/paper2poster.md`**: Complete Paper2Poster documentation with design templates
462
+ - **`references/usage_examples.md`**: Real-world examples and workflow patterns
463
+
464
+ **External Resources**:
465
+ - GitHub Repository: https://github.com/YuhangChen1/Paper2All
466
+ - Curated Dataset: Available on Hugging Face (13 research categories)
467
+ - Benchmark Suite: Reference websites and evaluation metrics
468
+
469
+ ## Evaluation and Quality Metrics
470
+
471
+ The Paper2All system includes built-in quality assessment:
472
+
473
+ ### Content Quality
474
+ - **Completeness**: Coverage of paper content
475
+ - **Accuracy**: Faithful representation of findings
476
+ - **Clarity**: Accessibility and understandability
477
+ - **Informativeness**: Key information prominence
478
+
479
+ ### Design Quality
480
+ - **Aesthetics**: Visual appeal and professionalism
481
+ - **Layout**: Balance, hierarchy, and organization
482
+ - **Readability**: Text legibility and figure clarity
483
+ - **Consistency**: Uniform styling and branding
484
+
485
+ ### Technical Quality
486
+ - **Performance**: Load times, responsiveness
487
+ - **Compatibility**: Cross-browser, cross-device support
488
+ - **Accessibility**: WCAG compliance, screen reader support
489
+ - **Standards**: Valid HTML/CSS, print-ready PDFs
490
+
491
+ All outputs undergo automated quality checks before generation completes.
@@ -0,0 +1,141 @@
1
+ # Installation and Configuration
2
+
3
+ ## System Requirements
4
+
5
+ ### Hardware Requirements
6
+ - **GPU**: NVIDIA A6000 (48GB minimum) required for video generation with talking-head features
7
+ - **CPU**: Multi-core processor recommended for PDF processing and document conversion
8
+ - **RAM**: 16GB minimum, 32GB recommended for large papers
9
+
10
+ ### Software Requirements
11
+ - **Python**: 3.11 or higher
12
+ - **Conda**: Environment manager for dependency isolation
13
+ - **LibreOffice**: Required for document format conversion (PDF to PPTX, etc.)
14
+ - **Poppler utilities**: Required for PDF processing and manipulation
15
+
16
+ ## Installation Steps
17
+
18
+ ### 1. Clone the Repository
19
+ ```bash
20
+ git clone https://github.com/YuhangChen1/Paper2All.git
21
+ cd Paper2All
22
+ ```
23
+
24
+ ### 2. Create Conda Environment
25
+ ```bash
26
+ conda create -n paper2all python=3.11
27
+ conda activate paper2all
28
+ ```
29
+
30
+ ### 3. Install Dependencies
31
+ ```bash
32
+ pip install -r requirements.txt
33
+ ```
34
+
35
+ ### 4. Install System Dependencies
36
+
37
+ **Ubuntu/Debian:**
38
+ ```bash
39
+ sudo apt-get install libreoffice poppler-utils
40
+ ```
41
+
42
+ **macOS:**
43
+ ```bash
44
+ brew install libreoffice poppler
45
+ ```
46
+
47
+ **Windows:**
48
+ - Download and install LibreOffice from https://www.libreoffice.org/
49
+ - Download and install Poppler from https://github.com/oschwartz10612/poppler-windows
50
+
51
+ ## API Configuration
52
+
53
+ Create a `.env` file in the project root with the following credentials:
54
+
55
+ ### Required API Keys
56
+
57
+ **Option 1: OpenAI API**
58
+ ```
59
+ OPENAI_API_KEY=your_openai_api_key_here
60
+ ```
61
+
62
+ **Option 2: OpenRouter API** (alternative to OpenAI)
63
+ ```
64
+ OPENROUTER_API_KEY=your_openrouter_api_key_here
65
+ ```
66
+
67
+ ### Optional API Keys
68
+
69
+ **Google Search API** (for automatic logo discovery)
70
+ ```
71
+ GOOGLE_API_KEY=your_google_api_key_here
72
+ GOOGLE_CSE_ID=your_custom_search_engine_id_here
73
+ ```
74
+
75
+ ## Model Configuration
76
+
77
+ The system supports multiple LLM backends:
78
+
79
+ ### Supported Models
80
+ - GPT-4 (recommended for best quality)
81
+ - GPT-4.1 (latest version)
82
+ - GPT-3.5-turbo (faster, lower cost)
83
+ - Claude models via OpenRouter
84
+ - Other OpenRouter-supported models
85
+
86
+ ### Model Selection
87
+
88
+ Specify models using the `--model-choice` parameter or `--model_name_t` and `--model_name_v` parameters:
89
+ - Model choice 1: GPT-4 for all components
90
+ - Model choice 2: GPT-4.1 for all components
91
+ - Custom: Specify separate models for text and visual processing
92
+
93
+ ## Verification
94
+
95
+ Test the installation:
96
+
97
+ ```bash
98
+ python pipeline_all.py --help
99
+ ```
100
+
101
+ If successful, you should see the help menu with all available options.
102
+
103
+ ## Troubleshooting
104
+
105
+ ### Common Issues
106
+
107
+ **1. LibreOffice not found**
108
+ - Ensure LibreOffice is installed and in your system PATH
109
+ - Try running `libreoffice --version` to verify
110
+
111
+ **2. Poppler utilities not found**
112
+ - Verify installation with `pdftoppm -v`
113
+ - Add Poppler bin directory to PATH if needed
114
+
115
+ **3. GPU/CUDA errors for video generation**
116
+ - Ensure NVIDIA drivers are up to date
117
+ - Verify CUDA toolkit is installed
118
+ - Check GPU memory with `nvidia-smi`
119
+
120
+ **4. API key errors**
121
+ - Verify `.env` file is in the project root
122
+ - Check that API keys are valid and have sufficient credits
123
+ - Ensure no extra spaces or quotes around keys in `.env`
124
+
125
+ ## Directory Structure
126
+
127
+ After installation, organize your workspace:
128
+
129
+ ```
130
+ Paper2All/
131
+ ├── .env # API credentials
132
+ ├── input/ # Place your paper files here
133
+ │ └── paper_name/ # Each paper in its own directory
134
+ │ └── main.tex # LaTeX source or PDF
135
+ ├── output/ # Generated outputs
136
+ │ └── paper_name/
137
+ │ ├── website/ # Generated website files
138
+ │ ├── video/ # Generated video files
139
+ │ └── poster/ # Generated poster files
140
+ └── ...
141
+ ```