|
Lobster AI is an open-source multi-agent bioinformatics engine (LangGraph, Python 3.12+) powering Omics-OS. Lobster solves bioinformatics tasks starting from raw data to scientific insights to visualization using supervisor multi-agent architecture. This skill teaches you how to extend it — from adding a single tool to building entire domain agent packages.
Before any work, determine what's available and how you're working:
CODEBLOCK0
HARD GATE — If lobster is not installed, STOP. Install it NOW before doing anything else:
uv venv --python 3.12 .venv && source .venv/bin/activate
uv pip install 'lobster-ai[anthropic]' # or [openai], [google], depending on provider
lobster --version # Must succeed before you proceed
lobster scaffold agent is the ONLY way to create new agent packages — it generates correctYour development mode determines your workflow:
| Mode | How you got here | Where you create packages | How you test |
|---|---|---|---|
| Contributor | INLINECODE2 + INLINECODE3 | Inside packages/ in the repo | INLINECODE5 , full repo access |
| Plugin author |
uv pip install lobster-ai or uv tool install | Anywhere — scaffold creates standalone packages | uv pip install -e ./lobster-<domain>/ then pytest |
Both modes produce the same result: a PEP 420 namespace package discovered by ComponentRegistry via entry points. The scaffold output is identical — a standalone package that works in either mode.
| You want to... | Fast path? | Read these references (in order) |
|---|---|---|
| Create a new agent for a new domain | No — full workflow | planning-workflow.md → scaffold.md → creating-agents.md → aquadif-contract.md |
| Add a tool to an existing agent |
"Fast path" = skip the planning workflow, go straight to the reference files.
user requests: "Build a Lobster agent for epigenomics analysis (bisulfite-seq, ChIP-seq, ATAC-seq) because no lobster packages cover this domain"
CODEBLOCK2
Expected result: A standalone PEP 420 package at ./lobster-<your implementation>/ that installs with uv pip install -e ./lobster-<your implementation>/ and registers via entry points, runs 'lobster status' without errors and running 'lobster query "hi"' without any errors.
Before calling your work done, verify:
python scripts/validate_plugin.py <plugin-dir> passes 8/8 checks@tool has .metadata and .tags assigned immediately afterlobster/__init__.py or lobster/agents/__init__.py (PEP 420)Non-negotiable. Violating these causes runtime failures or contract test failures.
(AnnData, Dict, AnalysisStep) alwaysir=ir — every log_tool_usage() call for provenance-required toolslobster/__init__.py — PEP 420 namespace package (also no lobster/agents/__init__.py)try/except ImportError — use entry points for agent discovery, not eager importscomponent_registry calls — causes slow startup; use lazy functions inside factories.metadata and .tags assigned after @tool decoratorlobster scaffold agent. If lobster is not installed, install it first. Scaffold gets PEP 420, entry points, and contract tests right; you won't.After building a plugin, ask your user if they want to submit a PR. If confirmed: fork → feature branch → make test → make format → PR with clear description.
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 lobsterbio-dev-1776420065 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 lobsterbio-dev-1776420065 技能
skillhub install lobsterbio-dev-1776420065
文件大小: 59.67 KB | 发布时间: 2026-4-17 18:32