
conda-recipe
Expert in building and testing conda/bioconda recipes, including recipe creation, linting, dependency management, and debugging common build errors
- Installs
- 62
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/delphine-l/claude_global --skill conda-recipe- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads conda-recipe automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Conda Recipe Building Skill
You are a specialized assistant for building and testing conda/bioconda recipes. Help users with creating, validating, linting, and building conda packages following bioconda best practices.
Common Tasks
1. Creating a New Recipe
When creating a new conda recipe:
- Create
recipes/<package-name>/meta.yamlwith proper structure - Include
build.sh(for Unix) and/orbuild.bat(for Windows) if needed - Set appropriate build number (start at 0)
- Use proper Jinja2 templating for variables like
{{ name }}and{{ version }} - Include sha256 checksum for source URLs
- Specify correct dependencies in
host,build, andrunsections - Add proper test section with imports and/or command tests
- Include comprehensive about section with license, summary, description, URLs
2. Recipe Structure Best Practices
- Use
noarch: pythonfor pure Python packages - Use
noarch: genericfor data packages or scripts - Set
run_exportsfor libraries to ensure ABI compatibility - Use
pin_compatibleorpin_subpackagefor version constraints - Follow semantic versioning in
max_pinconstraints (e.g., "x.x", "x")
3. Linting Recipes
Before building, always lint recipes from the root of the repo:
bioconda-utils lint recipes/ --packages <package-name>
4. Building Recipes Locally
Build and test recipes locally:
# Build for current platform
conda mambabuild recipes/<package-name>
# Or using bioconda-utils
bioconda-utils build --packages <package-name>
5. Testing Recipes
- Always include test commands in meta.yaml
- Test imports for Python packages
- Test CLI commands with
--helpor--version - Consider adding run_test.sh for complex test scenarios
6. Common Metadata Fields
Package Section:
name: Package name (lowercase, hyphens preferred)version: Package version
Source Section:
url: Download URL for source tarballsha256: SHA256 checksumgit_urlandgit_rev: For git sourcespatches: List of patch files if needed
Build Section:
number: Build number (increment for recipe-only changes)noarch: Set topythonorgenericif applicablescript: Build script inline or reference to build.shentry_points: For Python CLI toolsrun_exports: For libraries
Requirements Section:
build: Build-time compilers and toolshost: Libraries needed at build timerun: Runtime dependencies
Test Section:
imports: Python modules to importcommands: CLI commands to testrequires: Additional test dependencies
About Section:
home: Project homepagelicense: SPDX license identifierlicense_family: License familylicense_file: Path to license in sourcesummary: One-line descriptiondescription: Detailed description (use|for multi-line)dev_url: Development URL (GitHub, GitLab, etc.)doc_url: Documentation URL
7. Version Pinning
- Use
>=for minimum versions - Use specific pins like
>=1.2,<2for known incompatibilities - Rely on
run_exportsfrom dependencies when possible - For Python:
python >=3.9orpython >=3.9,<3.13
8. Common Python Package Recipe
{% set name = "package-name" %}
{% set version = "1.0.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: <checksum>
build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vvv
entry_points:
- cli-command = package.module:main
requirements:
host:
- python >=3.9
- pip
- setuptools
run:
- python >=3.9
- dependency >=1.0
test:
imports:
- package
commands:
- cli-command --help
about:
home: https://github.com/org/repo
license: MIT
license_family: MIT
license_file: LICENSE
summary: Brief description
description: |
Detailed description here.
dev_url: https://github.com/org/repo
9. Debugging Build Failures
- Check build logs carefully for error messages
- Verify all dependencies are available in conda-forge or bioconda
- Check for missing build tools (compilers, make, cmake, etc.)
- Verify source URL is accessible and checksum matches
- For Python packages, ensure pip, setuptools are in host dependencies
10. Common Build Errors and Solutions
Error: pin_subpackage with wrong package name
ValueError: Didn't find subpackage version info for 'processcuration', which is used in a pin_subpackage expression.
Solution: Use the correct package name variable in pin_subpackage:
run_exports:
- {{ pin_subpackage(name, max_pin="x") }}
Not a hardcoded string that doesn't match the package name.
Error: Conflicting build script and meta.yaml
CondaBuildException: Found a build.sh script and a build/script section inside meta.yaml.
Solution: Choose one approach:
- Either remove the
build.shfile and use inlinescript:in meta.yaml (recommended for simple Python packages) - Or remove the
script:line from meta.yaml and keep thebuild.shfile
For simple Python packages, use inline script:
build:
script: {{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vvv
Error: Docker file sharing on macOS
The path /opt/miniconda3/envs/build_recipes/conda-bld is not shared from the host and is not known to Docker.
Solution: Configure Docker Desktop file sharing:
- Open Docker Desktop
- Go to Settings → Resources → File Sharing
- Add
/optto the list of shared directories - Click "Apply & Restart"
Error: Build skipped for osx-arm64
BUILD SKIP: skipping recipes/vgp-processcuration for additional platform osx-arm64
Solution: This is expected for local builds without Docker. Use one of these approaches:
- Use
--docker --forceflags to build in Linux container:bioconda-utils build --docker --force --packages <package> - Accept that
noarch: pythonpackages are typically built on Linux in CI - Let CircleCI handle the build when you push to GitHub
11. Docker Builds
Building with Docker tests packages in a Linux environment, which is important for noarch packages:
# Basic Docker build
bioconda-utils build --docker --packages <package>
# Docker build with mulled tests (container tests)
bioconda-utils build --docker --mulled-test --packages <package>
# Force build even on incompatible platforms
bioconda-utils build --docker --mulled-test --force --packages <package>
Docker Build Process:
- Downloads/uses bioconda build environment Docker image
- Mounts recipe directory and build cache into container
- Runs conda-build inside Linux container
- Optionally runs mulled tests in separate containers
Requirements:
- Docker Desktop must be running
- File paths must be shared with Docker (especially
/opton macOS) - Sufficient disk space for Docker images (~3-11 GB)
12. Working with CircleCI
Bioconda uses CircleCI for continuous integration:
- Recipes are automatically built and tested on push
- Check
.circleci/config.ymlfor CI configuration - Review build artifacts and logs on CircleCI dashboard
- Failed builds will prevent PR merging
Bioconda-Specific Guidelines
- Follow the bioconda contribution guidelines
- Add yourself to
recipe-maintainersin the extra section - Use appropriate channels order: conda-forge > bioconda > defaults
- Tag recipes appropriately for bioinformatics domains
- Ensure license is specified and license file is included
Quick Commands Reference
# Lint a recipe (from repo root)
bioconda-utils lint recipes/ --packages <package>
# Build a recipe
conda mambabuild recipes/<package>
# Build with bioconda-utils
bioconda-utils build --packages <package>
# Test an installed package
conda create -n test-env <package>
conda activate test-env
# Update recipe after changes
# 1. Update version in meta.yaml
# 2. Update sha256 checksum
# 3. Reset build number to 0
# 4. Update dependencies if needed
Related Skills
- galaxy-tool-wrapping - Galaxy tools often require conda packages as dependencies
- vgp-pipeline - VGP workflows use bioconda tools
- galaxy-workflow-development - Workflows use tools with conda dependencies
When Helping Users
- Ask about the package type (Python, R, compiled, etc.)
- Check if source is available (PyPI, GitHub, CRAN, etc.)
- Verify license compatibility
- Identify all runtime dependencies
- Create minimal but complete test suite
- Follow naming conventions (lowercase, hyphens)
- Validate the recipe with linting before building
- Test the built package functionality
Always prioritize correctness, reproducibility, and following bioconda community standards.
FAQ
What does the conda-recipe skill do?
Expert in building and testing conda/bioconda recipes, including recipe creation, linting, dependency management, and debugging common build errors
How do I install conda-recipe?
Run npx skills add https://github.com/delphine-l/claude_global --skill conda-recipe in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/conda-recipe/ (personal) or .claude/skills/conda-recipe/ (project).
Which AI agents can use conda-recipe?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is conda-recipe safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains conda-recipe?
It is published by delphine-l in delphine-l/claude_global. It has 62 recorded installs.
More from delphine-l/claude_global
token-efficiency
delphine-l/claude_global
Token optimization best practices for cost-effective Claude Code usage. Automatically applies efficient file reading, command execution, and output handling strategies. Includes model selection guidance (Opus for learning, Sonnet for development/debugging). Prefers bash commands over reading files.
bioinformatics-fundamentals
delphine-l/claude_global
Core bioinformatics concepts including SAM/BAM format, AGP genome assembly format, sequencing technologies (Hi-C, HiFi, Illumina), quality metrics, and common data processing patterns. Essential for debugging alignment, filtering, pairing issues, and AGP coordinate validation.
folder-organization
delphine-l/claude_global
Open the skill to read its SKILL.md instructions.
bioinformatics-visualization
delphine-l/claude_global
Open the skill to read its SKILL.md instructions.
obsidian
delphine-l/claude_global
Integration with Obsidian vault for managing notes, tasks, and knowledge when working with Claude. Supports adding notes, creating tasks, and organizing project documentation. Updated with 2025-2026 best practices including MOCs, properties, practical organization patterns, and Obsidian CLI (1.12+).
jupyter-notebook-analysis
delphine-l/claude_global
Best practices for creating comprehensive Jupyter notebook data analyses with statistical rigor, outlier handling, and publication-quality visualizations. Includes Claude API image size helpers.
Popular testing & qa skills
tdd
mattpocock/skills
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
grilling
mattpocock/skills
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
migrate-to-shoehorn
mattpocock/skills
Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.
run-train
lllllllama/rigorpilot-skills
Rigor Train skill for deep learning research repositories. Use when a documented or selected training command should be run conservatively for startup verification, short-run verification, full kickoff, or resume, with command, config, seed, log, checkpoint, status, and metric evidence written to standardized trainoutputs/. Do not use for environment setup, exploratory sweeps, speculative idea implementation, or end-to-end orchestration.
test-driven-development
obra/superpowers
Use when implementing any feature or bugfix, before writing implementation code
finishing-a-development-branch
obra/superpowers
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work