davila7/claude-code-templates/biomni
- community
Checking that the SKILL.md file is still in the repository.
Autonomous biomedical AI agent framework for executing complex research tasks across genomics, drug discovery, molecular biology, and clinical analysis. Use this skill when conducting multi-step biomedical research including CRISPR screening design, single-cell RNA-seq analysis, ADMET prediction, GWAS interpretation, rare disease diagnosis, or lab protocol optimization. Leverages LLM reasoning with code execution and integrated biomedical databases.
Install
npx vskill@latest install davila7/claude-code-templates/biomniSKILL.md
Biomni
Overview
Biomni is an open-source biomedical AI agent framework from Stanford's SNAP lab that autonomously executes complex research tasks across biomedical domains. Use this skill when working on multi-step biological reasoning tasks, analyzing biomedical data, or conducting research spanning genomics, drug discovery, molecular biology, and clinical analysis.
Core Capabilities
Biomni excels at:
- Multi-step biological reasoning - Autonomous task decomposition and planning for complex biomedical queries
- Code generation and execution - Dynamic analysis pipeline creation for data processing
- Knowledge retrieval - Access to ~11GB of integrated biomedical databases and literature
- Cross-domain problem solving - Unified interface for genomics, proteomics, drug discovery, and clinical tasks
When to Use This Skill
Use biomni for:
- CRISPR screening - Design screens, prioritize genes, analyze knockout effects
- Single-cell RNA-seq - Cell type annotation, differential expression, trajectory analysis
- Drug discovery - ADMET prediction, target identification, compound optimization
- GWAS analysis - Variant interpretation, causal gene identification, pathway enrichment
- Clinical genomics - Rare disease diagnosis, variant pathogenicity, phenotype-genotype mapping
- Lab protocols - Protocol optimization, literature synthesis, experimental design
Quick Start
Installation and Setup
Install Biomni and configure API keys for LLM providers:
Configure API keys (store in .env file or environment variables):
Use scripts/setup_environment.py for interactive setup assistance.
Basic Usage Pattern
Working with Biomni
1. Agent Initialization
The A1 class is the primary interface for biomni:
Supported LLM Providers:
- Anthropic Claude (recommended):
claude-sonnet-4-20250514,claude-opus-4-20250514 - OpenAI:
gpt-4,gpt-4-turbo - Azure OpenAI: via Azure configuration
- Google Gemini:
gemini-2.0-flash-exp - Groq:
llama-3.3-70b-versatile - AWS Bedrock: Various models via Bedrock API
See references/llm_providers.md for detailed LLM configuration instructions.
2. Task Execution Workflow
Biomni follows an autonomous agent workflow:
3. Common Task Patterns
CRISPR Screening Design
Single-Cell RNA-seq Analysis
Drug ADMET Prediction
GWAS Variant Interpretation
See references/use_cases.md for comprehensive task examples across all biomedical domains.
4. Data Integration
Biomni integrates ~11GB of biomedical knowledge sources:
- Gene databases - Ensembl, NCBI Gene, UniProt
- Protein structures - PDB, AlphaFold
- Clinical datasets - ClinVar, OMIM, HPO
- Literature indices - PubMed abstracts, biomedical ontologies
- Pathway databases - KEGG, Reactome, GO
Data is automatically downloaded to the specified path on first use.
5. MCP Server Integration
Extend biomni with external tools via Model Context Protocol:
6. Evaluation Framework
Benchmark agent performance on biomedical tasks:
Best Practices
Task Formulation
- Be specific - Include biological context, organism, cell type, conditions
- Specify outputs - Clearly state desired analysis outputs and formats
- Provide data paths - Include file paths for datasets to analyze
- Set constraints - Mention time/computational limits if relevant
Security Considerations
⚠️ Important: Biomni executes LLM-generated code with full system privileges. For production use:
- Run in isolated environments (Docker, VMs)
- Avoid exposing sensitive credentials
- Review generated code before execution in sensitive contexts
- Use sandboxed execution environments when possible
Performance Optimization
- Choose appropriate LLMs - Claude Sonnet 4 recommended for balance of speed/quality
- Set reasonable timeouts - Adjust
default_config.timeout_secondsfor complex tasks - Monitor iterations - Track
max_iterationsto prevent runaway loops - Cache data - Reuse downloaded data lake across sessions
Result Documentation
Resources
References
Detailed documentation available in the references/ directory:
- `api_reference.md` - Complete API documentation for A1 class, configuration, and evaluation
- `llm_providers.md` - LLM provider setup (Anthropic, OpenAI, Azure, Google, Groq, AWS)
- `use_cases.md` - Comprehensive task examples for all biomedical domains
Scripts
Helper scripts in the scripts/ directory:
- `setup_environment.py` - Interactive environment and API key configuration
- `generate_report.py` - Enhanced PDF report generation with custom formatting
External Resources
- GitHub: https://github.com/snap-stanford/biomni
- Web Platform: https://biomni.stanford.edu
- Paper: https://www.biorxiv.org/content/10.1101/2025.05.30.656746v1
- Model: https://huggingface.co/biomni/Biomni-R0-32B-Preview
- Evaluation Dataset: https://huggingface.co/datasets/biomni/Eval1
Troubleshooting
Common Issues
Data download fails
API key errors
Timeout on complex tasks
Memory issues with large datasets
- Use streaming for large files
- Process data in chunks
- Increase system memory allocation
Getting Help
For issues or questions:
- GitHub Issues: https://github.com/snap-stanford/biomni/issues
- Documentation: Check
references/files for detailed guidance - Community: Stanford SNAP lab and biomni contributors
Security
- Security scanPassed, 95 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 repositoryCheckingcli-tool/components/skills/scientific/biomni/SKILL.md
Popularity
- Repository stars
- 23,793
- Repository forks
- 2,299
- Repository npm downloads, 7 days
- 6,866
- 7-day trend score
- 71
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 30 Mar 2026, 7 months ago.
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/davila7/claude-code-templates/biomni)