pi-skill-search 0.1.0

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 (299) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +97 -0
  4. package/index.ts +163 -0
  5. package/package.json +48 -0
  6. package/skills/adaptyv/SKILL.md +92 -0
  7. package/skills/add-community-extension/SKILL.md +85 -0
  8. package/skills/aeon/SKILL.md +111 -0
  9. package/skills/ai-slop-cleaner/SKILL.md +118 -0
  10. package/skills/anndata/SKILL.md +83 -0
  11. package/skills/arboreto/SKILL.md +107 -0
  12. package/skills/ask/SKILL.md +55 -0
  13. package/skills/astropy/SKILL.md +30 -0
  14. package/skills/async-worker-recovery/SKILL.md +44 -0
  15. package/skills/autopilot/SKILL.md +63 -0
  16. package/skills/autoresearch/SKILL.md +64 -0
  17. package/skills/autoskill/SKILL.md +116 -0
  18. package/skills/babysit/SKILL.md +43 -0
  19. package/skills/benchling-integration/SKILL.md +106 -0
  20. package/skills/bgpt-paper-search/SKILL.md +67 -0
  21. package/skills/biopython/SKILL.md +29 -0
  22. package/skills/bioservices/SKILL.md +96 -0
  23. package/skills/brainstorming/SKILL.md +104 -0
  24. package/skills/cancel/SKILL.md +85 -0
  25. package/skills/ccg/SKILL.md +87 -0
  26. package/skills/celery-pipeline/SKILL.md +30 -0
  27. package/skills/cellxgene-census/SKILL.md +104 -0
  28. package/skills/child-pi-spawning/SKILL.md +85 -0
  29. package/skills/cirq/SKILL.md +113 -0
  30. package/skills/citation-management/SKILL.md +91 -0
  31. package/skills/clinical-decision-support/SKILL.md +117 -0
  32. package/skills/clinical-reports/SKILL.md +118 -0
  33. package/skills/clinical-trial/SKILL.md +28 -0
  34. package/skills/cobrapy/SKILL.md +116 -0
  35. package/skills/configure-notifications/SKILL.md +85 -0
  36. package/skills/consciousness-council/SKILL.md +120 -0
  37. package/skills/context-artifact-hygiene/SKILL.md +85 -0
  38. package/skills/context-mode-ops/SKILL.md +87 -0
  39. package/skills/dask/SKILL.md +85 -0
  40. package/skills/database-lookup/SKILL.md +118 -0
  41. package/skills/datamol/SKILL.md +108 -0
  42. package/skills/debug/SKILL.md +32 -0
  43. package/skills/deep-dive/SKILL.md +114 -0
  44. package/skills/deep-interview/SKILL.md +90 -0
  45. package/skills/deepchem/SKILL.md +117 -0
  46. package/skills/deepinit/SKILL.md +100 -0
  47. package/skills/deeptools/SKILL.md +118 -0
  48. package/skills/delegation-patterns/SKILL.md +56 -0
  49. package/skills/depmap/SKILL.md +94 -0
  50. package/skills/dhdna-profiler/SKILL.md +86 -0
  51. package/skills/diffdock/SKILL.md +101 -0
  52. package/skills/dispatching-parallel-agents/SKILL.md +119 -0
  53. package/skills/dnanexus-integration/SKILL.md +118 -0
  54. package/skills/do/SKILL.md +48 -0
  55. package/skills/docker-sandbox/SKILL.md +29 -0
  56. package/skills/docx/SKILL.md +119 -0
  57. package/skills/esm/SKILL.md +116 -0
  58. package/skills/etetoolkit/SKILL.md +103 -0
  59. package/skills/event-log-tracing/SKILL.md +85 -0
  60. package/skills/exa-search/SKILL.md +72 -0
  61. package/skills/executing-plans/SKILL.md +69 -0
  62. package/skills/exploratory-data-analysis/SKILL.md +118 -0
  63. package/skills/external-context/SKILL.md +80 -0
  64. package/skills/fastapi/SKILL.md +30 -0
  65. package/skills/finishing-a-development-branch/SKILL.md +106 -0
  66. package/skills/flowio/SKILL.md +114 -0
  67. package/skills/fluidsim/SKILL.md +108 -0
  68. package/skills/generate-image/SKILL.md +108 -0
  69. package/skills/geniml/SKILL.md +117 -0
  70. package/skills/geomaster/SKILL.md +109 -0
  71. package/skills/geopandas/SKILL.md +114 -0
  72. package/skills/get-available-resources/SKILL.md +100 -0
  73. package/skills/gget/SKILL.md +111 -0
  74. package/skills/ginkgo-cloud-lab/SKILL.md +52 -0
  75. package/skills/git-master/SKILL.md +85 -0
  76. package/skills/glycoengineering/SKILL.md +104 -0
  77. package/skills/gtars/SKILL.md +104 -0
  78. package/skills/hackernews-frontpage/SKILL.md +46 -0
  79. package/skills/histolab/SKILL.md +98 -0
  80. package/skills/how-it-works/SKILL.md +25 -0
  81. package/skills/hud/SKILL.md +86 -0
  82. package/skills/hugging-science/SKILL.md +93 -0
  83. package/skills/huggingface/SKILL.md +30 -0
  84. package/skills/hypogenic/SKILL.md +107 -0
  85. package/skills/hypothesis-generation/SKILL.md +118 -0
  86. package/skills/imaging-data-commons/SKILL.md +119 -0
  87. package/skills/infographics/SKILL.md +102 -0
  88. package/skills/iso-13485-certification/SKILL.md +114 -0
  89. package/skills/knowledge-agent/SKILL.md +83 -0
  90. package/skills/labarchive-integration/SKILL.md +98 -0
  91. package/skills/lamindb/SKILL.md +119 -0
  92. package/skills/landsat/SKILL.md +29 -0
  93. package/skills/latchbio-integration/SKILL.md +118 -0
  94. package/skills/latex-posters/SKILL.md +112 -0
  95. package/skills/learn-codebase/SKILL.md +24 -0
  96. package/skills/learner/SKILL.md +118 -0
  97. package/skills/literature-review/SKILL.md +118 -0
  98. package/skills/live-agent-lifecycle/SKILL.md +85 -0
  99. package/skills/mailbox-interactive/SKILL.md +85 -0
  100. package/skills/make-plan/SKILL.md +59 -0
  101. package/skills/markdown-mermaid-writing/SKILL.md +118 -0
  102. package/skills/market-research-reports/SKILL.md +119 -0
  103. package/skills/markitdown/SKILL.md +111 -0
  104. package/skills/markitdown-docs/SKILL.md +28 -0
  105. package/skills/matchms/SKILL.md +91 -0
  106. package/skills/matlab/SKILL.md +118 -0
  107. package/skills/matplotlib/SKILL.md +30 -0
  108. package/skills/mcp-setup/SKILL.md +84 -0
  109. package/skills/medchem/SKILL.md +109 -0
  110. package/skills/mem-search/SKILL.md +96 -0
  111. package/skills/modal/SKILL.md +104 -0
  112. package/skills/model-routing-context/SKILL.md +85 -0
  113. package/skills/molecular-dynamics/SKILL.md +116 -0
  114. package/skills/molfeat/SKILL.md +110 -0
  115. package/skills/multi-perspective-review/SKILL.md +85 -0
  116. package/skills/networkx/SKILL.md +111 -0
  117. package/skills/neurokit2/SKILL.md +114 -0
  118. package/skills/neuropixels-analysis/SKILL.md +112 -0
  119. package/skills/nilearn/SKILL.md +29 -0
  120. package/skills/observability-reliability/SKILL.md +43 -0
  121. package/skills/omc-doctor/SKILL.md +86 -0
  122. package/skills/omc-reference/SKILL.md +119 -0
  123. package/skills/omc-setup/SKILL.md +82 -0
  124. package/skills/omc-teams/SKILL.md +81 -0
  125. package/skills/omero-integration/SKILL.md +111 -0
  126. package/skills/open-notebook/SKILL.md +100 -0
  127. package/skills/openephys/SKILL.md +28 -0
  128. package/skills/opentrons-integration/SKILL.md +110 -0
  129. package/skills/optimize-for-gpu/SKILL.md +119 -0
  130. package/skills/orchestration/SKILL.md +85 -0
  131. package/skills/ownership-session-security/SKILL.md +43 -0
  132. package/skills/paper-lookup/SKILL.md +119 -0
  133. package/skills/paperzilla/SKILL.md +114 -0
  134. package/skills/parallel-web/SKILL.md +64 -0
  135. package/skills/pathfinder/SKILL.md +114 -0
  136. package/skills/pathml/SKILL.md +98 -0
  137. package/skills/pdf/SKILL.md +113 -0
  138. package/skills/peer-review/SKILL.md +119 -0
  139. package/skills/pennylane/SKILL.md +119 -0
  140. package/skills/phylogenetics/SKILL.md +102 -0
  141. package/skills/pi-extension-lifecycle/SKILL.md +41 -0
  142. package/skills/plan/SKILL.md +66 -0
  143. package/skills/polars/SKILL.md +114 -0
  144. package/skills/polars-bio/SKILL.md +84 -0
  145. package/skills/pptx/SKILL.md +118 -0
  146. package/skills/pptx-posters/SKILL.md +112 -0
  147. package/skills/primekg/SKILL.md +97 -0
  148. package/skills/project-session-manager/SKILL.md +85 -0
  149. package/skills/protocolsio-integration/SKILL.md +119 -0
  150. package/skills/pubmed-search/SKILL.md +29 -0
  151. package/skills/pufferlib/SKILL.md +103 -0
  152. package/skills/pydeseq2/SKILL.md +106 -0
  153. package/skills/pydicom/SKILL.md +115 -0
  154. package/skills/pyhealth/SKILL.md +117 -0
  155. package/skills/pylabrobot/SKILL.md +100 -0
  156. package/skills/pymatgen/SKILL.md +28 -0
  157. package/skills/pymc/SKILL.md +108 -0
  158. package/skills/pymoo/SKILL.md +90 -0
  159. package/skills/pyopenms/SKILL.md +119 -0
  160. package/skills/pysam/SKILL.md +118 -0
  161. package/skills/pyspark/SKILL.md +30 -0
  162. package/skills/pytdc/SKILL.md +102 -0
  163. package/skills/pytorch/SKILL.md +31 -0
  164. package/skills/pytorch-lightning/SKILL.md +119 -0
  165. package/skills/pyzotero/SKILL.md +104 -0
  166. package/skills/qiskit/SKILL.md +119 -0
  167. package/skills/qutip/SKILL.md +111 -0
  168. package/skills/ralph/SKILL.md +23 -0
  169. package/skills/ralplan/SKILL.md +105 -0
  170. package/skills/rdflib/SKILL.md +29 -0
  171. package/skills/rdkit/SKILL.md +30 -0
  172. package/skills/read-only-explorer/SKILL.md +85 -0
  173. package/skills/receiving-code-review/SKILL.md +103 -0
  174. package/skills/release/SKILL.md +117 -0
  175. package/skills/remember/SKILL.md +39 -0
  176. package/skills/requesting-code-review/SKILL.md +85 -0
  177. package/skills/requirements-to-task-packet/SKILL.md +65 -0
  178. package/skills/research-grants/SKILL.md +118 -0
  179. package/skills/research-lookup/SKILL.md +117 -0
  180. package/skills/research-reproducibility/SKILL.md +28 -0
  181. package/skills/resource-discovery-config/SKILL.md +43 -0
  182. package/skills/rowan/SKILL.md +100 -0
  183. package/skills/runtime-state-reader/SKILL.md +46 -0
  184. package/skills/safe-bash/SKILL.md +85 -0
  185. package/skills/scanpy/SKILL.md +32 -0
  186. package/skills/scholar-evaluation/SKILL.md +115 -0
  187. package/skills/scientific-brainstorming/SKILL.md +118 -0
  188. package/skills/scientific-critical-thinking/SKILL.md +119 -0
  189. package/skills/scientific-schematics/SKILL.md +116 -0
  190. package/skills/scientific-slides/SKILL.md +117 -0
  191. package/skills/scientific-visualization/SKILL.md +109 -0
  192. package/skills/scientific-writing/SKILL.md +119 -0
  193. package/skills/scikit-bio/SKILL.md +92 -0
  194. package/skills/scikit-learn/SKILL.md +99 -0
  195. package/skills/scikit-survival/SKILL.md +110 -0
  196. package/skills/sciomc/SKILL.md +86 -0
  197. package/skills/scvelo/SKILL.md +106 -0
  198. package/skills/scvi-tools/SKILL.md +114 -0
  199. package/skills/seaborn/SKILL.md +97 -0
  200. package/skills/secure-agent-orchestration-review/SKILL.md +47 -0
  201. package/skills/self-improve/SKILL.md +119 -0
  202. package/skills/semantic-compression/SKILL.md +62 -0
  203. package/skills/setup/SKILL.md +42 -0
  204. package/skills/shap/SKILL.md +103 -0
  205. package/skills/simpy/SKILL.md +116 -0
  206. package/skills/skill/SKILL.md +117 -0
  207. package/skills/skill-search/SKILL.md +67 -0
  208. package/skills/skillify/SKILL.md +46 -0
  209. package/skills/smart-explore/SKILL.md +94 -0
  210. package/skills/sqlite-pandas/SKILL.md +30 -0
  211. package/skills/stable-baselines3/SKILL.md +86 -0
  212. package/skills/state-mutation-locking/SKILL.md +44 -0
  213. package/skills/statistical-analysis/SKILL.md +108 -0
  214. package/skills/statsmodels/SKILL.md +29 -0
  215. package/skills/subagent-driven-development/SKILL.md +89 -0
  216. package/skills/sympy/SKILL.md +115 -0
  217. package/skills/system-prompts/SKILL.md +116 -0
  218. package/skills/systematic-debugging/SKILL.md +119 -0
  219. package/skills/team/SKILL.md +85 -0
  220. package/skills/test-driven-development/SKILL.md +84 -0
  221. package/skills/tiledbvcf/SKILL.md +119 -0
  222. package/skills/timeline-report/SKILL.md +85 -0
  223. package/skills/timesfm-forecasting/SKILL.md +112 -0
  224. package/skills/torch-geometric/SKILL.md +118 -0
  225. package/skills/torchdrug/SKILL.md +118 -0
  226. package/skills/trace/SKILL.md +118 -0
  227. package/skills/transformers/SKILL.md +110 -0
  228. package/skills/treatment-plans/SKILL.md +119 -0
  229. package/skills/ui-render-performance/SKILL.md +41 -0
  230. package/skills/ultragoal/SKILL.md +63 -0
  231. package/skills/ultraqa/SKILL.md +85 -0
  232. package/skills/ultrawork/SKILL.md +20 -0
  233. package/skills/umap-learn/SKILL.md +119 -0
  234. package/skills/usfiscaldata/SKILL.md +118 -0
  235. package/skills/using-git-worktrees/SKILL.md +112 -0
  236. package/skills/using-superpowers/SKILL.md +85 -0
  237. package/skills/using-vetc/SKILL.md +92 -0
  238. package/skills/vaex/SKILL.md +111 -0
  239. package/skills/venue-templates/SKILL.md +113 -0
  240. package/skills/verification-before-completion/SKILL.md +88 -0
  241. package/skills/verification-before-done/SKILL.md +68 -0
  242. package/skills/verify/SKILL.md +33 -0
  243. package/skills/version-bump/SKILL.md +54 -0
  244. package/skills/vetc-analyze-ba/SKILL.md +117 -0
  245. package/skills/vetc-analyze-codebase/SKILL.md +118 -0
  246. package/skills/vetc-api-design/SKILL.md +103 -0
  247. package/skills/vetc-brainstorming/SKILL.md +116 -0
  248. package/skills/vetc-change-proposal/SKILL.md +111 -0
  249. package/skills/vetc-cicd/SKILL.md +113 -0
  250. package/skills/vetc-continuous-learning/SKILL.md +115 -0
  251. package/skills/vetc-deep-interview/SKILL.md +103 -0
  252. package/skills/vetc-docgen/SKILL.md +108 -0
  253. package/skills/vetc-frontend-patterns/SKILL.md +99 -0
  254. package/skills/vetc-iterative-retrieval/SKILL.md +110 -0
  255. package/skills/vetc-java-patterns/SKILL.md +113 -0
  256. package/skills/vetc-meta-skill-creator/SKILL.md +99 -0
  257. package/skills/vetc-oracle-patterns/SKILL.md +109 -0
  258. package/skills/vetc-performance-testing/SKILL.md +104 -0
  259. package/skills/vetc-pr-response/SKILL.md +106 -0
  260. package/skills/vetc-ralph/SKILL.md +108 -0
  261. package/skills/vetc-ralplan/SKILL.md +116 -0
  262. package/skills/vetc-receiving-review/SKILL.md +106 -0
  263. package/skills/vetc-reconcile-patterns/SKILL.md +117 -0
  264. package/skills/vetc-refactoring/SKILL.md +96 -0
  265. package/skills/vetc-runbook/SKILL.md +118 -0
  266. package/skills/vetc-sast/SKILL.md +118 -0
  267. package/skills/vetc-sdlc/SKILL.md +97 -0
  268. package/skills/vetc-security/SKILL.md +117 -0
  269. package/skills/vetc-spec-driven/SKILL.md +111 -0
  270. package/skills/vetc-spec-quality/SKILL.md +117 -0
  271. package/skills/vetc-systematic-debugging/SKILL.md +74 -0
  272. package/skills/vetc-tdd/SKILL.md +96 -0
  273. package/skills/vetc-thinking-pm/SKILL.md +110 -0
  274. package/skills/vetc-ui-visual-qa/SKILL.md +117 -0
  275. package/skills/vetc-verify/SKILL.md +101 -0
  276. package/skills/visual-verdict/SKILL.md +59 -0
  277. package/skills/what-if-oracle/SKILL.md +87 -0
  278. package/skills/widget-rendering/SKILL.md +85 -0
  279. package/skills/wiki/SKILL.md +69 -0
  280. package/skills/workspace-isolation/SKILL.md +85 -0
  281. package/skills/worktree-isolation/SKILL.md +85 -0
  282. package/skills/wowerpoint/SKILL.md +101 -0
  283. package/skills/writer-memory/SKILL.md +82 -0
  284. package/skills/writing-plans/SKILL.md +115 -0
  285. package/skills/writing-skills/SKILL.md +115 -0
  286. package/skills/xgboost/SKILL.md +29 -0
  287. package/skills/xgboost-ts/SKILL.md +28 -0
  288. package/skills/xlsx/SKILL.md +111 -0
  289. package/skills/zarr-python/SKILL.md +101 -0
  290. package/src/categories.ts +383 -0
  291. package/src/format.ts +104 -0
  292. package/src/indexer.ts +101 -0
  293. package/src/proactive.ts +51 -0
  294. package/src/scanner.ts +85 -0
  295. package/src/search.ts +89 -0
  296. package/src/strip.ts +29 -0
  297. package/src/synonyms.ts +83 -0
  298. package/src/text.ts +118 -0
  299. package/src/types.ts +64 -0
