Bioconductor Basilisk logo

Bioconductor Basilisk

Organization
bioMate-AI
bioconductor-basilisk

Installs a self-contained conda instance that is managed by the R/Bioconductor installation machinery. This aims to provide a consistent Python environment that can be used reliably by Bioconductor packages. Functions are also provided to e

Overview

PublisherbioMate-AI
Repositorybiomate-bioconductor-kb
Skill namebioconductor-basilisk
Stars
804
Forks
66
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by bioMate-AI on GitHub. Read the source before you install it.

Installation

Install the Bioconductor Basilisk AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/general/basilisk
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bioMate-AI/biomate-bioconductor-kb.git /tmp/biomate-bioconductor-kb
mkdir -p .claude/skills
cp -r /tmp/biomate-bioconductor-kb/skills/general/basilisk .claude/skills/bioconductor-basilisk
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bioconductor Basilisk in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Bioconductor Basilisk on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Bioconductor Basilisk is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

basilisk

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.

  • Version: 1.24.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Depends: reticulate
  • Imports: dir.expiry
  • Install: BiocManager::install("basilisk")

When to Use

  • Developing Bioconductor packages that require a reliable, self-contained Python environment using BasiliskEnvironment to freeze dependencies.
  • Executing Python-based calculations (e.g., scikit-learn's TruncatedSVD) on R matrices safely in an isolated process via basiliskRun.
  • Managing multiple, isolated Python environments within a single R session using createLocalBasiliskEnv and basiliskRun to prevent dependency clashes.

When NOT to Use

  • For interactive, ad-hoc Python development where you want to use your pre-existing global environment, use reticulate directly because basilisk is primarily intended for package developers to freeze dependencies.
  • For simple R-native tasks, use native R implementations because provisioning custom Python virtual environments adds installation overhead.

Data Requirements

  • Input format: Pure R objects (e.g., matrices like matrix(rnorm(1000), ncol=10)) that are amenable to serialization.
  • Structure: Variables must be explicitly passed as arguments to the function supplied to basiliskRun.
  • Normalization state: Not explicitly constrained by basilisk; depends entirely on the downstream Python module being called.

Key Parameters

  • envname (no default): The unique name of the basilisk environment to create or load in BasiliskEnvironment.
  • pkgname (no default): The name of the client package defining the environment in BasiliskEnvironment.
  • packages (no default): A character vector of Python packages (with explicit version constraints like "pandas==2.2.3") to install.
  • fun (no default): The R function containing the Python code to execute inside the isolated environment via basiliskRun.
  • persist (FALSE): Logical indicating whether to persist variables across multiple calls to basiliskRun by passing a store environment.
  • obsolete.only (TRUE): Logical in clearExternalDir to remove only obsolete environments.

Best Practices

  • Always specify exact version numbers for all Python packages (e.g., "scikit-learn==1.6.1") in BasiliskEnvironment to future-proof the installation.
  • Use basiliskStart and basiliskStop (via on.exit()) to manage the process context when executing basiliskRun.
  • Ensure the return value of the function passed to basiliskRun is a pure R object, not a reticulate binding or pointer to external memory.
  • Explicitly import non-base R functions via their namespace (using ::) inside the function passed to basiliskRun.

Common Pitfalls

  • Relying on closures capturing the R environment in which the function was defined causes failures; fix this by explicitly passing variables as arguments to the function in basiliskRun.
  • Returning reticulate bindings to Python objects causes invalid pointer errors when transferred back to the parent process; fix this by returning only pure R objects.
  • Deeply nested directories on Windows exceeding the 260-character file path limit cause installation to silently fail; fix this by setting the BASILISK_EXTERNAL_DIR environment variable to a shorter path.
  • Low disk usage quotas causing incomplete installations; fix this by running clearExternalDir to forcibly clear obsolete environments.

Alternatives

  • reticulate: The underlying framework for R-to-Python interoperability, suitable for interactive use but lacks the Bioconductor-managed freezing of Python versions.
  • renv: Manages R package dependencies and Python virtualenvs at the project level rather than the package level.
  • herper: Manages Conda environments from R but does not isolate execution in a separate process like basilisk.

Citations

  • Lun A (2025). Freezing Python versions inside Bioconductor packages. Package basilisk vignette.

References


Run this on BioMate

This skill is the knowledge layer — when, why, and how to use basilisk. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open basilisk on BioMate →

Frequently asked questions

What does the Bioconductor Basilisk AI skill do?

Installs a self-contained conda instance that is managed by the R/Bioconductor installation machinery. This aims to provide a consistent Python environment that can be used reliably by Bioconductor packages. Functions are also provided to e

Why use Bioconductor Basilisk on TypingMind?

Because you install it once and use it with any model. Bioconductor Basilisk is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Bioconductor Basilisk in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/general/basilisk. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Bioconductor Basilisk?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Bioconductor Basilisk?

As many as you like. As long as a model supports skills, you can use Bioconductor Basilisk with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Bioconductor Basilisk AI skill free?

It is published on GitHub by bioMate-AI. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