the-omics-os/lobster/lobster-dev
Claude Code and agent skill by the-omics-os/lobster
- community
Checking that the SKILL.md file is still in the repository.
Develop and extend Lobster AI: agent plugins, stateless services, tool metadata, provenance IR, figure templates, contract tests, and local CLI behavior. Use for creating an agent or service, fixing Lobster code, adding a tool, understanding architecture, migrating a plugin, or writing tests. Before adding a new capability, follow the need-first planning workflow. Generate new agent packages with lobster scaffold agent, not by hand.
Install
npx vskill@latest install the-omics-os/lobster/lobster-devSKILL.md
Lobster AI Development Guide — 1.2
Lobster AI is the Python bioinformatics engine powering Omics-OS. Plugins are namespace packages discovered through entry points. This skill covers engine implementation; the supported Cloud client is npm @omicsos/lobster, a separate client contract, not Python/Go Cloud compatibility.
Start with the Installed Environment and Source
Run Python inspection in the environment containing the engine and plugin. Do not modify installed site-packages. If the engine is unavailable, get user approval before installation or environment changes:
A uv tool installation is isolated from a project's Python environment. For plugin development, keep engine and plugin in the same .venv. When npm's lobster wins PATH, uv run python -m lobster targets the local engine explicitly.
Choose the Workflow
| Task | Read | |
|---|---|---|
| New domain/capability | planning-workflow.md → scaffold.md → creating-agents.md | |
| Existing agent tool | creating-agents.md → aquadif-contract.md | |
| Stateless service | creating-services.md | |
| Adapter/provider/omics extension | plugin-architecture.md | |
| Figure template or saved-figure behavior | plugin-architecture.md → testing.md | |
| Contract migration | aquadif-migration.md | |
| Tests | testing.md | |
| Source discovery / architecture | code-layout.md → architecture.md | |
| Local developer commands | cli.md | |
| A new local UI string | cli.md and lobster/i18n/README.md | |
| External domain knowledge | bioskills-bridge.md |
Scaffold First
Fill in the generated domain logic and replace placeholder contract fixtures with small real fixtures and scientific assertions. Structural validation does not establish that the biology is correct or that a notebook produces the same outputs.
The 1.2 scaffold generates lobster-ai~=1.2; keep the plugin's compatibility range aligned with the installed engine.
The bundled scripts/validate_plugin.py is superseded by lobster validate-plugin. It is retained for compatibility; use the installed engine's command and current test kit, not that older script as a release gate.
Hard Rules
- Discover components through
ComponentRegistryand entry points, not a
hardcoded agent catalog or module-level registry calls.
- Put
AGENT_CONFIGbefore heavy imports; load scientific dependencies lazily. - Keep analysis services stateless and returning
(AnnData or None, dict, AnalysisStep). - For provenance-required tools, pass a real
irintolog_tool_usage;
literal ir=None is hollow. Record parameters, transformations and outcomes.
- Preserve PEP 420 boundaries: no
lobster/__init__.pyor shared namespace
__init__.py in a plugin. Avoid eager cross-agent imports and ImportError guards pretending to perform agent discovery.
- Every tool has AQUADIF
.metadataand.tags, assigned after@tool;
primary category first, parameterized collection types in its schema.
- Ordinary scientific tools should provide results and template suggestions,
not silently save figures. Use the shared saved-figure path for a figure producer.
- Run the current
AgentContractTestMixinandFigureContractTestMixincases.
A metadata declaration or placeholder reply assertion is not an execution check.
- Preserve raw-count source for DESeq2; never round normalized values to satisfy
count validation. Drawing a figure must not rerun an analysis unnecessarily.
- Propagate terminal
InferenceRefusedthrough recovery handlers; do not switch
inference authority or expose raw SDK errors/request payloads to the user.
- A new local user-visible string needs easy Simplified Chinese in the same
change. Follow local language. Do not translate command names, flags, JSON keys, tool docstrings, or agent prompts.
Custom-code exposure uses attach_code_tool and the canonical registry name. The supervisor, data_expert_agent, metadata_assistant, and visualization_expert_agent default to enabled; other participating built-in experts default to disabled. research_agent does not offer this tool. See CLI configuration for overrides and precedence. Code runs as your own OS user, not within a confinement boundary; run only code you trust.
Completion Checklist
- [ ] Canonical
lobster validate-pluginhas no unresolved failures or warnings. - [ ] Focused contract and scientific tests cover valid inputs, refusals and outputs.
- [ ] Real IR is tested against the recorded transformation, not just its presence.
- [ ] Figure cases cover relevant tools, previews and save outcomes; skip reasons
are explicit and not represented as tested behavior.
- [ ] Required entry points are discovered in the same environment as the engine.
- [ ] Changes have user-facing documentation with appropriately bounded claims.
Use uv run pytest for Python tests. Run only the scope approved for the task; never turn a documentation audit into installs, network inference or a full suite. Before contribution, ask whether the user wants publication. A fork, push, PR, package release or tag is not implied by permission to make a local change.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/lobster-dev/SKILL.md
Popularity
- Repository stars
- 33
- Repository forks
- 6
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/the-omics-os/lobster/lobster-dev)