@@ -0,0 +1,114 @@
1
+ ---
2
+ name: iso-13485-certification
3
+ description: Comprehensive toolkit for preparing ISO 13485 certification documentation for medical device Quality Management Systems. Use when users need help with ISO 13485 QMS documentation, including (1) conducting gap analysis of existing documentation, (2) creating Quality Manuals, (3) developing required procedures and work instructions, (4) preparing Medical Device Files, (5) understanding ISO 13485 requirements, or (6) identifying missing documentation for medical device certification. Also use when users mention medical device regulations, QMS certification, FDA QMSR, EU MDR, or need help with quality system documentation.
4
+ ---
5
+
6
+ # ISO 13485 Certification Documentation Assistant
7
+
8
+ ## Overview
9
+
10
+ This skill helps medical device manufacturers prepare comprehensive documentation for ISO 13485:2016 certification. It provides tools, templates, references, and guidance to create, review, and gap-analyze all required Quality Management System (QMS) documentation.
11
+
12
+ **What this skill provides:**
13
+ - Gap analysis of existing documentation
14
+ - Templates for all mandatory documents
15
+ - Comprehensive requirements guidance
16
+ - Step-by-step documentation creation
17
+ - Identification of missing documentation
18
+ - Compliance checklists
19
+
20
+ **When to use this skill:**
21
+ - Starting ISO 13485 certification process
22
+ - Conducting gap analysis against ISO 13485
23
+
24
+ ## Core Workflow
25
+
26
+ ### 1. Assess Current State (Gap Analysis)
27
+
28
+ **When to start here:** User has existing documentation and needs to identify gaps
29
+
30
+ **Process:**
31
+
32
+ 1. **Collect existing documentation:**
33
+ - Ask user to provide directory of current QMS documents
34
+ - Documents can be in any format (.txt, .md, .doc, .docx, .pdf)
35
+ - Include any procedures, manuals, work instructions, forms
36
+
37
+ 2. **Run gap analysis script:**
38
+ ```bash
39
+ python scripts/gap_analyzer.py --docs-dir <path_to_docs> --output gap-report.json
40
+ ```
41
+
42
+ ### 2. Understand Requirements (Reference Consultation)
43
+
44
+ **When to use:** User needs to understand specific ISO 13485 requirements
45
+
46
+ **Available references:**
47
+ - `(see docs)` - Complete clause-by-clause breakdown
48
+ - `(see docs)` - All 31 required procedures explained
49
+ - `(see docs)` - Detailed compliance checklist
50
+ - `(see docs)` - How to create Quality Manual
51
+
52
+ **How to use:**
53
+
54
+ 1. **For specific clause questions:**
55
+ - Read relevant section from `iso-13485-requirements.md`
56
+ - Explain requirements in plain language
57
+
58
+ ### 3. Create Documentation (Template-Based Generation)
59
+
60
+ **When to use:** User needs to create specific QMS documents
61
+
62
+ **Available templates:**
63
+ - Quality Manual: `assets/templates/quality-manual-template.md`
64
+ - CAPA Procedure: `assets/templates/procedures/CAPA-procedure-template.md`
65
+ - Document Control: `assets/templates/procedures/document-control-procedure-template.md`
66
+
67
+ **Process for document creation:**
68
+
69
+ 1. **Identify what needs to be created:**
70
+ - Based on gap analysis or user request
71
+ - Prioritize critical documents first (Quality Manual, CAPA, Complaints, Audits)
72
+
73
+ ### 4. Develop Specific Documents
74
+
75
+ #### Creating a Quality Manual
76
+
77
+ **Process:**
78
+
79
+ 1. **Read the comprehensive guide:**
80
+ - Read `(see docs)` in full
81
+ - Understand structure and required content
82
+ - Review examples provided
83
+
84
+ 2. **Gather organization information:**
85
+ - Legal company name and addresses
86
+ - Product types and classifications
87
+ - Organizational structure
88
+
89
+ ### 5. Conduct Comprehensive Gap Analysis
90
+
91
+ **When to use:** User wants detailed assessment of all requirements
92
+
93
+ **Process:**
94
+
95
+ 1. **Use comprehensive checklist:**
96
+ - Open `(see docs)`
97
+ - Work through clause by clause
98
+ - Mark status for each requirement: Compliant, Partial, Non-compliant, N/A
99
+
100
+ 2. **For each clause:**
101
+ - Read requirement description
102
+ - Identify existing evidence
103
+ - Note gaps or deficiencies
104
+
105
+ ## Common Scenarios
106
+
107
+ ### Scenario 1: Starting from Scratch
108
+
109
+ **User request:** "We're a medical device startup and need to implement ISO 13485. Where do we start?"
110
+
111
+ **Approach:**
112
+
113
+ 1. **Explain the journey:**
114
+
@@ -0,0 +1,83 @@
1
+ ---
2
+ name: knowledge-agent
3
+ description: Build and query AI-powered knowledge bases from claude-mem observations. Use when users want to create focused "brains" from their observation history, ask questions about past work patterns, or compile expertise on specific topics.
4
+ ---
5
+
6
+ # Knowledge Agent
7
+
8
+ Build and query AI-powered knowledge bases from claude-mem observations.
9
+
10
+ ## What Are Knowledge Agents?
11
+
12
+ Knowledge agents are filtered corpora of observations compiled into a conversational AI session. Build a corpus from your observation history, prime it (loads the knowledge into an AI session), then ask it questions conversationally.
13
+
14
+ Think of them as custom "brains": "everything about hooks", "all decisions from the last month", "all bugfixes for the worker service".
15
+
16
+ ## Workflow
17
+
18
+ ### Step 1: Build a corpus
19
+
20
+ ```text
21
+ build_corpus name="hooks-expertise" description="Everything about the hooks lifecycle" project="claude-mem" concepts="hooks" limit=500
22
+ ```
23
+
24
+ Filter options:
25
+ - `project` — filter by project name
26
+ - `types` — comma-separated: decision, bugfix, feature, refactor, discovery, change
27
+ - `concepts` — comma-separated concept tags
28
+ - `files` — comma-separated file paths (prefix match)
29
+ - `query` — semantic search query
30
+ - `dateStart` / `dateEnd` — ISO date range
31
+ - `limit` — max observations (default 500)
32
+
33
+ ### Step 2: Prime the corpus
34
+
35
+ ```text
36
+ prime_corpus name="hooks-expertise"
37
+ ```
38
+
39
+ This creates an AI session loaded with all the corpus knowledge. Takes a moment for large corpora.
40
+
41
+ ### Step 3: Query
42
+
43
+ ```text
44
+ query_corpus name="hooks-expertise" question="What are the 5 lifecycle hooks and when does each fire?"
45
+ ```
46
+
47
+ The knowledge agent answers from its corpus. Follow-up questions maintain context.
48
+
49
+ ### Step 4: List corpora
50
+
51
+ ```text
52
+ list_corpora
53
+ ```
54
+
55
+ Shows all corpora with stats and priming status.
56
+
57
+ ## Tips
58
+
59
+ - **Focused corpora work best** — "hooks architecture" beats "everything ever"
60
+ - **Prime once, query many times** — the session persists across queries
61
+ - **Reprime for fresh context** — if the conversation drifts, reprime to reset
62
+ - **Rebuild to update** — when new observations are added, rebuild then reprime
63
+
64
+ ## Maintenance
65
+
66
+ ### Rebuild a corpus (refresh with new observations)
67
+
68
+ ```text
69
+ rebuild_corpus name="hooks-expertise"
70
+ ```
71
+
72
+ After rebuilding, reprime to load the updated knowledge:
73
+
74
+ ### Reprime (fresh session)
75
+
76
+ ```text
77
+ reprime_corpus name="hooks-expertise"
78
+ ```
79
+
80
+ Clears prior Q&A context and reloads the corpus into a new session.
81
+
82
+
83
+
@@ -0,0 +1,98 @@
1
+ ---
2
+ name: labarchive-integration
3
+ description: Electronic lab notebook API integration. Access notebooks, manage entries/attachments, backup notebooks, integrate with Protocols.io/Jupyter/REDCap, for programmatic ELN workflows.
4
+ ---
5
+
6
+ # LabArchives Integration
7
+
8
+ ## Overview
9
+
10
+ LabArchives is an electronic lab notebook platform for research documentation and data management. Access notebooks, manage entries and attachments, generate reports, and integrate with third-party tools programmatically via REST API.
11
+
12
+ ## When to Use This Skill
13
+
14
+ This skill should be used when:
15
+ - Working with LabArchives REST API for notebook automation
16
+ - Backing up notebooks programmatically
17
+ - Creating or managing notebook entries and attachments
18
+ - Generating site reports and analytics
19
+ - Integrating LabArchives with third-party tools (Protocols.io, Jupyter, REDCap)
20
+ - Automating data upload to electronic lab notebooks
21
+ - Managing user access and permissions programmatically
22
+
23
+ ## Core Capabilities
24
+
25
+ ### 1. Authentication and Configuration
26
+
27
+ Set up API access credentials and regional endpoints for LabArchives API integration.
28
+
29
+ **Prerequisites:**
30
+ - Enterprise LabArchives license with API access enabled
31
+ - API access key ID and password from LabArchives administrator
32
+ - User authentication credentials (email and external applications password)
33
+
34
+ **Configuration setup:**
35
+
36
+ Use the `scripts/setup_config.py` script to create a configuration file:
37
+
38
+ ```bash
39
+ python3 scripts/setup_config.py
40
+
41
+ # Initialize client
42
+ client = Client(api_url, access_key_id, access_password)
43
+
44
+ # Get user access info
45
+ login_params = {'login_or_email': user_email, 'password': auth_token}
46
+ response = client.make_call('users', 'user_access_info', params=login_params)
47
+
48
+ # Extract UID from response
49
+ import xml.etree.ElementTree as ET
50
+ uid = ET.fromstring(response.content)[0].text
51
+
52
+ # Get detailed user info
53
+ params = {'uid': uid}
54
+ user_info = client.make_call('users', 'user_info_via_id', params=params)
55
+ ```
56
+
57
+ ### 3. Notebook Operations
58
+
59
+ Manage notebook access, backup, and metadata retrieval.
60
+
61
+ **Key operations:**
62
+
63
+ - **List notebooks:** Retrieve all notebooks accessible to a user
64
+ - **Backup notebooks:** Download complete notebook data with optional attachment inclusion
65
+ - **Get notebook IDs:** Retrieve institution-defined notebook identifiers for integration with grants/project management systems
66
+ - **Get notebook members:** List all users with access to a specific notebook
67
+ - **Get notebook settings:** Retrieve configuration and permissions for notebooks
68
+
69
+ **Notebook backup example:**
70
+
71
+ Use the `scripts/notebook_operations.py` script:
72
+
73
+ ```bash
74
+ # Backup with attachments (default, creates 7z archive)
75
+ python3 scripts/notebook_operations.py backup --uid USER_ID --nbid NOTEBOOK_ID
76
+
77
+ ### 4. Entry and Attachment Management
78
+
79
+ Create, modify, and manage notebook entries and file attachments.
80
+
81
+ **Entry operations:**
82
+ - Create new entries in notebooks
83
+ - Add comments to existing entries
84
+ - Create entry parts/components
85
+ - Upload file attachments to entries
86
+
87
+ **Attachment workflow:**
88
+
89
+ Use the `scripts/entry_operations.py` script:
90
+
91
+ ```bash
92
+ # Upload attachment to an entry
93
+ python3 scripts/entry_operations.py upload --uid USER_ID --nbid NOTEBOOK_ID --entry-id ENTRY_ID --file /path/to/file.pdf
94
+
95
+ # Create a new entry with text content
96
+ python3 scripts/entry_operations.py create --uid USER_ID --nbid NOTEBOOK_ID --title "Experiment Results" --content "Results from today's experiment..."
97
+
98
+
@@ -0,0 +1,119 @@
1
+ ---
2
+ name: lamindb
3
+ description: This skill should be used when working with LaminDB, an open-source data framework for biology that makes data queryable, traceable, reproducible, and FAIR. Use when managing biological datasets (scRNA-seq, spatial, flow cytometry, etc.), tracking computational workflows, curating and validating data with biological ontologies, building data lakehouses, or ensuring data lineage and reproducibility in biological research. Covers data management, annotation, ontologies (genes, cell types, diseases, tissues), schema validation, integrations with workflow managers (Nextflow, Snakemake) and MLOps platforms (W&B, MLflow), and deployment strategies.
4
+ ---
5
+
6
+ # LaminDB
7
+
8
+ ## Overview
9
+
10
+ LaminDB is an open-source data framework for biology designed to make data queryable, traceable, reproducible, and FAIR (Findable, Accessible, Interoperable, Reusable). It provides a unified platform that combines lakehouse architecture, lineage tracking, feature stores, biological ontologies, LIMS (Laboratory Information Management System), and ELN (Electronic Lab Notebook) capabilities through a single Python API.
11
+
12
+ **Core Value Proposition:**
13
+ - **Queryability**: Search and filter datasets by metadata, features, and ontology terms
14
+ - **Traceability**: Automatic lineage tracking from raw data through analysis to results
15
+ - **Reproducibility**: Version control for data, code, and environment
16
+ - **FAIR Compliance**: Standardized annotations using biological ontologies
17
+
18
+ ## When to Use This Skill
19
+
20
+ Use this skill when:
21
+
22
+ - **Managing biological datasets**: scRNA-seq, bulk RNA-seq, spatial transcriptomics, flow cytometry, multi-modal data, EHR data
23
+ - **Tracking computational workflows**: Notebooks, scripts, pipeline execution (Nextflow, Snakemake, Redun)
24
+ - **Curating and validating data**: Schema validation, standardization, ontology-based annotation
25
+ - **Working with biological ontologies**: Genes, proteins, cell types, tissues, diseases, pathways (via Bionty)
26
+ - **Building data lakehouses**: Unified query interface across multiple datasets
27
+ - **Ensuring reproducibility**: Automatic versioning, lineage tracking, environment capture
28
+ - **Integrating ML pipelines**: Connecting with Weights & Biases, MLflow, HuggingFace, scVI-tools
29
+ - **Deploying data infrastructure**: Setting up local or cloud-based data management systems
30
+ - **Collaborating on datasets**: Sharing curated, annotated data with standardized metadata
31
+
32
+ ## Core Capabilities
33
+
34
+ LaminDB provides six interconnected capability areas, each documented in detail in the references folder.
35
+
36
+ ### 1. Core Concepts and Data Lineage
37
+
38
+ **Core entities:**
39
+ - **Artifacts**: Versioned datasets (DataFrame, AnnData, Parquet, Zarr, etc.)
40
+ - **Records**: Experimental entities (samples, perturbations, instruments)
41
+ - **Runs & Transforms**: Computational lineage tracking (what code produced what data)
42
+ - **Features**: Typed metadata fields for annotation and querying
43
+
44
+ **Key workflows:**
45
+ - Create and version artifacts from files or Python objects
46
+ - Track notebook/script execution with `ln.track()` and `ln.finish()`
47
+ - Annotate artifacts with typed features
48
+ - Visualize data lineage graphs with `artifact.view_lineage()`
49
+ - Query by provenance (find all outputs from specific code/inputs)
50
+
51
+ **Reference:** `(see docs)` - Read this for detailed information on artifacts, records, runs, transforms, features, versioning, and lineage tracking.
52
+
53
+ ### 2. Data Management and Querying
54
+
55
+ **Query capabilities:**
56
+ - Registry exploration and lookup with auto-complete
57
+ - Single record retrieval with `get()`, `one()`, `one_or_none()`
58
+ - Filtering with comparison operators (`__gt`, `__lte`, `__contains`, `__startswith`)
59
+ - Feature-based queries (query by annotated metadata)
60
+ - Cross-registry traversal with double-underscore syntax
61
+ - Full-text search across registries
62
+ - Advanced logical queries with Q objects (AND, OR, NOT)
63
+ - Streaming large datasets without loading into memory
64
+
65
+ **Key workflows:**
66
+ - Browse artifacts with filters and ordering
67
+ - Query by features, creation date, creator, size, etc.
68
+
69
+ ### 3. Annotation and Validation
70
+
71
+ **Curation process:**
72
+ 1. **Validation**: Confirm datasets match desired schemas
73
+ 2. **Standardization**: Fix typos, map synonyms to canonical terms
74
+ 3. **Annotation**: Link datasets to metadata entities for queryability
75
+
76
+ **Schema types:**
77
+ - **Flexible schemas**: Validate only known columns, allow additional metadata
78
+ - **Minimal required schemas**: Specify essential columns, permit extras
79
+ - **Strict schemas**: Complete control over structure and values
80
+
81
+ **Supported data types:**
82
+ - DataFrames (Parquet, CSV)
83
+ - AnnData (single-cell genomics)
84
+
85
+ ### 4. Biological Ontologies
86
+
87
+ **Available ontologies (via Bionty):**
88
+ - Genes (Ensembl), Proteins (UniProt)
89
+ - Cell types (CL), Cell lines (CLO)
90
+ - Tissues (Uberon), Diseases (Mondo, DOID)
91
+ - Phenotypes (HPO), Pathways (GO)
92
+ - Experimental factors (EFO), Developmental stages
93
+ - Organisms (NCBItaxon), Drugs (DrugBank)
94
+
95
+ **Key workflows:**
96
+ - Import public ontologies with `bt.CellType.import_source()`
97
+ - Search ontologies with keyword or exact matching
98
+ - Standardize terms using synonym mapping
99
+ - Explore hierarchical relationships (parents, children, ancestors)
100
+
101
+ ### 5. Integrations
102
+
103
+ **Workflow managers:**
104
+ - Nextflow: Track pipeline processes and outputs
105
+ - Snakemake: Integrate into Snakemake rules
106
+ - Redun: Combine with Redun task tracking
107
+
108
+ **MLOps platforms:**
109
+ - Weights & Biases: Link experiments with data artifacts
110
+ - MLflow: Track models and experiments
111
+ - HuggingFace: Track model fine-tuning
112
+ - scVI-tools: Single-cell analysis workflows
113
+
114
+ **Storage systems:**
115
+ - Local filesystem, AWS S3, Google Cloud Storage
116
+
117
+ ### 6. Setup and Deployment
118
+
119
+
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: landsat
3
+ description: Geospatial and remote sensing analysis with satellite imagery. Use when working with Landsat, Sentinel, raster data, land cover classification, NDVI calculation, or spatial data processing. Trigger on imports of rasterio, geopandas, xarray-spatial, or mentions of satellite, remote sensing, geospatial, raster, land cover.
4
+ ---
5
+ # landsat
6
+
7
+ Use this skill for satellite imagery and geospatial analysis.
8
+
9
+ ## Core patterns
10
+
11
+ - **Load raster**: `rasterio.open('image.tif')` → `band = src.read(1)`.
12
+ - **CRS transform**: `rasterio.warp.reproject()` for coordinate system conversion.
13
+ - **NDVI**: `(nir - red) / (nir + red)` where Landsat 8: B5=NIR, B4=Red.
14
+ - **Vector overlay**: `geopandas.sjoin(points, polygons)` for spatial joins.
15
+ - **Zonal stats**: `rasterstats.zonal_stats(polygons, raster, stats=['mean', 'std'])`.
16
+
17
+ ## Rules
18
+
19
+ - Always check CRS before spatial operations — mismatched CRS causes silent errors.
20
+ - Use `with rasterio.open() as src:` for file handle safety.
21
+ - Mask clouds using QA band — don't assume clear pixels.
22
+
23
+ ## Anti-patterns
24
+
25
+ - Don't load entire raster into memory for large scenes — use windowed reading.
26
+ - Don't reproject vector data repeatedly — reproject once, cache result.
27
+ - Don't compute NDVI with integer division — cast to float first.
28
+
29
+
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: latchbio-integration
3
+ description: Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.
4
+ ---
5
+
6
+ # LatchBio Integration
7
+
8
+ ## Overview
9
+
10
+ Latch is a Python framework for building and deploying bioinformatics workflows as serverless pipelines. Built on Flyte, create workflows with @workflow/@task decorators, manage cloud data with LatchFile/LatchDir, configure resources, and integrate Nextflow/Snakemake pipelines.
11
+
12
+ ## Core Capabilities
13
+
14
+ The Latch platform provides four main areas of functionality:
15
+
16
+ ### 1. Workflow Creation and Deployment
17
+ - Define serverless workflows using Python decorators
18
+ - Support for native Python, Nextflow, and Snakemake pipelines
19
+ - Automatic containerization with Docker
20
+ - Auto-generated no-code user interfaces
21
+ - Version control and reproducibility
22
+
23
+ ### 2. Data Management
24
+ - Cloud storage abstractions (LatchFile, LatchDir)
25
+ - Structured data organization with Registry (Projects → Tables → Records)
26
+ - Type-safe data operations with links and enums
27
+ - Automatic file transfer between local and cloud
28
+ - Glob pattern matching for file selection
29
+
30
+ ### 3. Resource Configuration
31
+ - Pre-configured task decorators (@small_task, @large_task, @small_gpu_task, @large_gpu_task)
32
+ - Custom resource specifications (CPU, memory, GPU, storage)
33
+ - GPU support (K80, V100, A100)
34
+ - Timeout and storage configuration
35
+ - Cost optimization strategies
36
+
37
+ ### 4. Verified Workflows
38
+ - Production-ready pre-built pipelines
39
+ - Bulk RNA-seq, DESeq2, pathway analysis
40
+ - AlphaFold and ColabFold for protein structure prediction
41
+ - Single-cell tools (ArchR, scVelo, emptyDropsR)
42
+ - CRISPR analysis, phylogenetics, and more
43
+
44
+ ## Quick Start
45
+
46
+ # Login to Latch
47
+ latch login
48
+
49
+ # Initialize a new workflow
50
+ latch init my-workflow
51
+
52
+ # Register workflow to platform
53
+ latch register my-workflow
54
+ ```
55
+
56
+ **Prerequisites:**
57
+ - Docker installed and running
58
+ - Latch account credentials
59
+ - Python 3.8+
60
+
61
+ ### Basic Workflow Example
62
+
63
+ ```python
64
+ from latch import workflow, small_task
65
+ from latch.types import LatchFile
66
+
67
+ @small_task
68
+ def process_file(input_file: LatchFile) -> LatchFile:
69
+ """Process a single file"""
70
+ # Processing logic
71
+ return output_file
72
+
73
+ @workflow
74
+ def my_workflow(input_file: LatchFile) -> LatchFile:
75
+ """
76
+
77
+ ## When to Use This Skill
78
+
79
+ This skill should be used when encountering any of the following scenarios:
80
+
81
+ **Workflow Development:**
82
+ - "Create a Latch workflow for RNA-seq analysis"
83
+ - "Deploy my pipeline to Latch"
84
+ - "Convert my Nextflow pipeline to Latch"
85
+ - "Add GPU support to my workflow"
86
+ - Working with `@workflow`, `@task` decorators
87
+
88
+ **Data Management:**
89
+ - "Organize my sequencing data in Latch Registry"
90
+ - "How do I use LatchFile and LatchDir?"
91
+ - "Set up sample tracking in Latch"
92
+
93
+ ## Detailed Documentation
94
+
95
+ This skill includes comprehensive reference documentation organized by capability:
96
+
97
+ ### (see docs)
98
+ **Read this for:**
99
+ - Creating and registering workflows
100
+ - Task definition and decorators
101
+ - Supporting Python, Nextflow, Snakemake
102
+ - Launch plans and conditional sections
103
+ - Workflow execution (CLI and programmatic)
104
+ - Multi-step and parallel pipelines
105
+ - Troubleshooting registration issues
106
+
107
+ **Key topics:**
108
+ - `latch init` and `latch register` commands
109
+ - `@workflow` and `@task` decorators
110
+ - LatchFile and LatchDir basics
111
+ - Type annotations and docstrings
112
+ - Launch plans with preset parameters
113
+ - Conditional UI sections
114
+
115
+ ### (see docs)
116
+ **Read this for:**
117
+
118
+
@@ -0,0 +1,112 @@
1
+ ---
2
+ name: latex-posters
3
+ description: "Create professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientific communication. Includes layout design, color schemes, multi-column formats, figure integration, and poster-specific best practices for visual communication."
4
+ ---
5
+
6
+ # LaTeX Research Posters
7
+
8
+ ## Overview
9
+
10
+ Research posters are a critical medium for scientific communication at conferences, symposia, and academic events. This skill provides comprehensive guidance for creating professional, visually appealing research posters using LaTeX packages. Generate publication-quality posters with proper layout, typography, color schemes, and visual hierarchy.
11
+
12
+ ## When to Use This Skill
13
+
14
+ This skill should be used when:
15
+ - Creating research posters for conferences, symposia, or poster sessions
16
+ - Designing academic posters for university events or thesis defenses
17
+ - Preparing visual summaries of research for public engagement
18
+ - Converting scientific papers into poster format
19
+ - Creating template posters for research groups or departments
20
+ - Designing posters that comply with specific conference size requirements (A0, A1, 36×48", etc.)
21
+ - Building posters with complex multi-column layouts
22
+ - Integrating figures, tables, equations, and citations in poster format
23
+
24
+ ## AI-Powered Visual Element Generation
25
+
26
+ **STANDARD WORKFLOW: Generate ALL major visual elements using AI before creating the LaTeX poster.**
27
+
28
+ This is the recommended approach for creating visually compelling posters:
29
+ 1. Plan all visual elements needed (title, intro, methods, results, conclusions)
30
+ 2. Generate each element using scientific-schematics or Nano Banana Pro
31
+ 3. Assemble generated images in the LaTeX template
32
+ 4. Add text content around the visuals
33
+
34
+ **Target: 60-70% of poster area should be AI-generated visuals, 30-40% text.**
35
+
36
+ ---
37
+
38
+ ### CRITICAL: Preventing Content Overflow
39
+
40
+ **⚠️ POSTERS MUST NOT HAVE TEXT OR CONTENT CUT OFF AT EDGES.**
41
+
42
+ **Common Overflow Problems:**
43
+ 1. **Title/footer text extending beyond page boundaries**
44
+ 2. **Too many sections crammed into available space**
45
+ 3. **Figures placed too close to edges**
46
+ 4. **Text blocks exceeding column widths**
47
+
48
+ **Prevention Rules:**
49
+
50
+ **1. Limit Content Sections (MAXIMUM 5-6 sections for A0):**
51
+ ```
52
+ ✅ GOOD - 5 sections with room to breathe:
53
+
54
+ # Compile and check PDF at 100% zoom
55
+ pdflatex poster.tex
56
+
57
+ # Look for:
58
+ # - Text cut off at any edge
59
+ # - Content touching page boundaries
60
+ # - Overfull hbox warnings in .log file
61
+ grep -i "overfull" poster.log
62
+ ```
63
+
64
+ **5. Word Count Limits:**
65
+ - **A0 poster**: 300-800 words MAXIMUM
66
+ - **Per section**: 50-100 words maximum
67
+ - **If you have more content**: Cut it or make a handout
68
+
69
+ ---
70
+
71
+ ### CRITICAL: Poster-Size Font Requirements
72
+
73
+ **⚠️ ALL text within AI-generated visualizations MUST be poster-readable.**
74
+
75
+ When generating graphics for posters, you MUST include font size specifications in EVERY prompt. Poster graphics are viewed from 4-6 feet away, so text must be LARGE.
76
+
77
+ **⚠️ COMMON PROBLEM: Content Overflow and Density**
78
+
79
+ The #1 issue with AI-generated poster graphics is **TOO MUCH CONTENT**. This causes:
80
+ - Text overflow beyond boundaries
81
+ - Unreadable small fonts
82
+ - Cluttered, overwhelming visuals
83
+ - Poor white space usage
84
+
85
+ **SOLUTION: Generate SIMPLE graphics with MINIMAL content.**
86
+
87
+ # ❌ BAD - This creates tiny unreadable text like the drug discovery poster
88
+ python scripts/generate_schematic.py "Drug discovery workflow showing: Stage 1 Target Identification, Stage 2 Molecular Synthesis, Stage 3 Virtual Screening, Stage 4 AI Lead Optimization, Stage 5 Clinical Trial Design, Stage 6 FDA Approval. Include success metrics, timelines, and validation steps for each stage." -o figures/workflow.png
89
+ # Result: 7+ stages with tiny text, unreadable from 6 feet - POSTER FAILURE
90
+ ```
91
+
92
+ **Example - CORRECT (simplified to 3 key stages):**
93
+ ```bash
94
+ # ✅ GOOD - Same content, split into ONE simple high-level graphic
95
+ python scripts/generate_schematic.py "POSTER FORMAT for A0. ULTRA-SIMPLE 3-box workflow: 'DISCOVER' → 'VALIDATE' → 'APPROVE'. Each word in GIANT bold (120pt+). Thick arrows (10px). 60% white space. NO substeps, NO details. 3 words total. Readable from 10 feet." -o figures/workflow_overview.png
96
+ # Result: Clean, impactful, readable - can add detail graphics separately if needed
97
+ ```
98
+
99
+ **Example - WRONG (complex case studies with multiple sections):**
100
+ ```bash
101
+ # ❌ BAD - Creates cramped unreadable sections
102
+ python scripts/generate_schematic.py "Case studies: Insilico Medicine (drug candidate, discovery time, clinical trials), Recursion Pharma (platform, methodology, results), Exscientia (drug candidates, FDA status, timeline). Include company logos, metrics, and outcomes." -o figures/cases.png
103
+ # Result: 3 case studies with 4+ elements each = 12+ total elements, tiny text
104
+ ```
105
+
106
+ **Example - CORRECT (one case study, one key metric):**
107
+ ```bash
108
+ # ✅ GOOD - Show ONE case with ONE key number
109
+ python scripts/generate_schematic.py "POSTER FORMAT for A0. ONE case study card: Company logo (large), '18 MONTHS' in GIANT text (150pt), 'to discovery' below (60pt). 3 elements total: logo + number + caption. 50% white space. Readable from 10 feet." -o figures/case_single.png
110
+ # Result: Clear, readable, impactful. Make 3 separate graphics if you need 3 cases.
111
+
112
+