AGENT SKILL

drive-biomni-lab

Use when the user wants to run a biomedical/clinical-genomics analysis on the hosted Biomni Lab (biomni.phylo.bio, Phylo Inc.) from Claude Code - starting or continuing a Biomni agent task, controlling effort/model, attaching skills or @-resources, polling a run, switching/rotating accounts, or checking usage/billing. Triggers: "run this on Biomni", "rotate Biomni accounts", or the bm_* tools.

License 许可
MIT
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
drive-biomni-lab
description
Use when the user wants to run a biomedical/clinical-genomics analysis on the hosted Biomni Lab (biomni.phylo.bio, Phylo Inc.) from Claude Code - starting or continuing a Biomni agent task, controlling effort/model, attaching skills or @-resources, polling a run, switching/rotating accounts, or checking usage/billing. Triggers: "run this on Biomni", "rotate Biomni accounts", or the bm_* tools.

03 SKILL.md 正文

Drive Biomni Lab (hosted) via the cookie-broker connector

The cloud-hub biomni backend exposes 25 bm_* tools that drive the hosted Biomni Lab far beyond its official 10-tool claude.ai connector — effort control, skills, @-resources, live HPC/GPU introspection, usage-aware account rotation — while never handling the credential (a local broker injects the session_id cookie; you only ever see masked previews). Setup + architecture: tools/mcp/cloud-hub/biomni-mcp/README.md.

Preconditions (fail fast, don't improvise auth)

  • The bm_* tools are live (hub restarted after the backend was registered).
  • For each account, its daemons are running — debug Chrome (signed in) + broker + refresher (see the biomni-mcp README / autostart.py).
  • If a call returns 401 / no-auth, the account's cookie is stale → tell the user to ensure that account's debug Chrome is signed in and its refresher is running. Do NOT try to obtain or paste a token yourself — auth is the broker's job.

The task loop

  1. Pick the account — bm_account_list / bm_account_current; switch with bm_account_switch or rotate with bm_account_cycle. Before a heavy run, check bm_billing_balance and rotate to an account with headroom (runs consume usage).
  2. Pick a project — bm_list_projects (or bm_create_project).
  3. Start a task — bm_create_session(project_id, content, model_profile=…):
    • model_profile is the EFFORT tier: standard (default) | fast | premium ("max" is accepted as an alias for premium). Use premium for hard/multimodal work, fast for cheap iteration.
    • submit_initial_message=True (default) starts the run immediately.
    • To attach skills or @-resources, instead create with submit_initial_message=False, then bm_send_message(session_id, content, …) + bm_start_processing.
  4. Attach skills / resources (via bm_send_message):
    • Skills → attached_skills_json = a JSON array of skills from bm_list_skills ({id,name,category,intent:"use"}); only active skills apply (bm_set_skill_status).
    • Resources (tools/databases/packages) → @name mentions inside content (e.g. "@Addgene @airr analyse …"). There is no separate field.
  5. Watch it — poll bm_get_messages (reliable) for the reasoning/tool trace; bm_session_runtime(session_id, kind=…) for live compute (background-processes | gpu-sandboxes | hpc-jobs | hpc-pipelines | machines); bm_get_streaming for a best-effort live peek. Biomni tasks take 30 s–10 min — poll a few times, don't spin. bm_cancel stops a run.
  6. Results — bm_list_results lists output file names/sizes; the files are downloaded from the Biomni web app (not directly). Point the user to the run link.

Cautions

  • $$$ / billable: bm_create_session(submit_initial_message=True) and bm_start_processing consume the account's usage (real HPC/GPU). Confirm intent for large or repeated runs; rotate accounts with bm_billing_balance before one runs dry.
  • bm_api_raw can reach mutating/DELETE routes on the user's own account — confirm before calling those.
  • Trust but verify Biomni output. Biomni is an autonomous agent and has produced confident-but-wrong numbers/citations before; treat its results as hypothesis-generation and have it (or a second pass) self-audit before you rely on them.

Escape hatch

bm_api_raw(method, path, body_json, query_json) calls ANY api.phylo.bio endpoint (e.g. /v2/users/me/memory, /v2/mcp/servers) — use it for anything the 25 typed tools don't cover.

04 同仓库更多 Skills

Prekzursil
Prekzursil/agent-skills-toolchain

clarify-requirements

Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

openmm-md

Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

visual-review

Take screenshots of web pages and UI using Playwright for visual review and iteration

演示文稿测试与质量
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

status

Diagnostic status report — shows metaswarm installation state, project setup, and potential issues

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

start

Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

setup

Interactive project setup — detects your project, configures metaswarm, writes project-local files

★ 0