@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.
- 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,399 @@
|
|
|
1
|
+
# MarkItDown API Reference
|
|
2
|
+
|
|
3
|
+
## Core Classes
|
|
4
|
+
|
|
5
|
+
### MarkItDown
|
|
6
|
+
|
|
7
|
+
The main class for converting files to Markdown.
|
|
8
|
+
|
|
9
|
+
```python
|
|
10
|
+
from markitdown import MarkItDown
|
|
11
|
+
|
|
12
|
+
md = MarkItDown(
|
|
13
|
+
llm_client=None,
|
|
14
|
+
llm_model=None,
|
|
15
|
+
llm_prompt=None,
|
|
16
|
+
docintel_endpoint=None,
|
|
17
|
+
enable_plugins=False
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
#### Parameters
|
|
22
|
+
|
|
23
|
+
| Parameter | Type | Default | Description |
|
|
24
|
+
|-----------|------|---------|-------------|
|
|
25
|
+
| `llm_client` | OpenAI client | `None` | OpenAI-compatible client for AI image descriptions |
|
|
26
|
+
| `llm_model` | str | `None` | Model name (e.g., "anthropic/claude-sonnet-4.5") for image descriptions |
|
|
27
|
+
| `llm_prompt` | str | `None` | Custom prompt for image description |
|
|
28
|
+
| `docintel_endpoint` | str | `None` | Azure Document Intelligence endpoint |
|
|
29
|
+
| `enable_plugins` | bool | `False` | Enable 3rd-party plugins |
|
|
30
|
+
|
|
31
|
+
#### Methods
|
|
32
|
+
|
|
33
|
+
##### convert()
|
|
34
|
+
|
|
35
|
+
Convert a file to Markdown.
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
result = md.convert(
|
|
39
|
+
source,
|
|
40
|
+
file_extension=None
|
|
41
|
+
)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**Parameters**:
|
|
45
|
+
- `source` (str): Path to the file to convert
|
|
46
|
+
- `file_extension` (str, optional): Override file extension detection
|
|
47
|
+
|
|
48
|
+
**Returns**: `DocumentConverterResult` object
|
|
49
|
+
|
|
50
|
+
**Example**:
|
|
51
|
+
```python
|
|
52
|
+
result = md.convert("document.pdf")
|
|
53
|
+
print(result.text_content)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
##### convert_stream()
|
|
57
|
+
|
|
58
|
+
Convert from a file-like binary stream.
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
result = md.convert_stream(
|
|
62
|
+
stream,
|
|
63
|
+
file_extension
|
|
64
|
+
)
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**Parameters**:
|
|
68
|
+
- `stream` (BinaryIO): Binary file-like object (e.g., file opened in `"rb"` mode)
|
|
69
|
+
- `file_extension` (str): File extension to determine conversion method (e.g., ".pdf")
|
|
70
|
+
|
|
71
|
+
**Returns**: `DocumentConverterResult` object
|
|
72
|
+
|
|
73
|
+
**Example**:
|
|
74
|
+
```python
|
|
75
|
+
with open("document.pdf", "rb") as f:
|
|
76
|
+
result = md.convert_stream(f, file_extension=".pdf")
|
|
77
|
+
print(result.text_content)
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Important**: The stream must be opened in binary mode (`"rb"`), not text mode.
|
|
81
|
+
|
|
82
|
+
## Result Object
|
|
83
|
+
|
|
84
|
+
### DocumentConverterResult
|
|
85
|
+
|
|
86
|
+
The result of a conversion operation.
|
|
87
|
+
|
|
88
|
+
#### Attributes
|
|
89
|
+
|
|
90
|
+
| Attribute | Type | Description |
|
|
91
|
+
|-----------|------|-------------|
|
|
92
|
+
| `text_content` | str | The converted Markdown text |
|
|
93
|
+
| `title` | str | Document title (if available) |
|
|
94
|
+
|
|
95
|
+
#### Example
|
|
96
|
+
|
|
97
|
+
```python
|
|
98
|
+
result = md.convert("paper.pdf")
|
|
99
|
+
|
|
100
|
+
# Access content
|
|
101
|
+
content = result.text_content
|
|
102
|
+
|
|
103
|
+
# Access title (if available)
|
|
104
|
+
title = result.title
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Custom Converters
|
|
108
|
+
|
|
109
|
+
You can create custom document converters by implementing the `DocumentConverter` interface.
|
|
110
|
+
|
|
111
|
+
### DocumentConverter Interface
|
|
112
|
+
|
|
113
|
+
```python
|
|
114
|
+
from markitdown import DocumentConverter
|
|
115
|
+
|
|
116
|
+
class CustomConverter(DocumentConverter):
|
|
117
|
+
def convert(self, stream, file_extension):
|
|
118
|
+
"""
|
|
119
|
+
Convert a document from a binary stream.
|
|
120
|
+
|
|
121
|
+
Parameters:
|
|
122
|
+
stream (BinaryIO): Binary file-like object
|
|
123
|
+
file_extension (str): File extension (e.g., ".custom")
|
|
124
|
+
|
|
125
|
+
Returns:
|
|
126
|
+
DocumentConverterResult: Conversion result
|
|
127
|
+
"""
|
|
128
|
+
# Your conversion logic here
|
|
129
|
+
pass
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Registering Custom Converters
|
|
133
|
+
|
|
134
|
+
```python
|
|
135
|
+
from markitdown import MarkItDown, DocumentConverter, DocumentConverterResult
|
|
136
|
+
|
|
137
|
+
class MyCustomConverter(DocumentConverter):
|
|
138
|
+
def convert(self, stream, file_extension):
|
|
139
|
+
content = stream.read().decode('utf-8')
|
|
140
|
+
markdown_text = f"# Custom Format\n\n{content}"
|
|
141
|
+
return DocumentConverterResult(
|
|
142
|
+
text_content=markdown_text,
|
|
143
|
+
title="Custom Document"
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
# Create MarkItDown instance
|
|
147
|
+
md = MarkItDown()
|
|
148
|
+
|
|
149
|
+
# Register custom converter for .custom files
|
|
150
|
+
md.register_converter(".custom", MyCustomConverter())
|
|
151
|
+
|
|
152
|
+
# Use it
|
|
153
|
+
result = md.convert("myfile.custom")
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Plugin System
|
|
157
|
+
|
|
158
|
+
### Finding Plugins
|
|
159
|
+
|
|
160
|
+
Search GitHub for `#markitdown-plugin` tag.
|
|
161
|
+
|
|
162
|
+
### Using Plugins
|
|
163
|
+
|
|
164
|
+
```python
|
|
165
|
+
from markitdown import MarkItDown
|
|
166
|
+
|
|
167
|
+
# Enable plugins
|
|
168
|
+
md = MarkItDown(enable_plugins=True)
|
|
169
|
+
result = md.convert("document.pdf")
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Creating Plugins
|
|
173
|
+
|
|
174
|
+
Plugins are Python packages that register converters with MarkItDown.
|
|
175
|
+
|
|
176
|
+
**Plugin Structure**:
|
|
177
|
+
```
|
|
178
|
+
my-markitdown-plugin/
|
|
179
|
+
├── setup.py
|
|
180
|
+
├── my_plugin/
|
|
181
|
+
│ ├── __init__.py
|
|
182
|
+
│ └── converter.py
|
|
183
|
+
└── README.md
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
**setup.py**:
|
|
187
|
+
```python
|
|
188
|
+
from setuptools import setup
|
|
189
|
+
|
|
190
|
+
setup(
|
|
191
|
+
name="markitdown-my-plugin",
|
|
192
|
+
version="0.1.0",
|
|
193
|
+
packages=["my_plugin"],
|
|
194
|
+
entry_points={
|
|
195
|
+
"markitdown.plugins": [
|
|
196
|
+
"my_plugin = my_plugin.converter:MyConverter",
|
|
197
|
+
],
|
|
198
|
+
},
|
|
199
|
+
)
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
**converter.py**:
|
|
203
|
+
```python
|
|
204
|
+
from markitdown import DocumentConverter, DocumentConverterResult
|
|
205
|
+
|
|
206
|
+
class MyConverter(DocumentConverter):
|
|
207
|
+
def convert(self, stream, file_extension):
|
|
208
|
+
# Your conversion logic
|
|
209
|
+
content = stream.read()
|
|
210
|
+
markdown = self.process(content)
|
|
211
|
+
return DocumentConverterResult(
|
|
212
|
+
text_content=markdown,
|
|
213
|
+
title="My Document"
|
|
214
|
+
)
|
|
215
|
+
|
|
216
|
+
def process(self, content):
|
|
217
|
+
# Process content
|
|
218
|
+
return "# Converted Content\n\n..."
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
## AI-Enhanced Conversions
|
|
222
|
+
|
|
223
|
+
### Using OpenRouter for Image Descriptions
|
|
224
|
+
|
|
225
|
+
```python
|
|
226
|
+
from markitdown import MarkItDown
|
|
227
|
+
from openai import OpenAI
|
|
228
|
+
|
|
229
|
+
# Initialize OpenRouter client (OpenAI-compatible API)
|
|
230
|
+
client = OpenAI(
|
|
231
|
+
api_key="your-openrouter-api-key",
|
|
232
|
+
base_url="https://openrouter.ai/api/v1"
|
|
233
|
+
)
|
|
234
|
+
|
|
235
|
+
# Create MarkItDown with AI support
|
|
236
|
+
md = MarkItDown(
|
|
237
|
+
llm_client=client,
|
|
238
|
+
llm_model="anthropic/claude-sonnet-4.5", # recommended for scientific vision
|
|
239
|
+
llm_prompt="Describe this image in detail for scientific documentation"
|
|
240
|
+
)
|
|
241
|
+
|
|
242
|
+
# Convert files with images
|
|
243
|
+
result = md.convert("presentation.pptx")
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### Available Models via OpenRouter
|
|
247
|
+
|
|
248
|
+
Popular models with vision support:
|
|
249
|
+
- `anthropic/claude-sonnet-4.5` - **Recommended for scientific vision**
|
|
250
|
+
- `anthropic/claude-opus-4.5` - Advanced vision model
|
|
251
|
+
- `openai/gpt-4o` - GPT-4 Omni
|
|
252
|
+
- `openai/gpt-4-vision` - GPT-4 Vision
|
|
253
|
+
- `google/gemini-pro-vision` - Gemini Pro Vision
|
|
254
|
+
|
|
255
|
+
See https://openrouter.ai/models for the complete list.
|
|
256
|
+
|
|
257
|
+
### Custom Prompts
|
|
258
|
+
|
|
259
|
+
```python
|
|
260
|
+
# For scientific diagrams
|
|
261
|
+
scientific_prompt = """
|
|
262
|
+
Analyze this scientific diagram or chart. Describe:
|
|
263
|
+
1. The type of visualization (graph, chart, diagram, etc.)
|
|
264
|
+
2. Key data points or trends
|
|
265
|
+
3. Labels and axes
|
|
266
|
+
4. Scientific significance
|
|
267
|
+
Be precise and technical.
|
|
268
|
+
"""
|
|
269
|
+
|
|
270
|
+
md = MarkItDown(
|
|
271
|
+
llm_client=client,
|
|
272
|
+
llm_model="anthropic/claude-sonnet-4.5",
|
|
273
|
+
llm_prompt=scientific_prompt
|
|
274
|
+
)
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
## Azure Document Intelligence
|
|
278
|
+
|
|
279
|
+
### Setup
|
|
280
|
+
|
|
281
|
+
1. Create Azure Document Intelligence resource
|
|
282
|
+
2. Get endpoint URL
|
|
283
|
+
3. Set authentication
|
|
284
|
+
|
|
285
|
+
### Usage
|
|
286
|
+
|
|
287
|
+
```python
|
|
288
|
+
from markitdown import MarkItDown
|
|
289
|
+
|
|
290
|
+
md = MarkItDown(
|
|
291
|
+
docintel_endpoint="https://YOUR-RESOURCE.cognitiveservices.azure.com/"
|
|
292
|
+
)
|
|
293
|
+
|
|
294
|
+
result = md.convert("complex_document.pdf")
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### Authentication
|
|
298
|
+
|
|
299
|
+
Set environment variables:
|
|
300
|
+
```bash
|
|
301
|
+
export AZURE_DOCUMENT_INTELLIGENCE_KEY="your-key"
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
Or pass credentials programmatically.
|
|
305
|
+
|
|
306
|
+
## Error Handling
|
|
307
|
+
|
|
308
|
+
```python
|
|
309
|
+
from markitdown import MarkItDown
|
|
310
|
+
|
|
311
|
+
md = MarkItDown()
|
|
312
|
+
|
|
313
|
+
try:
|
|
314
|
+
result = md.convert("document.pdf")
|
|
315
|
+
print(result.text_content)
|
|
316
|
+
except FileNotFoundError:
|
|
317
|
+
print("File not found")
|
|
318
|
+
except ValueError as e:
|
|
319
|
+
print(f"Invalid file format: {e}")
|
|
320
|
+
except Exception as e:
|
|
321
|
+
print(f"Conversion error: {e}")
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
## Performance Tips
|
|
325
|
+
|
|
326
|
+
### 1. Reuse MarkItDown Instance
|
|
327
|
+
|
|
328
|
+
```python
|
|
329
|
+
# Good: Create once, use many times
|
|
330
|
+
md = MarkItDown()
|
|
331
|
+
|
|
332
|
+
for file in files:
|
|
333
|
+
result = md.convert(file)
|
|
334
|
+
process(result)
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### 2. Use Streaming for Large Files
|
|
338
|
+
|
|
339
|
+
```python
|
|
340
|
+
# For large files
|
|
341
|
+
with open("large_file.pdf", "rb") as f:
|
|
342
|
+
result = md.convert_stream(f, file_extension=".pdf")
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
### 3. Batch Processing
|
|
346
|
+
|
|
347
|
+
```python
|
|
348
|
+
from concurrent.futures import ThreadPoolExecutor
|
|
349
|
+
|
|
350
|
+
md = MarkItDown()
|
|
351
|
+
|
|
352
|
+
def convert_file(filepath):
|
|
353
|
+
return md.convert(filepath)
|
|
354
|
+
|
|
355
|
+
with ThreadPoolExecutor(max_workers=4) as executor:
|
|
356
|
+
results = executor.map(convert_file, file_list)
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
## Breaking Changes (v0.0.1 to v0.1.0)
|
|
360
|
+
|
|
361
|
+
1. **Dependencies**: Now organized into optional feature groups
|
|
362
|
+
```bash
|
|
363
|
+
# Old
|
|
364
|
+
pip install markitdown
|
|
365
|
+
|
|
366
|
+
# New
|
|
367
|
+
pip install 'markitdown[all]'
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
2. **convert_stream()**: Now requires binary file-like object
|
|
371
|
+
```python
|
|
372
|
+
# Old (also accepted text)
|
|
373
|
+
with open("file.pdf", "r") as f: # text mode
|
|
374
|
+
result = md.convert_stream(f)
|
|
375
|
+
|
|
376
|
+
# New (binary only)
|
|
377
|
+
with open("file.pdf", "rb") as f: # binary mode
|
|
378
|
+
result = md.convert_stream(f, file_extension=".pdf")
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
3. **DocumentConverter Interface**: Changed to read from streams instead of file paths
|
|
382
|
+
- No temporary files created
|
|
383
|
+
- More memory efficient
|
|
384
|
+
- Plugins need updating
|
|
385
|
+
|
|
386
|
+
## Version Compatibility
|
|
387
|
+
|
|
388
|
+
- **Python**: 3.10 or higher required
|
|
389
|
+
- **Dependencies**: Check `setup.py` for version constraints
|
|
390
|
+
- **OpenAI**: Compatible with OpenAI Python SDK v1.0+
|
|
391
|
+
|
|
392
|
+
## Environment Variables
|
|
393
|
+
|
|
394
|
+
| Variable | Description | Example |
|
|
395
|
+
|----------|-------------|---------|
|
|
396
|
+
| `OPENROUTER_API_KEY` | OpenRouter API key for image descriptions | `sk-or-v1-...` |
|
|
397
|
+
| `AZURE_DOCUMENT_INTELLIGENCE_KEY` | Azure DI authentication | `key123...` |
|
|
398
|
+
| `AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT` | Azure DI endpoint | `https://...` |
|
|
399
|
+
|