@brainpilot/skills 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/package.json +1 -1
  2. package/skills/01_Meta-Skills/workflow-skill-creator/SKILL.md +288 -0
  3. package/skills/01_Meta-Skills/workflow-skill-creator/references/cli_script_template.py +217 -0
  4. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/SKILL.md +212 -0
  5. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/datasets.md +252 -0
  6. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/interface-plotting.md +238 -0
  7. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/metrics.md +236 -0
  8. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/networks.md +273 -0
  9. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/spatial-modularity.md +291 -0
  10. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/stats.md +290 -0
  11. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/SKILL.md +116 -0
  12. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/references/citation.bib +58 -0
  13. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/scripts/analyze_pae.py +212 -0
  14. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/scripts/analyze_plddt.py +125 -0
  15. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/scripts/fetch_structure.py +168 -0
  16. package/skills/09_Cellular_Molecular_Neuroscience/gtex-database/SKILL.md +176 -0
  17. package/skills/09_Cellular_Molecular_Neuroscience/gtex-database/references/citation.bib +14 -0
  18. package/skills/09_Cellular_Molecular_Neuroscience/gtex-database/scripts/gtex_cli.py +281 -0
  19. package/skills/09_Cellular_Molecular_Neuroscience/human-protein-atlas-database/SKILL.md +181 -0
  20. package/skills/09_Cellular_Molecular_Neuroscience/human-protein-atlas-database/references/citation.bib +14 -0
  21. package/skills/09_Cellular_Molecular_Neuroscience/human-protein-atlas-database/references/search-api.md +137 -0
  22. package/skills/09_Cellular_Molecular_Neuroscience/human-protein-atlas-database/scripts/hpa_cli.py +263 -0
  23. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/SKILL.md +169 -0
  24. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/references/citation.bib +15 -0
  25. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/scripts/download_coordinate_files.py +113 -0
  26. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/scripts/fetch_pdb_metadata.py +70 -0
  27. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/scripts/fetch_schema.py +251 -0
  28. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/scripts/search_pdb.py +187 -0
  29. package/skills/09_Cellular_Molecular_Neuroscience/pymol/SKILL.md +146 -0
  30. package/skills/09_Cellular_Molecular_Neuroscience/pymol/references/PYMOL_REFERENCE.md +160 -0
  31. package/skills/09_Cellular_Molecular_Neuroscience/pymol/references/RECIPES.md +348 -0
  32. package/skills/09_Cellular_Molecular_Neuroscience/pymol/references/citation.bib +6 -0
  33. package/skills/17_Literature_Databases/literature-search-arxiv/SKILL.md +120 -0
  34. package/skills/17_Literature_Databases/literature-search-arxiv/references/citation.bib +18 -0
  35. package/skills/17_Literature_Databases/literature-search-arxiv/references/query_syntax.md +34 -0
  36. package/skills/17_Literature_Databases/literature-search-arxiv/scripts/download_paper.py +116 -0
  37. package/skills/17_Literature_Databases/literature-search-arxiv/scripts/download_paper_source.py +98 -0
  38. package/skills/17_Literature_Databases/literature-search-arxiv/scripts/search_arxiv.py +174 -0
  39. package/skills/17_Literature_Databases/literature-search-biorxiv/SKILL.md +169 -0
  40. package/skills/17_Literature_Databases/literature-search-biorxiv/references/citation.bib +12 -0
  41. package/skills/17_Literature_Databases/literature-search-biorxiv/scripts/search_by_dates.py +297 -0
  42. package/skills/17_Literature_Databases/literature-search-biorxiv/scripts/search_by_doi.py +72 -0
  43. package/skills/17_Literature_Databases/literature-search-europepmc/SKILL.md +229 -0
  44. package/skills/17_Literature_Databases/literature-search-europepmc/references/citation.bib +15 -0
  45. package/skills/17_Literature_Databases/literature-search-europepmc/scripts/europepmc_api.py +345 -0
  46. package/skills/17_Literature_Databases/literature-search-openalex/SKILL.md +169 -0
  47. package/skills/17_Literature_Databases/literature-search-openalex/references/authors.md +78 -0
  48. package/skills/17_Literature_Databases/literature-search-openalex/references/citation.bib +8 -0
  49. package/skills/17_Literature_Databases/literature-search-openalex/references/geo_and_language.md +37 -0
  50. package/skills/17_Literature_Databases/literature-search-openalex/references/institutions.md +64 -0
  51. package/skills/17_Literature_Databases/literature-search-openalex/references/publishers_funders.md +42 -0
  52. package/skills/17_Literature_Databases/literature-search-openalex/references/sources.md +79 -0
  53. package/skills/17_Literature_Databases/literature-search-openalex/references/taxonomy.md +52 -0
  54. package/skills/17_Literature_Databases/literature-search-openalex/references/topics.md +29 -0
  55. package/skills/17_Literature_Databases/literature-search-openalex/references/type_values.md +65 -0
  56. package/skills/17_Literature_Databases/literature-search-openalex/references/works.md +304 -0
  57. package/skills/17_Literature_Databases/literature-search-openalex/scripts/openalex_cli.py +633 -0
  58. package/skills/17_Literature_Databases/pubmed-database/SKILL.md +185 -0
  59. package/skills/17_Literature_Databases/pubmed-database/references/advanced-linking.md +128 -0
  60. package/skills/17_Literature_Databases/pubmed-database/references/advanced-search.md +98 -0
  61. package/skills/17_Literature_Databases/pubmed-database/references/bulk-workflows.md +88 -0
  62. package/skills/17_Literature_Databases/pubmed-database/references/citation-matching.md +155 -0
  63. package/skills/17_Literature_Databases/pubmed-database/references/citation.bib +15 -0
  64. package/skills/17_Literature_Databases/pubmed-database/references/cross-database-linking.md +93 -0
  65. package/skills/17_Literature_Databases/pubmed-database/references/fetch-and-resolve.md +125 -0
  66. package/skills/17_Literature_Databases/pubmed-database/references/search-and-discovery.md +106 -0
  67. package/skills/17_Literature_Databases/pubmed-database/references/utilities.md +42 -0
  68. package/skills/17_Literature_Databases/pubmed-database/scripts/pubmed_api.py +715 -0
  69. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/SKILL.md +251 -0
  70. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/pyproject.toml +15 -0
  71. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/references/citation.bib +12 -0
  72. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/analyze_ism.py +334 -0
  73. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/generate_ontology_mapping.py +170 -0
  74. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/interpret_splicing.py +305 -0
  75. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/lookup_gene_info.py +337 -0
  76. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/resolve_ontology_terms.py +155 -0
  77. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/visualize_genome_tracks.py +402 -0
  78. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/visualize_variant_effects.py +1198 -0
  79. package/skills/18_Genetics_Genomics/clinvar-database/SKILL.md +370 -0
  80. package/skills/18_Genetics_Genomics/clinvar-database/references/citation.bib +23 -0
  81. package/skills/18_Genetics_Genomics/clinvar-database/scripts/clinvar_api.py +711 -0
  82. package/skills/18_Genetics_Genomics/dbsnp-database/SKILL.md +350 -0
  83. package/skills/18_Genetics_Genomics/dbsnp-database/references/api-notes.md +88 -0
  84. package/skills/18_Genetics_Genomics/dbsnp-database/references/citation.bib +12 -0
  85. package/skills/18_Genetics_Genomics/dbsnp-database/scripts/dbsnp_cli.py +625 -0
  86. package/skills/18_Genetics_Genomics/gnomad-database/SKILL.md +73 -0
  87. package/skills/18_Genetics_Genomics/gnomad-database/references/citation.bib +14 -0
  88. package/skills/18_Genetics_Genomics/gnomad-database/scripts/get_gene_constraint.py +90 -0
  89. package/skills/18_Genetics_Genomics/gnomad-database/scripts/get_variant_frequency.py +181 -0
  90. package/skills/18_Genetics_Genomics/gnomad-database/scripts/search_variants.py +207 -0
  91. package/skills/19_Pharmacology/chembl-database/SKILL.md +283 -0
  92. package/skills/19_Pharmacology/chembl-database/references/api_endpoints.md +97 -0
  93. package/skills/19_Pharmacology/chembl-database/references/citation.bib +30 -0
  94. package/skills/19_Pharmacology/chembl-database/scripts/chembl_api.py +657 -0
  95. package/skills/19_Pharmacology/clinical-trials-database/SKILL.md +378 -0
  96. package/skills/19_Pharmacology/clinical-trials-database/references/citation.bib +11 -0
  97. package/skills/19_Pharmacology/clinical-trials-database/references/clinical_trials_api.md +187 -0
  98. package/skills/19_Pharmacology/clinical-trials-database/references/studies_schema.md +143 -0
  99. package/skills/19_Pharmacology/clinical-trials-database/scripts/clinical_trials_api.py +373 -0
  100. package/skills/19_Pharmacology/openfda-database/SKILL.md +225 -0
  101. package/skills/19_Pharmacology/openfda-database/references/api_endpoints.md +207 -0
  102. package/skills/19_Pharmacology/openfda-database/references/citation.bib +15 -0
  103. package/skills/19_Pharmacology/openfda-database/references/recipes.md +150 -0
  104. package/skills/19_Pharmacology/openfda-database/scripts/openfda_query.py +505 -0
  105. package/skills/19_Pharmacology/opentargets-database/SKILL.md +198 -0
  106. package/skills/19_Pharmacology/opentargets-database/references/OpenTargets_GraphQL_Guide.md +216 -0
  107. package/skills/19_Pharmacology/opentargets-database/references/citation.bib +15 -0
  108. package/skills/19_Pharmacology/opentargets-database/scripts/query_opentargets.py +533 -0
  109. package/skills/19_Pharmacology/pubchem-database/SKILL.md +164 -0
  110. package/skills/19_Pharmacology/pubchem-database/references/citation.bib +15 -0
  111. package/skills/19_Pharmacology/pubchem-database/references/endpoints.md +71 -0
  112. package/skills/19_Pharmacology/pubchem-database/references/workflows.md +32 -0
  113. package/skills/19_Pharmacology/pubchem-database/scripts/pubchem_api.py +327 -0
  114. package/skills/20_Infrastructure/uv/SKILL.md +30 -0
  115. package/skills/01_Meta-Skills/academic-research-hub/SKILL.md +0 -108
  116. package/skills/01_Meta-Skills/academic-research-hub/scripts/requirements.txt +0 -17
  117. package/skills/01_Meta-Skills/academic-research-hub/scripts/research.py +0 -781
  118. package/skills/01_Meta-Skills/beautiful-log/SKILL.md +0 -64
  119. package/skills/01_Meta-Skills/beautiful-log/scripts/beautiful_log.py +0 -274
  120. package/skills/01_Meta-Skills/ethoclaw-daily-paper/SKILL.md +0 -130
  121. package/skills/01_Meta-Skills/ethoclaw-daily-paper/assets/config.template.yaml +0 -54
  122. package/skills/01_Meta-Skills/ethoclaw-daily-paper/assets/top5_digest_template.md +0 -5
  123. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/build_top5_digest.py +0 -300
  124. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/common.py +0 -137
  125. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/merge_results.py +0 -106
  126. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/run_pipeline.py +0 -177
  127. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/search_arxiv.py +0 -162
  128. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/search_pubmed.py +0 -202
  129. package/skills/01_Meta-Skills/ethoclaw-normalize-tabular/SKILL.md +0 -173
  130. package/skills/01_Meta-Skills/ethoclaw-normalize-tabular/scripts/normalize_data.py +0 -874
  131. package/skills/01_Meta-Skills/ethoclaw-pdf-research/SKILL.md +0 -134
  132. package/skills/01_Meta-Skills/ethoclaw-pdf-research/references/confirmation-prompts.md +0 -31
  133. package/skills/01_Meta-Skills/ethoclaw-pdf-research/references/output-patterns.md +0 -45
  134. package/skills/01_Meta-Skills/ethoclaw-pdf-research/scripts/build_markdown_deliverables.py +0 -41
  135. package/skills/01_Meta-Skills/ethoclaw-pdf-research/scripts/build_research_log.py +0 -84
  136. package/skills/01_Meta-Skills/ethoclaw-pdf-research/scripts/build_summary_md.py +0 -63
  137. package/skills/01_Meta-Skills/ethoclaw-pdf-research/scripts/extract_pdf_bundle.py +0 -140
  138. package/skills/01_Meta-Skills/experiment-controller/SKILL.md +0 -140
  139. package/skills/01_Meta-Skills/knowledge-graph-builder/SKILL.md +0 -366
  140. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/entity_resolution.py +0 -120
  141. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/extraction_prompt_template.txt +0 -19
  142. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/graph_query.py +0 -106
  143. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/hypothesis_cli_reference.py +0 -42
  144. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/new_data_source_template.py +0 -116
  145. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/requirements.txt +0 -15
  146. package/skills/01_Meta-Skills/method-design/SKILL.md +0 -61
  147. package/skills/01_Meta-Skills/multi-search-engine/SKILL.md +0 -119
  148. package/skills/01_Meta-Skills/research-idea/SKILL.md +0 -65
  149. package/skills/05_EEG_ERP/eeg-skill/SKILL.md +0 -197
  150. package/skills/05_EEG_ERP/meg-skill/SKILL.md +0 -188
  151. package/skills/05_EEG_ERP/meg-skill/scripts/time_frequency.py +0 -223
  152. package/skills/05_EEG_ERP/mne-eeg-tool/SKILL.md +0 -165
  153. package/skills/05_EEG_ERP/mne-eeg-tool/scripts/eeg_pipeline_reference.py +0 -231
  154. package/skills/05_EEG_ERP/seed-iv-skill/SKILL.md +0 -184
  155. package/skills/05_EEG_ERP/seed-iv-skill/scripts/classify_seed_iv.py +0 -154
  156. package/skills/05_EEG_ERP/seed-iv-skill/scripts/extract_seed_iv_features.py +0 -190
  157. package/skills/05_EEG_ERP/seed-iv-skill/scripts/validate_seed_iv.py +0 -102
  158. package/skills/05_EEG_ERP/seed-vig-skill/SKILL.md +0 -182
  159. package/skills/05_EEG_ERP/seed-vig-skill/scripts/classify_seed_vig.py +0 -165
  160. package/skills/05_EEG_ERP/seed-vig-skill/scripts/extract_seed_vig_features.py +0 -185
  161. package/skills/05_EEG_ERP/seed-vig-skill/scripts/validate_seed_vig.py +0 -88
  162. package/skills/06_fMRI_Neuroimaging/abcd-skill/SKILL.md +0 -308
  163. package/skills/06_fMRI_Neuroimaging/abcd-skill/scripts/abcd_qc_summary.py +0 -449
  164. package/skills/06_fMRI_Neuroimaging/abcd-skill/scripts/extract_abcd_phenotype.py +0 -292
  165. package/skills/06_fMRI_Neuroimaging/abcd-skill/scripts/reorganize_abcd.py +0 -387
  166. package/skills/06_fMRI_Neuroimaging/abide-skill/SKILL.md +0 -302
  167. package/skills/06_fMRI_Neuroimaging/abide-skill/scripts/abide_qc_summary.py +0 -317
  168. package/skills/06_fMRI_Neuroimaging/abide-skill/scripts/extract_abide_phenotype.py +0 -267
  169. package/skills/06_fMRI_Neuroimaging/abide-skill/scripts/reorganize_abide.py +0 -387
  170. package/skills/06_fMRI_Neuroimaging/adhd200-skill/SKILL.md +0 -244
  171. package/skills/06_fMRI_Neuroimaging/adhd200-skill/scripts/adhd200_qc_summary.py +0 -98
  172. package/skills/06_fMRI_Neuroimaging/adhd200-skill/scripts/extract_adhd200_phenotype.py +0 -134
  173. package/skills/06_fMRI_Neuroimaging/adhd200-skill/scripts/reorganize_adhd200.py +0 -206
  174. package/skills/06_fMRI_Neuroimaging/adni-skill/SKILL.md +0 -358
  175. package/skills/06_fMRI_Neuroimaging/adni-skill/scripts/generate_adni_task_files.py +0 -1305
  176. package/skills/06_fMRI_Neuroimaging/adni-skill/scripts/generate_vqa_from_tasks.py +0 -766
  177. package/skills/06_fMRI_Neuroimaging/adni-skill/scripts/reorganize_adni.py +0 -491
  178. package/skills/06_fMRI_Neuroimaging/aibl-skill/SKILL.md +0 -295
  179. package/skills/06_fMRI_Neuroimaging/aibl-skill/scripts/aibl_qc_summary.py +0 -260
  180. package/skills/06_fMRI_Neuroimaging/aibl-skill/scripts/extract_aibl_phenotype.py +0 -365
  181. package/skills/06_fMRI_Neuroimaging/aibl-skill/scripts/reorganize_aibl.py +0 -394
  182. package/skills/06_fMRI_Neuroimaging/aomic-skill/SKILL.md +0 -292
  183. package/skills/06_fMRI_Neuroimaging/aomic-skill/scripts/aomic_qc_summary.py +0 -258
  184. package/skills/06_fMRI_Neuroimaging/aomic-skill/scripts/extract_aomic_phenotype.py +0 -284
  185. package/skills/06_fMRI_Neuroimaging/aomic-skill/scripts/reorganize_aomic.py +0 -322
  186. package/skills/06_fMRI_Neuroimaging/asl-skill/SKILL.md +0 -168
  187. package/skills/06_fMRI_Neuroimaging/asl-skill/scripts/compute_cbf.py +0 -224
  188. package/skills/06_fMRI_Neuroimaging/bids-organizer/SKILL.md +0 -241
  189. package/skills/06_fMRI_Neuroimaging/bold5000-skill/SKILL.md +0 -186
  190. package/skills/06_fMRI_Neuroimaging/bold5000-skill/scripts/bold5000_qc_summary.py +0 -96
  191. package/skills/06_fMRI_Neuroimaging/bold5000-skill/scripts/extract_bold5000_stimulus.py +0 -125
  192. package/skills/06_fMRI_Neuroimaging/bold5000-skill/scripts/reorganize_bold5000.py +0 -102
  193. package/skills/06_fMRI_Neuroimaging/camcan-skill/SKILL.md +0 -213
  194. package/skills/06_fMRI_Neuroimaging/camcan-skill/scripts/camcan_qc_summary.py +0 -131
  195. package/skills/06_fMRI_Neuroimaging/camcan-skill/scripts/extract_camcan_phenotype.py +0 -145
  196. package/skills/06_fMRI_Neuroimaging/camcan-skill/scripts/validate_camcan.py +0 -141
  197. package/skills/06_fMRI_Neuroimaging/cobre-skill/SKILL.md +0 -201
  198. package/skills/06_fMRI_Neuroimaging/cobre-skill/scripts/cobre_qc_summary.py +0 -95
  199. package/skills/06_fMRI_Neuroimaging/cobre-skill/scripts/extract_cobre_phenotype.py +0 -104
  200. package/skills/06_fMRI_Neuroimaging/cobre-skill/scripts/reorganize_cobre.py +0 -140
  201. package/skills/06_fMRI_Neuroimaging/conn-tool/SKILL.md +0 -180
  202. package/skills/06_fMRI_Neuroimaging/dcm2nii/SKILL.md +0 -189
  203. package/skills/06_fMRI_Neuroimaging/dmt-har-med-skill/SKILL.md +0 -183
  204. package/skills/06_fMRI_Neuroimaging/dmt-har-med-skill/scripts/dmt_har_med_qc_summary.py +0 -96
  205. package/skills/06_fMRI_Neuroimaging/dmt-har-med-skill/scripts/extract_dmt_har_med_phenotype.py +0 -121
  206. package/skills/06_fMRI_Neuroimaging/dmt-har-med-skill/scripts/reorganize_dmt_har_med.py +0 -125
  207. package/skills/06_fMRI_Neuroimaging/dwi-skill/SKILL.md +0 -359
  208. package/skills/06_fMRI_Neuroimaging/fmri-skill/SKILL.md +0 -371
  209. package/skills/06_fMRI_Neuroimaging/fmriprep-tool/SKILL.md +0 -228
  210. package/skills/06_fMRI_Neuroimaging/freesurfer-tool/SKILL.md +0 -286
  211. package/skills/06_fMRI_Neuroimaging/freesurfer-tool/scripts/freesurfer_processor.py +0 -145
  212. package/skills/06_fMRI_Neuroimaging/fsl-tool/SKILL.md +0 -208
  213. package/skills/06_fMRI_Neuroimaging/hbn-skill/SKILL.md +0 -271
  214. package/skills/06_fMRI_Neuroimaging/hbn-skill/scripts/extract_hbn_phenotype.py +0 -107
  215. package/skills/06_fMRI_Neuroimaging/hbn-skill/scripts/hbn_qc_summary.py +0 -96
  216. package/skills/06_fMRI_Neuroimaging/hbn-skill/scripts/reorganize_hbn.py +0 -150
  217. package/skills/06_fMRI_Neuroimaging/hcpa-skill/SKILL.md +0 -210
  218. package/skills/06_fMRI_Neuroimaging/hcpa-skill/scripts/extract_hcpa_phenotype.py +0 -146
  219. package/skills/06_fMRI_Neuroimaging/hcpa-skill/scripts/hcpa_qc_summary.py +0 -120
  220. package/skills/06_fMRI_Neuroimaging/hcpa-skill/scripts/reorganize_hcpa.py +0 -155
  221. package/skills/06_fMRI_Neuroimaging/hcpd-skill/SKILL.md +0 -210
  222. package/skills/06_fMRI_Neuroimaging/hcpd-skill/scripts/extract_hcpd_phenotype.py +0 -148
  223. package/skills/06_fMRI_Neuroimaging/hcpd-skill/scripts/hcpd_qc_summary.py +0 -125
  224. package/skills/06_fMRI_Neuroimaging/hcpd-skill/scripts/reorganize_hcpd.py +0 -146
  225. package/skills/06_fMRI_Neuroimaging/hcpep-skill/SKILL.md +0 -215
  226. package/skills/06_fMRI_Neuroimaging/hcpep-skill/scripts/extract_hcpep_phenotype.py +0 -157
  227. package/skills/06_fMRI_Neuroimaging/hcpep-skill/scripts/hcpep_qc_summary.py +0 -143
  228. package/skills/06_fMRI_Neuroimaging/hcpep-skill/scripts/reorganize_hcpep.py +0 -146
  229. package/skills/06_fMRI_Neuroimaging/hcppipeline-tool/SKILL.md +0 -217
  230. package/skills/06_fMRI_Neuroimaging/hcpya-skill/SKILL.md +0 -214
  231. package/skills/06_fMRI_Neuroimaging/hcpya-skill/scripts/extract_hcpya_phenotype.py +0 -190
  232. package/skills/06_fMRI_Neuroimaging/hcpya-skill/scripts/hcpya_qc_summary.py +0 -152
  233. package/skills/06_fMRI_Neuroimaging/hcpya-skill/scripts/reorganize_hcpya.py +0 -203
  234. package/skills/06_fMRI_Neuroimaging/ixi-skill/SKILL.md +0 -198
  235. package/skills/06_fMRI_Neuroimaging/ixi-skill/scripts/ixi_qc_summary.py +0 -137
  236. package/skills/06_fMRI_Neuroimaging/ixi-skill/scripts/reorganize_ixi.py +0 -190
  237. package/skills/06_fMRI_Neuroimaging/mnd-skill/SKILL.md +0 -191
  238. package/skills/06_fMRI_Neuroimaging/mnd-skill/scripts/extract_mnd_phenotype.py +0 -143
  239. package/skills/06_fMRI_Neuroimaging/mnd-skill/scripts/mnd_qc_summary.py +0 -120
  240. package/skills/06_fMRI_Neuroimaging/mnd-skill/scripts/validate_mnd.py +0 -107
  241. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/SKILL.md +0 -203
  242. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/scripts/analyze_lesions.py +0 -119
  243. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/scripts/longitudinal_lesion.py +0 -148
  244. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/scripts/mschallenge_qc_summary.py +0 -132
  245. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/scripts/validate_mschallenge.py +0 -116
  246. package/skills/06_fMRI_Neuroimaging/nibabel-skill/SKILL.md +0 -184
  247. package/skills/06_fMRI_Neuroimaging/nibabel-skill/scripts/atlas_coordinate_reference.py +0 -61
  248. package/skills/06_fMRI_Neuroimaging/nibabel-skill/scripts/freesurfer_io_reference.py +0 -34
  249. package/skills/06_fMRI_Neuroimaging/nibabel-skill/scripts/nifti_inspection_reference.py +0 -35
  250. package/skills/06_fMRI_Neuroimaging/nifd-skill/SKILL.md +0 -205
  251. package/skills/06_fMRI_Neuroimaging/nifd-skill/scripts/extract_nifd_phenotype.py +0 -132
  252. package/skills/06_fMRI_Neuroimaging/nifd-skill/scripts/nifd_qc_summary.py +0 -111
  253. package/skills/06_fMRI_Neuroimaging/nifd-skill/scripts/validate_nifd.py +0 -111
  254. package/skills/06_fMRI_Neuroimaging/nii2dcm/SKILL.md +0 -143
  255. package/skills/06_fMRI_Neuroimaging/nilearn-tool/SKILL.md +0 -266
  256. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/connectome_reference.py +0 -65
  257. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/denoise_timeseries_reference.py +0 -58
  258. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/hierarchical_parcellation_reference.py +0 -53
  259. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/kmeans_parcellation_reference.py +0 -53
  260. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/preprocess_bold_reference.py +0 -76
  261. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/rest_dictlearning_reference.py +0 -56
  262. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/rest_ica_reference.py +0 -59
  263. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/second_level_glm_reference.py +0 -58
  264. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/spacenet_classifier_reference.py +0 -59
  265. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/svm_classifier_reference.py +0 -60
  266. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/task_glm_reference.py +0 -63
  267. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/zalff_summary_reference.py +0 -109
  268. package/skills/06_fMRI_Neuroimaging/nsd-skill/SKILL.md +0 -210
  269. package/skills/06_fMRI_Neuroimaging/nsd-skill/scripts/extract_nsd_stimulus.py +0 -171
  270. package/skills/06_fMRI_Neuroimaging/nsd-skill/scripts/nsd_qc_summary.py +0 -142
  271. package/skills/06_fMRI_Neuroimaging/nsd-skill/scripts/validate_nsd.py +0 -142
  272. package/skills/06_fMRI_Neuroimaging/oasis-skill/SKILL.md +0 -205
  273. package/skills/06_fMRI_Neuroimaging/oasis-skill/scripts/extract_oasis_phenotype.py +0 -126
  274. package/skills/06_fMRI_Neuroimaging/oasis-skill/scripts/oasis_qc_summary.py +0 -115
  275. package/skills/06_fMRI_Neuroimaging/oasis-skill/scripts/validate_oasis.py +0 -119
  276. package/skills/06_fMRI_Neuroimaging/pet-skill/SKILL.md +0 -173
  277. package/skills/06_fMRI_Neuroimaging/pet-skill/scripts/compute_suvr.py +0 -202
  278. package/skills/06_fMRI_Neuroimaging/pnc-skill/SKILL.md +0 -206
  279. package/skills/06_fMRI_Neuroimaging/pnc-skill/scripts/extract_pnc_phenotype.py +0 -136
  280. package/skills/06_fMRI_Neuroimaging/pnc-skill/scripts/pnc_qc_summary.py +0 -116
  281. package/skills/06_fMRI_Neuroimaging/pnc-skill/scripts/validate_pnc.py +0 -120
  282. package/skills/06_fMRI_Neuroimaging/ppmi-skill/SKILL.md +0 -209
  283. package/skills/06_fMRI_Neuroimaging/ppmi-skill/scripts/extract_ppmi_phenotype.py +0 -138
  284. package/skills/06_fMRI_Neuroimaging/ppmi-skill/scripts/ppmi_qc_summary.py +0 -111
  285. package/skills/06_fMRI_Neuroimaging/ppmi-skill/scripts/validate_ppmi.py +0 -117
  286. package/skills/06_fMRI_Neuroimaging/qsiprep-tool/SKILL.md +0 -320
  287. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/SKILL.md +0 -215
  288. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/scripts/extract_rest_mdd_phenotype.py +0 -132
  289. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/scripts/harmonize_sites.py +0 -152
  290. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/scripts/rest_mdd_qc_summary.py +0 -124
  291. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/scripts/validate_rest_mdd.py +0 -103
  292. package/skills/06_fMRI_Neuroimaging/smri-skill/SKILL.md +0 -302
  293. package/skills/06_fMRI_Neuroimaging/tcp-skill/SKILL.md +0 -204
  294. package/skills/06_fMRI_Neuroimaging/tcp-skill/scripts/extract_tcp_phenotype.py +0 -139
  295. package/skills/06_fMRI_Neuroimaging/tcp-skill/scripts/tcp_qc_summary.py +0 -111
  296. package/skills/06_fMRI_Neuroimaging/tcp-skill/scripts/validate_tcp.py +0 -99
  297. package/skills/06_fMRI_Neuroimaging/ucla-cnp-skill/SKILL.md +0 -217
  298. package/skills/06_fMRI_Neuroimaging/ucla-cnp-skill/scripts/extract_ucla_cnp_phenotype.py +0 -145
  299. package/skills/06_fMRI_Neuroimaging/ucla-cnp-skill/scripts/ucla_cnp_qc_summary.py +0 -111
  300. package/skills/06_fMRI_Neuroimaging/ucla-cnp-skill/scripts/validate_ucla_cnp.py +0 -113
  301. package/skills/06_fMRI_Neuroimaging/ukb-skill/SKILL.md +0 -310
  302. package/skills/06_fMRI_Neuroimaging/ukb-skill/scripts/build_ukb_survival.py +0 -210
  303. package/skills/06_fMRI_Neuroimaging/ukb-skill/scripts/extract_ukb_cases.py +0 -308
  304. package/skills/06_fMRI_Neuroimaging/ukb-skill/scripts/extract_ukb_phenotype.py +0 -232
  305. package/skills/06_fMRI_Neuroimaging/ukb-skill/scripts/ukb_qc_summary.py +0 -158
  306. package/skills/06_fMRI_Neuroimaging/wmh-segmentation/SKILL.md +0 -133
  307. package/skills/07_Computational_Modeling/detrending/SKILL.md +0 -118
  308. package/skills/07_Computational_Modeling/dictlearning/SKILL.md +0 -122
  309. package/skills/07_Computational_Modeling/filtering/SKILL.md +0 -121
  310. package/skills/07_Computational_Modeling/glm/SKILL.md +0 -153
  311. package/skills/07_Computational_Modeling/hierarchical/SKILL.md +0 -121
  312. package/skills/07_Computational_Modeling/ica/SKILL.md +0 -122
  313. package/skills/07_Computational_Modeling/kmeans/SKILL.md +0 -119
  314. package/skills/07_Computational_Modeling/run_models/SKILL.md +0 -427
  315. package/skills/07_Computational_Modeling/spacenet/SKILL.md +0 -122
  316. package/skills/07_Computational_Modeling/svm/SKILL.md +0 -120
  317. package/skills/08_Computational_Neuroscience/brain_gnn/SKILL.md +0 -183
  318. package/skills/08_Computational_Neuroscience/dipy-tool/SKILL.md +0 -239
  319. package/skills/08_Computational_Neuroscience/dipy-tool/scripts/dti_metrics_reference.py +0 -70
  320. package/skills/08_Computational_Neuroscience/dipy-tool/scripts/load_and_mask_reference.py +0 -76
  321. package/skills/08_Computational_Neuroscience/dipy-tool/scripts/roi_stats_reference.py +0 -59
  322. package/skills/08_Computational_Neuroscience/fm_app/SKILL.md +0 -195
  323. package/skills/08_Computational_Neuroscience/neurostorm/SKILL.md +0 -151
  324. package/skills/13_Visualization/brain-visualization/SKILL.md +0 -191
  325. package/skills/13_Visualization/brain-visualization/scripts/connectome_reference.py +0 -108
  326. package/skills/13_Visualization/brain-visualization/scripts/freesurfer_ply_reference.py +0 -54
  327. package/skills/13_Visualization/brain-visualization/scripts/zalff_summary_reference.py +0 -116
  328. package/skills/13_Visualization/ethoclaw-paper-figure-layout/SKILL.md +0 -78
  329. package/skills/13_Visualization/ethoclaw-paper-figure-layout/assets/naturecomm_figures.tex +0 -74
  330. package/skills/13_Visualization/ethoclaw-paper-figure-layout/scripts/layout_results_foldered.py +0 -579
  331. package/skills/14_Writing/overleaf-skill/SKILL.md +0 -184
  332. package/skills/14_Writing/overleaf-skill/scripts/install.sh +0 -30
  333. package/skills/14_Writing/paper-writing/SKILL.md +0 -146
  334. package/skills/14_Writing/paper-writing/scripts/data_statement_templates.py +0 -164
  335. package/skills/14_Writing/paper-writing/scripts/figure_templates.py +0 -315
  336. package/skills/14_Writing/paper-writing/scripts/nature_figure_style.py +0 -214
  337. package/skills/14_Writing/paper-writing/scripts/section_phrasebank.py +0 -246
  338. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/SKILL.md +0 -274
  339. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/report_template_en.html +0 -112
  340. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/report_template_en.md +0 -21
  341. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/cluster-section.md +0 -5
  342. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/heatmap-section.md +0 -5
  343. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/integrated-interpretation.md +0 -3
  344. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/overview.md +0 -3
  345. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/project-summary.md +0 -3
  346. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/radar-section.md +0 -5
  347. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/raw-trajectory.md +0 -3
  348. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/sample-check.md +0 -3
  349. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/single-subject-section.md +0 -3
  350. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/stats-section.md +0 -5
  351. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/epm.md +0 -52
  352. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/fst.md +0 -37
  353. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/nor.md +0 -39
  354. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/oft.md +0 -43
  355. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/tcst.md +0 -45
  356. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/tst.md +0 -36
  357. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/input-types.md +0 -59
  358. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/interpretation-guardrails.md +0 -45
  359. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/metadata-schema.md +0 -57
  360. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/report-sections.md +0 -86
  361. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/section-selection-rules.md +0 -169
  362. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/scripts/build_report_manifest.py +0 -27
  363. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/scripts/render_report.py +0 -34
  364. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/scripts/report_utils.py +0 -1121
  365. package/skills/16_Animal_Behavior/ethoclaw-animal-grounding/SKILL.md +0 -390
  366. package/skills/16_Animal_Behavior/ethoclaw-animal-grounding/reference_code.py +0 -98
  367. package/skills/16_Animal_Behavior/ethoclaw-animal-pose-estimation/SKILL.md +0 -336
  368. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/README.md +0 -21
  369. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/SKILL.md +0 -41
  370. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/batch_kinematic_generator.py +0 -663
  371. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/config.json +0 -19
  372. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/generate_kinematic_parameter.py +0 -401
  373. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/kinematic_generator.py +0 -265
  374. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-clustermap-generate/SKILL.md +0 -72
  375. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-clustermap-generate/references/config.example.toml +0 -56
  376. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-clustermap-generate/scripts/cluster_all_params.py +0 -232
  377. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-clustermap-generate/scripts/cluster_all_params_from_config.py +0 -236
  378. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-radar-generate/SKILL.md +0 -68
  379. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-radar-generate/references/notes.md +0 -5
  380. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-radar-generate/scripts/plot_h5_radar.py +0 -513
  381. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/SKILL.md +0 -52
  382. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/config.toml +0 -81
  383. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/references/stats-rule.md +0 -18
  384. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/scripts/h5_inspect.py +0 -79
  385. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/scripts/h5_violin_batch.py +0 -624
  386. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/scripts/h5_violin_stats.py +0 -438
  387. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/SKILL.md +0 -280
  388. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/core_scripts/heatmap_trajectory.py +0 -790
  389. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/core_scripts/heatmap_velocity.py +0 -855
  390. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/reference_data/reference_2d.csv +0 -101
  391. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/reference_data/reference_2d.h5 +0 -0
  392. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/reference_data/reference_data_readme.md +0 -126
