Command Palette

Search for a command to run...

Назад к скиллам
скилл № 88474

biomolecular-structure-viewer

Interactive 3D biomolecular structure viewer via Mol*. Renders 3D molecular structures from local workspace files (.cif, .mmcif, .pdb) or conversation…

БесплатноБез исполняемых скриптов
huytran1120от huytran1120★ 97 звёзд на GitHub

Установить biomolecular-structure-viewer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Biomolecular Structure Viewer

The Biomolecular Structure Viewer sidecar renders interactive 3D molecular structures in the Antigravity side pane using Mol*.

All interaction with the viewer is through the science_biomolecular_structure_viewer_mcp MCP tool catalog. Never open or edit the viewer's own code, config or saved state; the MCP tools are the only way to operate it. They validate inputs, apply atomic state patches, and prevent race conditions.

[!IMPORTANT] Local files only: The viewer only loads structure files saved locally. Always download the structure into the current conversation's artifact directory first (using pdb-database or alphafold-database-fetch-and-analyze, see Where files live), then pass the file path to load_structure. Database IDs (e.g. 1CRN, P01308, AF-P01308-F1) and URLs are rejected; download URLs into the artifact directory first with curl, not a web-page fetch tool such as read_url_content, which can silently truncate large files.


Where files live

The viewer is scoped to the current conversation: it only lists and loads structure files from that conversation's artifact directory.

Viewer state (including user notes) is managed entirely by the MCP tools; never read or write it directly.


Standard Biomolecular Structure Visualization Workflow

When the user asks to visualise, show, or display a biomolecular structure:

  1. Obtain Local Structure File (Required):

    • If the structure file (.cif, .mmcif, or .pdb) is already in the conversation's artifact directory (including .user_uploaded/), use its path relative to that directory.
    • If the file is elsewhere on disk (e.g. the user's workspace), copy it into the conversation's artifact directory first (e.g. cp): the viewer does not load files from outside it.
    • If given a protein name, gene symbol, UniProt ID, or PDB ID, use appropriate search/fetch skills or tools (e.g. pdb-database, alphafold-database-fetch-and-analyze) to download the 3D coordinate file into the conversation's artifact directory. Decompress .gz files (e.g. gunzip); the viewer does not read gzipped files.
    • If the download fails, tell the user why and stop. Do not pass the database ID to load_structure: it is rejected.
  2. Load into Viewer: Call the load_structure MCP tool with the local file path relative to the conversation directory (e.g. P00533/AF-P00533-F1-model_v6.cif or 4HHB/pdb_00004hhb.cif).

  3. Surface Sidecar Link: Always include this link in your chat response so the user can open the viewer with one click:

    [Biomolecular Structure Viewer](sidecar://science/biomolecular_structure_viewer/ui.html)
    

MCP Tool Catalog (science_biomolecular_structure_viewer_mcp)

Tool Parameters Description
get_state (none) Returns the sidecar's
: : : current state (active :
: : : structure, selections, :
: : : the user's :
: : : activeSelection) and :
: : : state version. :
load_structure id (required), source Loads a local structure
: : (optional: `'workspace' : file into the viewer: :
: : 'artifact'`) : a workspace/artifact file :
: : : path or artifact :
: : : filename. Database IDs :
: : : and URLs are rejected :
: : : (download first). :
: : : Each structure keeps its :
: : : own selections, style and :
: : : overlays (see :
: : : **Per-structure view :
: : : state**): switching back :
: : : restores them, and :
: : : loading the structure :
: :
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл biomolecular-structure-viewer?

Interactive 3D biomolecular structure viewer via Mol*. Renders 3D molecular structures from local workspace files (.cif, .mmcif, .pdb) or conversation artifacts, and manages user 3D annotations and highlighted residues. Use when the user asks to visualise a protein or nucleic acid, display a 3D structure, or asks about 3D biomolecular structure annotations and highlighted residues.

Как установить скилл biomolecular-structure-viewer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл biomolecular-structure-viewer запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить biomolecular-structure-viewer с