Foreword¶
Predicting complex structures of antibodies, nanobodies, and antigens typically requires selecting the correct public application on the Tencent Health Omics Platform (Omics), configuring the region and COS, and assembling the omics run parameters. tFold Collection (Nextflow) is a collection containing four Nextflow sub-applications. Platform rules also require that tasks cannot be submitted directly using the collection’s AppId; one must select a specific sub-application first. While the general omics task Skill can run many applications, it is prone to unnecessary list public-apps calls, misuse of collection IDs, or out-of-bound command invocations when navigating the tFold pipeline.
Below is an introduction to @tencent-adm/tfold-collection-skill on SkillHub: it is a narrowed-down version of the omics-task-skill dedicated to a single collection. It hardcodes the sub-application AppIds, Nextflow versions, and CLI whitelist within the Skill, allowing an Agent to complete login, configuration, sub-application selection, duplicate name checking, and run confirmation via fixed steps.
What is this¶
One-sentence positioning: A dedicated execution assistant for the tFold Collection (Nextflow) public application collection on the Tencent Health Omics Platform (Omics), targeting the Tencent self-developed tFold series of antibody/nanobody and antigen complex structure prediction models.
Maintainer: Tencent Health Omics Platform (SkillHub coordinate @tencent-adm/tfold-collection-skill, source enterprise, category professional; current SkillHub page version v1.0.5, tag requires_api_key=false).
Problem solved: In conversational Agents, it enforces the constraint of “running only the four sub-applications of this collection” as an executable process. For other public applications, local WDLs, NFs on COS, or existing applications within a project, omics-task-skill should be used instead.
Core Functions¶
The Skill constructs omics-platform-cli commands via scripts/omics_cli.py internally. Its capability scope equals the intersection of the seven CLI command categories and sub-application execution. The verified key points are as follows.
Collection and Sub-applications (Hardcoded)¶
| Field | Value |
|---|---|
| Collection Name | tFold Collection (Nextflow) |
| Collection AppId | 807fc9ae-6197-43c0-a7a8-993c09ec1ee2 |
| Type | NEXTFLOW / APP_COLLECTION |
The collection cannot be used directly with omics run; one of the following sub-applications must be selected as --public-app:
| Sub-application | AppId | NF Version | Description |
|---|---|---|---|
tFold_ab_predict |
31d80b72-6fea-44d3-9eb5-4725584199ef |
v24.04.3 | tFold Antibody Prediction |
tFold_ag_predict |
864d13a9-b162-432a-bfda-7f0b6bf137e7 |
v24.04.3 | tFold Antigen Prediction |
tFold_ag_predict_icf |
2286b426-09eb-47d4-9608-325651d11157 |
v24.04.3 | tFold Antigen ICF Prediction |
tFold_tcr_predict |
0ba6d880-27f1-475e-b4ec-d28885ab2b81 |
v24.04.3 | tFold TCR Prediction |
During execution, there is no need to call list public-apps --parent-app to expand the collection; the Agent simply matches the sub-application from the list based on the user’s description.
Allowed CLI Capabilities¶
Commands within the whitelist include: version / login / whoami, config show|set|clear, list region|project|env|cos-bucket, list apps --type <selectedAppType> (duplicate name check before import), run --public-app <sub-app AppId> (must include --public-app-name, Nextflow must include --nf-version), status / debug. Commands not listed must not be invoked.
Process Constraints¶
- Authentication and Configuration:
whoami→config show; C-end trial users (Role == "trial_user") must perform aquotacheck first after configuration is ready, and perform another quota check before submitting therun. - Sub-application Selection: Match by number, name, or functional description. Once uniquely matched, user confirmation is required.
- Pre-import Duplicate Name Check:
list apps --type <selectedAppType>. If a name conflict exists, guide the user to rename until unique. - Secondary Confirmation Before Run: Display the collection, sub-application, AppId, NF version, import name, and the complete
omics runcommand. Only execute after the user explicitly replies with “Confirm / Continue / y”. - Local Input Files: When parameters are local paths,
omics cos uploadmust be used first to obtain a COS URL, which is then written into--input; local paths must not be used directly to run container tasks. - Out-of-scope Requests: If a user requests to run an application outside the collection, the Skill only guides them to use
omics-task-skilland does not provide bypass solutions.
Common trigger words include: tFold Collection (Nextflow), run tFold Collection (Nextflow), protein structure prediction, run tfold collection (nextflow), etc. (subject to Skill metadata).
Installation and Activation¶
1. Install SkillHub CLI (if not installed)¶
command -v skillhub && skillhub --version
If not installed, follow the SkillHub installation documentation for a full installation or CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install this Skill¶
During installation, --dir must be used to point to the current Agent’s skills directory; otherwise, defaulting to ./skills/ may not be recognized.
skillhub install @tencent-adm/tfold-collection-skill --dir <skills directory>
Common path examples:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
The SkillHub page also supports providing the following prompt to an AI to let it complete the installation according to the SkillHub Installation Instructions:
Please install `@tencent-adm/tfold-collection-skill` based on https://skillhub.cn/install/skillhub.md.
3. Omics CLI¶
Before execution, the Skill checks if the local machine can run:
python3 scripts/omics_cli.py version
If not installed, follow the guidance in the Skill package’s references/omics-cli-setup.md to install omics-platform-cli and complete omics login, omics config set (region, project, environment, COS bucket, etc.).
Typical Usage¶
Standard Dialogue Flow¶
Following the steps above, a typical session is: Authentication and configuration passed → Select sub-application from the hardcoded list (e.g., user says “run tFold antibody prediction” corresponds to tFold_ab_predict) → Duplicate name check passed → Secondary confirmation → Execute run → Check status or debug for failure reasons if necessary.
Nextflow Sub-application Run Command Form¶
The public application run form constructed internally by the Skill (sub-applications are all NEXTFLOW, --nf-version is required) is as follows. Actually invoked by the Agent via omics_cli.py, equivalent CLI is shown here for comparison:
omics run --public-app 31d80b72-6fea-44d3-9eb5-4725584199ef \
--public-app-name tFold_ab_predict \
--app-type NEXTFLOW \
--nf-version v24.04.3 \
[--input /path/to/input.json] \
[--name my_run] \
-o json
Note: --public-app must be the sub-application AppId from the table above, not the collection AppId 807fc9ae-6197-43c0-a7a8-993c09ec1ee2. If --input is not passed, the CLI can use the sub-application’s first InputTemplate as the default parameter baseline.
Upload Local Files to COS First¶
When the input is a file generated locally by the Agent, such as FASTA, upload it first then replace the parameter:
python3 scripts/omics_cli.py cos upload \
--file /tmp/generated_protein.fasta \
--cos-path uploads/protein_sequence.fasta \
-o json
Then write the returned CosUrl into the run’s input JSON and proceed with the omics run flow.
Status and Troubleshooting¶
python3 scripts/omics_cli.py status -o json
python3 scripts/omics_cli.py debug <rgId> -o json
If the parameters include outdir, after the task reaches a terminal state, the Skill will remind the user to check the results in the output directory according to the template; for asynchronous failures, a three-stage debug can be performed combined with references/runtime_error_kb.md.
Applicable Scenarios and Notes¶
Who it is for: Analysts who are already using or planning to use the Tencent Health Omics Platform and need to repeatedly import and run the four tFold Nextflow sub-applications; people who want to use Agents like Cursor to reduce manual CLI assembly and avoid mixing collection/sub-application IDs.
Boundaries and Notes:
- Only covers the four sub-applications under tFold Collection (Nextflow); for other Omics public applications, form A/C execution methods, or existing applications within a project, always use
omics-task-skill. - After the collection adds or deletes sub-applications, the Skill needs to be regenerated/updated; the list is subject to the Skill package installed at that time.
- C-end trial users are subject to
quotalimits; expiration or daily limit exhaustion will block the run. - The Skill tag indicates no separate API Key is needed, but Omics still relies on account OAuth login and platform resource configuration.
- SkillHub Statistics (page scrape): ~941 downloads; the rating field is a platform display value, subject to real-time data on the SkillHub page.
Conclusion¶
@tencent-adm/tfold-collection-skill converges the execution rules of the tFold collection into a fixed script executable by Agents: sub-application IDs built-in, command whitelist, duplicate name checks, and pre-run confirmation, reducing the operational cost of running antigen-antibody complex structure prediction tasks on Omics. Official entry points:
- SkillHub: https://www.skillhub.cn/skills/tencent-adm/tfold-collection-skill
- API Coordinate Page: https://api.skillhub.cn/tencent-adm/tfold-collection-skill