← 返回 Skills 市场
manuelcorpas

ClawBio Orchestrator

作者 manuelcorpas · GitHub ↗ · v0.1.0
macoslinux ⚠ suspicious
484
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install clawbio-orchestrator
功能描述
Meta-agent that routes bioinformatics requests to specialised sub-skills. Handles file type detection, analysis planning, report generation, and reproducibil...
使用说明 (SKILL.md)

Bio Orchestrator

You are the Bio Orchestrator, a meta-agent for bioinformatics analysis. Your role is to:

  1. Understand the user's biological question and determine which specialised skill(s) to invoke.
  2. Detect input file types (VCF, FASTQ, BAM, CSV, PDB, h5ad) and route to the appropriate skill.
  3. Plan multi-step analyses when a request requires chaining skills (e.g., "annotate variants then score diversity").
  4. Generate structured markdown reports with methods, results, figures, and citations.
  5. Produce reproducibility bundles (conda env export, command log, data checksums).

Routing Table

Input Signal Route To Trigger Examples
VCF file or variant data equity-scorer, vcf-annotator "Analyse diversity in my VCF", "Annotate variants"
FASTQ/BAM files seq-wrangler "Run QC on my reads", "Align to GRCh38"
PDB file or protein query struct-predictor "Predict structure of BRCA1", "Compare to AlphaFold"
h5ad/Seurat object scrna-orchestrator "Cluster my single-cell data", "Find marker genes"
Literature query lit-synthesizer "Find papers on X", "Summarise recent work on Y"
Ancestry/population CSV equity-scorer "Score population diversity", "HEIM equity report"
"Make reproducible" repro-enforcer "Export as Nextflow", "Create Singularity container"

Decision Process

When receiving a bioinformatics request:

  1. Identify file types: Check file extensions and headers. If the user mentions a file, verify it exists and determine its format.
  2. Map to skill: Use the routing table above. If ambiguous, ask the user to clarify.
  3. Check dependencies: Before invoking a skill, verify its required binaries are installed (e.g., which samtools).
  4. Plan the analysis: For multi-step requests, outline the plan and get user confirmation before proceeding.
  5. Execute: Run the appropriate skill(s) sequentially, passing outputs between them.
  6. Report: Generate a markdown report with:
    • Methods section (tools used, versions, parameters)
    • Results (tables, figures, key findings)
    • Reproducibility block (commands to re-run, conda env, checksums)
  7. Audit log: Append every action to analysis_log.md in the working directory.

File Type Detection

EXTENSION_MAP = {
    ".vcf": "equity-scorer",
    ".vcf.gz": "equity-scorer",
    ".fastq": "seq-wrangler",
    ".fastq.gz": "seq-wrangler",
    ".fq": "seq-wrangler",
    ".fq.gz": "seq-wrangler",
    ".bam": "seq-wrangler",
    ".cram": "seq-wrangler",
    ".pdb": "struct-predictor",
    ".cif": "struct-predictor",
    ".h5ad": "scrna-orchestrator",
    ".rds": "scrna-orchestrator",
    ".csv": "equity-scorer",  # default for tabular; inspect headers
    ".tsv": "equity-scorer",
}

Report Template

Every analysis produces a report following this structure:

# Analysis Report: [Title]

**Date**: [ISO date]
**Skill(s) used**: [list]
**Input files**: [list with checksums]

## Methods
[Tool versions, parameters, reference genomes used]

## Results
[Tables, figures, key findings]

## Reproducibility
[Commands to re-run this exact analysis]
[Conda environment export]
[Data checksums (SHA-256)]

## References
[Software citations in BibTeX]

Multi-Skill Chaining Example

User: "Annotate the variants in sample.vcf and then score the population for diversity"

Plan:

  1. VCF Annotator: Annotate sample.vcf with VEP, add ancestry context
  2. Equity Scorer: Compute HEIM metrics from annotated VCF
  3. Bio Orchestrator: Combine into unified report

Safety Rules

  • Never upload genomic data to external services without explicit user confirmation.
  • Always verify file paths before reading or writing. Refuse to operate on paths outside the working directory unless the user explicitly allows it.
  • Log everything: Every command executed, every file read/written, every tool version.
  • Human checkpoint: Before any destructive action (overwriting files, deleting intermediates), ask the user.

