Tencent Genomics Protein Structure PDB Visualization: Manipulating 3D Structures with Natural Language in WorkBuddy

Preface

Protein structure analysis often involves repeatedly clicking on chains, changing colors, and measuring distances in desktop software like PyMOL or Chimera, then sending screenshots to collaborators. If only PDB text or static images are pasted in an Agent conversation, it is difficult to adjust the view in real-time based on the questions. The Skill introduced below embeds Mol* into the WorkBuddy built-in browser and uses a dedicated WebSocket channel to handle visualization operations dispatched by the Agent, making it easy to load structures directly in the conversation and adjust the display using natural language.

What is this

Tencent Genomics Protein Structure PDB File Visualization (SkillHub coordinate @tencent-adm/pdb-viewer-skill, current version 1.0.5) is released by the Tencent Health Genomics Platform, source type is enterprise, and category is data-analysis. It displays the 3D structure of a PDB in the WorkBuddy built-in browser and supports real-time control of the view through natural language; it does not require an API Key configuration (requires_api_key=false).

Official Entry:

  • SkillHub Page: https://www.skillhub.cn/skills/tencent-adm/pdb-viewer-skill
  • API Metadata: https://api.skillhub.cn/tencent-adm/pdb-viewer-skill

Core Features

The following capabilities are all from the Skill’s official introduction and can be verified on the SkillHub page.

  1. 3D Display and Interaction: Renders PDB in the built-in browser, using Mol* 5.9.0 underneath, downloading and self-hosting it at runtime, without the need to pre-integrate Mol* static resources locally.
  2. Natural Language Control: Supports selection/highlighting, hiding chains, measurement, coloring, pLDDT confidence display, as well as structure alignment for comparison and epitope heatmap, which are common genomics visualization requirements.
  3. Command Channel: Operation commands go through a dedicated WebSocket channel, using req_id round-trip, token verification, and op whitelist, decoupling from page display for easier secure dispatch of allowed operations by the Agent side.
  4. Lifecycle: Releasing the service when the page is closed to avoid the visualization process occupying resources in the background for a long time.
  5. Data Source: Supports local files, direct upload content, and Tencent Health Genomics Platform COS path, facilitating integration with structure files already stored in the platform.

Installation and Enablement

SkillHub Page Instructions: Please install @tencent-adm/pdb-viewer-skill according to the SkillHub Installation Documentation.

1. Install SkillHub CLI (if not already installed)

First, confirm if the skillhub command already exists:

command -v skillhub && skillhub --version

If not installed, you can install via the official script (includes the default Skill fully; for CLI-only, add --cli-only):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install this Skill to the current Agent’s skills directory

The official requirement is to use --dir to point to the skills directory recognized by the current Agent during installation; otherwise, it defaults to ./skills/ which may not be loaded.

skillhub install @tencent-adm/pdb-viewer-skill --dir <skills 目录>

When corresponding to this Skill’s location (WorkBuddy built-in browser), the WorkBuddy directory given in the SkillHub documentation is:

skillhub install @tencent-adm/pdb-viewer-skill --dir ~/.workbuddy/skills/

For other environments using Cursor, Claude Code, Codex, etc., the directory is different and you need to replace --dir yourself according to Section 4 of the Installation Documentation (e.g., Cursor is ~/.cursor/skills/). If the Agent does not recognize the new Skill immediately after installation, please restart or refresh the skill list according to the instructions for the product used.

Typical Usage

The public page does not include a step-by-step screenshot tutorial, but the reproducible process is as follows.

  1. Enable @tencent-adm/pdb-viewer-skill in WorkBuddy (or another Agent configured with this Skill).
  2. Provide one of the structure sources: local PDB path, directly uploaded PDB content, or the Tencent Health Genomics Platform COS path (specific fields and permissions are subject to the instructions in the Skill package).
  3. Describe the view requirements using natural language in the conversation, such as hiding a specific chain, coloring by pLDDT, measuring the distance between two atoms, aligning two structures, or displaying an epitope heatmap; the Agent will drive Mol* view updates via operations within the WebSocket whitelist.
  4. Close the built-in browser page after the analysis is finished to release the visualization service.

If you need to confirm whether a specific operation is in the whitelist, please refer to the documentation in the Skill package or the publisher’s instructions; this article does not list operation names not appearing in the official introduction.

Applicable Scenarios and Notes

Who is it for: Teams that perform protein/complex structure viewing and quickly communicate structural features within an Agent workflow; users who are already using or plan to use the Tencent Health Genomics Platform COS to store structural data.

Environment and Dependencies: The Skill is designed for the WorkBuddy built-in browser; Mol pulls the 5.9.0* version from the network on first use, so ensure the runtime environment can access the corresponding resources.

Security and Operations: The command channel relies on tokens and op whitelists; it is not recommended to bypass the Skill and send undocumented operations to the WebSocket directly. Closing the page releases the service. For long-term analysis, please be sure to save conclusions or export views (if the Skill provides export capabilities, please refer to the package instructions).

Store Data (captured by SkillHub, 2026-11-17): Rating 100000, Downloads 977, Category data-analysis; if inconsistent with historical statistics in user leads, refer to the SkillHub page.

Conclusion

@tencent-adm/pdb-viewer-skill brings PDB 3D viewing and natural language control into the WorkBuddy conversation, balancing display effectiveness with channel constraints through Mol* self-hosting and WebSocket-controlled operations. Simply follow the SkillHub Installation Documentation for installation and directory configuration. For details and version updates, see: https://www.skillhub.cn/skills/tencent-adm/pdb-viewer-skill .

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye