Agent skill

Antibody Design

by openJiuwen-ai in openJiuwen-ai/sciencediscovery

Prepare, launch, monitor, and summarize the real RFdiffusion to ProteinMPNN to Protenix antibody pipeline on a local or remote ScienceDiscovery Runner with sandboxed Ascend NPUs.

Apache-2.0Auto-check passedResearch & Science

Install Antibody Design

skills CLI
$ npx skills add openJiuwen-ai/sciencediscovery --skill antibody-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openJiuwen-ai/sciencediscovery antibody-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openJiuwen-ai/sciencediscovery.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/antibody-design .claude/skills/antibody-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
antibody-design
GitHub stars
162
Token cost
~2.9k tokens
SKILL.md length
1,315 words
Files
19 (incl. scripts, references)
Skills in repo
23
Repo updated
First seen
Licence
Apache-2.0

At a glance

Prepare, launch, monitor, and summarize the real RFdiffusion to ProteinMPNN to Protenix antibody pipeline on a local or remote ScienceDiscovery Runner with sandboxed Ascend NPUs.

  • Works in 6 steps: Choose and prepare the Runner → Select and probe the managed environment → Prepare workspace models and config → …
  • Tasks that involve Protein structure and design
  • SKILL.md covers Execution contract, 1. Choose and prepare the Runner, 2. Select and probe the… and 3. Prepare workspace models…, plus 3 more sections
  • Runs Python and Shell scripts from its folder; calls python

What it does

Antibody Design is an agent skill from openJiuwen-ai/sciencediscovery. Prepare, launch, monitor, and summarize the real RFdiffusion to ProteinMPNN to Protenix antibody pipeline on a local or remote ScienceDiscovery Runner with sandboxed Ascend NPUs.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including scripts and reference files (for example `AGENT_BOOTSTRAP.md`, `references/real_pipeline_config.example.json` and `scripts/antibody_pipeline_manager.py`).

It sits in Research & Science, covering Protein structure and design. The repository describes itself as: ScienceDiscovery is an all‑in‑one agentic workbench built specifically for scientific research. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Protein structure and design

Example prompts

  • “/antibody-design”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Choose and prepare the Runner
  2. Select and probe the managed environment
  3. Prepare workspace models and config
  4. Validate and launch once
  5. Monitor the existing execution
  6. Return outputs

What it can do on your machine

Read from SKILL.md and the folder at commit cc95884. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 15 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Antibody Design loads about 2.9k tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 49 tokens; SKILL.md has 1,315 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from openJiuwen-ai/sciencediscovery at commit cc95884, republished under its Apache-2.0 licence (© openJiuwen-ai). 1,315 words, ~2,932 tokens.

Download SKILL.mdSave it as .claude/skills/antibody-design/SKILL.md (or your agent's skills folder). This skill also uses 18 other files; get the full folder from GitHub.
name
antibody-design
description
Prepare, launch, monitor, and summarize the real RFdiffusion to ProteinMPNN to Protenix antibody pipeline on a local or remote ScienceDiscovery Runner with sandboxed Ascend NPUs.

Sandboxed Ascend antibody Protenix pipeline

Run the model pipeline as one managed background Shell Execution. Use the same Runner and managed scientific environment for preparation, validation, launch, monitoring, and output transfer.

Execution contract

  • Launch model/NPU work only with run_shell(background=true) and the bundled scripts/run_sandbox_pipeline.sh. Do not use run_npu_job, a host bridge, nohup, a persistent kernel, or an Agent-authored copy of the bundled scripts.
  • Select runner_id from the Runners authorized for the Session. Do not hardcode local. A remote Runner has an independent workspace and independent managed environments.
  • Retain the returned Shell Execution ID. Monitor it with execution_status and execution_logs; these calls do not take the workspace write lock. Never submit the pipeline again because a wait ended or an execution is unknown.
  • Model code, checkpoints, input PDBs, and outputs must resolve inside the selected Runner workspace. Put model assets below antibody_pipeline/models/. Config paths are workspace-relative. Do not use host absolute paths, symlink escapes, python, scripts_dir, pipeline_env, or cann_set_env in config.json.
  • Python packages belong to the selected Runner's managed scientific environment. Install or update them through environment_*, never with pip, conda, or an environment activation script inside run_shell.
  • The NPU cards selected for a Runner are exposed inside the sandbox as logical devices 0..N-1. npus uses those sandbox-local IDs, not the host's physical card numbers. If one card is selected, use "0".
  • There is no default antigen or antibody framework. Require a target PDB, framework PDB, and chain-labelled hotspots such as [B45,B46,B49].
  • Treat a missing target, framework, or hotspot list as missing user input. Stop and ask for that input; do not infer an epitope, launch a SubAgent, search the web, or choose residues from geometry without an explicit user request.
  • On first use in a Session, prepare model code and checkpoints inside the selected Runner workspace with the bundled --prepare-only entrypoint. It uses pinned official sources, applies the bundled RFdiffusion MindSpore Tensor-to-PDB compatibility patch, downloads the official RFdiffusion, ProteinMPNN, and Protenix checkpoints, verifies their size and SHA-256, and reuses verified files on later runs in the same Session. Do not invent mirror URLs, scan unrelated host paths, or copy assets from another Session.

1. Choose and prepare the Runner

Use the Runner catalog in the run_shell / environment_list tool schema and the Session settings. Choose the machine requested by the user, or the single authorized NPU Runner. Keep its ID as <runner-id> for every Runner-scoped call.

For a remote Runner:

  1. Call sync_remote_workspace(operation="list", runner_id="<runner-id>").
  2. Push only missing local inputs with operation="push". Model repositories and checkpoints already present in this Session's remote workspace should stay there; do not copy them back and forth.
  3. Use remote-workspace paths in config.json. Local file tools cannot inspect remote-only files.

Before preparation, check the three required user inputs. If one is missing, ask once and stop this run. The first preparation needs outbound access to the official gitcode.com, gitee.com, tools.mindspore.cn, and af3-dev.tos-cn-beijing.volces.com domains. The last domain is used by Protenix for its CCD cache. If the Session sandbox network policy does not allow these domains, report the required allowlist change before launching the download. Do not switch the sandbox to unrestricted network access.

The user or operator must select usable Ascend cards for that Runner in system settings before launch. The sandbox receives only those cards and renumbers them from zero.

2. Select and probe the managed environment

Call environment_list(runner_id="<runner-id>"). Probe a candidate environment on the same Runner with a short foreground run_shell call and keep its environment ID. The environment must provide the packages in requirements.txt. Always pass that explicit environment_id to the probe; never validate against the Runner's starter/default Python. Probe ready task environments whose names identify this antibody pipeline first (for example, a name containing antibody), then probe the remaining ready task environments if needed. After one candidate fails, continue to the next candidate instead of inspecting model source or the uploaded PDBs for a Python dependency problem. Validate that complete, single-source dependency manifest with the selected environment's Python:

sh
python "$SCIENCEDISCOVERY_SKILLS_DIR/antibody-design/scripts/validate_managed_environment.py" \
  "$SCIENCEDISCOVERY_SKILLS_DIR/antibody-design/requirements.txt"

The validator reads every dependency and exact pin directly from requirements.txt; do not maintain a separate partial package list.

If no environment passes, create or update one on the same Runner with environment_create / environment_install, then probe it again. For a remote Runner, push any workspace-local wheel before installing it.

Show full SKILL.md (610 more words)Show less

3. Prepare workspace models and config

Recommended layout on the selected Runner:

text
antibody_pipeline/
  config.json
  inputs/
    target_antigen.pdb
    antibody_framework.pdb
  models/
    mindscience/
      MindSPONGE/applications/{rf_diffusion,proteinmpnn,protenix}/
  runs/

The default checkpoint locations are:

text
antibody_pipeline/models/mindscience/MindSPONGE/applications/rf_diffusion/models/RFdiffusion_Ab.ckpt
antibody_pipeline/models/mindscience/MindSPONGE/applications/protenix/release_data/checkpoint/ms_model_v0.5.0.ckpt

Create antibody_pipeline/config.json from references/real_pipeline_config.example.json. A minimal config is:

json
{
  "workspace": "antibody_pipeline",
  "mindscience_root": "antibody_pipeline/models/mindscience",
  "target_pdb": "antibody_pipeline/inputs/target_antigen.pdb",
  "framework_pdb": "antibody_pipeline/inputs/antibody_framework.pdb",
  "hotspots": "[B45,B46,B49]",
  "num_designs": 1,
  "run_name": "custom-antigen-protenix",
  "npus": "0",
  "workers_per_npu": 1,
  "protenix_use_msa": false,
  "protenix_n_sample": 1,
  "protenix_seeds": "42",
  "final_step": 160,
  "diffuser_t": 200,
  "force": false
}

Keep the user's original target-PDB chain labels and residue numbers in hotspots. Validation rejects hotspot labels that do not exist as CA residues in the uploaded target PDB and reports its available chains before any model is launched. Keep diffuser_t >= 15. Reusing a run name with force=true deletes that run's existing stage outputs, so require explicit overwrite intent.

Run first-use preparation as a managed background Shell Execution on the same Runner and managed environment:

text
run_shell(
  scriptPath="$SCIENCEDISCOVERY_SKILLS_DIR/antibody-design/scripts/run_sandbox_pipeline.sh",
  arguments=["--prepare-only", "--config", "antibody_pipeline/config.json"],
  runner_id="<runner-id>",
  environment_id="<environment-id>",
  background=true
)

Retain the returned Execution ID and wait with execution_status while reading incremental execution_logs. Never resubmit preparation because one wait expired. Preparation checks out the pinned MindScience revision, installs the pinned RFdiffusion sharker source package, and downloads the official RFdiffusion and Protenix checkpoints to their default locations. Existing MindScience and sharker Git checkouts are verified and moved to their detached pins when necessary; the package is copied to RFdiffusion's expected env/sharker path. A non-Git source directory is rejected instead of silently reused. Each download uses a .part file and becomes visible only after its expected size and SHA-256 match. Existing verified checkpoints are reused. A fresh Session has a fresh Workspace and therefore downloads once again; sharing model assets across Sessions is outside this Skill.

After preparation completes with exit code 0, run foreground validation below. If preparation fails, report its Execution ID and the network, Git, disk-space, or checksum error from its log. Do not search unrelated mount points or replace the official URLs.

4. Validate and launch once

Run a foreground validation on the selected Runner and environment:

text
run_shell(
  scriptPath="$SCIENCEDISCOVERY_SKILLS_DIR/antibody-design/scripts/run_sandbox_pipeline.sh",
  arguments=["--validate-only", "--config", "antibody_pipeline/config.json"],
  runner_id="<runner-id>",
  environment_id="<environment-id>",
  wait_ms=30000
)

For the actual run, remove --validate-only, use background=true, and omit wait_ms. The wrapper validates every input before replacing itself with the pipeline process. Retain the returned <execution-id>.

For a smoke test, use one design, one selected card, npus="0", and one RF worker. For a multi-card run, select the cards on that Runner first and use the corresponding sandbox-local sequence such as "0,1,2,3".

5. Monitor the existing execution

Use only the management channel while the workspace-owning execution runs:

text
execution_status(execution_id="<execution-id>", wait_ms=30000)
execution_logs(execution_id="<execution-id>", cursor=<nextCursor>)

Continue from the returned nextCursor. Status queued or running means the same command is alive; wait on it again with the positive wait_ms shown above. This blocking management wait is designed to repeat for jobs longer than five minutes. The framework also emits a completion notification, but inspect the recorded status after that notice.

Terminal handling:

  • completed: require provenance="committed" and exit code 0, then inspect result.createdFiles and the final logs.
  • failed or cancelled: report the Execution ID, failing stage, exit code, and short error log. Do not launch a replacement automatically.
  • unknown: list this Agent's executions with execution_status() and inspect logs. Unknown does not authorize replay. If cancellation is needed, call execution_cancel and keep checking until terminal.

Do not launch a second Shell to poll files during the run: the active execution owns the workspace write lease. Stage changes and counts are already printed to the managed execution log.

6. Return outputs

After a local execution completes, declare the screening report, summary CSV, and selected result structures from result.createdFiles with declare_artifact.

After a remote execution completes, pull only the outputs the user needs with sync_remote_workspace(operation="pull", runner_id="<runner-id>", paths=[...]), verify the transfer result, and then declare those local files as artifacts. Remote files are not artifacts until they are pulled and declared.

Success requires equal RFdiffusion, ProteinMPNN, Protenix-input, and Protenix- confidence counts for num_designs, plus both files below:

text
antibody_pipeline/runs/<run_name>/05_screening/protenix_screening_report.md
antibody_pipeline/runs/<run_name>/05_screening/protenix_screening_summary.csv

Zero candidates passing the scientific screen is valid when every pipeline stage and both screening reports completed. A hotspot mapping error is a failed screening run, not zero contacts.

© openJiuwen-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 18 other files (scripts, references) in skills/antibody-design of openJiuwen-ai/sciencediscovery.

  • SKILL.md
  • AGENT_BOOTSTRAP.md
  • references/real_pipeline_config.example.json
  • requirements.txt
  • scripts/antibody_pipeline_manager.py
  • scripts/check_real_pipeline_env.sh
  • scripts/install_hmmer_for_protenix_msa.sh
  • scripts/install_pipeline_deps.sh
  • scripts/pdb_to_protenix_json.py
  • scripts/protenix_py312_compat.py
  • scripts/rfdiffusion_mindspore_io.patch
  • scripts/run_after_rfdiffusion.sh
  • scripts/run_full_antibody_pipeline.sh
  • scripts/run_sandbox_pipeline.sh
  • scripts/sandbox_npu_runtime.sh
  • scripts/screen_protenix_results.py
  • scripts/test_antibody_pipeline_manager.py
  • scripts/test_validate_managed_environment.py
  • scripts/validate_managed_environment.py

Open the folder on GitHubat commit cc95884

Compare with similar skills

Antibody Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Antibody Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Antibody Design this skillopenJiuwen-ai/sciencediscovery162—~2.9kAutomated safety check: PassApache-2.0
Alphafold Database Fetch And Analyzegoogle-deepmind/science-skills3.2k2 repos~1.2kAutomated safety check: PassApache-2.0
Alphafoldadaptyvbio/protein-design-skills1643 repos~1.2kAutomated safety check: PassMIT
Pymol VisualizationChatMol/ChatMol373—~1.2kAutomated safety check: PassMIT
Complexa Binder DesignNVIDIA-BioNeMo/bionemo-agent-toolkit479—~3.1kAutomated safety check: NotesApache-2.0
Bindcraftadaptyvbio/protein-design-skills1643 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Alphafold Database Fetch And Analyze

    google-deepmind/science-skills

    Retrieve and analyze AlphaFold predicted structures for a protein.

    3.2k GitHub starsUsed in 2 repos~1.2k tokens
    Research & ScienceAuto-check passed
  • Alphafold

    adaptyvbio/protein-design-skills

    Validate protein designs using AlphaFold2 structure prediction.

    164 GitHub starsUsed in 3 repos~1.2k tokens
    Research & ScienceAuto-check passed
  • Pymol Visualization

    ChatMol/ChatMol

    Generate publication-quality molecular visualization images using PyMOL.

    373 GitHub stars~1.2k tokensUpdated 6 mo ago
    Research & ScienceAuto-check passed
  • Complexa Binder Design

    NVIDIA-BioNeMo/bionemo-agent-toolkit

    Run a complete protein binder design campaign with NVIDIA Proteina-Complexa: resolve a target structure and hotspots from a name/sequence/PDB, co-design binder sequence+structure with reward-guided…

    479 GitHub stars~3.1k tokensUpdated 2 days ago
    Research & ScienceAuto-check: notes
  • Bindcraft

    adaptyvbio/protein-design-skills

    End-to-end binder design using BindCraft hallucination. An agent skill from adaptyvbio/protein-design-skills.

    164 GitHub starsUsed in 3 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • DiffDock Molecular Docking

    K-Dense-AI/scientific-agent-skills

    Predicts how small molecules bind to a protein with DiffDock, covering batch docking, pose ranking by confidence and checks on the results; not for binding affinity.

    48k GitHub starsUsed in 1 repo~3k tokens
    Research & ScienceAuto-check: notes

More from openJiuwen-ai/sciencediscovery

All 23 skills in this repo
  • Code Engineer

    openJiuwen-ai/sciencediscovery

    A skill your agent uses when you need to write and execute Python/R code to process, transform, and analyze data, delivering reproducible computational results with complete code-level methodology…

    162 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Gitcode

    openJiuwen-ai/sciencediscovery

    Operate GitCode issues, PRs, wikis, code/MR refs, and cached org templates.

    162 GitHub stars~4.3k tokensUpdated today
    Auto-check passed
  • Structure Pocket Inspection

    openJiuwen-ai/sciencediscovery

    Inspect a local PDB structure, summarize chains and residue composition, and identify protein atoms near a user-specified ligand or pocket center.

    162 GitHub stars~624 tokensUpdated today
    Auto-check passed
  • Science Research Team

    openJiuwen-ai/sciencediscovery

    A skill your agent uses to orchestrate a multi-domain research team for literature/evidence research and data analysis.

    162 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Literature Searcher

    openJiuwen-ai/sciencediscovery

    A skill your agent uses when a research workflow needs verified academic source retrieval through literature-search MCP interfaces available in the current session before evidence extraction.

    162 GitHub stars~5.8k tokensUpdated today
    Auto-check passed
  • Create GitHub PR

    openJiuwen-ai/sciencediscovery

    Open or update a pull request on GitHub's openJiuwen-ai/sciencediscovery: run the UT/ST/E2E layers locally, push the branch to the operator's own GitHub fork, write a body that says what was…

    162 GitHub stars~3.2k tokensUpdated today
    Auto-check passed

Questions about Antibody Design

What does Antibody Design do?

Prepare, launch, monitor, and summarize the real RFdiffusion to ProteinMPNN to Protenix antibody pipeline on a local or remote ScienceDiscovery Runner with sandboxed Ascend NPUs. Antibody Design is an agent skill from openJiuwen-ai/sciencediscovery. Prepare, launch, monitor, and summarize the real RFdiffusion to ProteinMPNN to Protenix antibody pipeline on a local or remote ScienceDiscovery Runner with sandboxed Ascend NPUs.

When should I use Antibody Design?

Antibody Design fits situations like: tasks that involve Protein structure and design.

How do I install Antibody Design in Claude Code?

Run `npx skills add openJiuwen-ai/sciencediscovery --skill antibody-design -a claude-code`. Or copy the skill folder (skills/antibody-design in openJiuwen-ai/sciencediscovery) into .claude/skills/antibody-design in your project. Claude Code loads it when a task matches its description.

How do I install Antibody Design in Codex?

Run `npx skills add openJiuwen-ai/sciencediscovery --skill antibody-design -a codex`. Or copy the skill folder (skills/antibody-design in openJiuwen-ai/sciencediscovery) into .agents/skills/antibody-design in your project. Codex loads it when a task matches its description.

Can I use Antibody Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openJiuwen-ai/sciencediscovery --skill antibody-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/antibody-design, .gemini/skills/antibody-design, .github/skills/antibody-design and .opencode/skills/antibody-design in your project.

What does Antibody Design need to run?

Going by SKILL.md and its folder, Antibody Design needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3; A Bash shell.

Does Antibody Design access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Antibody Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Antibody Design use?

Antibody Design is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Antibody Design use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 127 tokens, read only when the agent opens those files.

What are the alternatives to Antibody Design?

Skills that share tags, products or a category with Antibody Design: Alphafold Database Fetch And Analyze (google-deepmind/science-skills, 3.2k stars), Alphafold (adaptyvbio/protein-design-skills, 164 stars), Pymol Visualization (ChatMol/ChatMol, 373 stars) and Complexa Binder Design (NVIDIA-BioNeMo/bionemo-agent-toolkit, 479 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Antibody Design?

openJiuwen-ai (a GitHub organization) maintains it in openJiuwen-ai/sciencediscovery, which has 162 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 11, 2026.

Source: openJiuwen-ai/sciencediscovery on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.