@pikaa-ai/pikaa 0.3.23 → 0.3.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/brand/orbit-logo-option4-whale.jpg +0 -0
- package/assets/brand/orbit-logo.jpg +0 -0
- package/assets/brand/orbit-logo.png +0 -0
- package/assets/brand/orbit-logo.svg +3 -0
- package/dist/cli.js +407 -219
- package/dist/index.js +7 -2
- package/package.json +1 -2
- package/skills/adaptyv/SKILL.md +0 -240
- package/skills/aeon/SKILL.md +0 -402
- package/skills/analytical-method-validation/SKILL.md +0 -299
- package/skills/anndata/SKILL.md +0 -431
- package/skills/arbor/SKILL.md +0 -152
- package/skills/arboreto/SKILL.md +0 -267
- package/skills/astropy/SKILL.md +0 -353
- package/skills/autoskill/SKILL.md +0 -233
- package/skills/benchling-integration/SKILL.md +0 -229
- package/skills/bgpt-paper-search/SKILL.md +0 -75
- package/skills/bids/SKILL.md +0 -237
- package/skills/biopython/SKILL.md +0 -472
- package/skills/bioservices/SKILL.md +0 -399
- package/skills/bulk-rnaseq/SKILL.md +0 -198
- package/skills/cellxgene-census/SKILL.md +0 -283
- package/skills/cirq/SKILL.md +0 -370
- package/skills/citation-management/SKILL.md +0 -329
- package/skills/clinical-decision-support/SKILL.md +0 -238
- package/skills/clinical-decision-support/references/README.md +0 -62
- package/skills/clinical-reports/SKILL.md +0 -248
- package/skills/clinical-reports/references/README.md +0 -34
- package/skills/cobrapy/SKILL.md +0 -496
- package/skills/consciousness-council/SKILL.md +0 -151
- package/skills/dask/SKILL.md +0 -482
- package/skills/database-lookup/SKILL.md +0 -386
- package/skills/datamol/SKILL.md +0 -200
- package/skills/deepchem/SKILL.md +0 -244
- package/skills/deepspot-m/SKILL.md +0 -175
- package/skills/deeptools/SKILL.md +0 -412
- package/skills/depmap/SKILL.md +0 -301
- package/skills/dhdna-profiler/SKILL.md +0 -184
- package/skills/diffdock/SKILL.md +0 -488
- package/skills/dnanexus-integration/SKILL.md +0 -325
- package/skills/docx/SKILL.md +0 -99
- package/skills/esm/SKILL.md +0 -334
- package/skills/etetoolkit/SKILL.md +0 -327
- package/skills/exa-search/SKILL.md +0 -102
- package/skills/executing-plans/SKILL.md +0 -14
- package/skills/experimental-design/SKILL.md +0 -234
- package/skills/exploratory-data-analysis/SKILL.md +0 -280
- package/skills/flowio/SKILL.md +0 -310
- package/skills/fluidsim/SKILL.md +0 -279
- package/skills/frontend-design/SKILL.md +0 -100
- package/skills/generate-image/SKILL.md +0 -304
- package/skills/geniml/SKILL.md +0 -310
- package/skills/genomic-coordinates/SKILL.md +0 -189
- package/skills/genomic-intelligence/SKILL.md +0 -243
- package/skills/geomaster/README.md +0 -105
- package/skills/geomaster/SKILL.md +0 -366
- package/skills/geopandas/SKILL.md +0 -250
- package/skills/get-available-resources/SKILL.md +0 -260
- package/skills/gget/SKILL.md +0 -153
- package/skills/ginkgo-cloud-lab/SKILL.md +0 -106
- package/skills/glycoengineering/SKILL.md +0 -339
- package/skills/gtars/SKILL.md +0 -282
- package/skills/guardian-rails/SKILL.md +0 -54
- package/skills/histolab/SKILL.md +0 -243
- package/skills/hugging-science/SKILL.md +0 -132
- package/skills/hypogenic/SKILL.md +0 -290
- package/skills/hypothesis-generation/SKILL.md +0 -264
- package/skills/imaging-data-commons/SKILL.md +0 -496
- package/skills/infographics/SKILL.md +0 -315
- package/skills/iso-standards-readiness/SKILL.md +0 -352
- package/skills/lab-hardware-cad/SKILL.md +0 -372
- package/skills/labarchive-integration/SKILL.md +0 -216
- package/skills/lamindb/SKILL.md +0 -408
- package/skills/latchbio-integration/SKILL.md +0 -227
- package/skills/latex-posters/SKILL.md +0 -369
- package/skills/latex-posters/references/README.md +0 -439
- package/skills/liteparse/SKILL.md +0 -295
- package/skills/literature-review/SKILL.md +0 -263
- package/skills/markdown-mermaid-writing/SKILL.md +0 -322
- package/skills/market-research-reports/SKILL.md +0 -337
- package/skills/markitdown/SKILL.md +0 -264
- package/skills/matchms/SKILL.md +0 -276
- package/skills/matlab/SKILL.md +0 -274
- package/skills/matplotlib/SKILL.md +0 -378
- package/skills/medchem/SKILL.md +0 -321
- package/skills/modal/SKILL.md +0 -468
- package/skills/molecular-dynamics/SKILL.md +0 -458
- package/skills/molfeat/SKILL.md +0 -348
- package/skills/ncats-arax/SKILL.md +0 -178
- package/skills/networkx/SKILL.md +0 -440
- package/skills/neurokit2/SKILL.md +0 -323
- package/skills/neuropixels-analysis/SKILL.md +0 -412
- package/skills/nextflow/SKILL.md +0 -195
- package/skills/omero-integration/SKILL.md +0 -222
- package/skills/onekgpd/SKILL.md +0 -371
- package/skills/ontology-term-resolution/SKILL.md +0 -147
- package/skills/open-notebook/SKILL.md +0 -297
- package/skills/openpiv/SKILL.md +0 -469
- package/skills/opentrons-integration/SKILL.md +0 -322
- package/skills/optimize-for-gpu/SKILL.md +0 -176
- package/skills/owasp-top10/SKILL.md +0 -48
- package/skills/pacsomatic/LICENSE +0 -21
- package/skills/pacsomatic/SKILL.md +0 -150
- package/skills/paper-lookup/SKILL.md +0 -263
- package/skills/paperclip/SKILL.md +0 -413
- package/skills/paperzilla/SKILL.md +0 -159
- package/skills/parallel-web/SKILL.md +0 -128
- package/skills/pathml/SKILL.md +0 -222
- package/skills/pathogen-variant-surveillance/SKILL.md +0 -208
- package/skills/pathway-enrichment/SKILL.md +0 -194
- package/skills/pdf/SKILL.md +0 -322
- package/skills/peer-review/SKILL.md +0 -288
- package/skills/penetration-testing/SKILL.md +0 -31
- package/skills/pennylane/SKILL.md +0 -240
- package/skills/phylogenetics/SKILL.md +0 -409
- package/skills/pi-agent/SKILL.md +0 -83
- package/skills/pkpd-modeling/SKILL.md +0 -381
- package/skills/polars/SKILL.md +0 -393
- package/skills/polars-bio/SKILL.md +0 -379
- package/skills/ponytail/SKILL.md +0 -31
- package/skills/ponytail-audit/SKILL.md +0 -18
- package/skills/pptx/SKILL.md +0 -246
- package/skills/pptx-posters/SKILL.md +0 -258
- package/skills/primekg/SKILL.md +0 -99
- package/skills/protocolsio-integration/SKILL.md +0 -236
- package/skills/pufferlib/SKILL.md +0 -328
- package/skills/pydeseq2/SKILL.md +0 -369
- package/skills/pydicom/SKILL.md +0 -381
- package/skills/pyhealth/SKILL.md +0 -124
- package/skills/pylabrobot/SKILL.md +0 -216
- package/skills/pymatgen/SKILL.md +0 -404
- package/skills/pymc/SKILL.md +0 -310
- package/skills/pymoo/SKILL.md +0 -276
- package/skills/pyopenms/SKILL.md +0 -179
- package/skills/pysam/SKILL.md +0 -330
- package/skills/pytdc/SKILL.md +0 -297
- package/skills/pytorch-lightning/SKILL.md +0 -191
- package/skills/pyzotero/SKILL.md +0 -137
- package/skills/qiskit/SKILL.md +0 -259
- package/skills/qutip/SKILL.md +0 -317
- package/skills/rdkit/SKILL.md +0 -94
- package/skills/relsa-severity-assessment/SKILL.md +0 -354
- package/skills/research-grants/SKILL.md +0 -296
- package/skills/research-grants/references/README.md +0 -287
- package/skills/research-lookup/README.md +0 -106
- package/skills/research-lookup/SKILL.md +0 -338
- package/skills/rowan/SKILL.md +0 -398
- package/skills/scanpy/SKILL.md +0 -303
- package/skills/scholar-evaluation/SKILL.md +0 -296
- package/skills/scientific-brainstorming/SKILL.md +0 -282
- package/skills/scientific-critical-thinking/SKILL.md +0 -180
- package/skills/scientific-schematics/SKILL.md +0 -370
- package/skills/scientific-slides/SKILL.md +0 -379
- package/skills/scientific-visualization/SKILL.md +0 -285
- package/skills/scientific-writing/SKILL.md +0 -356
- package/skills/scikit-bio/SKILL.md +0 -470
- package/skills/scikit-learn/SKILL.md +0 -324
- package/skills/scikit-survival/SKILL.md +0 -313
- package/skills/scvelo/SKILL.md +0 -328
- package/skills/scvi-tools/SKILL.md +0 -201
- package/skills/seaborn/SKILL.md +0 -254
- package/skills/security-auditor/SKILL.md +0 -37
- package/skills/shap/SKILL.md +0 -282
- package/skills/simpy/SKILL.md +0 -283
- package/skills/stable-baselines3/SKILL.md +0 -325
- package/skills/statistical-analysis/SKILL.md +0 -446
- package/skills/statistical-power/SKILL.md +0 -200
- package/skills/statsmodels/SKILL.md +0 -238
- package/skills/sympy/SKILL.md +0 -354
- package/skills/systematic-debugging/SKILL.md +0 -35
- package/skills/tamarind/SKILL.md +0 -285
- package/skills/tdd/SKILL.md +0 -26
- package/skills/tiledbvcf/SKILL.md +0 -456
- package/skills/timesfm-forecasting/SKILL.md +0 -408
- package/skills/timesfm-forecasting/examples/global-temperature/README.md +0 -178
- package/skills/torch-geometric/SKILL.md +0 -458
- package/skills/torchdrug/SKILL.md +0 -241
- package/skills/transformers/SKILL.md +0 -195
- package/skills/treatment-plans/SKILL.md +0 -174
- package/skills/treatment-plans/references/README.md +0 -19
- package/skills/umap-learn/SKILL.md +0 -488
- package/skills/uncertainty-and-units/SKILL.md +0 -384
- package/skills/usfiscaldata/SKILL.md +0 -171
- package/skills/vaex/SKILL.md +0 -204
- package/skills/venue-templates/SKILL.md +0 -269
- package/skills/verification-before-completion/SKILL.md +0 -22
- package/skills/waypoint-bio/SKILL.md +0 -273
- package/skills/what-if-oracle/SKILL.md +0 -184
- package/skills/writing-plans/SKILL.md +0 -15
- package/skills/xlsx/SKILL.md +0 -110
- package/skills/zarr-python/SKILL.md +0 -241
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: autoskill
|
|
3
|
-
description: Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or composition recipes that chain existing ones) for the patterns not yet covered. Use when the user asks to analyze their recent work and propose skills based on what they actually do. Requires the screenpipe daemon (https://github.com/screenpipe/screenpipe) running locally on port 3030 — the skill has no other data source and will refuse to run if screenpipe is unreachable. All detection runs locally; only redacted cluster summaries reach the LLM.
|
|
4
|
-
allowed-tools: Read Write Edit Bash
|
|
5
|
-
license: MIT license
|
|
6
|
-
metadata:
|
|
7
|
-
version: "1.3"
|
|
8
|
-
skill-author: K-Dense Inc.
|
|
9
|
-
openclaw:
|
|
10
|
-
requires:
|
|
11
|
-
bins:
|
|
12
|
-
- screenpipe
|
|
13
|
-
primaryEnv: SCREENPIPE_TOKEN
|
|
14
|
-
envVars:
|
|
15
|
-
- name: SCREENPIPE_TOKEN
|
|
16
|
-
required: true
|
|
17
|
-
description: Auth token for the local screenpipe daemon.
|
|
18
|
-
- name: ANTHROPIC_API_KEY
|
|
19
|
-
required: false
|
|
20
|
-
description: For Claude API calls during skill drafting.
|
|
21
|
-
- name: FOUNDRY_API_KEY
|
|
22
|
-
required: false
|
|
23
|
-
description: Optional Foundry access for drafting.
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
# autoskill
|
|
27
|
-
|
|
28
|
-
> **Requires a running [screenpipe](https://github.com/screenpipe/screenpipe) daemon.** This skill has no alternate data source — it reads exclusively from the local screenpipe HTTP API (default `http://localhost:3030`). If the daemon isn't running, `run()` raises `ScreenpipeUnreachable` with install instructions.
|
|
29
|
-
|
|
30
|
-
> **Network access & environment variables.** This skill makes authenticated HTTP requests to (a) the user's local screenpipe daemon on loopback, and (b) the user-configured LLM backend — one of `http://localhost:1234/v1` (LM Studio, default), `https://api.anthropic.com` (opt-in Claude), or a user-supplied BYOK Foundry gateway. The skill reads three environment variables — `SCREENPIPE_TOKEN`, `ANTHROPIC_API_KEY`, `FOUNDRY_API_KEY` — and uses each only to authenticate to the single endpoint its name implies. No other network destinations, no telemetry, no data egress to any third party.
|
|
31
|
-
|
|
32
|
-
## Overview
|
|
33
|
-
|
|
34
|
-
Turn the user's own workflow history — captured passively by the local [screenpipe](https://github.com/screenpipe/screenpipe) daemon — into new skills. This skill is on-demand: the user invokes it with a time window, it queries screenpipe's local HTTP API, clusters repeated workflow patterns, compares each pattern against the existing skills in this repo, and produces a staged folder of proposals the user can review, edit, and promote.
|
|
35
|
-
|
|
36
|
-
## When to Use This Skill
|
|
37
|
-
|
|
38
|
-
Invoke this skill when the user asks to:
|
|
39
|
-
- "Analyze my last 4 hours / day / week and propose new skills."
|
|
40
|
-
- "Look at what I've been doing and tell me what's not covered yet."
|
|
41
|
-
- "Draft a skill from my recent workflow."
|
|
42
|
-
- "Find composition recipes for workflows I repeat."
|
|
43
|
-
|
|
44
|
-
Do **not** invoke it for one-off questions about screenpipe itself, for real-time screen queries, or without an explicit user request — the skill analyzes sensitive local content and must stay explicitly user-triggered.
|
|
45
|
-
|
|
46
|
-
## Privacy Posture
|
|
47
|
-
|
|
48
|
-
- **Screenpipe handles app/window filtering at capture time.** Install a starter deny-list by copying `references/screenpipe-config.yaml` into the user's screenpipe config. Sensitive apps (password managers, messaging, banking) are never OCR'd in the first place.
|
|
49
|
-
- **Raw OCR never leaves the machine.** `scripts/fetch_window.py` pulls data over localhost HTTP. `scripts/cluster.py` reduces the timeline to app/duration/title summaries. `scripts/redact.py` strips emails, API keys, bearer tokens, and phone numbers as defense-in-depth before any cluster summary reaches the LLM.
|
|
50
|
-
- **LLM backend defaults to `local`.** The recommended setup is [LM Studio](https://lmstudio.ai/) running `Gemma-4-31B-it` — strong reasoning at a size that fits on most workstation GPUs, and no data ever leaves your machine. Cloud backends (`claude`, `foundry`) are opt-in and documented in `config.yaml` for users who explicitly want them. Detection and embeddings always run locally regardless of backend choice.
|
|
51
|
-
- **Dry-run mode** (`--plan`) prints the exact timeline that will be analyzed before any LLM call.
|
|
52
|
-
- **TLS for localhost** (optional, for corporate policy): see `references/https-proxy.md` for the Caddy pattern.
|
|
53
|
-
|
|
54
|
-
## Prerequisites
|
|
55
|
-
|
|
56
|
-
### 1. Screenpipe daemon
|
|
57
|
-
|
|
58
|
-
Either install the official release or build from source. Either way the daemon binds HTTP on `localhost:3030` by default.
|
|
59
|
-
|
|
60
|
-
**From source** (recommended if you want the CLI daemon without the desktop GUI):
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
git clone --depth 1 https://github.com/mediar-ai/screenpipe.git
|
|
64
|
-
cd screenpipe
|
|
65
|
-
cargo build -p screenpipe-engine --release
|
|
66
|
-
# System deps (macOS): cmake + full Xcode.app (not just Command Line Tools).
|
|
67
|
-
# brew install cmake
|
|
68
|
-
# # if xcodebuild plug-ins error: sudo xcodebuild -runFirstLaunch
|
|
69
|
-
./target/release/screenpipe doctor # confirm permissions + ffmpeg
|
|
70
|
-
./target/release/screenpipe record --disable-audio --use-pii-removal
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
First run will prompt for macOS Screen Recording permission. Grant it and relaunch.
|
|
74
|
-
|
|
75
|
-
### 2. Screenpipe API token
|
|
76
|
-
|
|
77
|
-
The local API now requires bearer auth. Retrieve your token and export it:
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
export SCREENPIPE_TOKEN=$(screenpipe auth token)
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
(Or set `screenpipe.token` directly in `config.yaml` — env var is preferred since it keeps secrets out of version control.)
|
|
84
|
-
|
|
85
|
-
### 3. Python environment
|
|
86
|
-
|
|
87
|
-
Via `pipenv` from the repo root:
|
|
88
|
-
|
|
89
|
-
```bash
|
|
90
|
-
pipenv install httpx pyyaml sentence-transformers
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
The embedding model (`sentence-transformers/all-MiniLM-L6-v2`, ~80 MB) downloads on first run.
|
|
94
|
-
|
|
95
|
-
### 4. Local LLM (default path) — LM Studio
|
|
96
|
-
|
|
97
|
-
- Install [LM Studio](https://lmstudio.ai/).
|
|
98
|
-
- Download `Gemma-4-31B-it` (or another strong reasoning model; adjust `local.model` in `config.yaml`).
|
|
99
|
-
- Load it via the CLI for headless use (no GUI required):
|
|
100
|
-
|
|
101
|
-
```bash
|
|
102
|
-
lms load gemma-4-31b-it --context-length 131072 --gpu max -y
|
|
103
|
-
lms status # confirm server running on :1234
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
### 5. Cloud LLM backends (optional, opt-in)
|
|
107
|
-
|
|
108
|
-
Only if you explicitly opt out of local:
|
|
109
|
-
- `claude`: set `ANTHROPIC_API_KEY`, flip `backend: claude` in `config.yaml`.
|
|
110
|
-
- `foundry`: set `FOUNDRY_API_KEY`, flip `backend: foundry`, set `foundry.endpoint` to your corporate gateway URL.
|
|
111
|
-
|
|
112
|
-
## Architecture
|
|
113
|
-
|
|
114
|
-
```
|
|
115
|
-
screenpipe daemon (user-installed)
|
|
116
|
-
│ HTTP on localhost:3030
|
|
117
|
-
▼
|
|
118
|
-
scripts/fetch_window.py → normalized timeline events
|
|
119
|
-
scripts/redact.py → regex scrub (defense-in-depth)
|
|
120
|
-
scripts/cluster.py → sessions + clusters (local only)
|
|
121
|
-
scripts/match_skills.py → top-k vs existing 135 skills (local embeddings)
|
|
122
|
-
scripts/synthesize.py → LLM judge: reuse / compose / novel
|
|
123
|
-
│
|
|
124
|
-
▼
|
|
125
|
-
~/.autoskill/proposed/<timestamp>/ (default; override with --out)
|
|
126
|
-
├── report.md
|
|
127
|
-
├── composition-recipes/<name>/SKILL.md
|
|
128
|
-
└── new-skills/<name>/SKILL.md
|
|
129
|
-
|
|
130
|
-
scripts/promote.py → user-approved proposal → skills/<name>/
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
## Workflow
|
|
134
|
-
|
|
135
|
-
The skill ships a unified CLI at `scripts/autoskill.py` with three subcommands:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
python scripts/autoskill.py doctor --config config.yaml --skills-dir ../
|
|
139
|
-
python scripts/autoskill.py run --start ... --end ... --config config.yaml
|
|
140
|
-
python scripts/autoskill.py promote --proposed ~/.autoskill/proposed/<ts> --skills-dir ../ --name <skill>
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
### 0. Preflight with `doctor`
|
|
144
|
-
|
|
145
|
-
Before a full run, verify every dependency in one shot:
|
|
146
|
-
|
|
147
|
-
```bash
|
|
148
|
-
python scripts/autoskill.py doctor \
|
|
149
|
-
--config skills/autoskill/config.yaml \
|
|
150
|
-
--skills-dir skills
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
The report covers `config` (backend choice valid), `skills_dir` (exists), `screenpipe` (reachable + authed), and `llm` (LM Studio serving or API key present). Non-zero exit on any failure, with the offending line marked `error`.
|
|
154
|
-
|
|
155
|
-
### 1. Run the pipeline
|
|
156
|
-
|
|
157
|
-
```bash
|
|
158
|
-
export SCREENPIPE_TOKEN=$(screenpipe auth token)
|
|
159
|
-
python scripts/autoskill.py run \
|
|
160
|
-
--start "2026-04-17T00:00:00Z" \
|
|
161
|
-
--end "2026-04-17T23:59:59Z" \
|
|
162
|
-
--config skills/autoskill/config.yaml \
|
|
163
|
-
--skills-dir skills
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
Proposals land in `~/.autoskill/proposed/<timestamp>/` by default, keeping experimental output out of the skills repo. Pass `--out PATH` to override.
|
|
167
|
-
|
|
168
|
-
Internally:
|
|
169
|
-
1. **Fetch** — `fetch_window` paginates screenpipe's `/search` endpoint, normalizes events to `{ts, app, window_title, text, content_type}`.
|
|
170
|
-
2. **Redact** — `redact` scrubs emails, API keys, bearer tokens, phones from OCR text and window titles as defense-in-depth over screenpipe's own PII removal.
|
|
171
|
-
3. **Cluster** — `segment_sessions` splits on idle gaps (default 10 min) and drops short sessions; `cluster_sessions` groups sessions by app-signature and keeps clusters of size `min_cluster_size` (default 2).
|
|
172
|
-
4. **Match** — `load_skill_descriptions` reads frontmatter from every `SKILL.md` in `skills/`; `top_k_matches` ranks each cluster against all skills using local `sentence-transformers` embeddings (cosine similarity).
|
|
173
|
-
5. **Synthesize** — `synthesize` prompts the configured LLM backend to classify each cluster as `reuse`, `compose`, or `novel` and emit a SKILL.md body where appropriate.
|
|
174
|
-
6. **Report** — writes `<out_dir>/<ts>/report.md`, plus `new-skills/<name>/SKILL.md` or `composition-recipes/<name>/SKILL.md` for each proposal.
|
|
175
|
-
|
|
176
|
-
Add `--dry-run` to stop after clustering; this skips the LLM (and the sentence-transformers load), writing only `plan.md` for inspection.
|
|
177
|
-
|
|
178
|
-
### 2. Review and promote
|
|
179
|
-
|
|
180
|
-
Open `~/.autoskill/proposed/<ts>/report.md`, edit drafts in place, delete anything you don't want. Then:
|
|
181
|
-
|
|
182
|
-
```bash
|
|
183
|
-
python scripts/autoskill.py promote \
|
|
184
|
-
--proposed ~/.autoskill/proposed/2026-04-17T14-30-00 \
|
|
185
|
-
--skills-dir skills \
|
|
186
|
-
--name zotero-pubmed-helper
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
`promote` moves the directory into `skills/<name>/`, refusing to overwrite an existing skill. Exits non-zero with a friendly error if the proposal isn't found or the target already exists.
|
|
190
|
-
|
|
191
|
-
## Configuration
|
|
192
|
-
|
|
193
|
-
See `config.yaml` for the full shape. Default values (local-first):
|
|
194
|
-
|
|
195
|
-
```yaml
|
|
196
|
-
backend: local
|
|
197
|
-
local:
|
|
198
|
-
endpoint: http://localhost:1234/v1 # LM Studio's Developer server
|
|
199
|
-
model: Gemma-4-31B-it
|
|
200
|
-
|
|
201
|
-
screenpipe:
|
|
202
|
-
url: http://localhost:3030 # or https://screenpipe.local via Caddy
|
|
203
|
-
|
|
204
|
-
cluster:
|
|
205
|
-
min_session_minutes: 5
|
|
206
|
-
idle_gap_minutes: 10
|
|
207
|
-
min_cluster_size: 2
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
To opt into a cloud backend:
|
|
211
|
-
|
|
212
|
-
```yaml
|
|
213
|
-
backend: claude # or foundry
|
|
214
|
-
claude:
|
|
215
|
-
model: claude-opus-4-7
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
## Composition recipes vs new skills
|
|
219
|
-
|
|
220
|
-
- **compose**: the LLM judged that chaining existing skills covers the workflow. The emitted SKILL.md is intentionally thin — frontmatter + a "Workflow" section that invokes existing skills in order. The same agent runtime that discovered the skill can then invoke it end-to-end.
|
|
221
|
-
- **novel**: no combination of existing skills covers it. A fuller SKILL.md is drafted, still following repo conventions (frontmatter, Overview, When to Use, Workflow). The user should always review new-skill drafts before promoting.
|
|
222
|
-
|
|
223
|
-
## Testing
|
|
224
|
-
|
|
225
|
-
The skill is covered by a small pytest suite at `tests/autoskill/` in the repository root. Each script is unit-tested in isolation with dependency injection (mock HTTP transport, stub backend, stub embedder):
|
|
226
|
-
|
|
227
|
-
```bash
|
|
228
|
-
python -m pytest tests/autoskill -v
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
## Composition with other skills in this repo
|
|
232
|
-
|
|
233
|
-
The autoskill's embedding index covers all 135 sibling skills. Workflows that look like scientific writing will match `scientific-writing` / `literature-review` / `citation-management`; figure work will match `scientific-schematics` / `generate-image` / `infographics`; slide prep matches `scientific-slides` / `pptx`; etc. When a cluster scores high against two or three sibling skills the emitted composition recipe names them explicitly, so the user's future agent invocations use the optimized paths already documented in this repo.
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: benchling-integration
|
|
3
|
-
description: Benchling Python SDK and REST API integration for registry entities, inventory, ELN entries, workflows, Benchling Apps, and Data Warehouse queries. Use when automating lab data with benchling-sdk or the v2 API.
|
|
4
|
-
license: MIT
|
|
5
|
-
allowed-tools: Read Write Edit Bash
|
|
6
|
-
compatibility: Requires a Benchling account, tenant URL, and API key or OAuth app credentials. Install benchling-sdk with uv pip install.
|
|
7
|
-
metadata:
|
|
8
|
-
version: "1.4"
|
|
9
|
-
skill-author: K-Dense Inc.
|
|
10
|
-
openclaw:
|
|
11
|
-
primaryEnv: BENCHLING_API_KEY
|
|
12
|
-
envVars:
|
|
13
|
-
- name: BENCHLING_TENANT_URL
|
|
14
|
-
required: true
|
|
15
|
-
description: Benchling tenant base URL.
|
|
16
|
-
- name: BENCHLING_API_KEY
|
|
17
|
-
required: false
|
|
18
|
-
description: API key auth (alternative to OAuth).
|
|
19
|
-
- name: BENCHLING_CLIENT_ID
|
|
20
|
-
required: false
|
|
21
|
-
description: OAuth app client id.
|
|
22
|
-
- name: BENCHLING_CLIENT_SECRET
|
|
23
|
-
required: false
|
|
24
|
-
description: OAuth app client secret.
|
|
25
|
-
- name: BENCHLING_PROD_TENANT_URL
|
|
26
|
-
required: false
|
|
27
|
-
description: Production tenant URL (multi-env setups).
|
|
28
|
-
- name: BENCHLING_PROD_API_KEY
|
|
29
|
-
required: false
|
|
30
|
-
description: Production API key (multi-env setups).
|
|
31
|
-
- name: BENCHLING_STAGING_TENANT_URL
|
|
32
|
-
required: false
|
|
33
|
-
description: Staging tenant URL (multi-env setups).
|
|
34
|
-
- name: BENCHLING_STAGING_API_KEY
|
|
35
|
-
required: false
|
|
36
|
-
description: Staging API key (multi-env setups).
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
# Benchling Integration
|
|
40
|
-
|
|
41
|
-
## Overview
|
|
42
|
-
|
|
43
|
-
Benchling is a cloud platform for life sciences R&D. Access registry entities (DNA, RNA, proteins), inventory, electronic lab notebooks, and workflows programmatically via the Python SDK and REST API.
|
|
44
|
-
|
|
45
|
-
**Version note:** Examples target **benchling-sdk 1.25.0** (latest stable on PyPI). Docs: [benchling.com/sdk-docs](https://benchling.com/sdk-docs/). Platform guide: [docs.benchling.com](https://docs.benchling.com/).
|
|
46
|
-
|
|
47
|
-
## When to Use This Skill
|
|
48
|
-
|
|
49
|
-
This skill should be used when:
|
|
50
|
-
- Working with Benchling's Python SDK or REST API
|
|
51
|
-
- Managing biological sequences (DNA, RNA, proteins) and registry entities
|
|
52
|
-
- Automating inventory operations (samples, containers, locations, transfers)
|
|
53
|
-
- Creating or querying electronic lab notebook entries
|
|
54
|
-
- Building workflow automations or Benchling Apps
|
|
55
|
-
- Syncing data between Benchling and external systems
|
|
56
|
-
- Querying the Benchling Data Warehouse for analytics
|
|
57
|
-
- Setting up event-driven integrations with AWS EventBridge
|
|
58
|
-
|
|
59
|
-
## Core Capabilities
|
|
60
|
-
|
|
61
|
-
Seven capability areas, each with code, are in
|
|
62
|
-
[references/core_capabilities.md](references/core_capabilities.md):
|
|
63
|
-
|
|
64
|
-
1. **Authentication and setup** — API key and OAuth app auth; see
|
|
65
|
-
[references/authentication.md](references/authentication.md).
|
|
66
|
-
2. **Registry and entity management** — DNA and AA sequences, custom entities, schemas,
|
|
67
|
-
and registration.
|
|
68
|
-
3. **Inventory management** — containers, boxes, plates, locations, and transfers.
|
|
69
|
-
4. **Notebook and documentation** — entries, day-to-day notes, and structured tables.
|
|
70
|
-
5. **Workflows and automation** — tasks, flowcharts, and assay runs.
|
|
71
|
-
6. **Events and integration** — EventBridge subscriptions; see
|
|
72
|
-
[references/eventbridge.md](references/eventbridge.md).
|
|
73
|
-
7. **Data warehouse and analytics** — SQL access to the warehouse.
|
|
74
|
-
|
|
75
|
-
Endpoint and SDK detail is in
|
|
76
|
-
[references/api_endpoints.md](references/api_endpoints.md) and
|
|
77
|
-
[references/sdk_reference.md](references/sdk_reference.md).
|
|
78
|
-
|
|
79
|
-
## Best Practices
|
|
80
|
-
|
|
81
|
-
### Error Handling
|
|
82
|
-
|
|
83
|
-
The SDK automatically retries failed requests:
|
|
84
|
-
```python
|
|
85
|
-
# Automatic retry for 429, 502, 503, 504 status codes
|
|
86
|
-
# Up to 5 retries with exponential backoff
|
|
87
|
-
# Customize retry behavior if needed
|
|
88
|
-
from benchling_sdk.retry import RetryStrategy
|
|
89
|
-
|
|
90
|
-
benchling = Benchling(
|
|
91
|
-
url=tenant_url,
|
|
92
|
-
auth_method=ApiKeyAuth(api_key),
|
|
93
|
-
retry_strategy=RetryStrategy(max_retries=3),
|
|
94
|
-
)
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### Pagination Efficiency
|
|
98
|
-
|
|
99
|
-
Use generators for memory-efficient pagination:
|
|
100
|
-
```python
|
|
101
|
-
# Generator-based iteration
|
|
102
|
-
for page in benchling.dna_sequences.list():
|
|
103
|
-
for sequence in page:
|
|
104
|
-
process(sequence)
|
|
105
|
-
|
|
106
|
-
# Check estimated count without loading all pages
|
|
107
|
-
total = benchling.dna_sequences.list().estimated_count()
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
### Schema Fields Helper
|
|
111
|
-
|
|
112
|
-
Use the `fields()` helper for custom schema fields:
|
|
113
|
-
```python
|
|
114
|
-
# Convert dict to Fields object
|
|
115
|
-
custom_fields = benchling.models.fields({
|
|
116
|
-
"concentration": "100 ng/μL",
|
|
117
|
-
"date_prepared": "2025-10-20",
|
|
118
|
-
"notes": "High quality prep"
|
|
119
|
-
})
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
### Forward Compatibility
|
|
123
|
-
|
|
124
|
-
The SDK handles unknown enum values and types gracefully:
|
|
125
|
-
- Unknown enum values are preserved
|
|
126
|
-
- Unrecognized polymorphic types return `UnknownType`
|
|
127
|
-
- Allows working with newer API versions
|
|
128
|
-
|
|
129
|
-
### Security Considerations
|
|
130
|
-
|
|
131
|
-
- Never commit API keys or OAuth secrets to version control
|
|
132
|
-
- Read only named environment variables (`BENCHLING_TENANT_URL`, `BENCHLING_API_KEY`, etc.)
|
|
133
|
-
- Route network calls exclusively to your tenant URL
|
|
134
|
-
- Rotate keys if compromised; use OAuth for multi-user production apps
|
|
135
|
-
- Grant minimal necessary permissions for apps in the Developer Console
|
|
136
|
-
|
|
137
|
-
## Resources
|
|
138
|
-
|
|
139
|
-
### references/
|
|
140
|
-
|
|
141
|
-
Detailed reference documentation for in-depth information:
|
|
142
|
-
|
|
143
|
-
- **authentication.md** - Comprehensive authentication guide including OIDC, security best practices, and credential management
|
|
144
|
-
- **sdk_reference.md** - Detailed Python SDK reference with advanced patterns, examples, and all entity types
|
|
145
|
-
- **api_endpoints.md** - REST API endpoint reference for direct HTTP calls without the SDK
|
|
146
|
-
- **eventbridge.md** - EventBridge setup, event payload schema, rule examples, Lambda handler, validation, and recovery
|
|
147
|
-
|
|
148
|
-
Load these references as needed for specific integration requirements.
|
|
149
|
-
|
|
150
|
-
## Common Use Cases
|
|
151
|
-
|
|
152
|
-
**1. Bulk Entity Import:**
|
|
153
|
-
```python
|
|
154
|
-
# Import multiple sequences from FASTA file
|
|
155
|
-
from Bio import SeqIO
|
|
156
|
-
|
|
157
|
-
for record in SeqIO.parse("sequences.fasta", "fasta"):
|
|
158
|
-
benchling.dna_sequences.create(
|
|
159
|
-
DnaSequenceCreate(
|
|
160
|
-
name=record.id,
|
|
161
|
-
bases=str(record.seq),
|
|
162
|
-
is_circular=False,
|
|
163
|
-
folder_id="fld_abc123"
|
|
164
|
-
)
|
|
165
|
-
)
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
**2. Inventory Audit:**
|
|
169
|
-
```python
|
|
170
|
-
# List all containers in a specific location
|
|
171
|
-
containers = benchling.containers.list(
|
|
172
|
-
parent_storage_id="box_abc123"
|
|
173
|
-
)
|
|
174
|
-
|
|
175
|
-
for page in containers:
|
|
176
|
-
for container in page:
|
|
177
|
-
print(f"{container.name}: {container.barcode}")
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
**3. Workflow Automation:**
|
|
181
|
-
```python
|
|
182
|
-
# Update all pending tasks for a workflow
|
|
183
|
-
tasks = benchling.workflow_tasks.list(
|
|
184
|
-
workflow_id="wf_abc123",
|
|
185
|
-
status="pending"
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
for page in tasks:
|
|
189
|
-
for task in page:
|
|
190
|
-
# Perform automated checks
|
|
191
|
-
if auto_validate(task):
|
|
192
|
-
benchling.workflow_tasks.update(
|
|
193
|
-
task_id=task.id,
|
|
194
|
-
workflow_task=WorkflowTaskUpdate(
|
|
195
|
-
status_id="status_complete"
|
|
196
|
-
)
|
|
197
|
-
)
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
**4. Data Export:**
|
|
201
|
-
```python
|
|
202
|
-
# Export all sequences with specific properties
|
|
203
|
-
sequences = benchling.dna_sequences.list()
|
|
204
|
-
export_data = []
|
|
205
|
-
|
|
206
|
-
for page in sequences:
|
|
207
|
-
for seq in page:
|
|
208
|
-
if seq.schema_id == "target_schema_id":
|
|
209
|
-
export_data.append({
|
|
210
|
-
"id": seq.id,
|
|
211
|
-
"name": seq.name,
|
|
212
|
-
"bases": seq.bases,
|
|
213
|
-
"length": len(seq.bases)
|
|
214
|
-
})
|
|
215
|
-
|
|
216
|
-
# Save to CSV or database
|
|
217
|
-
import csv
|
|
218
|
-
with open("sequences.csv", "w") as f:
|
|
219
|
-
writer = csv.DictWriter(f, fieldnames=export_data[0].keys())
|
|
220
|
-
writer.writeheader()
|
|
221
|
-
writer.writerows(export_data)
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
## Additional Resources
|
|
225
|
-
|
|
226
|
-
- **Official Documentation:** https://docs.benchling.com
|
|
227
|
-
- **Python SDK Reference:** https://benchling.com/sdk-docs/
|
|
228
|
-
- **API Reference:** https://benchling.com/api/reference
|
|
229
|
-
- **Support:** [email protected]
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: bgpt-paper-search
|
|
3
|
-
description: Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server. Returns 25+ fields per paper including methods, results, sample sizes, quality scores, and conclusions. Use for literature reviews, evidence synthesis, and finding experimental details not available in abstracts alone.
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: Requires the BGPT MCP server configured in the agent host (npx mcp-remote or npx bgpt-mcp), internet access to bgpt.pro, and an optional BGPT API key for paid usage.
|
|
6
|
-
metadata:
|
|
7
|
-
version: "1.1"
|
|
8
|
-
skill-author: BGPT
|
|
9
|
-
website: https://bgpt.pro/mcp
|
|
10
|
-
github: https://github.com/connerlambden/bgpt-mcp
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# BGPT Paper Search
|
|
14
|
-
|
|
15
|
-
## Overview
|
|
16
|
-
|
|
17
|
-
BGPT is a remote MCP server that searches a curated database of scientific papers built from raw experimental data extracted from full-text studies. Unlike traditional literature databases that return titles and abstracts, BGPT returns structured data from the actual paper content — methods, quantitative results, sample sizes, quality assessments, and 25+ metadata fields per paper.
|
|
18
|
-
|
|
19
|
-
## When to Use This Skill
|
|
20
|
-
|
|
21
|
-
Use this skill when:
|
|
22
|
-
- Searching for scientific papers with specific experimental details
|
|
23
|
-
- Conducting systematic or scoping literature reviews
|
|
24
|
-
- Finding quantitative results, sample sizes, or effect sizes across studies
|
|
25
|
-
- Comparing methodologies used in different studies
|
|
26
|
-
- Looking for papers with quality scores or evidence grading
|
|
27
|
-
- Needing structured data from full-text papers (not just abstracts)
|
|
28
|
-
- Building evidence tables for meta-analyses or clinical guidelines
|
|
29
|
-
|
|
30
|
-
## Setup
|
|
31
|
-
|
|
32
|
-
BGPT is a remote MCP server — no local installation required. Configure it in your agent's MCP settings before use; this skill instructs the agent to call the `search_papers` MCP tool and does not enable MCP access by itself.
|
|
33
|
-
|
|
34
|
-
### Claude Desktop / Claude Code
|
|
35
|
-
|
|
36
|
-
Add to your MCP configuration:
|
|
37
|
-
|
|
38
|
-
```json
|
|
39
|
-
{
|
|
40
|
-
"mcpServers": {
|
|
41
|
-
"bgpt": {
|
|
42
|
-
"command": "npx",
|
|
43
|
-
"args": ["mcp-remote", "https://bgpt.pro/mcp/sse"]
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### npm (alternative)
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
npx bgpt-mcp
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## Usage
|
|
56
|
-
|
|
57
|
-
Once the BGPT MCP server is configured, call its `search_papers` tool via the agent's MCP interface (not via Bash):
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
Search for papers about: "CRISPR gene editing efficiency in human cells"
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
The server returns structured results including:
|
|
64
|
-
- **Title, authors, journal, year, DOI**
|
|
65
|
-
- **Methods**: Experimental techniques, models, protocols
|
|
66
|
-
- **Results**: Key findings with quantitative data
|
|
67
|
-
- **Sample sizes**: Number of subjects/samples
|
|
68
|
-
- **Quality scores**: Study quality assessments
|
|
69
|
-
- **Conclusions**: Author conclusions and implications
|
|
70
|
-
|
|
71
|
-
## Pricing
|
|
72
|
-
|
|
73
|
-
- **Free tier**: 50 searches per network, no API key required
|
|
74
|
-
- **Paid**: $0.01 per result with an API key from [bgpt.pro/mcp](https://bgpt.pro/mcp)
|
|
75
|
-
|