biomolecular-structure-viewer
БесплатноБез исполняемых скриптовНе проверенInteractive 3D biomolecular structure viewer via Mol*. Renders 3D molecular structures from local workspace files (.cif, .mmcif, .pdb) or conversation…
от sharkrebel★ 94 звезды на GitHubОб этом скилле
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-databaseoralphafold-database-fetch-and-analyze, see Where files live), then pass the file path toload_structure. Database IDs (e.g.1CRN,P01308,AF-P01308-F1) and URLs are rejected; download URLs into the artifact directory first withcurl, not a web-page fetch tool such asread_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:
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.gzfiles (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.
- If the structure file (
Load into Viewer: Call the
load_structureMCP tool with the local file path relative to the conversation directory (e.g.P00533/AF-P00533-F1-model_v6.cifor4HHB/pdb_00004hhb.cif).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 : | ||
| : : |
Установить biomolecular-structure-viewer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
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), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic