@brainpilot/skills 0.0.11 → 0.0.13

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 (405) 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/fmriprep/SKILL.md +256 -0
  5. package/skills/06_fMRI_Neuroimaging/fmriprep/references/bids-filter.md +287 -0
  6. package/skills/06_fMRI_Neuroimaging/fmriprep/references/citation.md +284 -0
  7. package/skills/06_fMRI_Neuroimaging/fmriprep/references/cli-reference.md +260 -0
  8. package/skills/06_fMRI_Neuroimaging/fmriprep/references/confounds.md +344 -0
  9. package/skills/06_fMRI_Neuroimaging/fmriprep/references/installation.md +346 -0
  10. package/skills/06_fMRI_Neuroimaging/fmriprep/references/outputs.md +369 -0
  11. package/skills/06_fMRI_Neuroimaging/fmriprep/references/sdc-fieldmaps.md +306 -0
  12. package/skills/06_fMRI_Neuroimaging/fmriprep/references/spaces.md +334 -0
  13. package/skills/06_fMRI_Neuroimaging/fmriprep/references/troubleshooting-faq.md +419 -0
  14. package/skills/06_fMRI_Neuroimaging/fmriprep/references/usage-examples.md +465 -0
  15. package/skills/06_fMRI_Neuroimaging/fmriprep/references/versions-dependencies.md +228 -0
  16. package/skills/06_fMRI_Neuroimaging/fmriprep/references/workflows.md +392 -0
  17. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/SKILL.md +212 -0
  18. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/datasets.md +252 -0
  19. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/interface-plotting.md +238 -0
  20. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/metrics.md +236 -0
  21. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/networks.md +273 -0
  22. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/spatial-modularity.md +291 -0
  23. package/skills/06_fMRI_Neuroimaging/netneurotools-guide/references/stats.md +290 -0
  24. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/SKILL.md +116 -0
  25. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/references/citation.bib +58 -0
  26. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/scripts/analyze_pae.py +212 -0
  27. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/scripts/analyze_plddt.py +125 -0
  28. package/skills/09_Cellular_Molecular_Neuroscience/alphafold-database-fetch-and-analyze/scripts/fetch_structure.py +168 -0
  29. package/skills/09_Cellular_Molecular_Neuroscience/gtex-database/SKILL.md +176 -0
  30. package/skills/09_Cellular_Molecular_Neuroscience/gtex-database/references/citation.bib +14 -0
  31. package/skills/09_Cellular_Molecular_Neuroscience/gtex-database/scripts/gtex_cli.py +281 -0
  32. package/skills/09_Cellular_Molecular_Neuroscience/human-protein-atlas-database/SKILL.md +181 -0
  33. package/skills/09_Cellular_Molecular_Neuroscience/human-protein-atlas-database/references/citation.bib +14 -0
  34. package/skills/09_Cellular_Molecular_Neuroscience/human-protein-atlas-database/references/search-api.md +137 -0
  35. package/skills/09_Cellular_Molecular_Neuroscience/human-protein-atlas-database/scripts/hpa_cli.py +263 -0
  36. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/SKILL.md +169 -0
  37. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/references/citation.bib +15 -0
  38. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/scripts/download_coordinate_files.py +113 -0
  39. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/scripts/fetch_pdb_metadata.py +70 -0
  40. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/scripts/fetch_schema.py +251 -0
  41. package/skills/09_Cellular_Molecular_Neuroscience/pdb-database/scripts/search_pdb.py +187 -0
  42. package/skills/09_Cellular_Molecular_Neuroscience/pymol/SKILL.md +146 -0
  43. package/skills/09_Cellular_Molecular_Neuroscience/pymol/references/PYMOL_REFERENCE.md +160 -0
  44. package/skills/09_Cellular_Molecular_Neuroscience/pymol/references/RECIPES.md +348 -0
  45. package/skills/09_Cellular_Molecular_Neuroscience/pymol/references/citation.bib +6 -0
  46. package/skills/17_Literature_Databases/literature-search-arxiv/SKILL.md +120 -0
  47. package/skills/17_Literature_Databases/literature-search-arxiv/references/citation.bib +18 -0
  48. package/skills/17_Literature_Databases/literature-search-arxiv/references/query_syntax.md +34 -0
  49. package/skills/17_Literature_Databases/literature-search-arxiv/scripts/download_paper.py +116 -0
  50. package/skills/17_Literature_Databases/literature-search-arxiv/scripts/download_paper_source.py +98 -0
  51. package/skills/17_Literature_Databases/literature-search-arxiv/scripts/search_arxiv.py +174 -0
  52. package/skills/17_Literature_Databases/literature-search-biorxiv/SKILL.md +169 -0
  53. package/skills/17_Literature_Databases/literature-search-biorxiv/references/citation.bib +12 -0
  54. package/skills/17_Literature_Databases/literature-search-biorxiv/scripts/search_by_dates.py +297 -0
  55. package/skills/17_Literature_Databases/literature-search-biorxiv/scripts/search_by_doi.py +72 -0
  56. package/skills/17_Literature_Databases/literature-search-europepmc/SKILL.md +229 -0
  57. package/skills/17_Literature_Databases/literature-search-europepmc/references/citation.bib +15 -0
  58. package/skills/17_Literature_Databases/literature-search-europepmc/scripts/europepmc_api.py +345 -0
  59. package/skills/17_Literature_Databases/literature-search-openalex/SKILL.md +169 -0
  60. package/skills/17_Literature_Databases/literature-search-openalex/references/authors.md +78 -0
  61. package/skills/17_Literature_Databases/literature-search-openalex/references/citation.bib +8 -0
  62. package/skills/17_Literature_Databases/literature-search-openalex/references/geo_and_language.md +37 -0
  63. package/skills/17_Literature_Databases/literature-search-openalex/references/institutions.md +64 -0
  64. package/skills/17_Literature_Databases/literature-search-openalex/references/publishers_funders.md +42 -0
  65. package/skills/17_Literature_Databases/literature-search-openalex/references/sources.md +79 -0
  66. package/skills/17_Literature_Databases/literature-search-openalex/references/taxonomy.md +52 -0
  67. package/skills/17_Literature_Databases/literature-search-openalex/references/topics.md +29 -0
  68. package/skills/17_Literature_Databases/literature-search-openalex/references/type_values.md +65 -0
  69. package/skills/17_Literature_Databases/literature-search-openalex/references/works.md +304 -0
  70. package/skills/17_Literature_Databases/literature-search-openalex/scripts/openalex_cli.py +633 -0
  71. package/skills/17_Literature_Databases/pubmed-database/SKILL.md +185 -0
  72. package/skills/17_Literature_Databases/pubmed-database/references/advanced-linking.md +128 -0
  73. package/skills/17_Literature_Databases/pubmed-database/references/advanced-search.md +98 -0
  74. package/skills/17_Literature_Databases/pubmed-database/references/bulk-workflows.md +88 -0
  75. package/skills/17_Literature_Databases/pubmed-database/references/citation-matching.md +155 -0
  76. package/skills/17_Literature_Databases/pubmed-database/references/citation.bib +15 -0
  77. package/skills/17_Literature_Databases/pubmed-database/references/cross-database-linking.md +93 -0
  78. package/skills/17_Literature_Databases/pubmed-database/references/fetch-and-resolve.md +125 -0
  79. package/skills/17_Literature_Databases/pubmed-database/references/search-and-discovery.md +106 -0
  80. package/skills/17_Literature_Databases/pubmed-database/references/utilities.md +42 -0
  81. package/skills/17_Literature_Databases/pubmed-database/scripts/pubmed_api.py +715 -0
  82. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/SKILL.md +251 -0
  83. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/pyproject.toml +15 -0
  84. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/references/citation.bib +12 -0
  85. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/analyze_ism.py +334 -0
  86. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/generate_ontology_mapping.py +170 -0
  87. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/interpret_splicing.py +305 -0
  88. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/lookup_gene_info.py +337 -0
  89. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/resolve_ontology_terms.py +155 -0
  90. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/visualize_genome_tracks.py +402 -0
  91. package/skills/18_Genetics_Genomics/alphagenome-single-variant-analysis/scripts/visualize_variant_effects.py +1198 -0
  92. package/skills/18_Genetics_Genomics/clinvar-database/SKILL.md +370 -0
  93. package/skills/18_Genetics_Genomics/clinvar-database/references/citation.bib +23 -0
  94. package/skills/18_Genetics_Genomics/clinvar-database/scripts/clinvar_api.py +711 -0
  95. package/skills/18_Genetics_Genomics/dbsnp-database/SKILL.md +350 -0
  96. package/skills/18_Genetics_Genomics/dbsnp-database/references/api-notes.md +88 -0
  97. package/skills/18_Genetics_Genomics/dbsnp-database/references/citation.bib +12 -0
  98. package/skills/18_Genetics_Genomics/dbsnp-database/scripts/dbsnp_cli.py +625 -0
  99. package/skills/18_Genetics_Genomics/gnomad-database/SKILL.md +73 -0
  100. package/skills/18_Genetics_Genomics/gnomad-database/references/citation.bib +14 -0
  101. package/skills/18_Genetics_Genomics/gnomad-database/scripts/get_gene_constraint.py +90 -0
  102. package/skills/18_Genetics_Genomics/gnomad-database/scripts/get_variant_frequency.py +181 -0
  103. package/skills/18_Genetics_Genomics/gnomad-database/scripts/search_variants.py +207 -0
  104. package/skills/19_Pharmacology/chembl-database/SKILL.md +283 -0
  105. package/skills/19_Pharmacology/chembl-database/references/api_endpoints.md +97 -0
  106. package/skills/19_Pharmacology/chembl-database/references/citation.bib +30 -0
  107. package/skills/19_Pharmacology/chembl-database/scripts/chembl_api.py +657 -0
  108. package/skills/19_Pharmacology/clinical-trials-database/SKILL.md +378 -0
  109. package/skills/19_Pharmacology/clinical-trials-database/references/citation.bib +11 -0
  110. package/skills/19_Pharmacology/clinical-trials-database/references/clinical_trials_api.md +187 -0
  111. package/skills/19_Pharmacology/clinical-trials-database/references/studies_schema.md +143 -0
  112. package/skills/19_Pharmacology/clinical-trials-database/scripts/clinical_trials_api.py +373 -0
  113. package/skills/19_Pharmacology/openfda-database/SKILL.md +225 -0
  114. package/skills/19_Pharmacology/openfda-database/references/api_endpoints.md +207 -0
  115. package/skills/19_Pharmacology/openfda-database/references/citation.bib +15 -0
  116. package/skills/19_Pharmacology/openfda-database/references/recipes.md +150 -0
  117. package/skills/19_Pharmacology/openfda-database/scripts/openfda_query.py +505 -0
  118. package/skills/19_Pharmacology/opentargets-database/SKILL.md +198 -0
  119. package/skills/19_Pharmacology/opentargets-database/references/OpenTargets_GraphQL_Guide.md +216 -0
  120. package/skills/19_Pharmacology/opentargets-database/references/citation.bib +15 -0
  121. package/skills/19_Pharmacology/opentargets-database/scripts/query_opentargets.py +533 -0
  122. package/skills/19_Pharmacology/pubchem-database/SKILL.md +164 -0
  123. package/skills/19_Pharmacology/pubchem-database/references/citation.bib +15 -0
  124. package/skills/19_Pharmacology/pubchem-database/references/endpoints.md +71 -0
  125. package/skills/19_Pharmacology/pubchem-database/references/workflows.md +32 -0
  126. package/skills/19_Pharmacology/pubchem-database/scripts/pubchem_api.py +327 -0
  127. package/skills/20_Infrastructure/uv/SKILL.md +30 -0
  128. package/skills/01_Meta-Skills/academic-research-hub/SKILL.md +0 -108
  129. package/skills/01_Meta-Skills/academic-research-hub/scripts/requirements.txt +0 -17
  130. package/skills/01_Meta-Skills/academic-research-hub/scripts/research.py +0 -781
  131. package/skills/01_Meta-Skills/beautiful-log/SKILL.md +0 -64
  132. package/skills/01_Meta-Skills/beautiful-log/scripts/beautiful_log.py +0 -274
  133. package/skills/01_Meta-Skills/ethoclaw-daily-paper/SKILL.md +0 -130
  134. package/skills/01_Meta-Skills/ethoclaw-daily-paper/assets/config.template.yaml +0 -54
  135. package/skills/01_Meta-Skills/ethoclaw-daily-paper/assets/top5_digest_template.md +0 -5
  136. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/build_top5_digest.py +0 -300
  137. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/common.py +0 -137
  138. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/merge_results.py +0 -106
  139. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/run_pipeline.py +0 -177
  140. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/search_arxiv.py +0 -162
  141. package/skills/01_Meta-Skills/ethoclaw-daily-paper/scripts/search_pubmed.py +0 -202
  142. package/skills/01_Meta-Skills/ethoclaw-normalize-tabular/SKILL.md +0 -173
  143. package/skills/01_Meta-Skills/ethoclaw-normalize-tabular/scripts/normalize_data.py +0 -874
  144. package/skills/01_Meta-Skills/ethoclaw-pdf-research/SKILL.md +0 -134
  145. package/skills/01_Meta-Skills/ethoclaw-pdf-research/references/confirmation-prompts.md +0 -31
  146. package/skills/01_Meta-Skills/ethoclaw-pdf-research/references/output-patterns.md +0 -45
  147. package/skills/01_Meta-Skills/ethoclaw-pdf-research/scripts/build_markdown_deliverables.py +0 -41
  148. package/skills/01_Meta-Skills/ethoclaw-pdf-research/scripts/build_research_log.py +0 -84
  149. package/skills/01_Meta-Skills/ethoclaw-pdf-research/scripts/build_summary_md.py +0 -63
  150. package/skills/01_Meta-Skills/ethoclaw-pdf-research/scripts/extract_pdf_bundle.py +0 -140
  151. package/skills/01_Meta-Skills/experiment-controller/SKILL.md +0 -140
  152. package/skills/01_Meta-Skills/knowledge-graph-builder/SKILL.md +0 -366
  153. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/entity_resolution.py +0 -120
  154. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/extraction_prompt_template.txt +0 -19
  155. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/graph_query.py +0 -106
  156. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/hypothesis_cli_reference.py +0 -42
  157. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/new_data_source_template.py +0 -116
  158. package/skills/01_Meta-Skills/knowledge-graph-builder/scripts/requirements.txt +0 -15
  159. package/skills/01_Meta-Skills/method-design/SKILL.md +0 -61
  160. package/skills/01_Meta-Skills/multi-search-engine/SKILL.md +0 -119
  161. package/skills/01_Meta-Skills/research-idea/SKILL.md +0 -65
  162. package/skills/05_EEG_ERP/eeg-skill/SKILL.md +0 -197
  163. package/skills/05_EEG_ERP/meg-skill/SKILL.md +0 -188
  164. package/skills/05_EEG_ERP/meg-skill/scripts/time_frequency.py +0 -223
  165. package/skills/05_EEG_ERP/mne-eeg-tool/SKILL.md +0 -165
  166. package/skills/05_EEG_ERP/mne-eeg-tool/scripts/eeg_pipeline_reference.py +0 -231
  167. package/skills/05_EEG_ERP/seed-iv-skill/SKILL.md +0 -184
  168. package/skills/05_EEG_ERP/seed-iv-skill/scripts/classify_seed_iv.py +0 -154
  169. package/skills/05_EEG_ERP/seed-iv-skill/scripts/extract_seed_iv_features.py +0 -190
  170. package/skills/05_EEG_ERP/seed-iv-skill/scripts/validate_seed_iv.py +0 -102
  171. package/skills/05_EEG_ERP/seed-vig-skill/SKILL.md +0 -182
  172. package/skills/05_EEG_ERP/seed-vig-skill/scripts/classify_seed_vig.py +0 -165
  173. package/skills/05_EEG_ERP/seed-vig-skill/scripts/extract_seed_vig_features.py +0 -185
  174. package/skills/05_EEG_ERP/seed-vig-skill/scripts/validate_seed_vig.py +0 -88
  175. package/skills/06_fMRI_Neuroimaging/abcd-skill/SKILL.md +0 -308
  176. package/skills/06_fMRI_Neuroimaging/abcd-skill/scripts/abcd_qc_summary.py +0 -449
  177. package/skills/06_fMRI_Neuroimaging/abcd-skill/scripts/extract_abcd_phenotype.py +0 -292
  178. package/skills/06_fMRI_Neuroimaging/abcd-skill/scripts/reorganize_abcd.py +0 -387
  179. package/skills/06_fMRI_Neuroimaging/abide-skill/SKILL.md +0 -302
  180. package/skills/06_fMRI_Neuroimaging/abide-skill/scripts/abide_qc_summary.py +0 -317
  181. package/skills/06_fMRI_Neuroimaging/abide-skill/scripts/extract_abide_phenotype.py +0 -267
  182. package/skills/06_fMRI_Neuroimaging/abide-skill/scripts/reorganize_abide.py +0 -387
  183. package/skills/06_fMRI_Neuroimaging/adhd200-skill/SKILL.md +0 -244
  184. package/skills/06_fMRI_Neuroimaging/adhd200-skill/scripts/adhd200_qc_summary.py +0 -98
  185. package/skills/06_fMRI_Neuroimaging/adhd200-skill/scripts/extract_adhd200_phenotype.py +0 -134
  186. package/skills/06_fMRI_Neuroimaging/adhd200-skill/scripts/reorganize_adhd200.py +0 -206
  187. package/skills/06_fMRI_Neuroimaging/adni-skill/SKILL.md +0 -358
  188. package/skills/06_fMRI_Neuroimaging/adni-skill/scripts/generate_adni_task_files.py +0 -1305
  189. package/skills/06_fMRI_Neuroimaging/adni-skill/scripts/generate_vqa_from_tasks.py +0 -766
  190. package/skills/06_fMRI_Neuroimaging/adni-skill/scripts/reorganize_adni.py +0 -491
  191. package/skills/06_fMRI_Neuroimaging/aibl-skill/SKILL.md +0 -295
  192. package/skills/06_fMRI_Neuroimaging/aibl-skill/scripts/aibl_qc_summary.py +0 -260
  193. package/skills/06_fMRI_Neuroimaging/aibl-skill/scripts/extract_aibl_phenotype.py +0 -365
  194. package/skills/06_fMRI_Neuroimaging/aibl-skill/scripts/reorganize_aibl.py +0 -394
  195. package/skills/06_fMRI_Neuroimaging/aomic-skill/SKILL.md +0 -292
  196. package/skills/06_fMRI_Neuroimaging/aomic-skill/scripts/aomic_qc_summary.py +0 -258
  197. package/skills/06_fMRI_Neuroimaging/aomic-skill/scripts/extract_aomic_phenotype.py +0 -284
  198. package/skills/06_fMRI_Neuroimaging/aomic-skill/scripts/reorganize_aomic.py +0 -322
  199. package/skills/06_fMRI_Neuroimaging/asl-skill/SKILL.md +0 -168
  200. package/skills/06_fMRI_Neuroimaging/asl-skill/scripts/compute_cbf.py +0 -224
  201. package/skills/06_fMRI_Neuroimaging/bids-organizer/SKILL.md +0 -241
  202. package/skills/06_fMRI_Neuroimaging/bold5000-skill/SKILL.md +0 -186
  203. package/skills/06_fMRI_Neuroimaging/bold5000-skill/scripts/bold5000_qc_summary.py +0 -96
  204. package/skills/06_fMRI_Neuroimaging/bold5000-skill/scripts/extract_bold5000_stimulus.py +0 -125
  205. package/skills/06_fMRI_Neuroimaging/bold5000-skill/scripts/reorganize_bold5000.py +0 -102
  206. package/skills/06_fMRI_Neuroimaging/camcan-skill/SKILL.md +0 -213
  207. package/skills/06_fMRI_Neuroimaging/camcan-skill/scripts/camcan_qc_summary.py +0 -131
  208. package/skills/06_fMRI_Neuroimaging/camcan-skill/scripts/extract_camcan_phenotype.py +0 -145
  209. package/skills/06_fMRI_Neuroimaging/camcan-skill/scripts/validate_camcan.py +0 -141
  210. package/skills/06_fMRI_Neuroimaging/cobre-skill/SKILL.md +0 -201
  211. package/skills/06_fMRI_Neuroimaging/cobre-skill/scripts/cobre_qc_summary.py +0 -95
  212. package/skills/06_fMRI_Neuroimaging/cobre-skill/scripts/extract_cobre_phenotype.py +0 -104
  213. package/skills/06_fMRI_Neuroimaging/cobre-skill/scripts/reorganize_cobre.py +0 -140
  214. package/skills/06_fMRI_Neuroimaging/conn-tool/SKILL.md +0 -180
  215. package/skills/06_fMRI_Neuroimaging/dcm2nii/SKILL.md +0 -189
  216. package/skills/06_fMRI_Neuroimaging/dmt-har-med-skill/SKILL.md +0 -183
  217. package/skills/06_fMRI_Neuroimaging/dmt-har-med-skill/scripts/dmt_har_med_qc_summary.py +0 -96
  218. package/skills/06_fMRI_Neuroimaging/dmt-har-med-skill/scripts/extract_dmt_har_med_phenotype.py +0 -121
  219. package/skills/06_fMRI_Neuroimaging/dmt-har-med-skill/scripts/reorganize_dmt_har_med.py +0 -125
  220. package/skills/06_fMRI_Neuroimaging/dwi-skill/SKILL.md +0 -359
  221. package/skills/06_fMRI_Neuroimaging/fmri-skill/SKILL.md +0 -371
  222. package/skills/06_fMRI_Neuroimaging/fmriprep-tool/SKILL.md +0 -228
  223. package/skills/06_fMRI_Neuroimaging/freesurfer-tool/SKILL.md +0 -286
  224. package/skills/06_fMRI_Neuroimaging/freesurfer-tool/scripts/freesurfer_processor.py +0 -145
  225. package/skills/06_fMRI_Neuroimaging/fsl-tool/SKILL.md +0 -208
  226. package/skills/06_fMRI_Neuroimaging/hbn-skill/SKILL.md +0 -271
  227. package/skills/06_fMRI_Neuroimaging/hbn-skill/scripts/extract_hbn_phenotype.py +0 -107
  228. package/skills/06_fMRI_Neuroimaging/hbn-skill/scripts/hbn_qc_summary.py +0 -96
  229. package/skills/06_fMRI_Neuroimaging/hbn-skill/scripts/reorganize_hbn.py +0 -150
  230. package/skills/06_fMRI_Neuroimaging/hcpa-skill/SKILL.md +0 -210
  231. package/skills/06_fMRI_Neuroimaging/hcpa-skill/scripts/extract_hcpa_phenotype.py +0 -146
  232. package/skills/06_fMRI_Neuroimaging/hcpa-skill/scripts/hcpa_qc_summary.py +0 -120
  233. package/skills/06_fMRI_Neuroimaging/hcpa-skill/scripts/reorganize_hcpa.py +0 -155
  234. package/skills/06_fMRI_Neuroimaging/hcpd-skill/SKILL.md +0 -210
  235. package/skills/06_fMRI_Neuroimaging/hcpd-skill/scripts/extract_hcpd_phenotype.py +0 -148
  236. package/skills/06_fMRI_Neuroimaging/hcpd-skill/scripts/hcpd_qc_summary.py +0 -125
  237. package/skills/06_fMRI_Neuroimaging/hcpd-skill/scripts/reorganize_hcpd.py +0 -146
  238. package/skills/06_fMRI_Neuroimaging/hcpep-skill/SKILL.md +0 -215
  239. package/skills/06_fMRI_Neuroimaging/hcpep-skill/scripts/extract_hcpep_phenotype.py +0 -157
  240. package/skills/06_fMRI_Neuroimaging/hcpep-skill/scripts/hcpep_qc_summary.py +0 -143
  241. package/skills/06_fMRI_Neuroimaging/hcpep-skill/scripts/reorganize_hcpep.py +0 -146
  242. package/skills/06_fMRI_Neuroimaging/hcppipeline-tool/SKILL.md +0 -217
  243. package/skills/06_fMRI_Neuroimaging/hcpya-skill/SKILL.md +0 -214
  244. package/skills/06_fMRI_Neuroimaging/hcpya-skill/scripts/extract_hcpya_phenotype.py +0 -190
  245. package/skills/06_fMRI_Neuroimaging/hcpya-skill/scripts/hcpya_qc_summary.py +0 -152
  246. package/skills/06_fMRI_Neuroimaging/hcpya-skill/scripts/reorganize_hcpya.py +0 -203
  247. package/skills/06_fMRI_Neuroimaging/ixi-skill/SKILL.md +0 -198
  248. package/skills/06_fMRI_Neuroimaging/ixi-skill/scripts/ixi_qc_summary.py +0 -137
  249. package/skills/06_fMRI_Neuroimaging/ixi-skill/scripts/reorganize_ixi.py +0 -190
  250. package/skills/06_fMRI_Neuroimaging/mnd-skill/SKILL.md +0 -191
  251. package/skills/06_fMRI_Neuroimaging/mnd-skill/scripts/extract_mnd_phenotype.py +0 -143
  252. package/skills/06_fMRI_Neuroimaging/mnd-skill/scripts/mnd_qc_summary.py +0 -120
  253. package/skills/06_fMRI_Neuroimaging/mnd-skill/scripts/validate_mnd.py +0 -107
  254. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/SKILL.md +0 -203
  255. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/scripts/analyze_lesions.py +0 -119
  256. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/scripts/longitudinal_lesion.py +0 -148
  257. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/scripts/mschallenge_qc_summary.py +0 -132
  258. package/skills/06_fMRI_Neuroimaging/mschallenge-skill/scripts/validate_mschallenge.py +0 -116
  259. package/skills/06_fMRI_Neuroimaging/nibabel-skill/SKILL.md +0 -184
  260. package/skills/06_fMRI_Neuroimaging/nibabel-skill/scripts/atlas_coordinate_reference.py +0 -61
  261. package/skills/06_fMRI_Neuroimaging/nibabel-skill/scripts/freesurfer_io_reference.py +0 -34
  262. package/skills/06_fMRI_Neuroimaging/nibabel-skill/scripts/nifti_inspection_reference.py +0 -35
  263. package/skills/06_fMRI_Neuroimaging/nifd-skill/SKILL.md +0 -205
  264. package/skills/06_fMRI_Neuroimaging/nifd-skill/scripts/extract_nifd_phenotype.py +0 -132
  265. package/skills/06_fMRI_Neuroimaging/nifd-skill/scripts/nifd_qc_summary.py +0 -111
  266. package/skills/06_fMRI_Neuroimaging/nifd-skill/scripts/validate_nifd.py +0 -111
  267. package/skills/06_fMRI_Neuroimaging/nii2dcm/SKILL.md +0 -143
  268. package/skills/06_fMRI_Neuroimaging/nilearn-tool/SKILL.md +0 -266
  269. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/connectome_reference.py +0 -65
  270. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/denoise_timeseries_reference.py +0 -58
  271. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/hierarchical_parcellation_reference.py +0 -53
  272. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/kmeans_parcellation_reference.py +0 -53
  273. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/preprocess_bold_reference.py +0 -76
  274. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/rest_dictlearning_reference.py +0 -56
  275. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/rest_ica_reference.py +0 -59
  276. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/second_level_glm_reference.py +0 -58
  277. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/spacenet_classifier_reference.py +0 -59
  278. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/svm_classifier_reference.py +0 -60
  279. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/task_glm_reference.py +0 -63
  280. package/skills/06_fMRI_Neuroimaging/nilearn-tool/scripts/zalff_summary_reference.py +0 -109
  281. package/skills/06_fMRI_Neuroimaging/nsd-skill/SKILL.md +0 -210
  282. package/skills/06_fMRI_Neuroimaging/nsd-skill/scripts/extract_nsd_stimulus.py +0 -171
  283. package/skills/06_fMRI_Neuroimaging/nsd-skill/scripts/nsd_qc_summary.py +0 -142
  284. package/skills/06_fMRI_Neuroimaging/nsd-skill/scripts/validate_nsd.py +0 -142
  285. package/skills/06_fMRI_Neuroimaging/oasis-skill/SKILL.md +0 -205
  286. package/skills/06_fMRI_Neuroimaging/oasis-skill/scripts/extract_oasis_phenotype.py +0 -126
  287. package/skills/06_fMRI_Neuroimaging/oasis-skill/scripts/oasis_qc_summary.py +0 -115
  288. package/skills/06_fMRI_Neuroimaging/oasis-skill/scripts/validate_oasis.py +0 -119
  289. package/skills/06_fMRI_Neuroimaging/pet-skill/SKILL.md +0 -173
  290. package/skills/06_fMRI_Neuroimaging/pet-skill/scripts/compute_suvr.py +0 -202
  291. package/skills/06_fMRI_Neuroimaging/pnc-skill/SKILL.md +0 -206
  292. package/skills/06_fMRI_Neuroimaging/pnc-skill/scripts/extract_pnc_phenotype.py +0 -136
  293. package/skills/06_fMRI_Neuroimaging/pnc-skill/scripts/pnc_qc_summary.py +0 -116
  294. package/skills/06_fMRI_Neuroimaging/pnc-skill/scripts/validate_pnc.py +0 -120
  295. package/skills/06_fMRI_Neuroimaging/ppmi-skill/SKILL.md +0 -209
  296. package/skills/06_fMRI_Neuroimaging/ppmi-skill/scripts/extract_ppmi_phenotype.py +0 -138
  297. package/skills/06_fMRI_Neuroimaging/ppmi-skill/scripts/ppmi_qc_summary.py +0 -111
  298. package/skills/06_fMRI_Neuroimaging/ppmi-skill/scripts/validate_ppmi.py +0 -117
  299. package/skills/06_fMRI_Neuroimaging/qsiprep-tool/SKILL.md +0 -320
  300. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/SKILL.md +0 -215
  301. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/scripts/extract_rest_mdd_phenotype.py +0 -132
  302. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/scripts/harmonize_sites.py +0 -152
  303. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/scripts/rest_mdd_qc_summary.py +0 -124
  304. package/skills/06_fMRI_Neuroimaging/rest-mneta-mdd-skill/scripts/validate_rest_mdd.py +0 -103
  305. package/skills/06_fMRI_Neuroimaging/smri-skill/SKILL.md +0 -302
  306. package/skills/06_fMRI_Neuroimaging/tcp-skill/SKILL.md +0 -204
  307. package/skills/06_fMRI_Neuroimaging/tcp-skill/scripts/extract_tcp_phenotype.py +0 -139
  308. package/skills/06_fMRI_Neuroimaging/tcp-skill/scripts/tcp_qc_summary.py +0 -111
  309. package/skills/06_fMRI_Neuroimaging/tcp-skill/scripts/validate_tcp.py +0 -99
  310. package/skills/06_fMRI_Neuroimaging/ucla-cnp-skill/SKILL.md +0 -217
  311. package/skills/06_fMRI_Neuroimaging/ucla-cnp-skill/scripts/extract_ucla_cnp_phenotype.py +0 -145
  312. package/skills/06_fMRI_Neuroimaging/ucla-cnp-skill/scripts/ucla_cnp_qc_summary.py +0 -111
  313. package/skills/06_fMRI_Neuroimaging/ucla-cnp-skill/scripts/validate_ucla_cnp.py +0 -113
  314. package/skills/06_fMRI_Neuroimaging/ukb-skill/SKILL.md +0 -310
  315. package/skills/06_fMRI_Neuroimaging/ukb-skill/scripts/build_ukb_survival.py +0 -210
  316. package/skills/06_fMRI_Neuroimaging/ukb-skill/scripts/extract_ukb_cases.py +0 -308
  317. package/skills/06_fMRI_Neuroimaging/ukb-skill/scripts/extract_ukb_phenotype.py +0 -232
  318. package/skills/06_fMRI_Neuroimaging/ukb-skill/scripts/ukb_qc_summary.py +0 -158
  319. package/skills/06_fMRI_Neuroimaging/wmh-segmentation/SKILL.md +0 -133
  320. package/skills/07_Computational_Modeling/detrending/SKILL.md +0 -118
  321. package/skills/07_Computational_Modeling/dictlearning/SKILL.md +0 -122
  322. package/skills/07_Computational_Modeling/filtering/SKILL.md +0 -121
  323. package/skills/07_Computational_Modeling/glm/SKILL.md +0 -153
  324. package/skills/07_Computational_Modeling/hierarchical/SKILL.md +0 -121
  325. package/skills/07_Computational_Modeling/ica/SKILL.md +0 -122
  326. package/skills/07_Computational_Modeling/kmeans/SKILL.md +0 -119
  327. package/skills/07_Computational_Modeling/run_models/SKILL.md +0 -427
  328. package/skills/07_Computational_Modeling/spacenet/SKILL.md +0 -122
  329. package/skills/07_Computational_Modeling/svm/SKILL.md +0 -120
  330. package/skills/08_Computational_Neuroscience/brain_gnn/SKILL.md +0 -183
  331. package/skills/08_Computational_Neuroscience/dipy-tool/SKILL.md +0 -239
  332. package/skills/08_Computational_Neuroscience/dipy-tool/scripts/dti_metrics_reference.py +0 -70
  333. package/skills/08_Computational_Neuroscience/dipy-tool/scripts/load_and_mask_reference.py +0 -76
  334. package/skills/08_Computational_Neuroscience/dipy-tool/scripts/roi_stats_reference.py +0 -59
  335. package/skills/08_Computational_Neuroscience/fm_app/SKILL.md +0 -195
  336. package/skills/08_Computational_Neuroscience/neurostorm/SKILL.md +0 -151
  337. package/skills/13_Visualization/brain-visualization/SKILL.md +0 -191
  338. package/skills/13_Visualization/brain-visualization/scripts/connectome_reference.py +0 -108
  339. package/skills/13_Visualization/brain-visualization/scripts/freesurfer_ply_reference.py +0 -54
  340. package/skills/13_Visualization/brain-visualization/scripts/zalff_summary_reference.py +0 -116
  341. package/skills/13_Visualization/ethoclaw-paper-figure-layout/SKILL.md +0 -78
  342. package/skills/13_Visualization/ethoclaw-paper-figure-layout/assets/naturecomm_figures.tex +0 -74
  343. package/skills/13_Visualization/ethoclaw-paper-figure-layout/scripts/layout_results_foldered.py +0 -579
  344. package/skills/14_Writing/overleaf-skill/SKILL.md +0 -184
  345. package/skills/14_Writing/overleaf-skill/scripts/install.sh +0 -30
  346. package/skills/14_Writing/paper-writing/SKILL.md +0 -146
  347. package/skills/14_Writing/paper-writing/scripts/data_statement_templates.py +0 -164
  348. package/skills/14_Writing/paper-writing/scripts/figure_templates.py +0 -315
  349. package/skills/14_Writing/paper-writing/scripts/nature_figure_style.py +0 -214
  350. package/skills/14_Writing/paper-writing/scripts/section_phrasebank.py +0 -246
  351. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/SKILL.md +0 -274
  352. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/report_template_en.html +0 -112
  353. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/report_template_en.md +0 -21
  354. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/cluster-section.md +0 -5
  355. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/heatmap-section.md +0 -5
  356. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/integrated-interpretation.md +0 -3
  357. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/overview.md +0 -3
  358. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/project-summary.md +0 -3
  359. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/radar-section.md +0 -5
  360. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/raw-trajectory.md +0 -3
  361. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/sample-check.md +0 -3
  362. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/single-subject-section.md +0 -3
  363. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/assets/section_templates/stats-section.md +0 -5
  364. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/epm.md +0 -52
  365. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/fst.md +0 -37
  366. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/nor.md +0 -39
  367. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/oft.md +0 -43
  368. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/tcst.md +0 -45
  369. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/experiment-types/tst.md +0 -36
  370. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/input-types.md +0 -59
  371. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/interpretation-guardrails.md +0 -45
  372. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/metadata-schema.md +0 -57
  373. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/report-sections.md +0 -86
  374. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/references/section-selection-rules.md +0 -169
  375. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/scripts/build_report_manifest.py +0 -27
  376. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/scripts/render_report.py +0 -34
  377. package/skills/16_Animal_Behavior/ethoclaw-analysis-report/scripts/report_utils.py +0 -1121
  378. package/skills/16_Animal_Behavior/ethoclaw-animal-grounding/SKILL.md +0 -390
  379. package/skills/16_Animal_Behavior/ethoclaw-animal-grounding/reference_code.py +0 -98
  380. package/skills/16_Animal_Behavior/ethoclaw-animal-pose-estimation/SKILL.md +0 -336
  381. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/README.md +0 -21
  382. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/SKILL.md +0 -41
  383. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/batch_kinematic_generator.py +0 -663
  384. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/config.json +0 -19
  385. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/generate_kinematic_parameter.py +0 -401
  386. package/skills/16_Animal_Behavior/ethoclaw-kinematic-parameter-generator/kinematic_generator.py +0 -265
  387. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-clustermap-generate/SKILL.md +0 -72
  388. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-clustermap-generate/references/config.example.toml +0 -56
  389. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-clustermap-generate/scripts/cluster_all_params.py +0 -232
  390. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-clustermap-generate/scripts/cluster_all_params_from_config.py +0 -236
  391. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-radar-generate/SKILL.md +0 -68
  392. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-radar-generate/references/notes.md +0 -5
  393. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-radar-generate/scripts/plot_h5_radar.py +0 -513
  394. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/SKILL.md +0 -52
  395. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/config.toml +0 -81
  396. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/references/stats-rule.md +0 -18
  397. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/scripts/h5_inspect.py +0 -79
  398. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/scripts/h5_violin_batch.py +0 -624
  399. package/skills/16_Animal_Behavior/ethoclaw-multiparameter-violin-stats-generate/scripts/h5_violin_stats.py +0 -438
  400. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/SKILL.md +0 -280
  401. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/core_scripts/heatmap_trajectory.py +0 -790
  402. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/core_scripts/heatmap_velocity.py +0 -855
  403. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/reference_data/reference_2d.csv +0 -101
  404. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/reference_data/reference_2d.h5 +0 -0
  405. package/skills/16_Animal_Behavior/ethoclaw-trajectory-velocity-heatmap-generate/reference_data/reference_data_readme.md +0 -126
@@ -1,184 +0,0 @@
1
- ---
2
- name: overleaf-skill
3
- description: "Use this skill whenever the user wants to synchronize NeuroClaw-generated LaTeX manuscripts with Overleaf, read/write .tex files, download/upload projects, create/rename/archive projects, compare versions, or manage project structure. Triggers include: 'sync to Overleaf', 'upload paper to Overleaf', 'Overleaf project', 'LaTeX sync', 'push draft', 'download Overleaf', 'create Overleaf project', 'tex file to Overleaf', or any request involving paper_draft.tex / collaboration. This skill is the **mandatory interface-layer LaTeX collaborator** in NeuroClaw: it strictly enforces pull-first workflow with diff reporting and per-operation user authorization for any write/create/delete action, uses pyoverleaf (cookie-based), preserves Overleaf version history, integrates directly after paper-writing, and never performs unauthorized modifications."
4
- license: MIT License (NeuroClaw custom skill – freely modifiable within the project)
5
- layer: interface
6
- skill_type: tool
7
- dependencies: []
8
- ---
9
- # Overleaf Skill
10
-
11
- ## Overview
12
- This skill provides secure, audited access to Overleaf projects using the pyoverleaf library (Python API + CLI), enabling full round-trip collaboration for NeuroClaw manuscripts.
13
-
14
- Role in NeuroClaw multi-agent system:
15
- - Acts as the dedicated Overleaf Collaborator.
16
- - Authentication: manual cookie string provided by the user (recommended for headless/server environments).
17
- - Default behavior: pull + diff + report changes → require user confirmation before any local overwrite or merge.
18
- - Write / create / delete / rename operations: **strictly forbidden** without explicit, single-use user authorization per operation.
19
- - Preferred method: Python API (more reliable than CLI in agent sessions).
20
- - Preserves full Overleaf version history for easy human review and revert.
21
- - Supports listing projects, file/folder management, ZIP download/upload, and limited project creation/renaming/archiving.
22
-
23
- **Research use only** — keeps manuscripts clean, typeset-ready, and suitable for co-author feedback or journal submission.
24
-
25
- ## Supported Operations
26
-
27
- | Operation | Method | CLI Example | Python API Example | Safety Requirement |
28
- |----------------------------|-------------------------|--------------------------------------------------|------------------------------------------------------------------------------------|--------------------------------------|
29
- | List projects | API / CLI | `pyoverleaf ls` | `api.get_projects()` | Safe (read-only) |
30
- | Download project (ZIP) | API / CLI | `pyoverleaf download-project "My Paper" out.zip` | `api.download_project(project_id, "out.zip")` | Safe |
31
- | Read file content | CLI / ProjectIO | `pyoverleaf read "My Paper/main.tex"` | `with io.open("main.tex", "r") as f: content = f.read()` | Safe |
32
- | Write / Update file | CLI / ProjectIO | `echo "..." | pyoverleaf write "My Paper/main.tex"` | `with io.open("main.tex", "w") as f: f.write(new_content)` | Explicit user authorization required |
33
- | Upload binary file | ProjectIO / API | `cat fig.png | pyoverleaf write "My Paper/figures/fig.png"` | `api.project_upload_file(project_id, parent_id, "fig.png", file_bytes)` | Explicit user authorization required |
34
- | Create folder | CLI / API | `pyoverleaf mkdir -p "My Paper/chapters"` | `api.project_create_folder(project_id, parent_id, "chapters")` or `io.mkdir(...)` | Explicit user authorization required |
35
- | Delete file/folder | CLI / API | `pyoverleaf rm "My Paper/old.tex"` | `api.project_delete_entity(project_id, entity)` | Explicit user authorization required |
36
- | Create new project | API (limited) | (web recommended first) | (internal call or ZIP upload simulation) | Double confirmation + auth required |
37
- | Rename / Archive project | API | — | (API supports; method may vary) | Explicit user authorization required |
38
- | Pull + diff + review | Skill logic + claw-shell| Auto: download → diff → summarize → ask user | Skill combines API download + local diff | Core safety workflow |
39
-
40
- ## Authentication (Important – Headless/Server Friendly)
41
-
42
- This skill **cannot log in automatically**. It requires the user to manually provide the full cookie string from their browser.
43
-
44
- **How to get the cookie string:**
45
- 1. Log in to https://www.overleaf.com in Chrome or Firefox (do not use incognito).
46
- 2. Open DevTools (F12) → Network tab → refresh the page.
47
- 3. Click any request (e.g. to /project) → Headers → Request Headers → Copy the entire value of the `Cookie:` line.
48
- Example:
49
- ```
50
- overleaf_session2=s%3Ap85XgMaybdjaWutDHogKReuvzjg1DZlhgkZZI08q9cYNf0m%2B3B3OfhBgnFddQ2bsiQ6us... (full long string)
51
- ```
52
-
53
- **Important implementation note:** `pyoverleaf.Api.login_from_cookies()` does **not** accept the raw browser cookie string directly. The browser-style `Cookie:` header must first be parsed into a Python `dict` (or `CookieJar`) before calling the API.
54
-
55
- Correct pattern:
56
- ```python
57
- raw = "overleaf_session2=...; oa=1; ..."
58
- cookie_dict = {}
59
- for part in raw.split(';'):
60
- part = part.strip()
61
- if not part or '=' not in part:
62
- continue
63
- k, v = part.split('=', 1)
64
- cookie_dict[k.strip()] = v.strip()
65
-
66
- api.login_from_cookies(cookie_dict)
67
- ```
68
-
69
- **Do not do this:**
70
- ```python
71
- api.login_from_cookies("overleaf_session2=...; oa=1; ...")
72
- ```
73
- This will raise an `AssertionError` in current pyoverleaf versions because the method expects a `dict` or `CookieJar`, not a string.
74
-
75
- - Cookie usually lasts several months.
76
- - If it expires or login fails, the skill should ask again:
77
- **"Overleaf authentication failed. Please provide a fresh cookie string from your browser."**
78
- - For self-hosted Overleaf: set `export PYOVERLEAF_HOST=your-domain.com`
79
-
80
- ## Quick Workflows (NeuroClaw Integrated)
81
- 1. After `paper-writing` finishes → suggest: “Would you like to sync paper_draft.tex to Overleaf? (pull-first recommended)”
82
- 2. Pull & Review → download ZIP → unzip to /tmp → diff local files → summarize changes → ask: “Merge changes? Overwrite local? Cancel?”
83
- 3. Authorized Push → user explicitly says “yes push”, “overwrite Overleaf”, etc. → one-time authorization → use ProjectIO or upload_file → report success + link to Overleaf history
84
- 4. Create Project → if no suitable project exists: recommend user creates one via web first (safest), or attempt API creation only if the installed pyoverleaf version actually exposes project creation support
85
- 5. Full Sync → pull latest → apply NeuroClaw edits locally → authorized push
86
-
87
- ## Benchmark-Facing Default Mainline
88
-
89
- For benchmark-style prompts that ask to find or create a project and upload local files, the default answer should be the direct task workflow rather than the broader pull-first collaboration workflow.
90
-
91
- Default benchmark sequence:
92
- 1. Ask the user for the browser cookie string.
93
- 2. Parse the cookie header into a Python dictionary.
94
- 3. Log in with pyoverleaf.
95
- 4. List projects and find the requested project by name.
96
- 5. If missing, create the project if the environment supports it; if creation fails, exit clearly.
97
- 6. Resolve the target folder id.
98
- 7. Upload the requested local directory or files.
99
-
100
- Benchmark-specific rules:
101
- - When the task is a one-way upload/create benchmark, do not lead with pull-first sync, diff review, archive, rename, or manuscript-collaboration policy text.
102
- - Prefer the Python API path over install-oriented or CLI-only guidance.
103
- - If `pyoverleaf` is missing, mention installation briefly, but keep the main solution centered on the executable upload script.
104
- - If project creation support is uncertain, code the create attempt and fail clearly instead of replacing the workflow with a manual web-only fallback.
105
-
106
- ## Installation (in NeuroClaw environment)
107
- ```bash
108
- # Install pyoverleaf in isolated environment
109
- pip install pyoverleaf
110
-
111
- # Quick test (user runs once in terminal)
112
- python -c "import pyoverleaf; api=pyoverleaf.Api(); print(api.get_projects())"
113
- ```
114
-
115
- ## Operational Notes from Real Server Usage
116
-
117
- ### 1. Use the correct Python interpreter
118
- In multi-environment NeuroClaw setups, `pyoverleaf` may be installed in a specific conda environment while the system `python3` does not have it.
119
-
120
- Example:
121
- ```bash
122
- /home/cwang/anaconda3/envs/claw/bin/python script.py
123
- ```
124
- Do not assume `python3` points to the intended environment.
125
-
126
- ### 2. Avoid approval-loop pain by not using inline heredoc Python for Overleaf writes
127
- On OpenClaw / gateway-host exec, commands such as:
128
- ```bash
129
- python3 - <<'PY'
130
- ...
131
- PY
132
- ```
133
- can repeatedly trigger fresh approval prompts.
134
- **Preferred pattern:** write a real local script file first, run it with the exact Python interpreter, and split read-only checks from write operations.
135
-
136
- ### 3. Separate read-only checks from write actions
137
- Before any create/upload/delete action:
138
- - Verify `pyoverleaf` import
139
- - Verify login
140
- - Verify the target project exists
141
- - Then perform write actions
142
-
143
- ### 4. Project creation is not reliably supported
144
- Safest default: ask the user to create a blank Overleaf project via the web UI first, then upload into the existing project.
145
-
146
- ### 5. Upload requires a real folder id
147
- ```python
148
- root_folder = api.project_get_files(project_id)
149
- folder_id = root_folder.id
150
- api.project_upload_file(project_id, folder_id, filename, file_bytes)
151
- ```
152
-
153
- ### 6. Confirm project existence before upload
154
- Always do a fresh project listing after the user creates a project in the browser.
155
-
156
- ### 7. Keep credentials local and temporary
157
- Store cookie temporarily in `.secrets/overleaf_cookie.txt` (never commit it). Recommend rotating the browser cookie after use.
158
-
159
- ## Safety & Limitations
160
- - **No automatic writes**: Every create/update/delete/rename/push requires explicit single-operation user confirmation.
161
- - **Cookie must be provided by user**: Agent never assumes or stores credentials long-term.
162
- - **Version history preserved**: All API operations appear in Overleaf History.
163
- - **Project creation**: API support is inconsistent — prefer web UI creation.
164
- - **Approval behavior**: Use real script files and split steps to minimize repeated prompts.
165
-
166
- ## When to Call This Skill
167
- - Immediately after `paper-writing` completes `paper_draft.tex` / `.md`
168
- - User mentions sync / push / pull / Overleaf / create project / LaTeX collaboration
169
- - During manuscript polishing, arXiv, or journal submission phase
170
- - When co-authors need an editable Overleaf link
171
-
172
- ## Complementary / Related Skills
173
- - `paper-writing` → generates `paper_draft.tex` / `.md`
174
- - `claw-shell` → handles unzip / diff / mv / local file ops
175
- - `dependency-planner` → installs pyoverleaf and LaTeX dependencies
176
-
177
- ## Reference
178
- - pyoverleaf GitHub: https://github.com/jkulhanek/pyoverleaf
179
- - Original inspiration: Eason’s overleaf-skill workflow
180
- - Core principle: pull → diff → report → confirm; push only with explicit per-operation authorization
181
-
182
- Created At: 2026-03-23 20:00 HKT
183
- Last Updated At: 2026-03-26 00:25 HKT
184
- Author: chengwang96
@@ -1,30 +0,0 @@
1
- #!/bin/bash
2
- # Quick setup script for olcli
3
-
4
- set -e
5
-
6
- # Check if olcli is installed
7
- if command -v olcli &> /dev/null; then
8
- echo "✓ olcli is already installed ($(olcli --version))"
9
- exit 0
10
- fi
11
-
12
- # Try Homebrew first
13
- if command -v brew &> /dev/null; then
14
- echo "Installing olcli via Homebrew..."
15
- brew tap aloth/tap
16
- brew install olcli
17
- echo "✓ Installed olcli $(olcli --version)"
18
- exit 0
19
- fi
20
-
21
- # Fall back to npm
22
- if command -v npm &> /dev/null; then
23
- echo "Installing olcli via npm..."
24
- npm install -g @aloth/olcli
25
- echo "✓ Installed olcli $(olcli --version)"
26
- exit 0
27
- fi
28
-
29
- echo "Error: Neither Homebrew nor npm found. Please install one of them first."
30
- exit 1
@@ -1,146 +0,0 @@
1
- ---
2
- name: paper-writing
3
- description: "Use this skill whenever the user wants to generate a full academic paper draft from existing research materials. Triggers include: 'write paper', 'generate manuscript', 'draft paper', 'paper-writing', 'hierarchical drafting', 'manuscript composer', 'create LaTeX paper', 'write research paper from IDEA METHOD EXPERIMENT', or any request to transform IDEA.md + METHOD.md + EXPERIMENT.md into a typeset-ready manuscript. This skill is the **mandatory interface-layer writer** in NeuroClaw: it strictly follows the hierarchical manuscript drafting and iterative refinement process (section 4.4 + provided flowchart), never generates the full paper in one shot, saves every intermediate step as a separate file, and produces either clean plain-text or LaTeX output."
4
- license: MIT License (NeuroClaw custom skill – freely modifiable within the project)
5
- layer: interface
6
- skill_type: workflow
7
- dependencies: []
8
- ---
9
- # Paper Writing
10
-
11
- ## Overview
12
- This skill implements the exact **Hierarchical Manuscript Drafting and Iterative Refinement** process described in section 4.4 of the NeuroClaw architecture and the accompanying flowchart.
13
-
14
- It acts as the Manuscript Composer within an end-to-end multi-agent framework:
15
- - Reads the latest versions of **IDEA.md**, **METHOD.md**, and **EXPERIMENT.md** from the current workspace (continuously updated by the related skills research-idea, method-design, and experiment-controller).
16
- - If any of the three files are missing or empty, it immediately prompts the user to provide the research idea, experimental methods, and results before proceeding.
17
- - First asks the user whether the final output should be **plain text (.md)** or **LaTeX (.tex)**.
18
- - When LaTeX format is selected, it asks the user to provide a custom template file (e.g., `template.tex`). If none is supplied, it automatically uses the default IEEE template (conference or journal version with appropriate `\documentclass`, packages, and structure).
19
- - When processing **EXPERIMENT.md**, if sufficient quantitative results are present (metrics, comparisons, ablation studies, numerical values, etc.), the skill automatically generates and inserts well-formatted tables (Markdown tables for plain-text mode; proper LaTeX `tabular` or `table` environment for LaTeX mode) into the Results and Discussion sections.
20
- - Then executes the hierarchical flow **step by step** (never one-shot generation), saving the output of **every single step** as a separate Markdown file in the workspace root (e.g., 01_section_content.md, 02_ethics_review.md, ..., 10_final_draft.md). This enforces incremental execution and allows OpenClaw to resume or inspect progress at any stage.
21
-
22
- The process preserves narrative coherence, reuses semantic anchors from previous sections, automatically generates figures from experimental logs, ensures ethical dataset citation, improves scientific storytelling, verifies cross-references, and applies self-healing compilation for LaTeX.
23
-
24
- **Research use only** — the output is a high-quality draft ready for final human polishing and journal submission.
25
-
26
- ## Quick Reference (Hierarchical Flow)
27
-
28
- | Step | Description | Output File |
29
- |------|-------------|-------------|
30
- | 1. Section Content Generation | Build each section from IDEA.md + METHOD.md + EXPERIMENT.md (auto-generate tables from results if data is sufficient) | 01_section_content.md |
31
- | 2. Ethics Review | Verify dataset origin, license, and ethical approval | 02_ethics_review.md |
32
- | 3. Iterative Optimization | Refine content based on previous sections | 03_iterative_optimization.md |
33
- | 4. Narrative Storytelling | Convert technical content into coherent scientific story | 04_narrative_storytelling.md |
34
- | 5. De-AI Polishing | Remove AI artifacts and improve natural academic tone | 05_de_ai_polishing.md |
35
- | 6. Logic & Continuity Review | Ensure logical flow and cross-section consistency | 06_logic_continuity_review.md |
36
- | 7. Length Control | Adjust section lengths to target journal limits | 07_length_control.md |
37
- | 8. Reference Review & Repair | Verify and fix all citations and cross-references | 08_reference_review.md |
38
- | 9. LaTeX Error Repair | (LaTeX only) Automatically correct compilation errors | 09_latex_error_repair.md |
39
- | 10. Final Draft Generation | Produce and save the complete manuscript | 10_final_draft.md or 10_final_draft.tex |
40
-
41
- ## Installation
42
- ```bash
43
- # Place files in: skills/paper-writing/
44
- ```
45
-
46
- ## Scripts
47
-
48
- The `scripts/` directory contains reusable Python modules derived from [nature-skills](https://github.com/Yuan1z0825/nature-skills):
49
-
50
- | File | Purpose |
51
- |------|---------|
52
- | [`scripts/nature_figure_style.py`](scripts/nature_figure_style.py) | Publication style rcParams, color palettes (`PALETTE`, `PALETTE_NMI_PASTEL`, etc.), and helper functions (`apply_publication_style`, `is_dark`, `add_panel_label`, `finalize_figure`) |
53
- | [`scripts/figure_templates.py`](scripts/figure_templates.py) | Complete figure templates: grouped bar with legend panel, alpha-graduated ablation bar, multi-panel trend, dual-colormap heatmap |
54
- | [`scripts/section_phrasebank.py`](scripts/section_phrasebank.py) | Section-specific move orders, phrase families, evidence strength verbs, and transition words for all manuscript sections |
55
- | [`scripts/data_statement_templates.py`](scripts/data_statement_templates.py) | 12 Data Availability statement templates, anti-patterns to flag, and FAIR audit questions |
56
-
57
- ## Integrated Knowledge from nature-skills
58
-
59
- The paper-writing skill incorporates academic writing standards from the [nature-skills](https://github.com/Yuan1z0825/nature-skills) project (MIT License, Copyright 2026 Yuan Yizhe). The following rules and strategies are applied during the hierarchical drafting process:
60
-
61
- ### Writing Strategy (from nature-polishing)
62
-
63
- | Domain | Rule |
64
- |--------|------|
65
- | Hourglass structure | Introduction narrows from broad context to specific gap; Discussion widens from specific findings back to broader implications |
66
- | Writing order | Write in this order: Results → Methods → Introduction → Discussion → Abstract → Title — not in reading order |
67
- | Sentence length | Every sentence ≤ 30 words; sentences > 20 words should be checked for multiple propositions; the last sentence of a paragraph is often the weakest |
68
- | Paragraph control | One controlling idea per paragraph; use thematic linking between paragraphs |
69
- | Section tense | Results = past-tense reporting verbs + quantitative detail; Discussion = hedging interpretation verbs + mechanism |
70
- | Hedging calibration | Match claim strength to evidence: *demonstrate* → *suggest* → *may reflect* |
71
- | Overclaim detection | Flag absolutes ("prove", "conclusively", "unprecedented", "best", "first"), unwarranted causation, and scope expansion |
72
- | Citation integrity | Cite only sources personally verified; four attribution types: support, borrow, contrast, reuse |
73
- | British English | signalling, colour, analyse, programme, modelling, behaviour |
74
-
75
- ### Section Responsibilities
76
-
77
- Each section must answer specific questions before the draft moves on.
78
- Full move orders and phrase families are in [`scripts/section_phrasebank.py`](scripts/section_phrasebank.py):
79
-
80
- | Section | Must answer |
81
- |---------|-------------|
82
- | **Introduction** | What is the problem? Why does it matter? What has been tried? What is the gap? What is our approach? |
83
- | **Results** | What did we find? How does it compare? What is the magnitude and direction of effects? |
84
- | **Discussion** | What do the results mean? How do they relate to prior work? What are the limitations? What is next? |
85
- | **Conclusion** | What is the single take-away? Why does it matter for the field? |
86
- | **Abstract** | Problem → Gap → Approach → Key result → Impact (≤ 250 words) |
87
-
88
- ### Figure Standards (from nature-figure)
89
-
90
- When generating or describing figures for the manuscript, use the helpers in [`scripts/nature_figure_style.py`](scripts/nature_figure_style.py) and templates in [`scripts/figure_templates.py`](scripts/figure_templates.py):
91
-
92
- - Multi-panel figures follow a three-level information hierarchy: **overview → deviation → relationship**; no two panels may answer the same scientific question.
93
- - Primary output is always `.svg`; `.png` at 300 dpi is a secondary raster preview.
94
- - Figure legends ≤ 300 words; titles ≤ 75 characters.
95
- - Four figure archetypes: quantitative grid, schematic-led composite, image plate + quant, asymmetric mixed-modality.
96
- - Anti-redundancy: every panel must encode distinct information; no visual duplication across panels.
97
-
98
- ### Data Availability (from nature-data)
99
-
100
- When writing the Data Availability statement, use the templates in [`scripts/data_statement_templates.py`](scripts/data_statement_templates.py):
101
-
102
- - Map every result-supporting dataset to a durable access route (public repo → discipline-specific repo → generalist repo → supplementary → request-based).
103
- - State restriction reason, controller, review route, and access conditions for restricted data.
104
- - Cite public datasets with DataCite-style metadata: creator, title, repository, year, identifier.
105
- - Flag weak patterns such as "Data are available upon request" without further detail.
106
-
107
- ## Important Notes & Limitations
108
- - The skill **never** generates the full paper in a single step.
109
- - Every intermediate step **must** be saved as a separate numbered Markdown file (01_*.md through 10_*.md) to guarantee step-by-step execution in OpenClaw.
110
- - If LaTeX format is chosen, the skill will ask the user to provide a custom template file. If none is provided, the default IEEE template is used automatically.
111
- - If EXPERIMENT.md contains sufficient quantitative data, tables are automatically generated and inserted into Results/Discussion sections (Markdown tables or LaTeX `tabular` environment).
112
- - If any source file (IDEA.md, METHOD.md, EXPERIMENT.md) is missing, the skill stops and prompts the user to provide the missing content.
113
- - Final output is always saved as `paper_draft.md` (plain text) or `paper_draft.tex` (LaTeX) in the workspace root.
114
- - All intermediate files remain in the workspace for inspection, editing, or resumption.
115
-
116
- ## When to Call This Skill
117
- - After completing research-idea, method-design, and experiment-controller phases
118
- - When the user wants a polished manuscript draft from the three core MD files
119
- - Before final submission to a journal or arXiv
120
-
121
- ## Complementary / Related Skills
122
- - `research-idea` → continuously updates IDEA.md
123
- - `method-design` → continuously updates METHOD.md
124
- - `experiment-controller` → continuously updates EXPERIMENT.md
125
- - `dependency-planner` → installs LaTeX dependencies when LaTeX output is selected
126
- - `claw-shell` → used internally for LaTeX compilation and file operations
127
- - `overleaf-skill` → optional sync of final draft to Overleaf
128
-
129
- ### External Skill Libraries (nature-skills)
130
- - [`nature-polishing`](https://github.com/Yuan1z0825/nature-skills/tree/main/nature-polishing) → academic prose polishing, sentence/paragraph rules, hedging calibration, overclaim detection
131
- - [`nature-figure`](https://github.com/Yuan1z0825/nature-skills/tree/main/nature-figure) → publication-ready figure workflow, chart archetypes, design theory
132
- - [`nature-data`](https://github.com/Yuan1z0825/nature-skills/tree/main/nature-data) → Data Availability statements, repository strategy, FAIR metadata
133
- - [`nature-paper2ppt`](https://github.com/Yuan1z0825/nature-skills/tree/main/nature-paper2ppt) → paper-to-PPTX conversion for journal club presentations
134
-
135
- ## Reference
136
- Hierarchical Manuscript Drafting and Iterative Refinement (section 4.4 of NeuroClaw architecture).
137
- Flowchart: multi-agent section generation → ethics review → iterative optimization → narrative writing → de-AI polishing → logic/continuity/length/reference checks → LaTeX repair → final draft.
138
-
139
- Integrated writing standards from [nature-skills](https://github.com/Yuan1z0825/nature-skills) by Yuan Yizhe (MIT License):
140
- - Writing strategy, sentence rules, section responsibilities, and phrase bank (nature-polishing)
141
- - Figure archetypes, design theory, and chart standards (nature-figure)
142
- - Data Availability statement patterns and FAIR checklist (nature-data)
143
-
144
- Created At: 2026-03-23 00:00 HKT
145
- Last Updated At: 2026-03-26 00:27 HKT
146
- Author: chengwang96
@@ -1,164 +0,0 @@
1
- """
2
- Data Availability statement templates for Nature-family journal submissions.
3
-
4
- Derived from nature-skills/nature-data (MIT License, Copyright 2026 Yuan Yizhe).
5
- Source: https://github.com/Yuan1z0825/nature-skills
6
- """
7
-
8
- STATEMENT_TEMPLATES = {
9
- "single_public_repo": {
10
- "template": (
11
- "The {data_type} data supporting the findings of this study are available in "
12
- "{repository} under accession {accession} / at {doi}. The deposited record "
13
- "contains {contents}."
14
- ),
15
- "fields": ["data_type", "repository", "accession", "doi", "contents"],
16
- "note": "Raw/processed/source data deposited in a formal repository with an accession number, DOI, or persistent URL.",
17
- },
18
- "multiple_repos": {
19
- "template": (
20
- "The datasets generated in this study are available as follows: "
21
- "{dataset_family_1} in {repo_1} under {id_1}; "
22
- "{dataset_family_2} in {repo_2} under {id_2}; "
23
- "and figure source data in {source_location} under {source_id}."
24
- ),
25
- "fields": [
26
- "dataset_family_1", "repo_1", "id_1",
27
- "dataset_family_2", "repo_2", "id_2",
28
- "source_location", "source_id",
29
- ],
30
- "note": "Different data types go to different repositories or files; list each one explicitly instead of a vague 'see supplementary materials'.",
31
- },
32
- "data_in_paper": {
33
- "template": (
34
- "All data supporting the findings of this study are included in the paper, "
35
- "its Supplementary Information, and Source Data files. {supplementary_details}"
36
- ),
37
- "fields": ["supplementary_details"],
38
- "note": "Use only when all supporting data genuinely reside in the main text, supplementary materials, and Source Data.",
39
- },
40
- "reused_public_data": {
41
- "template": (
42
- "This study used publicly available {dataset_name} from {repository}, "
43
- "available under {identifier}. We used {version_info}. "
44
- "No new primary {data_type} data were generated for this part of the analysis."
45
- ),
46
- "fields": ["dataset_name", "repository", "identifier", "version_info", "data_type"],
47
- "note": "When reusing public databases, specify the database name, version/release/accession, and cite the dataset.",
48
- },
49
- "mixed_data": {
50
- "template": (
51
- "Data generated in this study are available in {repository} under {identifier}. "
52
- "Public datasets reused in the analysis were obtained from {source_1} and {source_2}. "
53
- "Source data for {figure_table_refs} are provided in {location}."
54
- ),
55
- "fields": ["repository", "identifier", "source_1", "source_2", "figure_table_refs", "location"],
56
- "note": "Separate newly generated data from reused public data to avoid implying all data originated from this study.",
57
- },
58
- "controlled_access": {
59
- "template": (
60
- "The {data_type} data supporting this study are not publicly available because "
61
- "{restriction_reason}. A metadata record is available at {metadata_location}. "
62
- "Qualified researchers may request access from {access_body} at {contact}. "
63
- "Access requires {conditions} and will be reviewed according to {policy}."
64
- ),
65
- "fields": [
66
- "data_type", "restriction_reason", "metadata_location",
67
- "access_body", "contact", "conditions", "policy",
68
- ],
69
- "note": "For human participant or privacy-restricted data, state the request route and review conditions — not just 'not available due to privacy'.",
70
- },
71
- "third_party_licensed": {
72
- "template": (
73
- "The {data_type} data used in this study were obtained from {provider} under "
74
- "licence and are not publicly redistributable by the authors. "
75
- "Requests for access should be directed to {contact}. "
76
- "Derived data that can be shared are available in {repository} under {identifier}."
77
- ),
78
- "fields": ["data_type", "provider", "contact", "repository", "identifier"],
79
- "note": "For third-party licensed data that cannot be redistributed, identify the data owner and how readers should request access.",
80
- },
81
- "commercially_restricted": {
82
- "template": (
83
- "The {data_type} data are subject to commercial restrictions and cannot be made "
84
- "publicly available. Requests for access may be directed to {contact} and are "
85
- "subject to {terms}. The authors provide {available_materials} in {location} "
86
- "to support interpretation of the results."
87
- ),
88
- "fields": ["data_type", "contact", "terms", "available_materials", "location"],
89
- "note": "For commercially restricted data, state the restriction, the contact for access, and whether summary data or metadata are publicly available.",
90
- },
91
- "embargoed": {
92
- "template": (
93
- "The {data_type} data have been deposited in {repository} under {identifier} "
94
- "and are under embargo until {embargo_date}. "
95
- "Reviewers can access the data using {reviewer_access}. "
96
- "The data will become publicly available at {identifier} when the embargo ends."
97
- ),
98
- "fields": ["data_type", "repository", "identifier", "embargo_date", "reviewer_access"],
99
- "note": "For embargoed data, a repository record, reviewer access route, and a clear embargo end date or condition are required.",
100
- },
101
- "request_based": {
102
- "template": (
103
- "The {data_type} data are not publicly available because {reason}. "
104
- "Requests for access may be sent to {contact}, and will be considered for "
105
- "{eligible_purpose} subject to {conditions}. "
106
- "{public_materials} are available at {location}."
107
- ),
108
- "fields": ["data_type", "reason", "contact", "eligible_purpose", "conditions", "public_materials", "location"],
109
- "note": "'Reasonable request' is acceptable only when the reason, receiving institution, review conditions, and publicly available metadata are specified.",
110
- },
111
- "no_datasets": {
112
- "template": "No datasets were generated or analysed during the current study.",
113
- "fields": [],
114
- "note": "Use only when genuinely no datasets were generated or analysed; typically not applicable to empirical studies.",
115
- },
116
- "theory_paper": {
117
- "template": "This work is theoretical and does not generate or analyse empirical datasets.",
118
- "fields": [],
119
- "note": "For theory papers only.",
120
- },
121
- }
122
-
123
- # ─────────────────────────────────────────────────────────────────────────────
124
- # Anti-patterns: weak wording to flag and revise
125
- # ─────────────────────────────────────────────────────────────────────────────
126
-
127
- ANTI_PATTERNS = {
128
- "Data are available upon request.": {
129
- "why": "No reason, route, eligibility, or durability.",
130
- "fix": "Add restriction reason, responsible access body, conditions, and metadata.",
131
- },
132
- "Data are available from the corresponding author on reasonable request.": {
133
- "why": "Often a literal translation of Chinese; not durable or specific enough.",
134
- "fix": "Use an institutional/repository access route and define review conditions.",
135
- },
136
- "Data will be uploaded after acceptance.": {
137
- "why": "No current repository or durable identifier.",
138
- "fix": "Deposit before submission or provide a private reviewer link.",
139
- },
140
- "All data are in the manuscript.": {
141
- "why": "Often false for figures/statistics.",
142
- "fix": "Name exact source data, supplementary files, and omitted raw data.",
143
- },
144
- "Data are proprietary.": {
145
- "why": "Does not say who controls access.",
146
- "fix": "Name owner/provider and access route.",
147
- },
148
- "N/A": {
149
- "why": "Nature-style instructions usually require an explanation.",
150
- "fix": "State why no datasets were generated or analysed.",
151
- },
152
- }
153
-
154
- # ─────────────────────────────────────────────────────────────────────────────
155
- # FAIR Metadata Audit Questions
156
- # ─────────────────────────────────────────────────────────────────────────────
157
-
158
- FAIR_AUDIT_QUESTIONS = [
159
- "Which result would fail if this dataset were unavailable?",
160
- "Is the route durable beyond the corresponding author's current email address?",
161
- "Can a reader tell what each identifier contains?",
162
- "Are restrictions specific enough for an editor to judge them?",
163
- "Are reused datasets cited, not merely mentioned?",
164
- ]