← Back to Skills Marketplace
cewinharhar

LobsterBio - Dev

by cewinharhar · GitHub ↗ · v1.0.1
cross-platform ✓ Security Clean
1024
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install lobster-bio-dev
Description
Develop, extend, and contribute to Lobster AI — the multi-agent bioinformatics engine. Use when working on Lobster codebase, creating agents/services, understanding architecture, fixing bugs, adding features, or contributing to the open-source project. Trigger phrases: "add agent", "create service", "extend lobster", "contribute", "understand architecture", "how does X work in lobster", "fix bug", "add feature", "write tests", "lobster development", "agent development", "bioinformatics code"
README (SKILL.md)

Lobster AI Development Guide

Lobster AI is a multi-agent bioinformatics platform using LangGraph for orchestration. This skill teaches you how to work with, extend, and contribute to the codebase.

Quick Navigation

Task Documentation
Architecture overview references/architecture.md
Creating new agents references/creating-agents.md
Creating new services references/creating-services.md
Code layout & finding files references/code-layout.md
Testing patterns references/testing.md
CLI reference references/cli.md

Critical Rules

  1. ComponentRegistry is truth — Agents discovered via entry points, NOT hardcoded
  2. AGENT_CONFIG at module top — Define before heavy imports for \x3C50ms discovery
  3. Services return 3-tuple(AnnData, Dict, AnalysisStep) always
  4. Always pass irlog_tool_usage(..., ir=ir) for reproducibility
  5. No lobster/__init__.py — PEP 420 namespace package

Package Structure

lobster/
├── packages/                    # Agent packages (PEP 420)
│   ├── lobster-transcriptomics/ # transcriptomics_expert, annotation_expert, de_analysis_expert
│   ├── lobster-research/        # research_agent, data_expert_agent
│   ├── lobster-visualization/   # visualization_expert
│   ├── lobster-metadata/        # metadata_assistant
│   ├── lobster-structural-viz/  # protein_structure_visualization_expert
│   ├── lobster-genomics/        # genomics_expert
│   ├── lobster-proteomics/      # proteomics_expert
│   └── lobster-ml/              # machine_learning_expert
└── lobster/                     # Core SDK
    ├── agents/supervisor.py     # Supervisor (stays in core)
    ├── agents/graph.py          # LangGraph builder
    ├── core/                    # Infrastructure (registry, data_manager, provenance)
    ├── services/                # Analysis services
    └── tools/                   # Agent tools

Quick Commands

# Setup (development)
make dev-install              # Full dev setup with editable install
make test                     # Run all tests
make format                   # black + isort

# Setup (end-user testing via uv tool)
uv tool install 'lobster-ai[full,anthropic]'   # Install as users see it
uv tool upgrade lobster-ai                      # Upgrade to latest

# Running
lobster chat                  # Interactive mode
lobster query "your request"  # Single-turn

# Testing
pytest tests/unit/            # Fast unit tests
pytest tests/integration/     # Integration tests

Service Pattern (Essential)

All services return a 3-tuple:

def analyze(self, adata, **params) -> Tuple[AnnData, Dict, AnalysisStep]:
    # Your analysis logic
    stats = {"n_cells": adata.n_obs, "status": "complete"}
    ir = AnalysisStep(
        activity_type="analyze",
        inputs={"n_obs": adata.n_obs},
        outputs=stats,
        params=params
    )
    return processed_adata, stats, ir

Tools wrap services:

@tool
def analyze_modality(modality_name: str, **params) -> str:
    result, stats, ir = service.analyze(adata, **params)
    data_manager.log_tool_usage("analyze", params, stats, ir=ir)  # IR mandatory!
    return f"Complete: {stats}"

Agent Registration (Entry Points)

Agents register via pyproject.toml:

[project.entry-points."lobster.agents"]
my_agent = "lobster.agents.my_domain.my_agent:AGENT_CONFIG"

AGENT_CONFIG must be defined at module top (before imports):

# lobster/agents/mydomain/my_agent.py
from lobster.config.agent_registry import AgentRegistryConfig

AGENT_CONFIG = AgentRegistryConfig(
    name="my_agent",
    display_name="My Expert Agent",
    description="What this agent does",
    factory_function="lobster.agents.mydomain.my_agent.my_agent",
    handoff_tool_name="handoff_to_my_agent",
    handoff_tool_description="Assign tasks for my domain analysis",
    tier_requirement="free",  # All official agents are free
)

# Heavy imports AFTER config
from lobster.core.data_manager_v2 import DataManagerV2
# ... rest of implementation

Key Files

File Purpose
lobster/agents/graph.py LangGraph orchestration
lobster/core/component_registry.py Agent discovery
lobster/core/data_manager_v2.py Data/workspace management
lobster/core/provenance.py W3C-PROV tracking
lobster/cli.py CLI implementation

Online Documentation

Full documentation at docs.omics-os.com (or local docs-site/):

  • Getting Started: docs/getting-started/
  • Core SDK: docs/core/
  • Agents: docs/agents/
  • Developer Guide: docs/developer/
  • API Reference: docs/api-reference/

Common Tasks

Adding a New Agent

  1. Create package: packages/lobster-mydomain/
  2. Define AGENT_CONFIG at top of agent file
  3. Register entry point in pyproject.toml
  4. Implement agent with tools
  5. Add tests in tests/unit/agents/

See references/creating-agents.md for full guide.

Adding a New Service

  1. Create service class in appropriate package
  2. Implement 3-tuple return pattern
  3. Wrap in tool with log_tool_usage
  4. Add unit tests

