@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,347 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: groq-inference
|
|
3
|
+
description: Ultra-fast LLM inference on custom LPU hardware. OpenAI-compatible API at api.groq.com. Lowest latency in the industry (500-1000+ tok/s). Supports chat completions, vision, audio (Whisper STT + TTS), tool calling, JSON mode, and streaming. Free tier available. Inference only — no training.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
author: Synthetic Sciences
|
|
6
|
+
license: MIT
|
|
7
|
+
tags: [Inference, Groq, LPU, Low-Latency, OpenAI-Compatible, Free-Tier]
|
|
8
|
+
dependencies: [groq, openai]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Groq — Ultra-Fast LLM Inference
|
|
12
|
+
|
|
13
|
+
Groq runs open-weight LLMs on custom LPU (Language Processing Unit) hardware, delivering the lowest inference latency in the industry — up to 1000+ tokens/sec. OpenAI-compatible API, free tier, pay-per-token pricing. Inference only, no training.
|
|
14
|
+
|
|
15
|
+
## When to Use Groq
|
|
16
|
+
|
|
17
|
+
**Use when:**
|
|
18
|
+
- You need the fastest possible inference latency (real-time chat, agents, interactive apps)
|
|
19
|
+
- You want open-weight models (Llama, Qwen, DeepSeek) without managing GPUs
|
|
20
|
+
- You need an OpenAI-compatible drop-in replacement with open models
|
|
21
|
+
- You want free-tier access for prototyping
|
|
22
|
+
- You need fast Whisper transcription or vision with Llama 4
|
|
23
|
+
|
|
24
|
+
**Don't use when:**
|
|
25
|
+
- You need to fine-tune or train models (inference-only)
|
|
26
|
+
- You need proprietary models (GPT-4o, Claude, Gemini)
|
|
27
|
+
- You need embeddings or image generation APIs (not offered)
|
|
28
|
+
|
|
29
|
+
| Feature | Groq | Together AI | Fireworks | Replicate |
|
|
30
|
+
|---------|------|-------------|-----------|-----------|
|
|
31
|
+
| Hardware | Custom LPU | NVIDIA GPUs | NVIDIA GPUs | NVIDIA GPUs |
|
|
32
|
+
| Speed (Llama 70B) | ~280 tok/s | ~100 tok/s | ~100 tok/s | ~50 tok/s |
|
|
33
|
+
| Free tier | Yes | Yes | Yes | No |
|
|
34
|
+
| Training | No | Yes | Yes | Yes |
|
|
35
|
+
|
|
36
|
+
## Quick Start
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
pip install groq
|
|
40
|
+
export GROQ_API_KEY="gsk_..." # https://console.groq.com/keys
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
from groq import Groq
|
|
45
|
+
|
|
46
|
+
client = Groq()
|
|
47
|
+
response = client.chat.completions.create(
|
|
48
|
+
model="llama-3.3-70b-versatile",
|
|
49
|
+
messages=[
|
|
50
|
+
{"role": "system", "content": "You are a helpful assistant."},
|
|
51
|
+
{"role": "user", "content": "Explain quantum computing in one paragraph."}
|
|
52
|
+
],
|
|
53
|
+
temperature=0.7,
|
|
54
|
+
max_completion_tokens=512,
|
|
55
|
+
)
|
|
56
|
+
print(response.choices[0].message.content)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Chat Completions
|
|
60
|
+
|
|
61
|
+
### Streaming
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
from groq import Groq
|
|
65
|
+
|
|
66
|
+
client = Groq()
|
|
67
|
+
stream = client.chat.completions.create(
|
|
68
|
+
model="llama-3.3-70b-versatile",
|
|
69
|
+
messages=[{"role": "user", "content": "Explain fast inference"}],
|
|
70
|
+
stream=True,
|
|
71
|
+
)
|
|
72
|
+
for chunk in stream:
|
|
73
|
+
content = chunk.choices[0].delta.content
|
|
74
|
+
if content:
|
|
75
|
+
print(content, end="")
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### JSON Mode
|
|
79
|
+
|
|
80
|
+
```python
|
|
81
|
+
from groq import Groq
|
|
82
|
+
import json
|
|
83
|
+
|
|
84
|
+
client = Groq()
|
|
85
|
+
response = client.chat.completions.create(
|
|
86
|
+
model="llama-3.3-70b-versatile",
|
|
87
|
+
messages=[
|
|
88
|
+
{"role": "system", "content": "Output valid JSON only."},
|
|
89
|
+
{"role": "user", "content": "List 3 programming languages with their paradigms."}
|
|
90
|
+
],
|
|
91
|
+
response_format={"type": "json_object"},
|
|
92
|
+
temperature=0,
|
|
93
|
+
)
|
|
94
|
+
data = json.loads(response.choices[0].message.content)
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Tool / Function Calling
|
|
98
|
+
|
|
99
|
+
```python
|
|
100
|
+
from groq import Groq
|
|
101
|
+
import json
|
|
102
|
+
|
|
103
|
+
client = Groq()
|
|
104
|
+
tools = [{
|
|
105
|
+
"type": "function",
|
|
106
|
+
"function": {
|
|
107
|
+
"name": "get_weather",
|
|
108
|
+
"description": "Get weather for a location",
|
|
109
|
+
"parameters": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"properties": {
|
|
112
|
+
"location": {"type": "string", "description": "City name"},
|
|
113
|
+
"unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}
|
|
114
|
+
},
|
|
115
|
+
"required": ["location"],
|
|
116
|
+
"additionalProperties": False
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}]
|
|
120
|
+
|
|
121
|
+
response = client.chat.completions.create(
|
|
122
|
+
model="llama-3.3-70b-versatile",
|
|
123
|
+
messages=[{"role": "user", "content": "Weather in San Francisco?"}],
|
|
124
|
+
tools=tools,
|
|
125
|
+
tool_choice="auto",
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
message = response.choices[0].message
|
|
129
|
+
if message.tool_calls:
|
|
130
|
+
call = message.tool_calls[0]
|
|
131
|
+
args = json.loads(call.function.arguments)
|
|
132
|
+
# Execute function, then send result back as role="tool" message
|
|
133
|
+
result = {"temperature": 62, "condition": "foggy"}
|
|
134
|
+
followup = client.chat.completions.create(
|
|
135
|
+
model="llama-3.3-70b-versatile",
|
|
136
|
+
messages=[
|
|
137
|
+
{"role": "user", "content": "Weather in San Francisco?"},
|
|
138
|
+
message,
|
|
139
|
+
{"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)}
|
|
140
|
+
],
|
|
141
|
+
)
|
|
142
|
+
print(followup.choices[0].message.content)
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Vision
|
|
146
|
+
|
|
147
|
+
Llama 4 models support image input via URL or base64. Max image size: 20 MB.
|
|
148
|
+
|
|
149
|
+
```python
|
|
150
|
+
from groq import Groq
|
|
151
|
+
|
|
152
|
+
client = Groq()
|
|
153
|
+
response = client.chat.completions.create(
|
|
154
|
+
model="meta-llama/llama-4-scout-17b-16e-instruct",
|
|
155
|
+
messages=[{
|
|
156
|
+
"role": "user",
|
|
157
|
+
"content": [
|
|
158
|
+
{"type": "text", "text": "Describe this image."},
|
|
159
|
+
{"type": "image_url", "image_url": {"url": "https://example.com/photo.jpg"}}
|
|
160
|
+
]
|
|
161
|
+
}],
|
|
162
|
+
max_completion_tokens=1024,
|
|
163
|
+
)
|
|
164
|
+
print(response.choices[0].message.content)
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Vision models: `meta-llama/llama-4-scout-17b-16e-instruct`, `meta-llama/llama-4-maverick-17b-128e-instruct`.
|
|
168
|
+
|
|
169
|
+
## Audio / Speech-to-Text
|
|
170
|
+
|
|
171
|
+
Whisper on LPU for near-instant transcription. Formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. Max: 25 MB free / 100 MB developer tier.
|
|
172
|
+
|
|
173
|
+
```python
|
|
174
|
+
from groq import Groq
|
|
175
|
+
|
|
176
|
+
client = Groq()
|
|
177
|
+
|
|
178
|
+
# Transcription
|
|
179
|
+
with open("audio.mp3", "rb") as f:
|
|
180
|
+
result = client.audio.transcriptions.create(
|
|
181
|
+
file=("audio.mp3", f),
|
|
182
|
+
model="whisper-large-v3-turbo",
|
|
183
|
+
language="en",
|
|
184
|
+
response_format="verbose_json",
|
|
185
|
+
)
|
|
186
|
+
print(result.text)
|
|
187
|
+
|
|
188
|
+
# Translation (any language -> English)
|
|
189
|
+
with open("french.mp3", "rb") as f:
|
|
190
|
+
result = client.audio.translations.create(
|
|
191
|
+
file=("french.mp3", f), model="whisper-large-v3",
|
|
192
|
+
)
|
|
193
|
+
print(result.text)
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Text-to-Speech
|
|
197
|
+
|
|
198
|
+
```python
|
|
199
|
+
from groq import Groq
|
|
200
|
+
from pathlib import Path
|
|
201
|
+
|
|
202
|
+
client = Groq()
|
|
203
|
+
speech = client.audio.speech.create(
|
|
204
|
+
model="playai-tts",
|
|
205
|
+
voice="Arista-PlayAI",
|
|
206
|
+
input="Hello from Groq!",
|
|
207
|
+
)
|
|
208
|
+
Path("output.mp3").write_bytes(speech.content)
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
## Model Selection
|
|
212
|
+
|
|
213
|
+
### Production Models
|
|
214
|
+
|
|
215
|
+
| Model | Model ID | Speed | Context | Max Output | Input $/1M | Output $/1M |
|
|
216
|
+
|-------|----------|-------|---------|------------|------------|-------------|
|
|
217
|
+
| Llama 3.1 8B | `llama-3.1-8b-instant` | 560 t/s | 131,072 | 131,072 | $0.05 | $0.08 |
|
|
218
|
+
| Llama 3.3 70B | `llama-3.3-70b-versatile` | 280 t/s | 131,072 | 32,768 | $0.59 | $0.79 |
|
|
219
|
+
| GPT-OSS 120B | `openai/gpt-oss-120b` | 500 t/s | 131,072 | 65,536 | $0.15 | $0.60 |
|
|
220
|
+
| GPT-OSS 20B | `openai/gpt-oss-20b` | 1000 t/s | 131,072 | 65,536 | $0.075 | $0.30 |
|
|
221
|
+
| Whisper V3 | `whisper-large-v3` | - | - | - | $0.111/hr | - |
|
|
222
|
+
| Whisper V3 Turbo | `whisper-large-v3-turbo` | - | - | - | $0.04/hr | - |
|
|
223
|
+
|
|
224
|
+
### Preview Models
|
|
225
|
+
|
|
226
|
+
| Model | Model ID | Speed | Context | Input $/1M | Output $/1M |
|
|
227
|
+
|-------|----------|-------|---------|------------|-------------|
|
|
228
|
+
| Llama 4 Scout | `meta-llama/llama-4-scout-17b-16e-instruct` | 750 t/s | 131,072 | $0.11 | $0.34 |
|
|
229
|
+
| Llama 4 Maverick | `meta-llama/llama-4-maverick-17b-128e-instruct` | 600 t/s | 131,072 | $0.20 | $0.60 |
|
|
230
|
+
| Qwen3 32B | `qwen/qwen3-32b` | 400 t/s | 131,072 | $0.29 | $0.59 |
|
|
231
|
+
| Kimi K2 | `moonshotai/kimi-k2-instruct-0905` | 200 t/s | 262,144 | $1.00 | $3.00 |
|
|
232
|
+
| Safety GPT-OSS 20B | `openai/gpt-oss-safeguard-20b` | 1000 t/s | 131,072 | $0.075 | $0.30 |
|
|
233
|
+
| Llama Guard 4 12B | `meta-llama/llama-guard-4-12b` | - | 131,072 | $0.20 | $0.20 |
|
|
234
|
+
|
|
235
|
+
### Systems & TTS
|
|
236
|
+
|
|
237
|
+
| Model | Model ID | Notes |
|
|
238
|
+
|-------|----------|-------|
|
|
239
|
+
| Compound | `groq/compound` | Agentic: web search + code exec |
|
|
240
|
+
| Compound Mini | `groq/compound-mini` | Lighter agentic system |
|
|
241
|
+
| PlayAI TTS | `playai-tts` | $22/1M chars |
|
|
242
|
+
| Orpheus English | `canopylabs/orpheus-v1-english` | $22/1M chars |
|
|
243
|
+
|
|
244
|
+
### Selection Guide
|
|
245
|
+
|
|
246
|
+
- **Fastest + cheapest**: `llama-3.1-8b-instant` — classification, extraction, simple tasks
|
|
247
|
+
- **Best quality**: `llama-3.3-70b-versatile` — complex reasoning, coding, chat
|
|
248
|
+
- **Best value**: `openai/gpt-oss-120b` — strong quality, 500 t/s, $0.15 input
|
|
249
|
+
- **Vision**: `meta-llama/llama-4-scout-17b-16e-instruct` — 750 t/s, cheapest multimodal
|
|
250
|
+
- **Long context**: `moonshotai/kimi-k2-instruct-0905` — 262K context window
|
|
251
|
+
- **Safety**: `meta-llama/llama-guard-4-12b` or `openai/gpt-oss-safeguard-20b`
|
|
252
|
+
|
|
253
|
+
## OpenAI Compatibility
|
|
254
|
+
|
|
255
|
+
Drop-in replacement — change `base_url` and `api_key`:
|
|
256
|
+
|
|
257
|
+
```python
|
|
258
|
+
from openai import OpenAI
|
|
259
|
+
import os
|
|
260
|
+
|
|
261
|
+
client = OpenAI(
|
|
262
|
+
base_url="https://api.groq.com/openai/v1",
|
|
263
|
+
api_key=os.environ.get("GROQ_API_KEY"),
|
|
264
|
+
)
|
|
265
|
+
response = client.chat.completions.create(
|
|
266
|
+
model="llama-3.3-70b-versatile",
|
|
267
|
+
messages=[{"role": "user", "content": "Hello from OpenAI SDK!"}],
|
|
268
|
+
)
|
|
269
|
+
print(response.choices[0].message.content)
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
| Endpoint | Supported | Notes |
|
|
273
|
+
|----------|-----------|-------|
|
|
274
|
+
| `POST /chat/completions` | Yes | Streaming, tools, JSON mode |
|
|
275
|
+
| `POST /audio/transcriptions` | Yes | Whisper |
|
|
276
|
+
| `POST /audio/translations` | Yes | Whisper |
|
|
277
|
+
| `POST /audio/speech` | Yes | TTS |
|
|
278
|
+
| `GET /models` | Yes | List models |
|
|
279
|
+
| `POST /embeddings` | No | Not available |
|
|
280
|
+
| `POST /images/generations` | No | Not available |
|
|
281
|
+
|
|
282
|
+
**Unsupported fields** (400 error): `logprobs`, `logit_bias`, `top_logprobs`, `messages[].name`, `n` (must be 1).
|
|
283
|
+
|
|
284
|
+
## Rate Limits
|
|
285
|
+
|
|
286
|
+
| Tier | Price | RPM | TPM | TPD |
|
|
287
|
+
|------|-------|-----|-----|-----|
|
|
288
|
+
| Free | $0 | 30 | 6,000 | 500,000 |
|
|
289
|
+
| Developer | Pay-per-token | Up to 1,000 | Up to 300,000 | Unlimited |
|
|
290
|
+
|
|
291
|
+
Rate limit headers returned with every response: `x-ratelimit-limit-requests`, `x-ratelimit-remaining-requests`, `x-ratelimit-limit-tokens`, `x-ratelimit-remaining-tokens`.
|
|
292
|
+
|
|
293
|
+
```python
|
|
294
|
+
import time
|
|
295
|
+
from groq import Groq, RateLimitError
|
|
296
|
+
|
|
297
|
+
client = Groq()
|
|
298
|
+
|
|
299
|
+
def call_with_retry(messages, model="llama-3.3-70b-versatile", max_retries=3):
|
|
300
|
+
for attempt in range(max_retries):
|
|
301
|
+
try:
|
|
302
|
+
return client.chat.completions.create(model=model, messages=messages)
|
|
303
|
+
except RateLimitError:
|
|
304
|
+
if attempt == max_retries - 1:
|
|
305
|
+
raise
|
|
306
|
+
time.sleep(2 ** attempt)
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
## Cost Optimization
|
|
310
|
+
|
|
311
|
+
1. **Use the smallest model that works.** `llama-3.1-8b-instant` is 10x cheaper than the 70B for simple tasks.
|
|
312
|
+
2. **Cap output with `max_completion_tokens`.** Output tokens cost more than input.
|
|
313
|
+
3. **Try `openai/gpt-oss-20b`** — best price/performance at $0.075 input and 1000 t/s.
|
|
314
|
+
4. **Cache at `temperature=0`.** Deterministic output means identical prompts yield identical results.
|
|
315
|
+
5. **Use Whisper Turbo.** `whisper-large-v3-turbo` is 64% cheaper than v3 with minimal quality loss.
|
|
316
|
+
6. **Preprocess audio** to 16KHz mono WAV to reduce upload size.
|
|
317
|
+
|
|
318
|
+
## Common Issues
|
|
319
|
+
|
|
320
|
+
| Problem | Solution |
|
|
321
|
+
|---------|----------|
|
|
322
|
+
| `401 Unauthorized` | Check `GROQ_API_KEY`. Get key at https://console.groq.com/keys |
|
|
323
|
+
| `400 Bad Request` | Remove unsupported fields: `logprobs`, `logit_bias`, `top_logprobs` |
|
|
324
|
+
| `429 Rate Limited` | Exponential backoff. Upgrade to developer tier for 10x limits |
|
|
325
|
+
| Empty stream chunks | Check `chunk.choices[0].delta.content` for `None` |
|
|
326
|
+
| Invalid JSON output | Add "Output valid JSON only" to system prompt, set `temperature=0` |
|
|
327
|
+
| Tool calls missing | Not all models support tools. Use Llama 3.3 70B or GPT-OSS |
|
|
328
|
+
| Audio too large | Free: 25 MB max. Use `url` param or upgrade to dev tier (100 MB) |
|
|
329
|
+
| Vision fails | Only Llama 4 models support vision. Max 20 MB |
|
|
330
|
+
| `n` param error | Groq only supports `n=1` |
|
|
331
|
+
| `max_tokens` warning | Use `max_completion_tokens` instead |
|
|
332
|
+
|
|
333
|
+
## Resources
|
|
334
|
+
|
|
335
|
+
- **API Docs**: https://console.groq.com/docs/overview
|
|
336
|
+
- **Models**: https://console.groq.com/docs/models
|
|
337
|
+
- **API Keys**: https://console.groq.com/keys
|
|
338
|
+
- **Pricing**: https://groq.com/pricing
|
|
339
|
+
- **Rate Limits**: https://console.groq.com/docs/rate-limits
|
|
340
|
+
- **OpenAI Compat**: https://console.groq.com/docs/openai
|
|
341
|
+
- **Tool Use**: https://console.groq.com/docs/tool-use/local-tool-calling
|
|
342
|
+
- **Vision**: https://console.groq.com/docs/vision
|
|
343
|
+
- **Speech-to-Text**: https://console.groq.com/docs/speech-to-text
|
|
344
|
+
- **Structured Outputs**: https://console.groq.com/docs/structured-outputs
|
|
345
|
+
- **Python SDK**: https://github.com/groq/groq-python (`pip install groq`)
|
|
346
|
+
- **Status**: https://status.groq.com
|
|
347
|
+
- **LPU Architecture**: https://groq.com/blog/inside-the-lpu-deconstructing-groq-speed
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hypothesis-generation
|
|
3
|
+
description: "Generate testable hypotheses. Formulate from observations, design experiments, explore competing explanations, develop predictions, propose mechanisms, for scientific inquiry across domains."
|
|
4
|
+
allowed-tools: [Read, Write, Edit, Bash]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Scientific Hypothesis Generation
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
Hypothesis generation is a systematic process for developing testable explanations. Formulate evidence-based hypotheses from observations, design experiments, explore competing explanations, and develop predictions. Apply this skill for scientific inquiry across domains.
|
|
12
|
+
|
|
13
|
+
## When to Use This Skill
|
|
14
|
+
|
|
15
|
+
This skill should be used when:
|
|
16
|
+
- Developing hypotheses from observations or preliminary data
|
|
17
|
+
- Designing experiments to test scientific questions
|
|
18
|
+
- Exploring competing explanations for phenomena
|
|
19
|
+
- Formulating testable predictions for research
|
|
20
|
+
- Conducting literature-based hypothesis generation
|
|
21
|
+
- Planning mechanistic studies across scientific domains
|
|
22
|
+
|
|
23
|
+
## Visual Enhancement with Scientific Schematics
|
|
24
|
+
|
|
25
|
+
**⚠️ MANDATORY: Every hypothesis generation report MUST include at least 1-2 AI-generated figures using the scientific-schematics skill.**
|
|
26
|
+
|
|
27
|
+
This is not optional. Hypothesis reports without visual elements are incomplete. Before finalizing any document:
|
|
28
|
+
1. Generate at minimum ONE schematic or diagram (e.g., hypothesis framework showing competing explanations)
|
|
29
|
+
2. Prefer 2-3 figures for comprehensive reports (mechanistic pathway, experimental design flowchart, prediction decision tree)
|
|
30
|
+
|
|
31
|
+
**How to generate figures:**
|
|
32
|
+
- Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
|
|
33
|
+
- Simply describe your desired diagram in natural language
|
|
34
|
+
- Nano Banana Pro will automatically generate, review, and refine the schematic
|
|
35
|
+
|
|
36
|
+
**How to generate schematics:**
|
|
37
|
+
```bash
|
|
38
|
+
python scripts/generate_schematic.py "your diagram description" -o figures/output.png
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
The AI will automatically:
|
|
42
|
+
- Create publication-quality images with proper formatting
|
|
43
|
+
- Review and refine through multiple iterations
|
|
44
|
+
- Ensure accessibility (colorblind-friendly, high contrast)
|
|
45
|
+
- Save outputs in the figures/ directory
|
|
46
|
+
|
|
47
|
+
**When to add schematics:**
|
|
48
|
+
- Hypothesis framework diagrams showing competing explanations
|
|
49
|
+
- Experimental design flowcharts
|
|
50
|
+
- Mechanistic pathway diagrams
|
|
51
|
+
- Prediction decision trees
|
|
52
|
+
- Causal relationship diagrams
|
|
53
|
+
- Theoretical model visualizations
|
|
54
|
+
- Any complex concept that benefits from visualization
|
|
55
|
+
|
|
56
|
+
For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Workflow
|
|
61
|
+
|
|
62
|
+
Follow this systematic process to generate robust scientific hypotheses:
|
|
63
|
+
|
|
64
|
+
### 1. Understand the Phenomenon
|
|
65
|
+
|
|
66
|
+
Start by clarifying the observation, question, or phenomenon that requires explanation:
|
|
67
|
+
|
|
68
|
+
- Identify the core observation or pattern that needs explanation
|
|
69
|
+
- Define the scope and boundaries of the phenomenon
|
|
70
|
+
- Note any constraints or specific contexts
|
|
71
|
+
- Clarify what is already known vs. what is uncertain
|
|
72
|
+
- Identify the relevant scientific domain(s)
|
|
73
|
+
|
|
74
|
+
### 2. Conduct Comprehensive Literature Search
|
|
75
|
+
|
|
76
|
+
Search existing scientific literature to ground hypotheses in current evidence. Use both PubMed (for biomedical topics) and general web search (for broader scientific domains):
|
|
77
|
+
|
|
78
|
+
**For biomedical topics:**
|
|
79
|
+
- Use WebFetch with PubMed URLs to access relevant literature
|
|
80
|
+
- Search for recent reviews, meta-analyses, and primary research
|
|
81
|
+
- Look for similar phenomena, related mechanisms, or analogous systems
|
|
82
|
+
|
|
83
|
+
**For all scientific domains:**
|
|
84
|
+
- Use WebSearch to find recent papers, preprints, and reviews
|
|
85
|
+
- Search for established theories, mechanisms, or frameworks
|
|
86
|
+
- Identify gaps in current understanding
|
|
87
|
+
|
|
88
|
+
**Search strategy:**
|
|
89
|
+
- Begin with broad searches to understand the landscape
|
|
90
|
+
- Narrow to specific mechanisms, pathways, or theories
|
|
91
|
+
- Look for contradictory findings or unresolved debates
|
|
92
|
+
- Consult `references/literature_search_strategies.md` for detailed search techniques
|
|
93
|
+
|
|
94
|
+
### 3. Synthesize Existing Evidence
|
|
95
|
+
|
|
96
|
+
Analyze and integrate findings from literature search:
|
|
97
|
+
|
|
98
|
+
- Summarize current understanding of the phenomenon
|
|
99
|
+
- Identify established mechanisms or theories that may apply
|
|
100
|
+
- Note conflicting evidence or alternative viewpoints
|
|
101
|
+
- Recognize gaps, limitations, or unanswered questions
|
|
102
|
+
- Identify analogies from related systems or domains
|
|
103
|
+
|
|
104
|
+
### 4. Generate Competing Hypotheses
|
|
105
|
+
|
|
106
|
+
Develop 3-5 distinct hypotheses that could explain the phenomenon. Each hypothesis should:
|
|
107
|
+
|
|
108
|
+
- Provide a mechanistic explanation (not just description)
|
|
109
|
+
- Be distinguishable from other hypotheses
|
|
110
|
+
- Draw on evidence from the literature synthesis
|
|
111
|
+
- Consider different levels of explanation (molecular, cellular, systemic, population, etc.)
|
|
112
|
+
|
|
113
|
+
**Strategies for generating hypotheses:**
|
|
114
|
+
- Apply known mechanisms from analogous systems
|
|
115
|
+
- Consider multiple causative pathways
|
|
116
|
+
- Explore different scales of explanation
|
|
117
|
+
- Question assumptions in existing explanations
|
|
118
|
+
- Combine mechanisms in novel ways
|
|
119
|
+
|
|
120
|
+
### 5. Evaluate Hypothesis Quality
|
|
121
|
+
|
|
122
|
+
Assess each hypothesis against established quality criteria from `references/hypothesis_quality_criteria.md`:
|
|
123
|
+
|
|
124
|
+
**Testability:** Can the hypothesis be empirically tested?
|
|
125
|
+
**Falsifiability:** What observations would disprove it?
|
|
126
|
+
**Parsimony:** Is it the simplest explanation that fits the evidence?
|
|
127
|
+
**Explanatory Power:** How much of the phenomenon does it explain?
|
|
128
|
+
**Scope:** What range of observations does it cover?
|
|
129
|
+
**Consistency:** Does it align with established principles?
|
|
130
|
+
**Novelty:** Does it offer new insights beyond existing explanations?
|
|
131
|
+
|
|
132
|
+
Explicitly note the strengths and weaknesses of each hypothesis.
|
|
133
|
+
|
|
134
|
+
### 6. Design Experimental Tests
|
|
135
|
+
|
|
136
|
+
For each viable hypothesis, propose specific experiments or studies to test it. Consult `references/experimental_design_patterns.md` for common approaches:
|
|
137
|
+
|
|
138
|
+
**Experimental design elements:**
|
|
139
|
+
- What would be measured or observed?
|
|
140
|
+
- What comparisons or controls are needed?
|
|
141
|
+
- What methods or techniques would be used?
|
|
142
|
+
- What sample sizes or statistical approaches are appropriate?
|
|
143
|
+
- What are potential confounds and how to address them?
|
|
144
|
+
|
|
145
|
+
**Consider multiple approaches:**
|
|
146
|
+
- Laboratory experiments (in vitro, in vivo, computational)
|
|
147
|
+
- Observational studies (cross-sectional, longitudinal, case-control)
|
|
148
|
+
- Clinical trials (if applicable)
|
|
149
|
+
- Natural experiments or quasi-experimental designs
|
|
150
|
+
|
|
151
|
+
### 7. Formulate Testable Predictions
|
|
152
|
+
|
|
153
|
+
For each hypothesis, generate specific, quantitative predictions:
|
|
154
|
+
|
|
155
|
+
- State what should be observed if the hypothesis is correct
|
|
156
|
+
- Specify expected direction and magnitude of effects when possible
|
|
157
|
+
- Identify conditions under which predictions should hold
|
|
158
|
+
- Distinguish predictions between competing hypotheses
|
|
159
|
+
- Note predictions that would falsify the hypothesis
|
|
160
|
+
|
|
161
|
+
### 8. Present Structured Output
|
|
162
|
+
|
|
163
|
+
Generate a professional LaTeX document using the template in `assets/hypothesis_report_template.tex`. The report should be well-formatted with colored boxes for visual organization and divided into a concise main text with comprehensive appendices.
|
|
164
|
+
|
|
165
|
+
**Document Structure:**
|
|
166
|
+
|
|
167
|
+
**Main Text (Maximum 4 pages):**
|
|
168
|
+
1. **Executive Summary** - Brief overview in summary box (0.5-1 page)
|
|
169
|
+
2. **Competing Hypotheses** - Each hypothesis in its own colored box with brief mechanistic explanation and key evidence (2-2.5 pages for 3-5 hypotheses)
|
|
170
|
+
- **IMPORTANT:** Use `\newpage` before each hypothesis box to prevent content overflow
|
|
171
|
+
- Each box should be ≤0.6 pages maximum
|
|
172
|
+
3. **Testable Predictions** - Key predictions in amber boxes (0.5-1 page)
|
|
173
|
+
4. **Critical Comparisons** - Priority comparison boxes (0.5-1 page)
|
|
174
|
+
|
|
175
|
+
Keep main text highly concise - only the most essential information. All details go to appendices.
|
|
176
|
+
|
|
177
|
+
**Page Break Strategy:**
|
|
178
|
+
- Always use `\newpage` before hypothesis boxes to ensure they start on fresh pages
|
|
179
|
+
- This prevents content from overflowing off page boundaries
|
|
180
|
+
- LaTeX boxes (tcolorbox) do not automatically break across pages
|
|
181
|
+
|
|
182
|
+
**Appendices (Comprehensive, Detailed):**
|
|
183
|
+
- **Appendix A:** Comprehensive literature review with extensive citations
|
|
184
|
+
- **Appendix B:** Detailed experimental designs with full protocols
|
|
185
|
+
- **Appendix C:** Quality assessment tables and detailed evaluations
|
|
186
|
+
- **Appendix D:** Supplementary evidence and analogous systems
|
|
187
|
+
|
|
188
|
+
**Colored Box Usage:**
|
|
189
|
+
|
|
190
|
+
Use the custom box environments from `hypothesis_generation.sty`:
|
|
191
|
+
|
|
192
|
+
- `hypothesisbox1` through `hypothesisbox5` - For each competing hypothesis (blue, green, purple, teal, orange)
|
|
193
|
+
- `predictionbox` - For testable predictions (amber)
|
|
194
|
+
- `comparisonbox` - For critical comparisons (steel gray)
|
|
195
|
+
- `evidencebox` - For supporting evidence highlights (light blue)
|
|
196
|
+
- `summarybox` - For executive summary (blue)
|
|
197
|
+
|
|
198
|
+
**Each hypothesis box should contain (keep concise for 4-page limit):**
|
|
199
|
+
- **Mechanistic Explanation:** 1-2 brief paragraphs (6-10 sentences max) explaining HOW and WHY
|
|
200
|
+
- **Key Supporting Evidence:** 2-3 bullet points with citations (most important evidence only)
|
|
201
|
+
- **Core Assumptions:** 1-2 critical assumptions
|
|
202
|
+
|
|
203
|
+
All detailed explanations, additional evidence, and comprehensive discussions belong in the appendices.
|
|
204
|
+
|
|
205
|
+
**Critical Overflow Prevention:**
|
|
206
|
+
- Insert `\newpage` before each hypothesis box to start it on a fresh page
|
|
207
|
+
- Keep each complete hypothesis box to ≤0.6 pages (approximately 15-20 lines of content)
|
|
208
|
+
- If content exceeds this, move additional details to Appendix A
|
|
209
|
+
- Never let boxes overflow off page boundaries - this creates unreadable PDFs
|
|
210
|
+
|
|
211
|
+
**Citation Requirements:**
|
|
212
|
+
|
|
213
|
+
Aim for extensive citation to support all claims:
|
|
214
|
+
- **Main text:** 10-15 key citations for most important evidence only (keep concise for 4-page limit)
|
|
215
|
+
- **Appendix A:** 40-70+ comprehensive citations covering all relevant literature
|
|
216
|
+
- **Total target:** 50+ references in bibliography
|
|
217
|
+
|
|
218
|
+
Main text citations should be selective - cite only the most critical papers. All comprehensive citation and detailed literature discussion belongs in the appendices. Use `\citep{author2023}` for parenthetical citations.
|
|
219
|
+
|
|
220
|
+
**LaTeX Compilation:**
|
|
221
|
+
|
|
222
|
+
The template requires XeLaTeX or LuaLaTeX for proper rendering:
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
xelatex hypothesis_report.tex
|
|
226
|
+
bibtex hypothesis_report
|
|
227
|
+
xelatex hypothesis_report.tex
|
|
228
|
+
xelatex hypothesis_report.tex
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
**Required packages:** The `hypothesis_generation.sty` style package must be in the same directory or LaTeX path. It requires: tcolorbox, xcolor, fontspec, fancyhdr, titlesec, enumitem, booktabs, natbib.
|
|
232
|
+
|
|
233
|
+
**Page Overflow Prevention:**
|
|
234
|
+
|
|
235
|
+
To prevent content from overflowing on pages, follow these critical guidelines:
|
|
236
|
+
|
|
237
|
+
1. **Monitor Box Content Length:** Each hypothesis box should fit comfortably on a single page. If content exceeds ~0.7 pages, it will likely overflow.
|
|
238
|
+
|
|
239
|
+
2. **Use Strategic Page Breaks:** Insert `\newpage` before boxes that contain substantial content:
|
|
240
|
+
```latex
|
|
241
|
+
\newpage
|
|
242
|
+
\begin{hypothesisbox1}[Hypothesis 1: Title]
|
|
243
|
+
% Long content here
|
|
244
|
+
\end{hypothesisbox1}
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
3. **Keep Main Text Boxes Concise:** For the 4-page main text limit:
|
|
248
|
+
- Each hypothesis box: Maximum 0.5-0.6 pages
|
|
249
|
+
- Mechanistic explanation: 1-2 brief paragraphs only (6-10 sentences max)
|
|
250
|
+
- Key evidence: 2-3 bullet points only
|
|
251
|
+
- Core assumptions: 1-2 items only
|
|
252
|
+
- If content is longer, move details to appendices
|
|
253
|
+
|
|
254
|
+
4. **Break Long Content:** If a hypothesis requires extensive explanation, split across main text and appendix:
|
|
255
|
+
- Main text box: Brief mechanistic overview + 2-3 key evidence points
|
|
256
|
+
- Appendix A: Detailed mechanism explanation, comprehensive evidence, extended discussion
|
|
257
|
+
|
|
258
|
+
5. **Test Page Boundaries:** Before each new box, consider if remaining page space is sufficient. If less than 0.6 pages remain, use `\newpage` to start the box on a fresh page.
|
|
259
|
+
|
|
260
|
+
6. **Appendix Page Management:** In appendices, use `\newpage` between major sections to avoid overflow in detailed content areas.
|
|
261
|
+
|
|
262
|
+
**Quick Reference:** See `assets/FORMATTING_GUIDE.md` for detailed examples of all box types, color schemes, and common formatting patterns.
|
|
263
|
+
|
|
264
|
+
## Quality Standards
|
|
265
|
+
|
|
266
|
+
Ensure all generated hypotheses meet these standards:
|
|
267
|
+
|
|
268
|
+
- **Evidence-based:** Grounded in existing literature with citations
|
|
269
|
+
- **Testable:** Include specific, measurable predictions
|
|
270
|
+
- **Mechanistic:** Explain how/why, not just what
|
|
271
|
+
- **Comprehensive:** Consider alternative explanations
|
|
272
|
+
- **Rigorous:** Include experimental designs to test predictions
|
|
273
|
+
|
|
274
|
+
## Resources
|
|
275
|
+
|
|
276
|
+
### references/
|
|
277
|
+
|
|
278
|
+
- `hypothesis_quality_criteria.md` - Framework for evaluating hypothesis quality (testability, falsifiability, parsimony, explanatory power, scope, consistency)
|
|
279
|
+
- `experimental_design_patterns.md` - Common experimental approaches across domains (RCTs, observational studies, lab experiments, computational models)
|
|
280
|
+
- `literature_search_strategies.md` - Effective search techniques for PubMed and general scientific sources
|
|
281
|
+
|
|
282
|
+
### assets/
|
|
283
|
+
|
|
284
|
+
- `hypothesis_generation.sty` - LaTeX style package providing colored boxes, professional formatting, and custom environments for hypothesis reports
|
|
285
|
+
- `hypothesis_report_template.tex` - Complete LaTeX template with main text structure and comprehensive appendix sections
|
|
286
|
+
- `FORMATTING_GUIDE.md` - Quick reference guide with examples of all box types, color schemes, citation practices, and troubleshooting tips
|
|
287
|
+
|
|
288
|
+
### Related Skills
|
|
289
|
+
|
|
290
|
+
When preparing hypothesis-driven research for publication, consult the **venue-templates** skill for writing style guidance:
|
|
291
|
+
- `venue_writing_styles.md` - Master guide comparing styles across venues
|
|
292
|
+
- Venue-specific guides for Nature/Science, Cell Press, medical journals, and ML/CS conferences
|
|
293
|
+
- `reviewer_expectations.md` - What reviewers look for when evaluating research hypotheses
|