@synsci/cli-darwin-x64 1.1.70 → 1.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/skills/citation-management/SKILL.md +1109 -0
- package/bin/skills/citation-management/assets/bibtex_template.bib +264 -0
- package/bin/skills/citation-management/assets/citation_checklist.md +386 -0
- package/bin/skills/citation-management/references/bibtex_formatting.md +908 -0
- package/bin/skills/citation-management/references/citation_validation.md +794 -0
- package/bin/skills/citation-management/references/google_scholar_search.md +725 -0
- package/bin/skills/citation-management/references/metadata_extraction.md +870 -0
- package/bin/skills/citation-management/references/pubmed_search.md +839 -0
- package/bin/skills/citation-management/scripts/doi_to_bibtex.py +182 -0
- package/bin/skills/citation-management/scripts/extract_metadata.py +570 -0
- package/bin/skills/citation-management/scripts/format_bibtex.py +349 -0
- package/bin/skills/citation-management/scripts/search_google_scholar.py +251 -0
- package/bin/skills/citation-management/scripts/search_pubmed.py +348 -0
- package/bin/skills/citation-management/scripts/validate_citations.py +494 -0
- package/bin/skills/clinical-decision-support/README.md +129 -0
- package/bin/skills/clinical-decision-support/SKILL.md +506 -0
- package/bin/skills/clinical-decision-support/assets/biomarker_report_template.tex +380 -0
- package/bin/skills/clinical-decision-support/assets/clinical_pathway_template.tex +222 -0
- package/bin/skills/clinical-decision-support/assets/cohort_analysis_template.tex +359 -0
- package/bin/skills/clinical-decision-support/assets/color_schemes.tex +149 -0
- package/bin/skills/clinical-decision-support/assets/example_gbm_cohort.md +208 -0
- package/bin/skills/clinical-decision-support/assets/recommendation_strength_guide.md +328 -0
- package/bin/skills/clinical-decision-support/assets/treatment_recommendation_template.tex +529 -0
- package/bin/skills/clinical-decision-support/references/biomarker_classification.md +719 -0
- package/bin/skills/clinical-decision-support/references/clinical_decision_algorithms.md +604 -0
- package/bin/skills/clinical-decision-support/references/evidence_synthesis.md +840 -0
- package/bin/skills/clinical-decision-support/references/outcome_analysis.md +640 -0
- package/bin/skills/clinical-decision-support/references/patient_cohort_analysis.md +427 -0
- package/bin/skills/clinical-decision-support/references/treatment_recommendations.md +521 -0
- package/bin/skills/clinical-decision-support/scripts/biomarker_classifier.py +383 -0
- package/bin/skills/clinical-decision-support/scripts/build_decision_tree.py +417 -0
- package/bin/skills/clinical-decision-support/scripts/create_cohort_tables.py +509 -0
- package/bin/skills/clinical-decision-support/scripts/generate_survival_analysis.py +441 -0
- package/bin/skills/clinical-decision-support/scripts/validate_cds_document.py +326 -0
- package/bin/skills/clinical-reports/IMPLEMENTATION_SUMMARY.md +641 -0
- package/bin/skills/clinical-reports/README.md +236 -0
- package/bin/skills/clinical-reports/SKILL.md +1127 -0
- package/bin/skills/clinical-reports/assets/case_report_template.md +352 -0
- package/bin/skills/clinical-reports/assets/clinical_trial_csr_template.md +353 -0
- package/bin/skills/clinical-reports/assets/clinical_trial_sae_template.md +359 -0
- package/bin/skills/clinical-reports/assets/consult_note_template.md +305 -0
- package/bin/skills/clinical-reports/assets/discharge_summary_template.md +453 -0
- package/bin/skills/clinical-reports/assets/hipaa_compliance_checklist.md +395 -0
- package/bin/skills/clinical-reports/assets/history_physical_template.md +305 -0
- package/bin/skills/clinical-reports/assets/lab_report_template.md +309 -0
- package/bin/skills/clinical-reports/assets/pathology_report_template.md +249 -0
- package/bin/skills/clinical-reports/assets/quality_checklist.md +338 -0
- package/bin/skills/clinical-reports/assets/radiology_report_template.md +318 -0
- package/bin/skills/clinical-reports/assets/soap_note_template.md +253 -0
- package/bin/skills/clinical-reports/references/case_report_guidelines.md +570 -0
- package/bin/skills/clinical-reports/references/clinical_trial_reporting.md +693 -0
- package/bin/skills/clinical-reports/references/data_presentation.md +530 -0
- package/bin/skills/clinical-reports/references/diagnostic_reports_standards.md +629 -0
- package/bin/skills/clinical-reports/references/medical_terminology.md +588 -0
- package/bin/skills/clinical-reports/references/patient_documentation.md +744 -0
- package/bin/skills/clinical-reports/references/peer_review_standards.md +585 -0
- package/bin/skills/clinical-reports/references/regulatory_compliance.md +577 -0
- package/bin/skills/clinical-reports/scripts/check_deidentification.py +332 -0
- package/bin/skills/clinical-reports/scripts/compliance_checker.py +78 -0
- package/bin/skills/clinical-reports/scripts/extract_clinical_data.py +97 -0
- package/bin/skills/clinical-reports/scripts/format_adverse_events.py +97 -0
- package/bin/skills/clinical-reports/scripts/generate_report_template.py +149 -0
- package/bin/skills/clinical-reports/scripts/terminology_validator.py +126 -0
- package/bin/skills/clinical-reports/scripts/validate_case_report.py +323 -0
- package/bin/skills/clinical-reports/scripts/validate_trial_report.py +88 -0
- package/bin/skills/fireworks-ai/SKILL.md +665 -0
- package/bin/skills/generate-image/SKILL.md +178 -0
- package/bin/skills/generate-image/scripts/generate_image.py +254 -0
- package/bin/skills/groq/SKILL.md +347 -0
- package/bin/skills/hypothesis-generation/SKILL.md +293 -0
- package/bin/skills/hypothesis-generation/assets/FORMATTING_GUIDE.md +672 -0
- package/bin/skills/hypothesis-generation/assets/hypothesis_generation.sty +307 -0
- package/bin/skills/hypothesis-generation/assets/hypothesis_report_template.tex +572 -0
- package/bin/skills/hypothesis-generation/references/experimental_design_patterns.md +329 -0
- package/bin/skills/hypothesis-generation/references/hypothesis_quality_criteria.md +198 -0
- package/bin/skills/hypothesis-generation/references/literature_search_strategies.md +622 -0
- package/bin/skills/latex-posters/README.md +417 -0
- package/bin/skills/latex-posters/SKILL.md +1602 -0
- package/bin/skills/latex-posters/assets/baposter_template.tex +257 -0
- package/bin/skills/latex-posters/assets/beamerposter_template.tex +244 -0
- package/bin/skills/latex-posters/assets/poster_quality_checklist.md +358 -0
- package/bin/skills/latex-posters/assets/tikzposter_template.tex +251 -0
- package/bin/skills/latex-posters/references/latex_poster_packages.md +745 -0
- package/bin/skills/latex-posters/references/poster_content_guide.md +748 -0
- package/bin/skills/latex-posters/references/poster_design_principles.md +806 -0
- package/bin/skills/latex-posters/references/poster_layout_design.md +900 -0
- package/bin/skills/latex-posters/scripts/review_poster.sh +214 -0
- package/bin/skills/literature-review/SKILL.md +641 -0
- package/bin/skills/literature-review/assets/review_template.md +412 -0
- package/bin/skills/literature-review/references/citation_styles.md +166 -0
- package/bin/skills/literature-review/references/database_strategies.md +455 -0
- package/bin/skills/literature-review/scripts/generate_pdf.py +184 -0
- package/bin/skills/literature-review/scripts/search_databases.py +310 -0
- package/bin/skills/literature-review/scripts/verify_citations.py +218 -0
- package/bin/skills/market-research-reports/SKILL.md +904 -0
- package/bin/skills/market-research-reports/assets/FORMATTING_GUIDE.md +428 -0
- package/bin/skills/market-research-reports/assets/market_report_template.tex +1380 -0
- package/bin/skills/market-research-reports/assets/market_research.sty +564 -0
- package/bin/skills/market-research-reports/references/data_analysis_patterns.md +548 -0
- package/bin/skills/market-research-reports/references/report_structure_guide.md +999 -0
- package/bin/skills/market-research-reports/references/visual_generation_guide.md +1077 -0
- package/bin/skills/market-research-reports/scripts/generate_market_visuals.py +472 -0
- package/bin/skills/markitdown/INSTALLATION_GUIDE.md +318 -0
- package/bin/skills/markitdown/LICENSE.txt +22 -0
- package/bin/skills/markitdown/OPENROUTER_INTEGRATION.md +359 -0
- package/bin/skills/markitdown/QUICK_REFERENCE.md +309 -0
- package/bin/skills/markitdown/README.md +184 -0
- package/bin/skills/markitdown/SKILL.md +486 -0
- package/bin/skills/markitdown/SKILL_SUMMARY.md +307 -0
- package/bin/skills/markitdown/assets/example_usage.md +463 -0
- package/bin/skills/markitdown/references/api_reference.md +399 -0
- package/bin/skills/markitdown/references/file_formats.md +542 -0
- package/bin/skills/markitdown/scripts/batch_convert.py +195 -0
- package/bin/skills/markitdown/scripts/convert_literature.py +262 -0
- package/bin/skills/markitdown/scripts/convert_with_ai.py +224 -0
- package/bin/skills/ml-paper-writing/SKILL.md +937 -0
- package/bin/skills/ml-paper-writing/references/checklists.md +361 -0
- package/bin/skills/ml-paper-writing/references/citation-workflow.md +562 -0
- package/bin/skills/ml-paper-writing/references/reviewer-guidelines.md +367 -0
- package/bin/skills/ml-paper-writing/references/sources.md +159 -0
- package/bin/skills/ml-paper-writing/references/writing-guide.md +476 -0
- package/bin/skills/ml-paper-writing/templates/README.md +251 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/README.md +534 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-supp.tex +144 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-template.tex +952 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.bib +111 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.bst +1493 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.sty +315 -0
- package/bin/skills/ml-paper-writing/templates/acl/README.md +50 -0
- package/bin/skills/ml-paper-writing/templates/acl/acl.sty +312 -0
- package/bin/skills/ml-paper-writing/templates/acl/acl_latex.tex +377 -0
- package/bin/skills/ml-paper-writing/templates/acl/acl_lualatex.tex +101 -0
- package/bin/skills/ml-paper-writing/templates/acl/acl_natbib.bst +1940 -0
- package/bin/skills/ml-paper-writing/templates/acl/anthology.bib.txt +26 -0
- package/bin/skills/ml-paper-writing/templates/acl/custom.bib +70 -0
- package/bin/skills/ml-paper-writing/templates/acl/formatting.md +326 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/README.md +3 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bib +11 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bst +1440 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.pdf +0 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.sty +218 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.tex +305 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/fancyhdr.sty +485 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/math_commands.tex +508 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/natbib.sty +1246 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/fancyhdr.sty +485 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bib +24 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bst +1440 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.pdf +0 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.sty +246 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.tex +414 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/math_commands.tex +508 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/natbib.sty +1246 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/algorithm.sty +79 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/algorithmic.sty +201 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.bib +75 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.pdf +0 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.tex +662 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/fancyhdr.sty +864 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/icml2026.bst +1443 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/icml2026.sty +767 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/icml_numpapers.pdf +0 -0
- package/bin/skills/ml-paper-writing/templates/neurips2025/Makefile +36 -0
- package/bin/skills/ml-paper-writing/templates/neurips2025/extra_pkgs.tex +53 -0
- package/bin/skills/ml-paper-writing/templates/neurips2025/main.tex +38 -0
- package/bin/skills/ml-paper-writing/templates/neurips2025/neurips.sty +382 -0
- package/bin/skills/paper-2-web/SKILL.md +491 -0
- package/bin/skills/paper-2-web/references/installation.md +141 -0
- package/bin/skills/paper-2-web/references/paper2poster.md +346 -0
- package/bin/skills/paper-2-web/references/paper2video.md +305 -0
- package/bin/skills/paper-2-web/references/paper2web.md +187 -0
- package/bin/skills/paper-2-web/references/usage_examples.md +436 -0
- package/bin/skills/peer-review/SKILL.md +702 -0
- package/bin/skills/peer-review/references/calibration_guidelines.md +196 -0
- package/bin/skills/peer-review/references/common_issues.md +552 -0
- package/bin/skills/peer-review/references/paper_mechanics.md +269 -0
- package/bin/skills/peer-review/references/reporting_standards.md +290 -0
- package/bin/skills/peer-review/references/scoring_rubric.md +239 -0
- package/bin/skills/pptx-posters/SKILL.md +410 -0
- package/bin/skills/pptx-posters/assets/poster_html_template.html +257 -0
- package/bin/skills/pptx-posters/assets/poster_quality_checklist.md +358 -0
- package/bin/skills/pptx-posters/references/poster_content_guide.md +748 -0
- package/bin/skills/pptx-posters/references/poster_design_principles.md +806 -0
- package/bin/skills/pptx-posters/references/poster_layout_design.md +900 -0
- package/bin/skills/research-grants/README.md +285 -0
- package/bin/skills/research-grants/SKILL.md +938 -0
- package/bin/skills/research-grants/assets/budget_justification_template.md +453 -0
- package/bin/skills/research-grants/assets/nih_specific_aims_template.md +166 -0
- package/bin/skills/research-grants/assets/nsf_project_summary_template.md +92 -0
- package/bin/skills/research-grants/references/broader_impacts.md +392 -0
- package/bin/skills/research-grants/references/darpa_guidelines.md +636 -0
- package/bin/skills/research-grants/references/doe_guidelines.md +586 -0
- package/bin/skills/research-grants/references/nih_guidelines.md +851 -0
- package/bin/skills/research-grants/references/nsf_guidelines.md +570 -0
- package/bin/skills/research-grants/references/specific_aims_guide.md +458 -0
- package/bin/skills/research-lookup/README.md +156 -0
- package/bin/skills/research-lookup/SKILL.md +606 -0
- package/bin/skills/research-lookup/examples.py +174 -0
- package/bin/skills/research-lookup/lookup.py +187 -0
- package/bin/skills/research-lookup/research_lookup.py +483 -0
- package/bin/skills/research-lookup/scripts/research_lookup.py +483 -0
- package/bin/skills/scholar-evaluation/SKILL.md +289 -0
- package/bin/skills/scholar-evaluation/references/evaluation_framework.md +663 -0
- package/bin/skills/scholar-evaluation/scripts/calculate_scores.py +366 -0
- package/bin/skills/scientific-critical-thinking/SKILL.md +566 -0
- package/bin/skills/scientific-critical-thinking/references/common_biases.md +364 -0
- package/bin/skills/scientific-critical-thinking/references/evidence_hierarchy.md +484 -0
- package/bin/skills/scientific-critical-thinking/references/experimental_design.md +496 -0
- package/bin/skills/scientific-critical-thinking/references/logical_fallacies.md +478 -0
- package/bin/skills/scientific-critical-thinking/references/scientific_method.md +169 -0
- package/bin/skills/scientific-critical-thinking/references/statistical_pitfalls.md +506 -0
- package/bin/skills/scientific-schematics/QUICK_REFERENCE.md +207 -0
- package/bin/skills/scientific-schematics/README.md +327 -0
- package/bin/skills/scientific-schematics/SKILL.md +615 -0
- package/bin/skills/scientific-schematics/example_usage.sh +89 -0
- package/bin/skills/scientific-schematics/references/best_practices.md +559 -0
- package/bin/skills/scientific-schematics/scripts/generate_schematic.py +135 -0
- package/bin/skills/scientific-schematics/scripts/generate_schematic_ai.py +807 -0
- package/bin/skills/scientific-schematics/test_ai_generation.py +243 -0
- package/bin/skills/scientific-slides/SKILL.md +942 -0
- package/bin/skills/scientific-slides/assets/timing_guidelines.md +597 -0
- package/bin/skills/scientific-slides/references/data_visualization_slides.md +708 -0
- package/bin/skills/scientific-slides/references/presentation_structure.md +642 -0
- package/bin/skills/scientific-slides/references/slide_design_principles.md +849 -0
- package/bin/skills/scientific-slides/references/talk_types_guide.md +687 -0
- package/bin/skills/scientific-slides/references/visual_review_workflow.md +775 -0
- package/bin/skills/scientific-slides/scripts/generate_slide_image.py +143 -0
- package/bin/skills/scientific-slides/scripts/generate_slide_image_ai.py +748 -0
- package/bin/skills/scientific-slides/scripts/pdf_to_images.py +201 -0
- package/bin/skills/scientific-slides/scripts/slides_to_pdf.py +220 -0
- package/bin/skills/scientific-slides/scripts/validate_presentation.py +367 -0
- package/bin/skills/scientific-writing/SKILL.md +714 -0
- package/bin/skills/scientific-writing/assets/REPORT_FORMATTING_GUIDE.md +574 -0
- package/bin/skills/scientific-writing/assets/scientific_report.sty +606 -0
- package/bin/skills/scientific-writing/assets/scientific_report_template.tex +449 -0
- package/bin/skills/scientific-writing/references/citation_styles.md +720 -0
- package/bin/skills/scientific-writing/references/figures_tables.md +806 -0
- package/bin/skills/scientific-writing/references/imrad_structure.md +686 -0
- package/bin/skills/scientific-writing/references/professional_report_formatting.md +664 -0
- package/bin/skills/scientific-writing/references/reporting_guidelines.md +748 -0
- package/bin/skills/scientific-writing/references/writing_principles.md +824 -0
- package/bin/skills/tinker/SKILL.md +2 -3
- package/bin/skills/together-ai/SKILL.md +722 -0
- package/bin/skills/treatment-plans/README.md +488 -0
- package/bin/skills/treatment-plans/SKILL.md +1579 -0
- package/bin/skills/treatment-plans/assets/STYLING_QUICK_REFERENCE.md +185 -0
- package/bin/skills/treatment-plans/assets/chronic_disease_management_plan.tex +665 -0
- package/bin/skills/treatment-plans/assets/general_medical_treatment_plan.tex +547 -0
- package/bin/skills/treatment-plans/assets/medical_treatment_plan.sty +222 -0
- package/bin/skills/treatment-plans/assets/mental_health_treatment_plan.tex +774 -0
- package/bin/skills/treatment-plans/assets/one_page_treatment_plan.tex +193 -0
- package/bin/skills/treatment-plans/assets/pain_management_plan.tex +799 -0
- package/bin/skills/treatment-plans/assets/perioperative_care_plan.tex +753 -0
- package/bin/skills/treatment-plans/assets/quality_checklist.md +471 -0
- package/bin/skills/treatment-plans/assets/rehabilitation_treatment_plan.tex +756 -0
- package/bin/skills/treatment-plans/references/goal_setting_frameworks.md +411 -0
- package/bin/skills/treatment-plans/references/intervention_guidelines.md +507 -0
- package/bin/skills/treatment-plans/references/regulatory_compliance.md +476 -0
- package/bin/skills/treatment-plans/references/specialty_specific_guidelines.md +655 -0
- package/bin/skills/treatment-plans/references/treatment_plan_standards.md +485 -0
- package/bin/skills/treatment-plans/scripts/check_completeness.py +322 -0
- package/bin/skills/treatment-plans/scripts/generate_template.py +233 -0
- package/bin/skills/treatment-plans/scripts/timeline_generator.py +385 -0
- package/bin/skills/treatment-plans/scripts/validate_treatment_plan.py +369 -0
- package/bin/skills/unsloth/SKILL.md +565 -47
- package/bin/skills/unsloth/docs/advanced-rl.md +222 -0
- package/bin/skills/unsloth/docs/chat-templates.md +141 -0
- package/bin/skills/unsloth/docs/datasets.md +489 -0
- package/bin/skills/unsloth/docs/docker-extended.md +99 -0
- package/bin/skills/unsloth/docs/dynamic-ggufs-2.0.md +116 -0
- package/bin/skills/unsloth/docs/dynamic-ggufs-aider.md +118 -0
- package/bin/skills/unsloth/docs/faq.md +91 -0
- package/bin/skills/unsloth/docs/fp16-vs-bf16.md +61 -0
- package/bin/skills/unsloth/docs/fp8-rl.md +224 -0
- package/bin/skills/unsloth/docs/glm-4.7-flash.md +997 -0
- package/bin/skills/unsloth/docs/inference-deployment-overview.md +17 -0
- package/bin/skills/unsloth/docs/inference.md +27 -0
- package/bin/skills/unsloth/docs/installation-docker.md +155 -0
- package/bin/skills/unsloth/docs/installation-pip.md +148 -0
- package/bin/skills/unsloth/docs/kernels-packing.md +190 -0
- package/bin/skills/unsloth/docs/kimi-k2.5.md +634 -0
- package/bin/skills/unsloth/docs/lm-studio.md +235 -0
- package/bin/skills/unsloth/docs/lora-hot-swapping.md +75 -0
- package/bin/skills/unsloth/docs/lora-hyperparameters.md +363 -0
- package/bin/skills/unsloth/docs/memory-efficient-rl.md +267 -0
- package/bin/skills/unsloth/docs/model-selection.md +70 -0
- package/bin/skills/unsloth/docs/models.md +532 -0
- package/bin/skills/unsloth/docs/multi-gpu-ddp.md +90 -0
- package/bin/skills/unsloth/docs/notebooks.md +223 -0
- package/bin/skills/unsloth/docs/overview.md +110 -0
- package/bin/skills/unsloth/docs/qwen3-coder-next-extended.md +900 -0
- package/bin/skills/unsloth/docs/qwen3-coder-next.md +900 -0
- package/bin/skills/unsloth/docs/requirements.md +45 -0
- package/bin/skills/unsloth/docs/reward-hacking.md +25 -0
- package/bin/skills/unsloth/docs/saving-to-gguf.md +138 -0
- package/bin/skills/unsloth/docs/saving-to-ollama.md +46 -0
- package/bin/skills/unsloth/docs/sglang-guide.md +278 -0
- package/bin/skills/unsloth/docs/speculative-decoding.md +70 -0
- package/bin/skills/unsloth/docs/tool-calling.md +334 -0
- package/bin/skills/unsloth/docs/troubleshooting-faq.md +204 -0
- package/bin/skills/unsloth/docs/troubleshooting-inference.md +26 -0
- package/bin/skills/unsloth/docs/tts-fine-tuning.md +149 -0
- package/bin/skills/unsloth/docs/tutorial-grpo.md +273 -0
- package/bin/skills/unsloth/docs/tutorial-llama3-ollama.md +356 -0
- package/bin/skills/unsloth/docs/vision-fine-tuning.md +135 -0
- package/bin/skills/unsloth/docs/vision-rl.md +170 -0
- package/bin/skills/unsloth/docs/vllm-engine-arguments.md +43 -0
- package/bin/skills/unsloth/docs/vllm-guide.md +98 -0
- package/bin/skills/venue-templates/SKILL.md +686 -0
- package/bin/skills/venue-templates/assets/examples/cell_summary_example.md +247 -0
- package/bin/skills/venue-templates/assets/examples/medical_structured_abstract.md +313 -0
- package/bin/skills/venue-templates/assets/examples/nature_abstract_examples.md +213 -0
- package/bin/skills/venue-templates/assets/examples/neurips_introduction_example.md +245 -0
- package/bin/skills/venue-templates/assets/grants/nih_specific_aims.tex +235 -0
- package/bin/skills/venue-templates/assets/grants/nsf_proposal_template.tex +375 -0
- package/bin/skills/venue-templates/assets/journals/nature_article.tex +171 -0
- package/bin/skills/venue-templates/assets/journals/neurips_article.tex +283 -0
- package/bin/skills/venue-templates/assets/journals/plos_one.tex +317 -0
- package/bin/skills/venue-templates/assets/posters/beamerposter_academic.tex +311 -0
- package/bin/skills/venue-templates/references/cell_press_style.md +483 -0
- package/bin/skills/venue-templates/references/conferences_formatting.md +564 -0
- package/bin/skills/venue-templates/references/cs_conference_style.md +463 -0
- package/bin/skills/venue-templates/references/grants_requirements.md +787 -0
- package/bin/skills/venue-templates/references/journals_formatting.md +486 -0
- package/bin/skills/venue-templates/references/medical_journal_styles.md +535 -0
- package/bin/skills/venue-templates/references/ml_conference_style.md +556 -0
- package/bin/skills/venue-templates/references/nature_science_style.md +405 -0
- package/bin/skills/venue-templates/references/posters_guidelines.md +628 -0
- package/bin/skills/venue-templates/references/reviewer_expectations.md +417 -0
- package/bin/skills/venue-templates/references/venue_writing_styles.md +321 -0
- package/bin/skills/venue-templates/scripts/customize_template.py +195 -0
- package/bin/skills/venue-templates/scripts/query_template.py +266 -0
- package/bin/skills/venue-templates/scripts/validate_format.py +250 -0
- package/bin/synsc +0 -0
- package/package.json +1 -1
- package/bin/skills/unsloth/references/index.md +0 -7
- package/bin/skills/unsloth/references/llms-full.md +0 -16799
- package/bin/skills/unsloth/references/llms-txt.md +0 -12044
- package/bin/skills/unsloth/references/llms.md +0 -82
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Treatment Timeline Generator
|
|
4
|
+
Generates visual treatment timelines from treatment plan files.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import argparse
|
|
8
|
+
import re
|
|
9
|
+
import sys
|
|
10
|
+
from datetime import datetime, timedelta
|
|
11
|
+
from pathlib import Path
|
|
12
|
+
from typing import Dict, List, Tuple
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# Try to import matplotlib, but make it optional
|
|
16
|
+
try:
|
|
17
|
+
import matplotlib.dates as mdates
|
|
18
|
+
import matplotlib.pyplot as plt
|
|
19
|
+
from matplotlib.patches import Rectangle
|
|
20
|
+
|
|
21
|
+
HAS_MATPLOTLIB = True
|
|
22
|
+
except ImportError:
|
|
23
|
+
HAS_MATPLOTLIB = False
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def extract_timeline_info(content: str) -> Dict[str, List[Tuple[str, str]]]:
|
|
27
|
+
"""
|
|
28
|
+
Extract timeline and schedule information from treatment plan.
|
|
29
|
+
Returns dict with phases, appointments, milestones.
|
|
30
|
+
"""
|
|
31
|
+
timeline_data = {'phases': [], 'appointments': [], 'milestones': []}
|
|
32
|
+
|
|
33
|
+
# Extract treatment phases
|
|
34
|
+
# Look for patterns like "Week 1-4: Description" or "Months 1-3: Description"
|
|
35
|
+
phase_patterns = [
|
|
36
|
+
r'(Week[s]?\s*\d+[-–]\d+|Month[s]?\s*\d+[-–]\d+)[:\s]+([^\n]+)',
|
|
37
|
+
r'(POD\s*\d+[-–]\d+)[:\s]+([^\n]+)',
|
|
38
|
+
r'(\d+[-–]\d+\s*week[s]?)[:\s]+([^\n]+)',
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
for pattern in phase_patterns:
|
|
42
|
+
matches = re.findall(pattern, content, re.IGNORECASE)
|
|
43
|
+
for timeframe, description in matches:
|
|
44
|
+
timeline_data['phases'].append((timeframe.strip(), description.strip()))
|
|
45
|
+
|
|
46
|
+
# Extract appointments
|
|
47
|
+
# Look for patterns like "Week 2: Visit" or "Month 3: Follow-up"
|
|
48
|
+
apt_patterns = [
|
|
49
|
+
r'(Week\s*\d+|Month\s*\d+|POD\s*\d+)[:\s]+(Visit|Appointment|Follow-up|Check-up|Consultation)([^\n]*)',
|
|
50
|
+
r'(Every\s+\d+\s+\w+)[:\s]+(Visit|Appointment|therapy|session)([^\n]*)',
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
for pattern in apt_patterns:
|
|
54
|
+
matches = re.findall(pattern, content, re.IGNORECASE)
|
|
55
|
+
for timeframe, visit_type, details in matches:
|
|
56
|
+
timeline_data['appointments'].append((timeframe.strip(), f"{visit_type}{details}".strip()))
|
|
57
|
+
|
|
58
|
+
# Extract milestones/assessments
|
|
59
|
+
# Look for "reassessment", "goal evaluation", "milestone" mentions
|
|
60
|
+
milestone_patterns = [
|
|
61
|
+
r'(Week\s*\d+|Month\s*\d+)[:\s]+(reassess|evaluation|assessment|milestone)([^\n]*)',
|
|
62
|
+
r'(\w+\s*\d+)[:\s]+(HbA1c|labs?|imaging|test)([^\n]*)',
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
for pattern in milestone_patterns:
|
|
66
|
+
matches = re.findall(pattern, content, re.IGNORECASE)
|
|
67
|
+
for timeframe, event_type, details in matches:
|
|
68
|
+
timeline_data['milestones'].append((timeframe.strip(), f"{event_type}{details}".strip()))
|
|
69
|
+
|
|
70
|
+
return timeline_data
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def parse_timeframe_to_days(timeframe: str) -> Tuple[int, int]:
|
|
74
|
+
"""
|
|
75
|
+
Parse timeframe string to start and end days.
|
|
76
|
+
Examples: "Week 1-4" -> (0, 28), "Month 3" -> (60, 90)
|
|
77
|
+
"""
|
|
78
|
+
timeframe = timeframe.lower()
|
|
79
|
+
|
|
80
|
+
# Week patterns
|
|
81
|
+
if 'week' in timeframe:
|
|
82
|
+
weeks = re.findall(r'\d+', timeframe)
|
|
83
|
+
if len(weeks) == 2:
|
|
84
|
+
start_week = int(weeks[0])
|
|
85
|
+
end_week = int(weeks[1])
|
|
86
|
+
return ((start_week - 1) * 7, end_week * 7)
|
|
87
|
+
elif len(weeks) == 1:
|
|
88
|
+
week = int(weeks[0])
|
|
89
|
+
return ((week - 1) * 7, week * 7)
|
|
90
|
+
|
|
91
|
+
# Month patterns
|
|
92
|
+
if 'month' in timeframe:
|
|
93
|
+
months = re.findall(r'\d+', timeframe)
|
|
94
|
+
if len(months) == 2:
|
|
95
|
+
start_month = int(months[0])
|
|
96
|
+
end_month = int(months[1])
|
|
97
|
+
return ((start_month - 1) * 30, end_month * 30)
|
|
98
|
+
elif len(months) == 1:
|
|
99
|
+
month = int(months[0])
|
|
100
|
+
return ((month - 1) * 30, month * 30)
|
|
101
|
+
|
|
102
|
+
# POD (post-operative day) patterns
|
|
103
|
+
if 'pod' in timeframe:
|
|
104
|
+
days = re.findall(r'\d+', timeframe)
|
|
105
|
+
if len(days) == 2:
|
|
106
|
+
return (int(days[0]), int(days[1]))
|
|
107
|
+
elif len(days) == 1:
|
|
108
|
+
day = int(days[0])
|
|
109
|
+
return (day, day + 1)
|
|
110
|
+
|
|
111
|
+
# Default fallback
|
|
112
|
+
return (0, 7)
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
def create_text_timeline(timeline_data: Dict, output_file: Path = None):
|
|
116
|
+
"""Create a text-based timeline representation."""
|
|
117
|
+
|
|
118
|
+
lines = []
|
|
119
|
+
lines.append("=" * 70)
|
|
120
|
+
lines.append("TREATMENT TIMELINE")
|
|
121
|
+
lines.append("=" * 70)
|
|
122
|
+
|
|
123
|
+
# Treatment phases
|
|
124
|
+
if timeline_data['phases']:
|
|
125
|
+
lines.append("\nTREATMENT PHASES:")
|
|
126
|
+
lines.append("-" * 70)
|
|
127
|
+
for timeframe, description in timeline_data['phases']:
|
|
128
|
+
lines.append(f"{timeframe:20s} | {description}")
|
|
129
|
+
|
|
130
|
+
# Appointments
|
|
131
|
+
if timeline_data['appointments']:
|
|
132
|
+
lines.append("\nSCHEDULED APPOINTMENTS:")
|
|
133
|
+
lines.append("-" * 70)
|
|
134
|
+
for timeframe, details in timeline_data['appointments']:
|
|
135
|
+
lines.append(f"{timeframe:20s} | {details}")
|
|
136
|
+
|
|
137
|
+
# Milestones
|
|
138
|
+
if timeline_data['milestones']:
|
|
139
|
+
lines.append("\nMILESTONES & ASSESSMENTS:")
|
|
140
|
+
lines.append("-" * 70)
|
|
141
|
+
for timeframe, event in timeline_data['milestones']:
|
|
142
|
+
lines.append(f"{timeframe:20s} | {event}")
|
|
143
|
+
|
|
144
|
+
lines.append("\n" + "=" * 70)
|
|
145
|
+
|
|
146
|
+
# Output
|
|
147
|
+
output_text = "\n".join(lines)
|
|
148
|
+
|
|
149
|
+
if output_file:
|
|
150
|
+
with open(output_file, 'w') as f:
|
|
151
|
+
f.write(output_text)
|
|
152
|
+
print(f"\nText timeline saved to: {output_file}")
|
|
153
|
+
else:
|
|
154
|
+
print(output_text)
|
|
155
|
+
|
|
156
|
+
return output_text
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
def create_visual_timeline(timeline_data: Dict, output_file: Path, start_date: str = None):
|
|
160
|
+
"""Create a visual Gantt-chart style timeline (requires matplotlib)."""
|
|
161
|
+
|
|
162
|
+
if not HAS_MATPLOTLIB:
|
|
163
|
+
print("Error: matplotlib not installed. Install with: pip install matplotlib", file=sys.stderr)
|
|
164
|
+
print("Generating text timeline instead...", file=sys.stderr)
|
|
165
|
+
text_output = output_file.with_suffix('.txt')
|
|
166
|
+
create_text_timeline(timeline_data, text_output)
|
|
167
|
+
return
|
|
168
|
+
|
|
169
|
+
# Parse start date
|
|
170
|
+
if start_date:
|
|
171
|
+
try:
|
|
172
|
+
start = datetime.strptime(start_date, '%Y-%m-%d')
|
|
173
|
+
except ValueError:
|
|
174
|
+
print(f"Invalid date format: {start_date}. Using today.", file=sys.stderr)
|
|
175
|
+
start = datetime.now()
|
|
176
|
+
else:
|
|
177
|
+
start = datetime.now()
|
|
178
|
+
|
|
179
|
+
# Prepare data for plotting
|
|
180
|
+
phases = []
|
|
181
|
+
for timeframe, description in timeline_data['phases']:
|
|
182
|
+
start_day, end_day = parse_timeframe_to_days(timeframe)
|
|
183
|
+
phases.append(
|
|
184
|
+
{
|
|
185
|
+
'name': f"{timeframe}: {description[:40]}",
|
|
186
|
+
'start': start + timedelta(days=start_day),
|
|
187
|
+
'end': start + timedelta(days=end_day),
|
|
188
|
+
'type': 'phase',
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
# Add appointments as events
|
|
193
|
+
events = []
|
|
194
|
+
for timeframe, details in timeline_data['appointments']:
|
|
195
|
+
start_day, _ = parse_timeframe_to_days(timeframe)
|
|
196
|
+
events.append(
|
|
197
|
+
{'name': f"{timeframe}: {details[:40]}", 'date': start + timedelta(days=start_day), 'type': 'appointment'}
|
|
198
|
+
)
|
|
199
|
+
|
|
200
|
+
# Add milestones
|
|
201
|
+
for timeframe, event in timeline_data['milestones']:
|
|
202
|
+
start_day, _ = parse_timeframe_to_days(timeframe)
|
|
203
|
+
events.append(
|
|
204
|
+
{'name': f"{timeframe}: {event[:40]}", 'date': start + timedelta(days=start_day), 'type': 'milestone'}
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
# Create figure
|
|
208
|
+
fig, ax = plt.subplots(figsize=(12, 8))
|
|
209
|
+
|
|
210
|
+
# Plot phases as horizontal bars
|
|
211
|
+
y_position = len(phases) + len(events)
|
|
212
|
+
|
|
213
|
+
for i, phase in enumerate(phases):
|
|
214
|
+
duration = (phase['end'] - phase['start']).days
|
|
215
|
+
ax.barh(
|
|
216
|
+
y_position - i,
|
|
217
|
+
duration,
|
|
218
|
+
left=mdates.date2num(phase['start']),
|
|
219
|
+
height=0.6,
|
|
220
|
+
color='steelblue',
|
|
221
|
+
alpha=0.7,
|
|
222
|
+
edgecolor='black',
|
|
223
|
+
)
|
|
224
|
+
ax.text(
|
|
225
|
+
mdates.date2num(phase['start']) + duration / 2,
|
|
226
|
+
y_position - i,
|
|
227
|
+
phase['name'],
|
|
228
|
+
va='center',
|
|
229
|
+
ha='center',
|
|
230
|
+
fontsize=9,
|
|
231
|
+
color='white',
|
|
232
|
+
weight='bold',
|
|
233
|
+
)
|
|
234
|
+
|
|
235
|
+
# Plot events as markers
|
|
236
|
+
event_y = y_position - len(phases) - 1
|
|
237
|
+
|
|
238
|
+
for i, event in enumerate(events):
|
|
239
|
+
marker = 'o' if event['type'] == 'appointment' else 's'
|
|
240
|
+
color = 'green' if event['type'] == 'appointment' else 'orange'
|
|
241
|
+
ax.plot(
|
|
242
|
+
mdates.date2num(event['date']),
|
|
243
|
+
event_y - i,
|
|
244
|
+
marker=marker,
|
|
245
|
+
markersize=10,
|
|
246
|
+
color=color,
|
|
247
|
+
markeredgecolor='black',
|
|
248
|
+
)
|
|
249
|
+
ax.text(mdates.date2num(event['date']) + 2, event_y - i, event['name'], va='center', ha='left', fontsize=8)
|
|
250
|
+
|
|
251
|
+
# Format x-axis as dates
|
|
252
|
+
ax.xaxis.set_major_formatter(mdates.DateFormatter('%b %Y'))
|
|
253
|
+
ax.xaxis.set_major_locator(mdates.MonthLocator())
|
|
254
|
+
plt.xticks(rotation=45, ha='right')
|
|
255
|
+
|
|
256
|
+
# Labels and title
|
|
257
|
+
ax.set_xlabel('Date', fontsize=12, weight='bold')
|
|
258
|
+
ax.set_title('Treatment Plan Timeline', fontsize=14, weight='bold', pad=20)
|
|
259
|
+
ax.set_yticks([])
|
|
260
|
+
ax.grid(axis='x', alpha=0.3, linestyle='--')
|
|
261
|
+
|
|
262
|
+
# Legend
|
|
263
|
+
from matplotlib.lines import Line2D
|
|
264
|
+
|
|
265
|
+
legend_elements = [
|
|
266
|
+
Rectangle((0, 0), 1, 1, fc='steelblue', alpha=0.7, edgecolor='black', label='Treatment Phase'),
|
|
267
|
+
Line2D(
|
|
268
|
+
[0],
|
|
269
|
+
[0],
|
|
270
|
+
marker='o',
|
|
271
|
+
color='w',
|
|
272
|
+
markerfacecolor='green',
|
|
273
|
+
markersize=10,
|
|
274
|
+
markeredgecolor='black',
|
|
275
|
+
label='Appointment',
|
|
276
|
+
),
|
|
277
|
+
Line2D(
|
|
278
|
+
[0],
|
|
279
|
+
[0],
|
|
280
|
+
marker='s',
|
|
281
|
+
color='w',
|
|
282
|
+
markerfacecolor='orange',
|
|
283
|
+
markersize=10,
|
|
284
|
+
markeredgecolor='black',
|
|
285
|
+
label='Milestone/Assessment',
|
|
286
|
+
),
|
|
287
|
+
]
|
|
288
|
+
ax.legend(handles=legend_elements, loc='upper right', framealpha=0.9)
|
|
289
|
+
|
|
290
|
+
plt.tight_layout()
|
|
291
|
+
|
|
292
|
+
# Save
|
|
293
|
+
plt.savefig(output_file, dpi=300, bbox_inches='tight')
|
|
294
|
+
print(f"\nVisual timeline saved to: {output_file}")
|
|
295
|
+
|
|
296
|
+
# Close plot
|
|
297
|
+
plt.close()
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
def main():
|
|
301
|
+
parser = argparse.ArgumentParser(
|
|
302
|
+
description='Generate treatment timeline visualization',
|
|
303
|
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
304
|
+
epilog="""
|
|
305
|
+
Examples:
|
|
306
|
+
# Generate text timeline
|
|
307
|
+
python timeline_generator.py --plan my_plan.tex
|
|
308
|
+
|
|
309
|
+
# Generate visual timeline (requires matplotlib)
|
|
310
|
+
python timeline_generator.py --plan my_plan.tex --output timeline.png --visual
|
|
311
|
+
|
|
312
|
+
# Specify start date for visual timeline
|
|
313
|
+
python timeline_generator.py --plan my_plan.tex --output timeline.pdf --visual --start 2025-02-01
|
|
314
|
+
|
|
315
|
+
Output formats:
|
|
316
|
+
Text: .txt
|
|
317
|
+
Visual: .png, .pdf, .svg (requires matplotlib)
|
|
318
|
+
|
|
319
|
+
Note: Visual timeline generation requires matplotlib.
|
|
320
|
+
Install with: pip install matplotlib
|
|
321
|
+
""",
|
|
322
|
+
)
|
|
323
|
+
|
|
324
|
+
parser.add_argument('--plan', type=Path, required=True, help='Treatment plan file to analyze (.tex format)')
|
|
325
|
+
|
|
326
|
+
parser.add_argument('--output', type=Path, help='Output file (default: timeline.txt or timeline.png if --visual)')
|
|
327
|
+
|
|
328
|
+
parser.add_argument('--visual', action='store_true', help='Generate visual timeline (requires matplotlib)')
|
|
329
|
+
|
|
330
|
+
parser.add_argument('--start', help='Start date for timeline (YYYY-MM-DD format, default: today)')
|
|
331
|
+
|
|
332
|
+
args = parser.parse_args()
|
|
333
|
+
|
|
334
|
+
# Check plan file exists
|
|
335
|
+
if not args.plan.exists():
|
|
336
|
+
print(f"Error: File not found: {args.plan}", file=sys.stderr)
|
|
337
|
+
sys.exit(1)
|
|
338
|
+
|
|
339
|
+
# Read plan
|
|
340
|
+
try:
|
|
341
|
+
with open(args.plan, 'r', encoding='utf-8') as f:
|
|
342
|
+
content = f.read()
|
|
343
|
+
except Exception as e:
|
|
344
|
+
print(f"Error reading file: {e}", file=sys.stderr)
|
|
345
|
+
sys.exit(1)
|
|
346
|
+
|
|
347
|
+
# Extract timeline information
|
|
348
|
+
print("Extracting timeline information from treatment plan...")
|
|
349
|
+
timeline_data = extract_timeline_info(content)
|
|
350
|
+
|
|
351
|
+
# Check if any timeline info found
|
|
352
|
+
total_items = len(timeline_data['phases']) + len(timeline_data['appointments']) + len(timeline_data['milestones'])
|
|
353
|
+
|
|
354
|
+
if total_items == 0:
|
|
355
|
+
print("\nWarning: No timeline information detected in treatment plan.", file=sys.stderr)
|
|
356
|
+
print("The plan may not contain structured timeline/schedule sections.", file=sys.stderr)
|
|
357
|
+
print("\nTip: Include sections with timeframes like:", file=sys.stderr)
|
|
358
|
+
print(" - Week 1-4: Initial phase", file=sys.stderr)
|
|
359
|
+
print(" - Month 3: Follow-up visit", file=sys.stderr)
|
|
360
|
+
sys.exit(1)
|
|
361
|
+
|
|
362
|
+
print(
|
|
363
|
+
f"Found {len(timeline_data['phases'])} phase(s), "
|
|
364
|
+
f"{len(timeline_data['appointments'])} appointment(s), "
|
|
365
|
+
f"{len(timeline_data['milestones'])} milestone(s)"
|
|
366
|
+
)
|
|
367
|
+
|
|
368
|
+
# Determine output file
|
|
369
|
+
if not args.output:
|
|
370
|
+
if args.visual:
|
|
371
|
+
args.output = Path('timeline.png')
|
|
372
|
+
else:
|
|
373
|
+
args.output = Path('timeline.txt')
|
|
374
|
+
|
|
375
|
+
# Generate timeline
|
|
376
|
+
if args.visual:
|
|
377
|
+
create_visual_timeline(timeline_data, args.output, args.start)
|
|
378
|
+
else:
|
|
379
|
+
create_text_timeline(timeline_data, args.output)
|
|
380
|
+
|
|
381
|
+
print("\nTimeline generation complete!")
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
if __name__ == '__main__':
|
|
385
|
+
main()
|