See references/creating-services.md for full guide.

Understanding Data Flow

User Query → CLI → LobsterClientAdapter → AgentClient
                                              ↓
                            LangGraph (supervisor → agents)
                                              ↓
                               Services → DataManagerV2
                                              ↓
                                    Results + Provenance

Testing

# Unit tests (fast, no external deps)
pytest tests/unit/ -v

# Integration tests (may need env vars)
pytest tests/integration/ -v

# Specific test
pytest tests/unit/test_my_feature.py -v

# With coverage
pytest --cov=lobster tests/

Contributing

  1. Fork the repository
  2. Create feature branch: git checkout -b feature/my-feature
  3. Make changes following patterns above
  4. Run tests: make test
  5. Format code: make format
  6. Submit PR with clear description
Usage Guidance
This skill is documentation for developing and contributing to Lobster AI and appears internally consistent. It does not itself request secrets or install code, but actually running or installing the Lobster project (per the docs) can require external LLM API keys (OpenAI, Anthropic), and optional cloud credentials (AWS) for S3/backends. Before you run any make/pip/uv commands from these docs: 1) review pyproject.toml and any install scripts in the repository; 2) run installs and tests in an isolated environment (virtualenv/container); 3) do not paste or expose your API keys to unknown code — provide credentials only to trusted tools; and 4) if you need to allow networking for tests, prefer CI runners or disposable VMs. Overall the skill is coherent for its developer purpose.
Capability Analysis
Type: OpenClaw Skill Name: lobster-bio-dev Version: 1.0.1 The analyzed files constitute a comprehensive developer guide for the Lobster AI platform, detailing how to create agents, services, and test components. While the documentation includes instructions for executing shell commands (`make`, `pip install -e .`, `python -c`) and describes data management (`DataManagerV2`) and potential network interactions (mocked `requests.get` for testing, `download_orchestrator.py`), these are all within the legitimate scope of developing and testing a bioinformatics system. There is no evidence of intentional harmful behavior such as data exfiltration, unauthorized remote control, persistence mechanisms, or prompt injection attempts against the OpenClaw agent itself to deviate from its stated development task.
Capability Assessment
Purpose & Capability
The name and description match the contents: a developer/contributor guide and code-layout/docs for the Lobster AI project. The files are documentation and test examples appropriate for development work; there are no unexpected credentials, binaries, or install steps required by the skill itself.
Instruction Scope
SKILL.md and referenced documents only instruct how to develop, test, register agents, run CLI commands, and configure the project. They reference workspace paths, tests, and developer commands (make, pytest, pip editable installs), which are appropriate for the stated purpose. There are no instructions that tell an agent to read unrelated system files or exfiltrate data.
Install Mechanism
There is no install spec and no code files that would be written or executed by the skill at install time. The documentation mentions typical dev install commands (pip install -e, uv tool install) but those are standard developer actions and not performed by the skill itself.
Credentials
The skill does not declare required environment variables, but the CLI reference documents common environment vars (OPENAI_API_KEY, ANTHROPIC_API_KEY, AWS_PROFILE, LOBSTER_WORKSPACE, etc.) that are relevant when running Lobster or using LLM/backends. This is expected for a development guide, but users should be aware that running the project will likely require LLM provider keys and optional cloud credentials for S3/Bedrock.
Persistence & Privilege
The skill is not configured as always:true and does not request persistent privileges or modify other skills. It's an instruction-only skill and does not attempt to persist configuration or tokens on its own.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lobster-bio-dev
  3. After installation, invoke the skill by name or use /lobster-bio-dev
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added developer instructions for installing and upgrading via the `uv` tool, reflecting typical end-user workflows. - Clarified that all official agents have a `tier_requirement` of "free" in `AGENT_CONFIG`. - Updated Quick Commands and setup steps to distinguish between development and end-user installation procedures. - Minor improvements to formatting and developer guidance in SKILL.md and referenced documentation files.
v1.0.0
Initial release of the lobster-dev skill for Lobster AI development. - Provides an in-depth development guide for contributing to the Lobster multi-agent bioinformatics engine. - Documents key architectural components, agent/service creation, and essential development rules. - Includes quick navigation to reference docs, common task guides, and code structure overview. - Defines patterns for agent registration, service building, logging, and testing. - Offers command-line workflow examples and links to online/local documentation. - Lists requirements for code organization, reproducibility, and best practices for contributors.
Metadata
Slug lobster-bio-dev
Version 1.0.1
License
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is LobsterBio - Dev?

Develop, extend, and contribute to Lobster AI — the multi-agent bioinformatics engine. Use when working on Lobster codebase, creating agents/services, understanding architecture, fixing bugs, adding features, or contributing to the open-source project. Trigger phrases: "add agent", "create service", "extend lobster", "contribute", "understand architecture", "how does X work in lobster", "fix bug", "add feature", "write tests", "lobster development", "agent development", "bioinformatics code". It is an AI Agent Skill for Claude Code / OpenClaw, with 1024 downloads so far.

How do I install LobsterBio - Dev?

Run "/install lobster-bio-dev" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is LobsterBio - Dev free?

Yes, LobsterBio - Dev is completely free (open-source). You can download, install and use it at no cost.

Which platforms does LobsterBio - Dev support?

LobsterBio - Dev is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created LobsterBio - Dev?

It is built and maintained by cewinharhar (@cewinharhar); the current version is v1.0.1.

💬 Comments