@synsci/cli-darwin-x64 1.1.71 → 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,1109 @@
1
+ ---
2
+ name: citation-management
3
+ description: Comprehensive citation management for academic research. Search Google Scholar and PubMed for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or ensure reference accuracy in scientific writing.
4
+ allowed-tools: [Read, Write, Edit, Bash]
5
+ ---
6
+
7
+ # Citation Management
8
+
9
+ ## Overview
10
+
11
+ Manage citations systematically throughout the research and writing process. This skill provides tools and strategies for searching academic databases (Google Scholar, PubMed), extracting accurate metadata from multiple sources (CrossRef, PubMed, arXiv), validating citation information, and generating properly formatted BibTeX entries.
12
+
13
+ Critical for maintaining citation accuracy, avoiding reference errors, and ensuring reproducible research. Integrates seamlessly with the literature-review skill for comprehensive research workflows.
14
+
15
+ ## When to Use This Skill
16
+
17
+ Use this skill when:
18
+ - Searching for specific papers on Google Scholar or PubMed
19
+ - Converting DOIs, PMIDs, or arXiv IDs to properly formatted BibTeX
20
+ - Extracting complete metadata for citations (authors, title, journal, year, etc.)
21
+ - Validating existing citations for accuracy
22
+ - Cleaning and formatting BibTeX files
23
+ - Finding highly cited papers in a specific field
24
+ - Verifying that citation information matches the actual publication
25
+ - Building a bibliography for a manuscript or thesis
26
+ - Checking for duplicate citations
27
+ - Ensuring consistent citation formatting
28
+
29
+ ## Visual Enhancement with Scientific Schematics
30
+
31
+ **When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.**
32
+
33
+ If your document does not already contain schematics or diagrams:
34
+ - Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
35
+ - Simply describe your desired diagram in natural language
36
+ - Nano Banana Pro will automatically generate, review, and refine the schematic
37
+
38
+ **For new documents:** Scientific schematics should be generated by default to visually represent key concepts, workflows, architectures, or relationships described in the text.
39
+
40
+ **How to generate schematics:**
41
+ ```bash
42
+ python scripts/generate_schematic.py "your diagram description" -o figures/output.png
43
+ ```
44
+
45
+ The AI will automatically:
46
+ - Create publication-quality images with proper formatting
47
+ - Review and refine through multiple iterations
48
+ - Ensure accessibility (colorblind-friendly, high contrast)
49
+ - Save outputs in the figures/ directory
50
+
51
+ **When to add schematics:**
52
+ - Citation workflow diagrams
53
+ - Literature search methodology flowcharts
54
+ - Reference management system architectures
55
+ - Citation style decision trees
56
+ - Database integration diagrams
57
+ - Any complex concept that benefits from visualization
58
+
59
+ For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.
60
+
61
+ ---
62
+
63
+ ## Core Workflow
64
+
65
+ Citation management follows a systematic process:
66
+
67
+ ### Phase 1: Paper Discovery and Search
68
+
69
+ **Goal**: Find relevant papers using academic search engines.
70
+
71
+ #### Google Scholar Search
72
+
73
+ Google Scholar provides the most comprehensive coverage across disciplines.
74
+
75
+ **Basic Search**:
76
+ ```bash
77
+ # Search for papers on a topic
78
+ python scripts/search_google_scholar.py "CRISPR gene editing" \
79
+ --limit 50 \
80
+ --output results.json
81
+
82
+ # Search with year filter
83
+ python scripts/search_google_scholar.py "machine learning protein folding" \
84
+ --year-start 2020 \
85
+ --year-end 2024 \
86
+ --limit 100 \
87
+ --output ml_proteins.json
88
+ ```
89
+
90
+ **Advanced Search Strategies** (see `references/google_scholar_search.md`):
91
+ - Use quotation marks for exact phrases: `"deep learning"`
92
+ - Search by author: `author:LeCun`
93
+ - Search in title: `intitle:"neural networks"`
94
+ - Exclude terms: `machine learning -survey`
95
+ - Find highly cited papers using sort options
96
+ - Filter by date ranges to get recent work
97
+
98
+ **Best Practices**:
99
+ - Use specific, targeted search terms
100
+ - Include key technical terms and acronyms
101
+ - Filter by recent years for fast-moving fields
102
+ - Check "Cited by" to find seminal papers
103
+ - Export top results for further analysis
104
+
105
+ #### PubMed Search
106
+
107
+ PubMed specializes in biomedical and life sciences literature (35+ million citations).
108
+
109
+ **Basic Search**:
110
+ ```bash
111
+ # Search PubMed
112
+ python scripts/search_pubmed.py "Alzheimer's disease treatment" \
113
+ --limit 100 \
114
+ --output alzheimers.json
115
+
116
+ # Search with MeSH terms and filters
117
+ python scripts/search_pubmed.py \
118
+ --query '"Alzheimer Disease"[MeSH] AND "Drug Therapy"[MeSH]' \
119
+ --date-start 2020 \
120
+ --date-end 2024 \
121
+ --publication-types "Clinical Trial,Review" \
122
+ --output alzheimers_trials.json
123
+ ```
124
+
125
+ **Advanced PubMed Queries** (see `references/pubmed_search.md`):
126
+ - Use MeSH terms: `"Diabetes Mellitus"[MeSH]`
127
+ - Field tags: `"cancer"[Title]`, `"Smith J"[Author]`
128
+ - Boolean operators: `AND`, `OR`, `NOT`
129
+ - Date filters: `2020:2024[Publication Date]`
130
+ - Publication types: `"Review"[Publication Type]`
131
+ - Combine with E-utilities API for automation
132
+
133
+ **Best Practices**:
134
+ - Use MeSH Browser to find correct controlled vocabulary
135
+ - Construct complex queries in PubMed Advanced Search Builder first
136
+ - Include multiple synonyms with OR
137
+ - Retrieve PMIDs for easy metadata extraction
138
+ - Export to JSON or directly to BibTeX
139
+
140
+ ### Phase 2: Metadata Extraction
141
+
142
+ **Goal**: Convert paper identifiers (DOI, PMID, arXiv ID) to complete, accurate metadata.
143
+
144
+ #### Quick DOI to BibTeX Conversion
145
+
146
+ For single DOIs, use the quick conversion tool:
147
+
148
+ ```bash
149
+ # Convert single DOI
150
+ python scripts/doi_to_bibtex.py 10.1038/s41586-021-03819-2
151
+
152
+ # Convert multiple DOIs from a file
153
+ python scripts/doi_to_bibtex.py --input dois.txt --output references.bib
154
+
155
+ # Different output formats
156
+ python scripts/doi_to_bibtex.py 10.1038/nature12345 --format json
157
+ ```
158
+
159
+ #### Comprehensive Metadata Extraction
160
+
161
+ For DOIs, PMIDs, arXiv IDs, or URLs:
162
+
163
+ ```bash
164
+ # Extract from DOI
165
+ python scripts/extract_metadata.py --doi 10.1038/s41586-021-03819-2
166
+
167
+ # Extract from PMID
168
+ python scripts/extract_metadata.py --pmid 34265844
169
+
170
+ # Extract from arXiv ID
171
+ python scripts/extract_metadata.py --arxiv 2103.14030
172
+
173
+ # Extract from URL
174
+ python scripts/extract_metadata.py --url "https://www.nature.com/articles/s41586-021-03819-2"
175
+
176
+ # Batch extraction from file (mixed identifiers)
177
+ python scripts/extract_metadata.py --input identifiers.txt --output citations.bib
178
+ ```
179
+
180
+ **Metadata Sources** (see `references/metadata_extraction.md`):
181
+
182
+ 1. **CrossRef API**: Primary source for DOIs
183
+ - Comprehensive metadata for journal articles
184
+ - Publisher-provided information
185
+ - Includes authors, title, journal, volume, pages, dates
186
+ - Free, no API key required
187
+
188
+ 2. **PubMed E-utilities**: Biomedical literature
189
+ - Official NCBI metadata
190
+ - Includes MeSH terms, abstracts
191
+ - PMID and PMCID identifiers
192
+ - Free, API key recommended for high volume
193
+
194
+ 3. **arXiv API**: Preprints in physics, math, CS, q-bio
195
+ - Complete metadata for preprints
196
+ - Version tracking
197
+ - Author affiliations
198
+ - Free, open access
199
+
200
+ 4. **DataCite API**: Research datasets, software, other resources
201
+ - Metadata for non-traditional scholarly outputs
202
+ - DOIs for datasets and code
203
+ - Free access
204
+
205
+ **What Gets Extracted**:
206
+ - **Required fields**: author, title, year
207
+ - **Journal articles**: journal, volume, number, pages, DOI
208
+ - **Books**: publisher, ISBN, edition
209
+ - **Conference papers**: booktitle, conference location, pages
210
+ - **Preprints**: repository (arXiv, bioRxiv), preprint ID
211
+ - **Additional**: abstract, keywords, URL
212
+
213
+ ### Phase 3: BibTeX Formatting
214
+
215
+ **Goal**: Generate clean, properly formatted BibTeX entries.
216
+
217
+ #### Understanding BibTeX Entry Types
218
+
219
+ See `references/bibtex_formatting.md` for complete guide.
220
+
221
+ **Common Entry Types**:
222
+ - `@article`: Journal articles (most common)
223
+ - `@book`: Books
224
+ - `@inproceedings`: Conference papers
225
+ - `@incollection`: Book chapters
226
+ - `@phdthesis`: Dissertations
227
+ - `@misc`: Preprints, software, datasets
228
+
229
+ **Required Fields by Type**:
230
+
231
+ ```bibtex
232
+ @article{citationkey,
233
+ author = {Last1, First1 and Last2, First2},
234
+ title = {Article Title},
235
+ journal = {Journal Name},
236
+ year = {2024},
237
+ volume = {10},
238
+ number = {3},
239
+ pages = {123--145},
240
+ doi = {10.1234/example}
241
+ }
242
+
243
+ @inproceedings{citationkey,
244
+ author = {Last, First},
245
+ title = {Paper Title},
246
+ booktitle = {Conference Name},
247
+ year = {2024},
248
+ pages = {1--10}
249
+ }
250
+
251
+ @book{citationkey,
252
+ author = {Last, First},
253
+ title = {Book Title},
254
+ publisher = {Publisher Name},
255
+ year = {2024}
256
+ }
257
+ ```
258
+
259
+ #### Formatting and Cleaning
260
+
261
+ Use the formatter to standardize BibTeX files:
262
+
263
+ ```bash
264
+ # Format and clean BibTeX file
265
+ python scripts/format_bibtex.py references.bib \
266
+ --output formatted_references.bib
267
+
268
+ # Sort entries by citation key
269
+ python scripts/format_bibtex.py references.bib \
270
+ --sort key \
271
+ --output sorted_references.bib
272
+
273
+ # Sort by year (newest first)
274
+ python scripts/format_bibtex.py references.bib \
275
+ --sort year \
276
+ --descending \
277
+ --output sorted_references.bib
278
+
279
+ # Remove duplicates
280
+ python scripts/format_bibtex.py references.bib \
281
+ --deduplicate \
282
+ --output clean_references.bib
283
+
284
+ # Validate and report issues
285
+ python scripts/format_bibtex.py references.bib \
286
+ --validate \
287
+ --report validation_report.txt
288
+ ```
289
+
290
+ **Formatting Operations**:
291
+ - Standardize field order
292
+ - Consistent indentation and spacing
293
+ - Proper capitalization in titles (protected with {})
294
+ - Standardized author name format
295
+ - Consistent citation key format
296
+ - Remove unnecessary fields
297
+ - Fix common errors (missing commas, braces)
298
+
299
+ ### Phase 4: Citation Validation
300
+
301
+ **Goal**: Verify all citations are accurate and complete.
302
+
303
+ #### Comprehensive Validation
304
+
305
+ ```bash
306
+ # Validate BibTeX file
307
+ python scripts/validate_citations.py references.bib
308
+
309
+ # Validate and fix common issues
310
+ python scripts/validate_citations.py references.bib \
311
+ --auto-fix \
312
+ --output validated_references.bib
313
+
314
+ # Generate detailed validation report
315
+ python scripts/validate_citations.py references.bib \
316
+ --report validation_report.json \
317
+ --verbose
318
+ ```
319
+
320
+ **Validation Checks** (see `references/citation_validation.md`):
321
+
322
+ 1. **DOI Verification**:
323
+ - DOI resolves correctly via doi.org
324
+ - Metadata matches between BibTeX and CrossRef
325
+ - No broken or invalid DOIs
326
+
327
+ 2. **Required Fields**:
328
+ - All required fields present for entry type
329
+ - No empty or missing critical information
330
+ - Author names properly formatted
331
+
332
+ 3. **Data Consistency**:
333
+ - Year is valid (4 digits, reasonable range)
334
+ - Volume/number are numeric
335
+ - Pages formatted correctly (e.g., 123--145)
336
+ - URLs are accessible
337
+
338
+ 4. **Duplicate Detection**:
339
+ - Same DOI used multiple times
340
+ - Similar titles (possible duplicates)
341
+ - Same author/year/title combinations
342
+
343
+ 5. **Format Compliance**:
344
+ - Valid BibTeX syntax
345
+ - Proper bracing and quoting
346
+ - Citation keys are unique
347
+ - Special characters handled correctly
348
+
349
+ **Validation Output**:
350
+ ```json
351
+ {
352
+ "total_entries": 150,
353
+ "valid_entries": 145,
354
+ "errors": [
355
+ {
356
+ "citation_key": "Smith2023",
357
+ "error_type": "missing_field",
358
+ "field": "journal",
359
+ "severity": "high"
360
+ },
361
+ {
362
+ "citation_key": "Jones2022",
363
+ "error_type": "invalid_doi",
364
+ "doi": "10.1234/broken",
365
+ "severity": "high"
366
+ }
367
+ ],
368
+ "warnings": [
369
+ {
370
+ "citation_key": "Brown2021",
371
+ "warning_type": "possible_duplicate",
372
+ "duplicate_of": "Brown2021a",
373
+ "severity": "medium"
374
+ }
375
+ ]
376
+ }
377
+ ```
378
+
379
+ ### Phase 5: Integration with Writing Workflow
380
+
381
+ #### Building References for Manuscripts
382
+
383
+ Complete workflow for creating a bibliography:
384
+
385
+ ```bash
386
+ # 1. Search for papers on your topic
387
+ python scripts/search_pubmed.py \
388
+ '"CRISPR-Cas Systems"[MeSH] AND "Gene Editing"[MeSH]' \
389
+ --date-start 2020 \
390
+ --limit 200 \
391
+ --output crispr_papers.json
392
+
393
+ # 2. Extract DOIs from search results and convert to BibTeX
394
+ python scripts/extract_metadata.py \
395
+ --input crispr_papers.json \
396
+ --output crispr_refs.bib
397
+
398
+ # 3. Add specific papers by DOI
399
+ python scripts/doi_to_bibtex.py 10.1038/nature12345 >> crispr_refs.bib
400
+ python scripts/doi_to_bibtex.py 10.1126/science.abcd1234 >> crispr_refs.bib
401
+
402
+ # 4. Format and clean the BibTeX file
403
+ python scripts/format_bibtex.py crispr_refs.bib \
404
+ --deduplicate \
405
+ --sort year \
406
+ --descending \
407
+ --output references.bib
408
+
409
+ # 5. Validate all citations
410
+ python scripts/validate_citations.py references.bib \
411
+ --auto-fix \
412
+ --report validation.json \
413
+ --output final_references.bib
414
+
415
+ # 6. Review validation report and fix any remaining issues
416
+ cat validation.json
417
+
418
+ # 7. Use in your LaTeX document
419
+ # \bibliography{final_references}
420
+ ```
421
+
422
+ #### Integration with Literature Review Skill
423
+
424
+ This skill complements the `literature-review` skill:
425
+
426
+ **Literature Review Skill** → Systematic search and synthesis
427
+ **Citation Management Skill** → Technical citation handling
428
+
429
+ **Combined Workflow**:
430
+ 1. Use `literature-review` for comprehensive multi-database search
431
+ 2. Use `citation-management` to extract and validate all citations
432
+ 3. Use `literature-review` to synthesize findings thematically
433
+ 4. Use `citation-management` to verify final bibliography accuracy
434
+
435
+ ```bash
436
+ # After completing literature review
437
+ # Verify all citations in the review document
438
+ python scripts/validate_citations.py my_review_references.bib --report review_validation.json
439
+
440
+ # Format for specific citation style if needed
441
+ python scripts/format_bibtex.py my_review_references.bib \
442
+ --style nature \
443
+ --output formatted_refs.bib
444
+ ```
445
+
446
+ ## Search Strategies
447
+
448
+ ### Google Scholar Best Practices
449
+
450
+ **Finding Seminal and High-Impact Papers** (CRITICAL):
451
+
452
+ Always prioritize papers based on citation count, venue quality, and author reputation:
453
+
454
+ **Citation Count Thresholds:**
455
+ | Paper Age | Citations | Classification |
456
+ |-----------|-----------|----------------|
457
+ | 0-3 years | 20+ | Noteworthy |
458
+ | 0-3 years | 100+ | Highly Influential |
459
+ | 3-7 years | 100+ | Significant |
460
+ | 3-7 years | 500+ | Landmark Paper |
461
+ | 7+ years | 500+ | Seminal Work |
462
+ | 7+ years | 1000+ | Foundational |
463
+
464
+ **Venue Quality Tiers:**
465
+ - **Tier 1 (Prefer):** Nature, Science, Cell, NEJM, Lancet, JAMA, PNAS
466
+ - **Tier 2 (High Priority):** Impact Factor >10, top conferences (NeurIPS, ICML, ICLR)
467
+ - **Tier 3 (Good):** Specialized journals (IF 5-10)
468
+ - **Tier 4 (Sparingly):** Lower-impact peer-reviewed venues
469
+
470
+ **Author Reputation Indicators:**
471
+ - Senior researchers with h-index >40
472
+ - Multiple publications in Tier-1 venues
473
+ - Leadership at recognized institutions
474
+ - Awards and editorial positions
475
+
476
+ **Search Strategies for High-Impact Papers:**
477
+ - Sort by citation count (most cited first)
478
+ - Look for review articles from Tier-1 journals for overview
479
+ - Check "Cited by" for impact assessment and recent follow-up work
480
+ - Use citation alerts for tracking new citations to key papers
481
+ - Filter by top venues using `source:Nature` or `source:Science`
482
+ - Search for papers by known field leaders using `author:LastName`
483
+
484
+ **Advanced Operators** (full list in `references/google_scholar_search.md`):
485
+ ```
486
+ "exact phrase" # Exact phrase matching
487
+ author:lastname # Search by author
488
+ intitle:keyword # Search in title only
489
+ source:journal # Search specific journal
490
+ -exclude # Exclude terms
491
+ OR # Alternative terms
492
+ 2020..2024 # Year range
493
+ ```
494
+
495
+ **Example Searches**:
496
+ ```
497
+ # Find recent reviews on a topic
498
+ "CRISPR" intitle:review 2023..2024
499
+
500
+ # Find papers by specific author on topic
501
+ author:Church "synthetic biology"
502
+
503
+ # Find highly cited foundational work
504
+ "deep learning" 2012..2015 sort:citations
505
+
506
+ # Exclude surveys and focus on methods
507
+ "protein folding" -survey -review intitle:method
508
+ ```
509
+
510
+ ### PubMed Best Practices
511
+
512
+ **Using MeSH Terms**:
513
+ MeSH (Medical Subject Headings) provides controlled vocabulary for precise searching.
514
+
515
+ 1. **Find MeSH terms** at https://meshb.nlm.nih.gov/search
516
+ 2. **Use in queries**: `"Diabetes Mellitus, Type 2"[MeSH]`
517
+ 3. **Combine with keywords** for comprehensive coverage
518
+
519
+ **Field Tags**:
520
+ ```
521
+ [Title] # Search in title only
522
+ [Title/Abstract] # Search in title or abstract
523
+ [Author] # Search by author name
524
+ [Journal] # Search specific journal
525
+ [Publication Date] # Date range
526
+ [Publication Type] # Article type
527
+ [MeSH] # MeSH term
528
+ ```
529
+
530
+ **Building Complex Queries**:
531
+ ```bash
532
+ # Clinical trials on diabetes treatment published recently
533
+ "Diabetes Mellitus, Type 2"[MeSH] AND "Drug Therapy"[MeSH]
534
+ AND "Clinical Trial"[Publication Type] AND 2020:2024[Publication Date]
535
+
536
+ # Reviews on CRISPR in specific journal
537
+ "CRISPR-Cas Systems"[MeSH] AND "Nature"[Journal] AND "Review"[Publication Type]
538
+
539
+ # Specific author's recent work
540
+ "Smith AB"[Author] AND cancer[Title/Abstract] AND 2022:2024[Publication Date]
541
+ ```
542
+
543
+ **E-utilities for Automation**:
544
+ The scripts use NCBI E-utilities API for programmatic access:
545
+ - **ESearch**: Search and retrieve PMIDs
546
+ - **EFetch**: Retrieve full metadata
547
+ - **ESummary**: Get summary information
548
+ - **ELink**: Find related articles
549
+
550
+ See `references/pubmed_search.md` for complete API documentation.
551
+
552
+ ## Tools and Scripts
553
+
554
+ ### search_google_scholar.py
555
+
556
+ Search Google Scholar and export results.
557
+
558
+ **Features**:
559
+ - Automated searching with rate limiting
560
+ - Pagination support
561
+ - Year range filtering
562
+ - Export to JSON or BibTeX
563
+ - Citation count information
564
+
565
+ **Usage**:
566
+ ```bash
567
+ # Basic search
568
+ python scripts/search_google_scholar.py "quantum computing"
569
+
570
+ # Advanced search with filters
571
+ python scripts/search_google_scholar.py "quantum computing" \
572
+ --year-start 2020 \
573
+ --year-end 2024 \
574
+ --limit 100 \
575
+ --sort-by citations \
576
+ --output quantum_papers.json
577
+
578
+ # Export directly to BibTeX
579
+ python scripts/search_google_scholar.py "machine learning" \
580
+ --limit 50 \
581
+ --format bibtex \
582
+ --output ml_papers.bib
583
+ ```
584
+
585
+ ### search_pubmed.py
586
+
587
+ Search PubMed using E-utilities API.
588
+
589
+ **Features**:
590
+ - Complex query support (MeSH, field tags, Boolean)
591
+ - Date range filtering
592
+ - Publication type filtering
593
+ - Batch retrieval with metadata
594
+ - Export to JSON or BibTeX
595
+
596
+ **Usage**:
597
+ ```bash
598
+ # Simple keyword search
599
+ python scripts/search_pubmed.py "CRISPR gene editing"
600
+
601
+ # Complex query with filters
602
+ python scripts/search_pubmed.py \
603
+ --query '"CRISPR-Cas Systems"[MeSH] AND "therapeutic"[Title/Abstract]' \
604
+ --date-start 2020-01-01 \
605
+ --date-end 2024-12-31 \
606
+ --publication-types "Clinical Trial,Review" \
607
+ --limit 200 \
608
+ --output crispr_therapeutic.json
609
+
610
+ # Export to BibTeX
611
+ python scripts/search_pubmed.py "Alzheimer's disease" \
612
+ --limit 100 \
613
+ --format bibtex \
614
+ --output alzheimers.bib
615
+ ```
616
+
617
+ ### extract_metadata.py
618
+
619
+ Extract complete metadata from paper identifiers.
620
+
621
+ **Features**:
622
+ - Supports DOI, PMID, arXiv ID, URL
623
+ - Queries CrossRef, PubMed, arXiv APIs
624
+ - Handles multiple identifier types
625
+ - Batch processing
626
+ - Multiple output formats
627
+
628
+ **Usage**:
629
+ ```bash
630
+ # Single DOI
631
+ python scripts/extract_metadata.py --doi 10.1038/s41586-021-03819-2
632
+
633
+ # Single PMID
634
+ python scripts/extract_metadata.py --pmid 34265844
635
+
636
+ # Single arXiv ID
637
+ python scripts/extract_metadata.py --arxiv 2103.14030
638
+
639
+ # From URL
640
+ python scripts/extract_metadata.py \
641
+ --url "https://www.nature.com/articles/s41586-021-03819-2"
642
+
643
+ # Batch processing (file with one identifier per line)
644
+ python scripts/extract_metadata.py \
645
+ --input paper_ids.txt \
646
+ --output references.bib
647
+
648
+ # Different output formats
649
+ python scripts/extract_metadata.py \
650
+ --doi 10.1038/nature12345 \
651
+ --format json # or bibtex, yaml
652
+ ```
653
+
654
+ ### validate_citations.py
655
+
656
+ Validate BibTeX entries for accuracy and completeness.
657
+
658
+ **Features**:
659
+ - DOI verification via doi.org and CrossRef
660
+ - Required field checking
661
+ - Duplicate detection
662
+ - Format validation
663
+ - Auto-fix common issues
664
+ - Detailed reporting
665
+
666
+ **Usage**:
667
+ ```bash
668
+ # Basic validation
669
+ python scripts/validate_citations.py references.bib
670
+
671
+ # With auto-fix
672
+ python scripts/validate_citations.py references.bib \
673
+ --auto-fix \
674
+ --output fixed_references.bib
675
+
676
+ # Detailed validation report
677
+ python scripts/validate_citations.py references.bib \
678
+ --report validation_report.json \
679
+ --verbose
680
+
681
+ # Only check DOIs
682
+ python scripts/validate_citations.py references.bib \
683
+ --check-dois-only
684
+ ```
685
+
686
+ ### format_bibtex.py
687
+
688
+ Format and clean BibTeX files.
689
+
690
+ **Features**:
691
+ - Standardize formatting
692
+ - Sort entries (by key, year, author)
693
+ - Remove duplicates
694
+ - Validate syntax
695
+ - Fix common errors
696
+ - Enforce citation key conventions
697
+
698
+ **Usage**:
699
+ ```bash
700
+ # Basic formatting
701
+ python scripts/format_bibtex.py references.bib
702
+
703
+ # Sort by year (newest first)
704
+ python scripts/format_bibtex.py references.bib \
705
+ --sort year \
706
+ --descending \
707
+ --output sorted_refs.bib
708
+
709
+ # Remove duplicates
710
+ python scripts/format_bibtex.py references.bib \
711
+ --deduplicate \
712
+ --output clean_refs.bib
713
+
714
+ # Complete cleanup
715
+ python scripts/format_bibtex.py references.bib \
716
+ --deduplicate \
717
+ --sort year \
718
+ --validate \
719
+ --auto-fix \
720
+ --output final_refs.bib
721
+ ```
722
+
723
+ ### doi_to_bibtex.py
724
+
725
+ Quick DOI to BibTeX conversion.
726
+
727
+ **Features**:
728
+ - Fast single DOI conversion
729
+ - Batch processing
730
+ - Multiple output formats
731
+ - Clipboard support
732
+
733
+ **Usage**:
734
+ ```bash
735
+ # Single DOI
736
+ python scripts/doi_to_bibtex.py 10.1038/s41586-021-03819-2
737
+
738
+ # Multiple DOIs
739
+ python scripts/doi_to_bibtex.py \
740
+ 10.1038/nature12345 \
741
+ 10.1126/science.abc1234 \
742
+ 10.1016/j.cell.2023.01.001
743
+
744
+ # From file (one DOI per line)
745
+ python scripts/doi_to_bibtex.py --input dois.txt --output references.bib
746
+
747
+ # Copy to clipboard
748
+ python scripts/doi_to_bibtex.py 10.1038/nature12345 --clipboard
749
+ ```
750
+
751
+ ## Best Practices
752
+
753
+ ### Search Strategy
754
+
755
+ 1. **Start broad, then narrow**:
756
+ - Begin with general terms to understand the field
757
+ - Refine with specific keywords and filters
758
+ - Use synonyms and related terms
759
+
760
+ 2. **Use multiple sources**:
761
+ - Google Scholar for comprehensive coverage
762
+ - PubMed for biomedical focus
763
+ - arXiv for preprints
764
+ - Combine results for completeness
765
+
766
+ 3. **Leverage citations**:
767
+ - Check "Cited by" for seminal papers
768
+ - Review references from key papers
769
+ - Use citation networks to discover related work
770
+
771
+ 4. **Document your searches**:
772
+ - Save search queries and dates
773
+ - Record number of results
774
+ - Note any filters or restrictions applied
775
+
776
+ ### Metadata Extraction
777
+
778
+ 1. **Always use DOIs when available**:
779
+ - Most reliable identifier
780
+ - Permanent link to the publication
781
+ - Best metadata source via CrossRef
782
+
783
+ 2. **Verify extracted metadata**:
784
+ - Check author names are correct
785
+ - Verify journal/conference names
786
+ - Confirm publication year
787
+ - Validate page numbers and volume
788
+
789
+ 3. **Handle edge cases**:
790
+ - Preprints: Include repository and ID
791
+ - Preprints later published: Use published version
792
+ - Conference papers: Include conference name and location
793
+ - Book chapters: Include book title and editors
794
+
795
+ 4. **Maintain consistency**:
796
+ - Use consistent author name format
797
+ - Standardize journal abbreviations
798
+ - Use same DOI format (URL preferred)
799
+
800
+ ### BibTeX Quality
801
+
802
+ 1. **Follow conventions**:
803
+ - Use meaningful citation keys (FirstAuthor2024keyword)
804
+ - Protect capitalization in titles with {}
805
+ - Use -- for page ranges (not single dash)
806
+ - Include DOI field for all modern publications
807
+
808
+ 2. **Keep it clean**:
809
+ - Remove unnecessary fields
810
+ - No redundant information
811
+ - Consistent formatting
812
+ - Validate syntax regularly
813
+
814
+ 3. **Organize systematically**:
815
+ - Sort by year or topic
816
+ - Group related papers
817
+ - Use separate files for different projects
818
+ - Merge carefully to avoid duplicates
819
+
820
+ ### Validation
821
+
822
+ 1. **Validate early and often**:
823
+ - Check citations when adding them
824
+ - Validate complete bibliography before submission
825
+ - Re-validate after any manual edits
826
+
827
+ 2. **Fix issues promptly**:
828
+ - Broken DOIs: Find correct identifier
829
+ - Missing fields: Extract from original source
830
+ - Duplicates: Choose best version, remove others
831
+ - Format errors: Use auto-fix when safe
832
+
833
+ 3. **Manual review for critical citations**:
834
+ - Verify key papers cited correctly
835
+ - Check author names match publication
836
+ - Confirm page numbers and volume
837
+ - Ensure URLs are current
838
+
839
+ ## Common Pitfalls to Avoid
840
+
841
+ 1. **Single source bias**: Only using Google Scholar or PubMed
842
+ - **Solution**: Search multiple databases for comprehensive coverage
843
+
844
+ 2. **Accepting metadata blindly**: Not verifying extracted information
845
+ - **Solution**: Spot-check extracted metadata against original sources
846
+
847
+ 3. **Ignoring DOI errors**: Broken or incorrect DOIs in bibliography
848
+ - **Solution**: Run validation before final submission
849
+
850
+ 4. **Inconsistent formatting**: Mixed citation key styles, formatting
851
+ - **Solution**: Use format_bibtex.py to standardize
852
+
853
+ 5. **Duplicate entries**: Same paper cited multiple times with different keys
854
+ - **Solution**: Use duplicate detection in validation
855
+
856
+ 6. **Missing required fields**: Incomplete BibTeX entries
857
+ - **Solution**: Validate and ensure all required fields present
858
+
859
+ 7. **Outdated preprints**: Citing preprint when published version exists
860
+ - **Solution**: Check if preprints have been published, update to journal version
861
+
862
+ 8. **Special character issues**: Broken LaTeX compilation due to characters
863
+ - **Solution**: Use proper escaping or Unicode in BibTeX
864
+
865
+ 9. **No validation before submission**: Submitting with citation errors
866
+ - **Solution**: Always run validation as final check
867
+
868
+ 10. **Manual BibTeX entry**: Typing entries by hand
869
+ - **Solution**: Always extract from metadata sources using scripts
870
+
871
+ ## Example Workflows
872
+
873
+ ### Example 1: Building a Bibliography for a Paper
874
+
875
+ ```bash
876
+ # Step 1: Find key papers on your topic
877
+ python scripts/search_google_scholar.py "transformer neural networks" \
878
+ --year-start 2017 \
879
+ --limit 50 \
880
+ --output transformers_gs.json
881
+
882
+ python scripts/search_pubmed.py "deep learning medical imaging" \
883
+ --date-start 2020 \
884
+ --limit 50 \
885
+ --output medical_dl_pm.json
886
+
887
+ # Step 2: Extract metadata from search results
888
+ python scripts/extract_metadata.py \
889
+ --input transformers_gs.json \
890
+ --output transformers.bib
891
+
892
+ python scripts/extract_metadata.py \
893
+ --input medical_dl_pm.json \
894
+ --output medical.bib
895
+
896
+ # Step 3: Add specific papers you already know
897
+ python scripts/doi_to_bibtex.py 10.1038/s41586-021-03819-2 >> specific.bib
898
+ python scripts/doi_to_bibtex.py 10.1126/science.aam9317 >> specific.bib
899
+
900
+ # Step 4: Combine all BibTeX files
901
+ cat transformers.bib medical.bib specific.bib > combined.bib
902
+
903
+ # Step 5: Format and deduplicate
904
+ python scripts/format_bibtex.py combined.bib \
905
+ --deduplicate \
906
+ --sort year \
907
+ --descending \
908
+ --output formatted.bib
909
+
910
+ # Step 6: Validate
911
+ python scripts/validate_citations.py formatted.bib \
912
+ --auto-fix \
913
+ --report validation.json \
914
+ --output final_references.bib
915
+
916
+ # Step 7: Review any issues
917
+ cat validation.json | grep -A 3 '"errors"'
918
+
919
+ # Step 8: Use in LaTeX
920
+ # \bibliography{final_references}
921
+ ```
922
+
923
+ ### Example 2: Converting a List of DOIs
924
+
925
+ ```bash
926
+ # You have a text file with DOIs (one per line)
927
+ # dois.txt contains:
928
+ # 10.1038/s41586-021-03819-2
929
+ # 10.1126/science.aam9317
930
+ # 10.1016/j.cell.2023.01.001
931
+
932
+ # Convert all to BibTeX
933
+ python scripts/doi_to_bibtex.py --input dois.txt --output references.bib
934
+
935
+ # Validate the result
936
+ python scripts/validate_citations.py references.bib --verbose
937
+ ```
938
+
939
+ ### Example 3: Cleaning an Existing BibTeX File
940
+
941
+ ```bash
942
+ # You have a messy BibTeX file from various sources
943
+ # Clean it up systematically
944
+
945
+ # Step 1: Format and standardize
946
+ python scripts/format_bibtex.py messy_references.bib \
947
+ --output step1_formatted.bib
948
+
949
+ # Step 2: Remove duplicates
950
+ python scripts/format_bibtex.py step1_formatted.bib \
951
+ --deduplicate \
952
+ --output step2_deduplicated.bib
953
+
954
+ # Step 3: Validate and auto-fix
955
+ python scripts/validate_citations.py step2_deduplicated.bib \
956
+ --auto-fix \
957
+ --output step3_validated.bib
958
+
959
+ # Step 4: Sort by year
960
+ python scripts/format_bibtex.py step3_validated.bib \
961
+ --sort year \
962
+ --descending \
963
+ --output clean_references.bib
964
+
965
+ # Step 5: Final validation report
966
+ python scripts/validate_citations.py clean_references.bib \
967
+ --report final_validation.json \
968
+ --verbose
969
+
970
+ # Review report
971
+ cat final_validation.json
972
+ ```
973
+
974
+ ### Example 4: Finding and Citing Seminal Papers
975
+
976
+ ```bash
977
+ # Find highly cited papers on a topic
978
+ python scripts/search_google_scholar.py "AlphaFold protein structure" \
979
+ --year-start 2020 \
980
+ --year-end 2024 \
981
+ --sort-by citations \
982
+ --limit 20 \
983
+ --output alphafold_seminal.json
984
+
985
+ # Extract the top 10 by citation count
986
+ # (script will have included citation counts in JSON)
987
+
988
+ # Convert to BibTeX
989
+ python scripts/extract_metadata.py \
990
+ --input alphafold_seminal.json \
991
+ --output alphafold_refs.bib
992
+
993
+ # The BibTeX file now contains the most influential papers
994
+ ```
995
+
996
+ ## Integration with Other Skills
997
+
998
+ ### Literature Review Skill
999
+
1000
+ **Citation Management** provides the technical infrastructure for **Literature Review**:
1001
+
1002
+ - **Literature Review**: Multi-database systematic search and synthesis
1003
+ - **Citation Management**: Metadata extraction and validation
1004
+
1005
+ **Combined workflow**:
1006
+ 1. Use literature-review for systematic search methodology
1007
+ 2. Use citation-management to extract and validate citations
1008
+ 3. Use literature-review to synthesize findings
1009
+ 4. Use citation-management to ensure bibliography accuracy
1010
+
1011
+ ### Scientific Writing Skill
1012
+
1013
+ **Citation Management** ensures accurate references for **Scientific Writing**:
1014
+
1015
+ - Export validated BibTeX for use in LaTeX manuscripts
1016
+ - Verify citations match publication standards
1017
+ - Format references according to journal requirements
1018
+
1019
+ ### Venue Templates Skill
1020
+
1021
+ **Citation Management** works with **Venue Templates** for submission-ready manuscripts:
1022
+
1023
+ - Different venues require different citation styles
1024
+ - Generate properly formatted references
1025
+ - Validate citations meet venue requirements
1026
+
1027
+ ## Resources
1028
+
1029
+ ### Bundled Resources
1030
+
1031
+ **References** (in `references/`):
1032
+ - `google_scholar_search.md`: Complete Google Scholar search guide
1033
+ - `pubmed_search.md`: PubMed and E-utilities API documentation
1034
+ - `metadata_extraction.md`: Metadata sources and field requirements
1035
+ - `citation_validation.md`: Validation criteria and quality checks
1036
+ - `bibtex_formatting.md`: BibTeX entry types and formatting rules
1037
+
1038
+ **Scripts** (in `scripts/`):
1039
+ - `search_google_scholar.py`: Google Scholar search automation
1040
+ - `search_pubmed.py`: PubMed E-utilities API client
1041
+ - `extract_metadata.py`: Universal metadata extractor
1042
+ - `validate_citations.py`: Citation validation and verification
1043
+ - `format_bibtex.py`: BibTeX formatter and cleaner
1044
+ - `doi_to_bibtex.py`: Quick DOI to BibTeX converter
1045
+
1046
+ **Assets** (in `assets/`):
1047
+ - `bibtex_template.bib`: Example BibTeX entries for all types
1048
+ - `citation_checklist.md`: Quality assurance checklist
1049
+
1050
+ ### External Resources
1051
+
1052
+ **Search Engines**:
1053
+ - Google Scholar: https://scholar.google.com/
1054
+ - PubMed: https://pubmed.ncbi.nlm.nih.gov/
1055
+ - PubMed Advanced Search: https://pubmed.ncbi.nlm.nih.gov/advanced/
1056
+
1057
+ **Metadata APIs**:
1058
+ - CrossRef API: https://api.crossref.org/
1059
+ - PubMed E-utilities: https://www.ncbi.nlm.nih.gov/books/NBK25501/
1060
+ - arXiv API: https://arxiv.org/help/api/
1061
+ - DataCite API: https://api.datacite.org/
1062
+
1063
+ **Tools and Validators**:
1064
+ - MeSH Browser: https://meshb.nlm.nih.gov/search
1065
+ - DOI Resolver: https://doi.org/
1066
+ - BibTeX Format: http://www.bibtex.org/Format/
1067
+
1068
+ **Citation Styles**:
1069
+ - BibTeX documentation: http://www.bibtex.org/
1070
+ - LaTeX bibliography management: https://www.overleaf.com/learn/latex/Bibliography_management
1071
+
1072
+ ## Dependencies
1073
+
1074
+ ### Required Python Packages
1075
+
1076
+ ```bash
1077
+ # Core dependencies
1078
+ pip install requests # HTTP requests for APIs
1079
+ pip install bibtexparser # BibTeX parsing and formatting
1080
+ pip install biopython # PubMed E-utilities access
1081
+
1082
+ # Optional (for Google Scholar)
1083
+ pip install scholarly # Google Scholar API wrapper
1084
+ # or
1085
+ pip install selenium # For more robust Scholar scraping
1086
+ ```
1087
+
1088
+ ### Optional Tools
1089
+
1090
+ ```bash
1091
+ # For advanced validation
1092
+ pip install crossref-commons # Enhanced CrossRef API access
1093
+ pip install pylatexenc # LaTeX special character handling
1094
+ ```
1095
+
1096
+ ## Summary
1097
+
1098
+ The citation-management skill provides:
1099
+
1100
+ 1. **Comprehensive search capabilities** for Google Scholar and PubMed
1101
+ 2. **Automated metadata extraction** from DOI, PMID, arXiv ID, URLs
1102
+ 3. **Citation validation** with DOI verification and completeness checking
1103
+ 4. **BibTeX formatting** with standardization and cleaning tools
1104
+ 5. **Quality assurance** through validation and reporting
1105
+ 6. **Integration** with scientific writing workflow
1106
+ 7. **Reproducibility** through documented search and extraction methods
1107
+
1108
+ Use this skill to maintain accurate, complete citations throughout your research and ensure publication-ready bibliographies.
1109
+