@@ -0,0 +1,15 @@
1
+ @ARTICLE{Kim2025,
2
+ ABSTRACT = {PubChem (https://pubchem.ncbi.nlm.nih.gov) is a large and highly-integrated public chemical database resource at NIH. In the past two years, significant updates were made to PubChem. With additions from over 130 new sources, PubChem contains \>1000 data sources, 119 million compounds, 322 million substances and 295 million bioactivities. New interfaces, such as the consolidated literature panel and the patent knowledge panel, were developed. The consolidated literature panel combines all references about a compound into a single list, allowing users to easily find, sort, and export all relevant articles for a chemical in one place. The patent knowledge panels for a given query chemical or gene display chemicals, genes, and diseases co-mentioned with the query in patent documents, helping users to explore relationships between co-occurring entities within patent documents. PubChemRDF was expanded to include the co-occurrence data underlying the literature knowledge panel, enabling users to exploit semantic web technologies to explore entity relationships based on the co-occurrences in the scientific literature. The usability and accessibility of information on chemicals with non-discrete structures (e.g. biologics, minerals, polymers, UVCBs and glycans) were greatly improved with dedicated web pages that provide a comprehensive view of all available information in PubChem for these chemicals.},
3
+ AUTHOR = {Kim, Sunghwan and Chen, Jie and Cheng, Tiejun and Gindulyte, Asta and He, Jia and He, Siqian and Li, Qingliang and Shoemaker, Benjamin A and Thiessen, Paul A and Yu, Bo and Zaslavsky, Leonid and Zhang, Jian and Bolton, Evan E},
4
+ URL = {https://doi.org/10.1093/nar/gkae1059},
5
+ DATE = {2025-01},
6
+ DOI = {10.1093/nar/gkae1059},
7
+ EPRINT = {https://academic.oup.com/nar/article-pdf/53/D1/D1516/60743708/gkae1059.pdf},
8
+ ISSN = {1362-4962},
9
+ JOURNALTITLE = {Nucleic Acids Research},
10
+ NUMBER = {D1},
11
+ PAGES = {D1516--D1525},
12
+ TITLE = {PubChem 2025 update},
13
+ VOLUME = {53},
14
+ }
15
+
@@ -0,0 +1,71 @@
1
+ # Advanced PubChem API Reference
2
+
3
+ This file documents the raw PUG-REST and PUG-View APIs for cases where the
4
+ `pubchem_api.py` wrapper does not support your specific query.
5
+
6
+ ## PUG-REST (Computed Properties & Search)
7
+
8
+ **Base URL:** `https://pubchem.ncbi.nlm.nih.gov/rest/pug`
9
+
10
+ The URL path always follows this structure:
11
+ `/<domain>/<namespace>/<identifiers>/<operation>/<output>[?options]`
12
+
13
+ ### 1. Domain
14
+ The core data type: `compound`, `substance`, `assay`, `gene`, `protein`,
15
+ `pathway`, `taxonomy`, `cell`.
16
+
17
+ ### 2. Namespace & Identifiers
18
+ How you are identifying the target record(s):
19
+
20
+ - `cid/<cid>`: Compound ID
21
+ - `name/<name>`: Exact chemical name
22
+ - `smiles/<smiles>`: Exact SMILES match
23
+ - `inchikey/<inchikey>`: Exact InChIKey match
24
+ - `formula/<formula>`: Exact molecular formula
25
+ - Search namespaces (use `fast` prefix for synchronous):
26
+ - `fastsubstructure/smiles/<smiles>`
27
+ - `fastsimilarity_2d/smiles/<smiles>`
28
+ - `fastidentity/smiles/<smiles>`
29
+
30
+ ### 3. Operation
31
+ What data you want to extract:
32
+
33
+ - `record` (default): The full raw record.
34
+ - `property/<property_list>`: Specific properties (e.g.,
35
+ `MolecularWeight,XLogP,TPSA`).
36
+ - `synonyms`: List of synonyms.
37
+ - `cids`: Return only the CIDs (useful after a search).
38
+ - `assaysummary`: Summary of bioassays.
39
+ - `xrefs/<xref_type>`: Cross-references (e.g., `PatentID`, `PubMedID`).
40
+
41
+ ### 4. Output
42
+ Format for the response: `JSON`, `XML`, `CSV`, `TXT`, `PNG`.
43
+
44
+ ### Examples
45
+
46
+ * **Properties by CID (JSON)**: `https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/2244/property/MolecularWeight,MolecularFormula/JSON`
47
+ * **Mass Range Search (JSON)**: `https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/molecular_weight/range/400.0/400.05/cids/JSON`
48
+ * **Patents by SID (JSON)**: `https://pubchem.ncbi.nlm.nih.gov/rest/pug/substance/sid/137349406/xrefs/PatentID/JSON`
49
+
50
+ ---
51
+
52
+ ## PUG-View (Third-Party Annotations & Text)
53
+
54
+ Used for retrieving comprehensive textual annotations (like GHS Safety,
55
+ Pharmacology, Toxicity) compiled from external sources.
56
+
57
+ **Base URL:** `https://pubchem.ncbi.nlm.nih.gov/rest/pug_view`
58
+
59
+ The standard structure for retrieving specific sections:
60
+ `https://pubchem.ncbi.nlm.nih.gov/rest/pug_view/data/compound/<cid>/JSON?heading=<Section+Heading>`
61
+
62
+ *Note: Spaces in headings must be replaced with `+`.*
63
+
64
+ ### Common Headings
65
+
66
+ * `Safety+and+Hazards`
67
+ * `Pharmacology+and+Biochemistry`
68
+ * `Toxicity`
69
+ * `Drug+and+Medication+Information`
70
+ * `Experimental+Properties`
71
+
@@ -0,0 +1,32 @@
1
+ # PubChem Workflows
2
+
3
+ Follow these checklists for complex, multi-step queries to ensure accurate
4
+ results.
5
+
6
+ ## Workflow 1: Comprehensive Chemical Profiling
7
+
8
+ When asked to provide a complete profile of a chemical (e.g., "Tell me
9
+ everything about Aspirin"):
10
+
11
+ 1. **Resolve Name**: Run `pubchem_api.py resolve` to get the primary CID.
12
+ 2. **Get Properties**: Run `pubchem_api.py properties` using the CID to get
13
+ basic chemical traits (Weight, XLogP).
14
+ 3. **Check Safety**: Run `pubchem_api.py safety` to fetch GHS hazard
15
+ information.
16
+ 4. **Check Pharmacology**: Run `pubchem_api.py pharmacology` to understand its
17
+ biological/medical use.
18
+ 5. **Synthesize**: Read all output JSON files and compile a comprehensive
19
+ markdown report.
20
+
21
+ ## Workflow 2: Structure-Based BioAssay Lookup
22
+
23
+ When asked to find targets or assays for compounds similar to a given structure:
24
+
25
+ 1. **Search Structure**: Run `pubchem_api.py similarity` (for 2D similarity)
26
+ or `pubchem_api.py substructure` using the target SMILES string.
27
+ 2. **Filter Results**: Read the resulting JSON file. The search may return
28
+ hundreds of CIDs. Select the top 5-10 most relevant CIDs.
29
+ 3. **Fetch Assays**: For each selected CID, run `pubchem_api.py assays`.
30
+ 4. **Analyze**: Review the assay summaries to identify common biological
31
+ targets (e.g., specific genes or proteins) that these compounds interact
32
+ with.
@@ -0,0 +1,327 @@
1
+ # Copyright 2026 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ """PubChem API CLI.
16
+
17
+ This script provides command-line access to various PubChem API endpoints,
18
+ including resolving chemical names, fetching properties, synonyms, safety data,
19
+ pharmacology, images, and performing similarity/substructure searches.
20
+ """
21
+
22
+ # /// script
23
+ # requires-python = ">=3.10"
24
+ # dependencies = [
25
+ # "polite-http",
26
+ # ]
27
+ # ///
28
+
29
+ import argparse
30
+ import json
31
+ import sys
32
+ import urllib.parse
33
+
34
+ from polite_http import http_client
35
+
36
+ PUBCHEM_BASE_URL = "https://pubchem.ncbi.nlm.nih.gov/rest"
37
+ _CLIENT = http_client.HttpClient(PUBCHEM_BASE_URL, qps=5)
38
+
39
+
40
+ def make_request(url):
41
+ """Makes an HTTP GET request via http_client."""
42
+ try:
43
+ resp = _CLIENT.fetch(url)
44
+ content_type = resp.headers.get("Content-Type", "")
45
+
46
+ if "application/json" in content_type:
47
+ return resp.json()
48
+ elif "text/plain" in content_type or "text/csv" in content_type:
49
+ return resp.text
50
+ else:
51
+ return resp.data
52
+ except http_client.HttpError as e:
53
+ if e.status_code == 404:
54
+ return {"error": "Record not found (HTTP 404)."}
55
+ elif e.status_code == 400:
56
+ return {"error": "Bad request (HTTP 400). Please check your inputs."}
57
+ else:
58
+ return {"error": f"HTTP Error {e.status_code or 'Error'}: {e.body}"}
59
+
60
+
61
+ def write_output(data, output_file):
62
+ """Writes output to a JSON file."""
63
+ try:
64
+ with open(output_file, "w", encoding="utf-8") as f:
65
+ if isinstance(data, str):
66
+ json.dump({"result": data}, f, indent=2)
67
+ else:
68
+ json.dump(data, f, indent=2)
69
+ print(f"Success! Data written to: {output_file}")
70
+ except (OSError, TypeError) as e:
71
+ print(f"Error writing to file {output_file}: {e}")
72
+ sys.exit(1)
73
+
74
+
75
+ def resolve(name=None, inchi=None):
76
+ """Resolves a chemical name or InChI to CIDs and SMILES."""
77
+ if name:
78
+ encoded_val = urllib.parse.quote(name)
79
+ input_type = "name"
80
+ elif inchi:
81
+ encoded_val = urllib.parse.quote(inchi)
82
+ input_type = "inchi"
83
+ else:
84
+ return {"error": "Either name or inchi must be provided."}
85
+
86
+ url_cids = (
87
+ f"{PUBCHEM_BASE_URL}/pug/compound/{input_type}/{encoded_val}/cids/JSON"
88
+ )
89
+ url_props = f"{PUBCHEM_BASE_URL}/pug/compound/{input_type}/{encoded_val}/property/CanonicalSMILES,IsomericSMILES,InChIKey/JSON"
90
+
91
+ cids_data = make_request(url_cids)
92
+ if isinstance(cids_data, dict) and "error" in cids_data:
93
+ return cids_data
94
+
95
+ props_data = make_request(url_props)
96
+
97
+ return {"identifiers": cids_data, "properties": props_data}
98
+
99
+
100
+ def properties(cid):
101
+ url = f"{PUBCHEM_BASE_URL}/pug/compound/cid/{cid}/property/MolecularFormula,MolecularWeight,XLogP,TPSA,ExactMass,HBondDonorCount,HBondAcceptorCount,RotatableBondCount/JSON"
102
+ return make_request(url)
103
+
104
+
105
+ def synonyms(cid):
106
+ url = f"{PUBCHEM_BASE_URL}/pug/compound/cid/{cid}/synonyms/JSON"
107
+ return make_request(url)
108
+
109
+
110
+ def safety(cid):
111
+ url = f"{PUBCHEM_BASE_URL}/pug_view/data/compound/{cid}/JSON?heading=Safety+and+Hazards"
112
+ return make_request(url)
113
+
114
+
115
+ def pharmacology(cid):
116
+ url = f"{PUBCHEM_BASE_URL}/pug_view/data/compound/{cid}/JSON?heading=Pharmacology+and+Biochemistry"
117
+ return make_request(url)
118
+
119
+
120
+ def view(cid, heading):
121
+ encoded_heading = urllib.parse.quote(heading)
122
+ url = f"{PUBCHEM_BASE_URL}/pug_view/data/compound/{cid}/JSON?heading={encoded_heading}"
123
+ return make_request(url)
124
+
125
+
126
+ def xrefs(cid, xref_type):
127
+ url = f"{PUBCHEM_BASE_URL}/pug/compound/cid/{cid}/xrefs/{xref_type}/JSON"
128
+ return make_request(url)
129
+
130
+
131
+ def query(path):
132
+ clean_path = path.lstrip("/")
133
+ url = f"{PUBCHEM_BASE_URL}/{clean_path}"
134
+ return make_request(url)
135
+
136
+
137
+ def image(cid):
138
+ url = f"{PUBCHEM_BASE_URL}/pug/compound/cid/{cid}/PNG"
139
+ return {"image_url": url, "markdown": f"![CID {cid} Image]({url})"}
140
+
141
+
142
+ def similarity(smiles):
143
+ encoded_smiles = urllib.parse.quote(smiles)
144
+ url = f"{PUBCHEM_BASE_URL}/pug/compound/fastsimilarity_2d/smiles/{encoded_smiles}/cids/JSON"
145
+ return make_request(url)
146
+
147
+
148
+ def substructure(smiles):
149
+ encoded_smiles = urllib.parse.quote(smiles)
150
+ url = f"{PUBCHEM_BASE_URL}/pug/compound/fastsubstructure/smiles/{encoded_smiles}/cids/JSON"
151
+ return make_request(url)
152
+
153
+
154
+ def assays(cid, active_only=False):
155
+ url = f"{PUBCHEM_BASE_URL}/pug/compound/cid/{cid}/assaysummary/JSON"
156
+ data = make_request(url)
157
+ if active_only:
158
+ data = filter_active_assays(data)
159
+ return data
160
+
161
+
162
+ def filter_active_assays(data):
163
+ if not isinstance(data, dict) or "Table" not in data:
164
+ return data
165
+ table = data["Table"]
166
+ columns = table.get("Columns", {}).get("Column", [])
167
+ try:
168
+ outcome_idx = columns.index("Activity Outcome")
169
+ except ValueError:
170
+ return data
171
+ filtered_rows = []
172
+ for row in table.get("Row", []):
173
+ cell = row.get("Cell", [])
174
+ if len(cell) > outcome_idx and cell[outcome_idx] == "Active":
175
+ filtered_rows.append(row)
176
+ table["Row"] = filtered_rows
177
+ return data
178
+
179
+
180
+ def range_search(feature, min_val, max_val):
181
+ url = f"{PUBCHEM_BASE_URL}/pug/compound/{feature}/range/{min_val}/{max_val}/cids/JSON"
182
+ return make_request(url)
183
+
184
+
185
+ def main():
186
+ parser = argparse.ArgumentParser(description="PubChem API Wrapper Script")
187
+ subparsers = parser.add_subparsers(dest="command", required=True)
188
+
189
+ # Resolve
190
+ p_resolve = subparsers.add_parser(
191
+ "resolve", help="Resolve a chemical name or InChI to CIDs and SMILES"
192
+ )
193
+ group = p_resolve.add_mutually_exclusive_group(required=True)
194
+ group.add_argument("--name", help="Chemical name")
195
+ group.add_argument("--inchi", help="InChI string")
196
+ p_resolve.add_argument(
197
+ "--output", required=True, help="Output JSON file path"
198
+ )
199
+
200
+ # Properties
201
+ p_props = subparsers.add_parser(
202
+ "properties", help="Get chemical properties for a CID"
203
+ )
204
+ p_props.add_argument("--cid", required=True, help="Compound ID")
205
+ p_props.add_argument("--output", required=True, help="Output JSON file path")
206
+
207
+ # Synonyms
208
+ p_syn = subparsers.add_parser("synonyms", help="Get synonyms for a CID")
209
+ p_syn.add_argument("--cid", required=True, help="Compound ID")
210
+ p_syn.add_argument("--output", required=True, help="Output JSON file path")
211
+
212
+ # Safety
213
+ p_safe = subparsers.add_parser("safety", help="Get GHS safety data for a CID")
214
+ p_safe.add_argument("--cid", required=True, help="Compound ID")
215
+ p_safe.add_argument("--output", required=True, help="Output JSON file path")
216
+
217
+ # Pharmacology
218
+ p_pharm = subparsers.add_parser(
219
+ "pharmacology", help="Get pharmacology data for a CID"
220
+ )
221
+ p_pharm.add_argument("--cid", required=True, help="Compound ID")
222
+ p_pharm.add_argument("--output", required=True, help="Output JSON file path")
223
+
224
+ # View
225
+ p_view = subparsers.add_parser(
226
+ "view", help="Get specific PUG-View heading for a CID"
227
+ )
228
+ p_view.add_argument("--cid", required=True, help="Compound ID")
229
+ p_view.add_argument(
230
+ "--heading", required=True, help="Heading (e.g. 'Geometry')"
231
+ )
232
+ p_view.add_argument("--output", required=True, help="Output JSON file path")
233
+
234
+ # Xrefs
235
+ p_xrefs = subparsers.add_parser(
236
+ "xrefs", help="Get cross-references (PatentID, PubMedID, etc.) for a CID"
237
+ )
238
+ p_xrefs.add_argument("--cid", required=True, help="Compound ID")
239
+ p_xrefs.add_argument(
240
+ "--type", required=True, help="Xref type (e.g. 'PatentID')"
241
+ )
242
+ p_xrefs.add_argument("--output", required=True, help="Output JSON file path")
243
+
244
+ # Query
245
+ p_query = subparsers.add_parser(
246
+ "query", help="Execute a custom PUG-REST path"
247
+ )
248
+ p_query.add_argument(
249
+ "--path",
250
+ required=True,
251
+ help="e.g., compound/cid/2244/xrefs/PatentID/JSON",
252
+ )
253
+ p_query.add_argument("--output", required=True, help="Output JSON file path")
254
+
255
+ # Image
256
+ p_img = subparsers.add_parser("image", help="Get image URL for a CID")
257
+ p_img.add_argument("--cid", required=True, help="Compound ID")
258
+ p_img.add_argument("--output", required=True, help="Output JSON file path")
259
+
260
+ # Similarity
261
+ p_sim = subparsers.add_parser(
262
+ "similarity", help="Fast 2D similarity search by SMILES"
263
+ )
264
+ p_sim.add_argument("--smiles", required=True, help="SMILES string")
265
+ p_sim.add_argument("--output", required=True, help="Output JSON file path")
266
+
267
+ # Substructure
268
+ p_sub = subparsers.add_parser(
269
+ "substructure", help="Fast substructure search by SMILES"
270
+ )
271
+ p_sub.add_argument("--smiles", required=True, help="SMILES string")
272
+ p_sub.add_argument("--output", required=True, help="Output JSON file path")
273
+
274
+ # Assays
275
+ p_assay = subparsers.add_parser("assays", help="Get assay summary for a CID")
276
+ p_assay.add_argument("--cid", required=True, help="Compound ID")
277
+ p_assay.add_argument(
278
+ "--active-only", action="store_true", help="Filter for active assays only"
279
+ )
280
+ p_assay.add_argument("--output", required=True, help="Output JSON file path")
281
+
282
+ # Range
283
+ p_range = subparsers.add_parser("range", help="Search by property range")
284
+ p_range.add_argument(
285
+ "--feature", required=True, help="Property name (e.g. molecular_weight)"
286
+ )
287
+ p_range.add_argument("--min", required=True, help="Minimum value")
288
+ p_range.add_argument("--max", required=True, help="Maximum value")
289
+ p_range.add_argument("--output", required=True, help="Output JSON file path")
290
+
291
+ args = parser.parse_args()
292
+
293
+ if args.command == "resolve":
294
+ data = resolve(name=args.name, inchi=args.inchi)
295
+ elif args.command == "properties":
296
+ data = properties(args.cid)
297
+ elif args.command == "synonyms":
298
+ data = synonyms(args.cid)
299
+ elif args.command == "safety":
300
+ data = safety(args.cid)
301
+ elif args.command == "pharmacology":
302
+ data = pharmacology(args.cid)
303
+ elif args.command == "view":
304
+ data = view(args.cid, args.heading)
305
+ elif args.command == "xrefs":
306
+ data = xrefs(args.cid, args.type)
307
+ elif args.command == "query":
308
+ data = query(args.path)
309
+ elif args.command == "image":
310
+ data = image(args.cid)
311
+ elif args.command == "similarity":
312
+ data = similarity(args.smiles)
313
+ elif args.command == "substructure":
314
+ data = substructure(args.smiles)
315
+ elif args.command == "assays":
316
+ data = assays(args.cid, active_only=args.active_only)
317
+ elif args.command == "range":
318
+ data = range_search(args.feature, args.min, args.max)
319
+ else:
320
+ print("Unknown command")
321
+ sys.exit(1)
322
+
323
+ write_output(data, args.output)
324
+
325
+
326
+ if __name__ == "__main__":
327
+ main()
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: uv
3
+ description: >-
4
+ Checks whether the uv Python package manager is installed and installs it if
5
+ missing. Ensures uv is on PATH. Use when another skill requires uv as a
6
+ prerequisite.
7
+ ---
8
+
9
+ # uv (Python Package Manager)
10
+
11
+ `uv` is a fast Python package manager used by Science Skills to run their Python
12
+ CLI scripts. Many skills depend on `uv` being installed and on PATH.
13
+
14
+ Ensure `uv` is available before running any skill that depends on it.
15
+
16
+ ## Setup
17
+
18
+ 1. Check if `uv` is already available: `uv --version` If this succeeds, `uv` is
19
+ ready — skip the remaining steps.
20
+ 2. Check whether `uv` is installed at its default location but not on PATH:
21
+ `"$HOME/.local/bin/uv" --version` If this succeeds, skip to step 4.
22
+ 3. If uv is not installed do both these steps in order:
23
+ (a) Tell the user that uv is a tool for creating a consistent and reliable
24
+ Python environment used for running the Science Skills, and that you
25
+ need to install it now.
26
+ (b) Install `uv`: `curl -LsSf https://astral.sh/uv/install.sh | sh`
27
+ 4. Add `uv` to PATH and verify (run as a single command): `export
28
+ PATH="$HOME/.local/bin:$PATH" && uv --version`
29
+
30
+ After setup, bare `uv` commands should work without repeating the export.
@@ -1,108 +0,0 @@
1
- ---
2
- name: academic-research-hub
3
- description: "Use this skill when users need to search academic papers, download research documents, extract citations, or gather scholarly information. Triggers include: requests to \"find papers on\", \"search research about\", \"download academic articles\", \"get citations for\", or any request involving academic databases like arXiv, PubMed, Semantic Scholar, or Google Scholar. Also use for literature reviews, bibliography generation, and research discovery."
4
- license: Proprietary
5
- layer: base
6
- skill_type: tool
7
- dependencies:
8
- - multi-search-engine
9
- ---
10
- # Academic Research Hub
11
-
12
- ## Overview
13
-
14
- Academic Research Hub provides unified access to multiple academic databases (arXiv, PubMed, Semantic Scholar, etc.) for searching papers, downloading PDFs, extracting citations, and generating bibliographies. It is the recommended tool for literature review and reference management in NeuroClaw.
15
-
16
- **Prerequisite:** Install [OpenClawCLI](https://clawhub.ai/) (Windows, MacOS)
17
-
18
- ## Installation
19
-
20
- **Best Practices:**
21
-
22
- ```bash
23
- # Standard installation
24
- pip install arxiv scholarly pubmed-parser semanticscholar requests
25
-
26
- # If you encounter permission errors, use a virtual environment
27
- python -m venv venv
28
- source venv/bin/activate # On Windows: venv\Scripts\activate
29
- pip install arxiv scholarly pubmed-parser semanticscholar requests
30
- ```
31
-
32
- **Never use `--break-system-packages`** as it can damage your system's Python installation.
33
-
34
- ## Quick Reference
35
-
36
- | Task | Command |
37
- |-------------------------|------------------------------------------------------|
38
- | Search arXiv | `python scripts/research.py arxiv "quantum computing"` |
39
- | Search PubMed | `python scripts/research.py pubmed "covid vaccine"` |
40
- | Search Semantic Scholar | `python scripts/research.py semantic "machine learning"` |
41
- | Download papers | `python scripts/research.py arxiv "topic" --download` |
42
- | Get citations | `python scripts/research.py arxiv "topic" --citations` |
43
- | Generate bibliography | `python scripts/research.py arxiv "topic" --format bibtex` |
44
- | Save results | `python scripts/research.py arxiv "topic" --output results.json` |
45
-
46
- ## Core Features
47
-
48
- - Multi-source search (arXiv, PubMed, Semantic Scholar, Google Scholar)
49
- - Full-text PDF download
50
- - Citation extraction (BibTeX, RIS, JSON, plain text)
51
- - Comprehensive metadata retrieval (title, authors, abstract, DOI, citation count, etc.)
52
-
53
- ## When to Call This Skill
54
-
55
- - Need to search for recent papers on a specific topic
56
- - Build literature reviews or bibliographies
57
- - Download PDFs for local reading
58
- - Extract citations for `paper-writing`
59
- - Use inside `research-idea` or `method-design` workflows
60
-
61
- ## Benchmark Adapter Guidance
62
-
63
- Use this skill as the preferred retrieval backbone for benchmark-style academic search tasks, but do not reimplement a full multi-source aggregator unless the task truly needs unsupported sources or an output schema the script does not emit directly.
64
-
65
- - Reuse `scripts/research.py` first for the sources it already supports: `arxiv`, `pubmed`, and `semantic`.
66
- - Treat the script outputs as normalized retrieval inputs, then add only a thin adapter layer for:
67
- - benchmark-specific file naming and output directories,
68
- - light field renaming or schema normalization,
69
- - per-task date-window filtering,
70
- - source-level merge/dedup metadata,
71
- - degraded-run logging when one source is unavailable.
72
- - Do not replace the whole workflow with a brand-new all-in-one crawler if the task can be satisfied by composing this skill with a small adapter.
73
- - If a task requires an unsupported source such as OpenReview, keep this skill for the supported sources and implement only the missing source plus the final merge/export layer.
74
- - Preferred pattern for benchmark tasks:
75
- 1. call `research.py` separately for each supported source,
76
- 2. cache or save raw source outputs,
77
- 3. normalize to the benchmark schema,
78
- 4. add unsupported sources only as narrow supplemental branches,
79
- 5. export one final task-specific JSON artifact.
80
-
81
- ### Benchmark-Facing Default Mainline
82
-
83
- For tasks like recent multi-platform paper search:
84
-
85
- 1. Use `research.py arxiv ... --output ...json`.
86
- 2. Use `research.py pubmed ... --output ...json`.
87
- 3. Use `research.py semantic ... --output ...json`.
88
- 4. Apply a thin adapter script to enforce:
89
- - last-N-days filtering,
90
- - newest-first sorting,
91
- - benchmark key names such as `semantic_scholar`,
92
- - task-level metadata and degraded status,
93
- - final merged export path.
94
- 5. Add OpenReview only if the task explicitly requires it and keep failure there as an expected degraded branch rather than rebuilding the entire supported-source stack.
95
-
96
- ## Complementary / Related Skills
97
-
98
- - `multi-search-engine` → general web/academic search
99
-
100
- ## Reference
101
-
102
- - Official documentation and APIs: arXiv, PubMed, Semantic Scholar
103
- - OpenClawCLI: https://clawhub.ai/
104
-
105
- ---
106
- Created At: 2026-03-25 18:20 HKT
107
- Last Updated At: 2026-03-25 18:20 HKT
108
- Author: chengwang96
@@ -1,17 +0,0 @@
1
- # Academic Research Hub - Python Dependencies
2
-
3
- # arXiv search
4
- arxiv>=2.0.0
5
-
6
- # Semantic Scholar search
7
- semanticscholar>=0.8.0
8
-
9
- # PubMed search (via BioPython)
10
- biopython>=1.81
11
-
12
- # HTTP requests
13
- requests>=2.31.0
14
-
15
- # Optional: For enhanced parsing
16
- beautifulsoup4>=4.12.0
17
- lxml>=4.9.0