pdb-viewer
Use this skill when user wants to view one or multiple PDB / SDF files in the 3D structure viewer. Trigger when user mentions: open pdb, open sdf, 3D…
от golab-ai★ 31 звезда на GitHub
Установить pdb-viewer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
PDB 3D Structure Viewer Skill
Overview
Open one or multiple local PDB / SDF files in the 3D structure viewer. The viewer URL is read from the PDB_VIEWER_URL environment variable (default: https://canvas.golab.chat).
Workflow
- check if the given pdb/sdf file(s) exist:
- copy the file(s) into ./upload directory
- construct the viewer hyperlink by:
- For single file: use
path=/app/huntianling/uploads/{{FILE_NAME}} - For multiple files: chain with
&, e.g.,path=file1.pdb&path=file2.sdf
- For single file: use
- replace {{VIEWER_URL}} with the actual viewer URL
Hyperlink Template
Single File
<a href="{{VIEWER_URL}}/#/three-structure?path=/app/huntianling/uploads/{{FILE_NAME}}" target="_blank">View: {{FILE_NAME}}</a>
Multiple Files
<a href="{{VIEWER_URL}}/#/three-structure?path=/app/huntianling/uploads/{{FILE_NAME_1}}&path=/app/huntianling/uploads/{{FILE_NAME_2}}" target="_blank">View: {{FILE_NAME_1}} & {{FILE_NAME_2}}</a>
Examples
Single File
For file: /app/huntianling/uploads/01KKG0GM1X3MY196VW83EYA79G-Tyk2_protein.pdb
Result: <a href="https://canvas.golab.chat/#/three-structure?path=/app/huntianling/uploads/01KKG0GM1X3MY196VW83EYA79G-Tyk2_protein.pdb" target="_blank">View: 01KKG0GM1X3MY196VW83EYA79G-Tyk2_protein.pdb</a>
Multiple Files (Protein + Ligand)
For files:
/app/huntianling/uploads/tyk2_protein.pdb/app/huntianling/uploads/ligand_docked.sdf
Result: <a href="https://canvas.golab.chat/#/three-structure?path=/app/huntianling/uploads/tyk2_protein.pdb&path=/app/huntianling/uploads/ligand_docked.sdf" target="_blank">View: tyk2_protein.pdb & ligand_docked.sdf</a>
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pdb-viewer?
Use this skill when user wants to view one or multiple PDB / SDF files in the 3D structure viewer. Trigger when user mentions: open pdb, open sdf, 3D structure, view protein, view molecule, or provides local .pdb/.sdf file(s) to view. Supports viewing multiple files simultaneously by chaining path parameters with '&'.
Как установить скилл pdb-viewer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pdb-viewer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…