lamindb
Manages biological datasets and models with LaminDB, including artifact registration, lineage tracking, schema validation, Bionty ontology annotation…
Skill by K-Dense-AI
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/k-dense-ai-lamindb
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/lamindb
What's inside
- Skill name
lamindb- Description
- Manages biological datasets and models with LaminDB, including artifact registration, lineage tracking, schema validation, Bionty ontology annotation, query/search, collections, branches, storage, and workflow integrations. Use for reproducible biological data curation or a LaminDB lakehouse.
- License
- MIT
- Compatibility
- Requires Python 3.10-3.14 and lamindb; examples tested on Python 3.12 with lamindb 2.10.0, bionty 2.5.0, and IPython. Local SQLite needs no login; public ontologies and remote storage require network access, and private instances require credentials.
- Metadata
- version: 2.0 · skill-author: K-Dense Inc. · last-reviewed: 2026-09-30
- Instructions
- 145 lines in SKILL.md · view on GitHub
Files (8)
- SKILL.md
- annotation-validation.md · references/
- core-concepts.md · references/
- data-management.md · references/
- integrations.md · references/
- ontologies.md · references/
- setup-deployment.md · references/
- sources.md · references/
SKILL.md (first lines)
# LaminDB
## When to use
Use for registering biological datasets, curating DataFrame/AnnData metadata,
querying annotated artifacts, and tracking scientific scripts or workflows.
LaminDB stores metadata in SQLite/PostgreSQL and files in configured storage;
registration alone does not establish scientific validity or FAIR compliance.
This skill targets **LaminDB 2.10.0 and Bionty 2.5.0**. The local examples were
executed on Python 3.12, pandas 3.0.6, and AnnData 0.13.2. The LaminDB release
caps AnnData at 0.13.2; preserve its dependency constraints. Install IPython for
registry synonym helpers (`add_synonym()` imports it in this release).
## Workflow
1. Confirm the intended instance, storage, and write scope with `lamin info`.
Use a new local development directory for experiments. See
[setup and deployment](references/setup-deployment.md).
2. Define typed `Feature` records and a `Schema` for the biological data.
Use registry-backed categorical dtypes for controlled vocabularies;
`dtype=str` only checks strings. See
[annotation and validation](references/annotation-validation.md).
3. Review the ontology source/version and organism. Standardize only reviewed
synonyms and preserve unresolved annotations. See
[Bionty ontologies](references/ontologies.md).
4. In a script or notebook, start `ln.track()`, load registered inputs, validate,
and save outputs. `curator.validate()` returns `None` on success and raises
`ln.errors.ValidationError` on failure. Repair, then validate again.
5. Save through the curator or a schema-aware artifact constructor. Check the
stored schema and round-trip content; finish a successful run with `ln.finish()`.
6. Query metadata before loading content. Record artifact UIDs and schema/source
provenance for reproducibility; a key can resolve to a newer version later.
See [queries and streaming](references/data-management.md).
## Local worked example
Run in a dedicated environment and an empty project directory:
```bash
uv venv --python 3.12
uv pip install 'lamindb==2.10.0' 'bionty==2.5.0' 'ipython==9.17.1'
source .venv/bin/activate
lamin init --storage ./storage --name biology-demo --modules bionty
```
Save the following as `curate_qc.py`, then run `python curate_qc.py`:
```python
import pandas as pd
import lamindb as ln
ln.track(params={"analysis": "QC metadata curation"})
count = ln.Feature(name="gene_count", dtype=int).save()
condition = ln.Feature(name="condition", dtype=str).save()
schema = ln.Schema(
name="qc_metadata",
features=[count, condition],
maximal_set=True, # reject extra columns
).save()
df = pd.DataFrame({
"gene_count": [120, 130],
"condition": ["control", "treated"],
})
curator = ln.curators.DataFrameCurator(df, schema)
curator.validate() # raises on invalid data; do not use as an if condition
artifact = curator.save_artifact(key="experiments/qc.parquet")
assert artifact.schema == schema
pd.testing.assert_frame_equal(artifact.load(), df)
ln.finish()
```
This validates table structure/types, not whether the counts satisfy assay QC.
Add assay-specific checks (units, allowed ranges, missingness, duplicate sample
IDs, batch balance) before publication or downstream analysis.
## Core objects and contracts
| Object | Purpose and important constraint |
| --- | --- |
| `Artifact` | A file/folder or serialized dataset; `cache()` gets a local path, `load()` materializes content, `open()` returns a format-specific accessor. |
| `Feature` | A typed metadata field; save its definition before `artifact.features.set_values(...)`. |
| `Schema` | Validation rules and feature membership; `maximal_set=True` rejects extras. `flexible=False` alone does not. |
| `Record`, `ULabel` | Experimental entities and simple labels. A custom term is not an ontology assertion. |
| `Run`, `Transform` | An execution and its code definition. Inputs are `run.input_artifacts`; outputs are `run.output_artifacts`. |
| `Collection` | A versioned group of artifacts; iterate `collection.artifacts.all()`. |
| `Project`, `Branch`, `Space` | Grouping, change organization, and access scope; branches do not replace permissions. |
Use `@ln.flow()` for a workflow entry point and `@ln.step()` within it. Lineage
captures tracked accesses, not arbitrary reads outside LaminDB. Review
[core concepts](references/core-concepts.md) for tracking, labels, and revisions.
## Failure patterns to avoid
- `Artifact.backed()`, `delete_cache()`, and `is_cached()` are absent in 2.10.0.
Use the supported `open()`/`cache()` contracts and cache settings.
- A Parquet `open()` result is a PyArrow dataset, not a byte stream. An AnnData
accessor is a context manager; materialize a slice with `.to_memory()`.
- There is no `Artifact.is_valid` query field. Query the exact `schema` used and
retain validation evidence. Assigning a schema ID does not substitute for curation.
- `curator.cat.add_ontology()` and `inspect_standardize()` are absent. Define the
feature's Bionty dtype, use source-backed records, and use `cat.standardize()`.
For AnnData use `curator.slots["obs"].cat`, not `curator.cat`.
- Bionty `from_values()` can omit unresolved values and return unsaved records.
Check all values explicitly and save records before linking them.
- Do not install `lamindb-wetlab` as a Lamin Labs module. Official current docs
describe `pertdb` for perturbations and `Record` for flexible lab entities.
- Do not invent administrative commands. Current setup uses
`lamin settings cache-dir ...`, `lamin disconnect`, and `lamin migrate deploy`;
cloud sharing and backups require their actual documented systems.
## Integrations and verification boundary
Read [integrations](references/integrations.md) for Nextflow `nf-lamin`, external
ML run IDs, DuckDB, Git, and links to official workflow examples. Examples requiring
private Hub access, cloud writes, external workflow services, or public ontology
downloads are illustrative/source-verified unless explicitly marked executed.
Local regression coverage includes DataFrame and AnnData curation, invalid-dataFrom K-Dense-AI/scientific-agent-skills, MIT.
More from K-Dense-AI/scientific-agent-skills
- 0.699score
13c-metabolic-flux
K-Dense-AI
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps, mfapy isotope simulation…
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
adaptyv
K-Dense-AI
Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit sequences, monitor laboratory progress…
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
exploratory-data-analysis
K-Dense-AI
Performs bounded, local exploratory analysis of explicitly supported scientific files.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
openpiv
K-Dense-AI
Performs Particle Image Velocimetry (PIV) analysis with OpenPIV.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
citation-management
K-Dense-AI
Comprehensive citation management for academic research.
SkillAFreshness: A★ 54.4KClaude Code - 0.699score
parallel-web
K-Dense-AI
Uses Parallel CLI for web search, URL extraction, deep research, structured data enrichment, entity discovery, and recurring web monitoring.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
scientific-schematics
K-Dense-AI
Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
glycoengineering
K-Dense-AI
Analyzes and engineers protein glycosylation by scanning canonical N-glycosylation sequons, describing S/T-rich regions, checking curated glycan evidence, and…
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
venue-templates
K-Dense-AI
Prepares journal manuscripts, conference papers, research posters, and grant documents using venue-specific formatting guidance and bundled LaTeX scaffolds.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
uncertainty-and-units
K-Dense-AI
Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
ginkgo-cloud-lab
K-Dense-AI
Guides protocol selection, input preparation, pricing checks, and browser ordering on Ginkgo Bioworks Cloud Lab (cloud.ginkgo.bio).
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
alphagenome
K-Dense-AI
Looks up precomputed AlphaGenome Atlas effects for any GRCh38 single-nucleotide variant (AVI score with Phred and 18 SHAP feature attributions, plus raw and…
SkillAFreshness: A★ 54.4KClaude Code +9
Signals
- Stars
- 54,411
- Forks
- 4,797
- Open issues
- 8
- Last commit (this folder)
- Oct 1, 2026 (27 days ago)
- Last release
- Oct 1, 2026 (27 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.0
- License
- MIT
- Website
- arxiv.org/abs/2609.00065
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from K-Dense-AI
- 0.699score
exploratory-data-analysis
K-Dense-AI
Performs bounded, local exploratory analysis of explicitly supported scientific files.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
citation-management
K-Dense-AI
Comprehensive citation management for academic research.
SkillAFreshness: A★ 54.4KClaude Code - 0.699score
glycoengineering
K-Dense-AI
Analyzes and engineers protein glycosylation by scanning canonical N-glycosylation sequons, describing S/T-rich regions, checking curated glycan evidence, and…
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
openpiv
K-Dense-AI
Performs Particle Image Velocimetry (PIV) analysis with OpenPIV.
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
ginkgo-cloud-lab
K-Dense-AI
Guides protocol selection, input preparation, pricing checks, and browser ordering on Ginkgo Bioworks Cloud Lab (cloud.ginkgo.bio).
SkillAFreshness: A★ 54.4KClaude Code +9 - 0.699score
parallel-web
K-Dense-AI
Uses Parallel CLI for web search, URL extraction, deep research, structured data enrichment, entity discovery, and recurring web monitoring.
SkillAFreshness: A★ 54.4KClaude Code +9
Cite this page
lamindb skill. Agent Mart. https://agentmart.dev/skills/k-dense-ai-lamindb (last updated 2026-10-24)