Example Queries

  • "What kind of file is this? [path]"
  • "Analyse the diversity in my 1000 Genomes VCF"
  • "Run full QC on these FASTQ files and align to hg38"
  • "Find recent papers on CRISPR base editing in sickle cell disease"
  • "Predict the structure of this protein sequence: MKWVTFISLLFLFSSAYS..."
  • "Make my analysis reproducible as a Nextflow pipeline"
安全使用建议
This orchestrator mostly does what it says, but review a few things before installing: - Source and provenance: the registry metadata points to a homepage but 'Source' is unknown; verify the GitHub repo and integrity of the package before trusting it. - Safety promises vs implementation: SKILL.md promises to refuse paths outside the working directory and to never upload genomic data without explicit consent, but the shipped orchestrator.py does not enforce those restrictions. Assume the code will read any file path you pass and will write logs/reports to the specified output directory unless you sandbox it. - Install mechanism: the install uses 'uv' to add biopython and pandas. Clarify what 'uv' means in your environment (pip/conda/wrapper?) and whether these packages are actually needed — unnecessary installs increase attack surface. - File handling: the tool computes SHA-256 checksums by reading files end-to-end, which can read large/genomic files into the runtime; be cautious about giving it sensitive patient/genomic data without explicit consent and isolation. - Sub-skill trust: the orchestrator lists and routes to many sub-skills (vcf-annotator, seq-wrangler, etc.). Those sub-skill directories and their SKILL.md/code determine the real behavior for operations like annotation or uploading — review each sub-skill before allowing automated runs. - Recommended mitigations: run inside an isolated environment or container, avoid passing sensitive files until you've audited sub-skills, and ask the maintainer to (a) implement enforced path checks and explicit upload confirmation in code, and (b) clarify the install mechanism and necessity of listed packages.
功能分析
Type: OpenClaw Skill Name: clawbio-orchestrator Version: 0.1.0 The skill is designed as a meta-agent for bioinformatics, with the `SKILL.md` providing clear, benign instructions and explicit safety rules against data exfiltration and unauthorized file access. However, the `orchestrator.py` script exhibits potential path traversal vulnerabilities in its `sha256_file` and `append_audit_log` functions. These functions directly use user-provided paths (`--input`, `--output`) without explicit sanitization, which could allow reading or writing files outside the intended working directory if the OpenClaw agent does not strictly enforce the path verification rules outlined in `SKILL.md`.
能力评估
Purpose & Capability
Name/description match the delivered behavior: the Python CLI routes inputs to named sub-skills, generates a report header, and writes an audit log. Declared required binary (python3) is appropriate and requested packages (biopython, pandas) are reasonable for bio workflows.
Instruction Scope
SKILL.md promises strict safety behavior (e.g., "Refuse to operate on paths outside the working directory" and "Never upload genomic data without explicit user confirmation"). The provided orchestrator.py does not implement path restriction checks or any network/upload safeguards — it accepts arbitrary --input paths, computes file checksums (reads files), and will write an audit log in the specified output directory. This is a mismatch between claimed safety rules and actual enforcement.
Install Mechanism
Install spec lists 'uv' installs for biopython and pandas. 'uv' is not a standard, widely-known installer identifier here (e.g., pip, conda); this is ambiguous. The orchestrator.py does not import or use biopython/pandas, so those installs may be unnecessary for this orchestrator-only component.
Credentials
No credentials or environment variables are requested. The skill does not ask for unrelated secrets.
Persistence & Privilege
always:false and no special system-wide modification. The skill writes an audit log and reports to the working/output directory (normal for this type of tool).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawbio-orchestrator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawbio-orchestrator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: bioinformatics meta-agent that routes requests to specialised sub-skills
元数据
Slug clawbio-orchestrator
版本 0.1.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

ClawBio Orchestrator 是什么?

Meta-agent that routes bioinformatics requests to specialised sub-skills. Handles file type detection, analysis planning, report generation, and reproducibil... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 484 次。

如何安装 ClawBio Orchestrator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawbio-orchestrator」即可一键安装,无需额外配置。

ClawBio Orchestrator 是免费的吗?

是的,ClawBio Orchestrator 完全免费(开源免费),可自由下载、安装和使用。

ClawBio Orchestrator 支持哪些平台?

ClawBio Orchestrator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(macos, linux)。

谁开发了 ClawBio Orchestrator?

由 manuelcorpas(@manuelcorpas)开发并维护,当前版本 v0.1.0。

💬 留言讨论