Introduction¶
When scheduling jobs, modifying queues, or checking nodes on the omics-hpc platform of Tencent Cloud’s Genomics Platform, the common approaches are logging into the cluster, installing tophpc locally, or running SLURM directly on a login node. If you only have API credentials, don’t have tophpc on your machine, and aren’t on a whitelisted login node, these approaches either won’t work or require you to manually assemble commands and context. Below is an introduction to the Agent Skill “Tencent Genomics HPC Cluster Operations & Job Management” on SkillHub: it consolidates the Genomics Platform cloud APIs, SLURM, and tophpc capabilities into a remote command dispatch flow that can be triggered by an assistant, allowing cluster-side operations to be completed within a conversation.
What Is This¶
“Tencent Genomics HPC Cluster Operations & Job Management” is an end-to-end operations and job management Skill for omics-hpc, with the coordinate @tencent-adm/omics-hpc-skill, current version 1.0.1, source enterprise, category it-ops-security, published by Tencent Health Genomics Platform. The Skill tag indicates requires_api_key=true, meaning you need to configure Tencent Cloud Genomics Platform API access credentials before use.
The official description positions it as covering: the Tencent Cloud Genomics Platform cloud APIs (DescribeHPCClusters / RunCommand / DescribeCommandExecution), SLURM job subcommands (sbatch / squeue / sacct / scancel / scontrol / salloc / srun), and tophpc infrastructure commands (cluster / node / queue / scale / fs / image / log / version)—specifically for command generation and remote dispatch.
Unlike slurm-operator and tophpc-operator, which target local direct connections: when the requirement is “doing things on an omics-hpc cluster,” the official documentation recommends prioritizing this Skill—the latter two depend on a locally installed tophpc or a login node environment, while this Skill dispatches Shell remotely via cloud APIs, making it suitable for scenarios where tophpc is not installed locally and you are not on a login node.
SkillHub page: https://www.skillhub.cn/skills/tencent-adm/omics-hpc-skill
Skill resource URL: https://api.skillhub.cn/tencent-adm/omics-hpc-skill
Core Capabilities¶
The following capabilities are all sourced from the official description, organized along three main lines.
Genomics Platform Cloud APIs¶
- List or filter HPC clusters (
DescribeHPCClusters). - Dispatch Shell commands remotely (
RunCommand). - Poll execution status and retrieve results by
InvocationId(DescribeCommandExecution).
SLURM Jobs¶
- Submit, query, and cancel jobs (
sbatch,squeue,sacct,scancel, etc.). - Generate
sbatchscripts, handle dependency submissions, and request interactive nodes (salloc/srun). - Diagnose why a job has been in PENDING state for an extended period (query semantics such as
scontrolare encapsulated by the Skill).
tophpc Infrastructure¶
- Cluster and configuration: view and modify cluster configuration (
cluster,log,version). - Nodes and queues: add/remove nodes, add/remove queues (
node,queue). - Elasticity and storage, images: configure auto-scaling (
scale), mount and unmount filesystems (fs), create and delete images (image).
On the assistant side, the above capabilities can be invoked through natural language or trigger keywords listed in the Skill documentation, such as: HPC cluster, omics-hpc, InvocationId, remote execution, submit job, check task, why is my task not running, add node, auto-scaling, mount storage, view cluster configuration, etc. (see the full list in the official description).
Installation & Activation¶
This Skill follows the standard SKILL.md format; when installing on SkillHub, the coordinate and version should follow what is shown on the page:
- Name: Tencent Genomics HPC Cluster Operations & Job Management
- Coordinate:
@tencent-adm/omics-hpc-skill - Version:
1.0.1
For a specific installation command in Cursor, Codex CLI, or Claude Code, refer to the SkillHub documentation bound to your current client; when public resources do not list a fixed shell command tightly coupled to a specific client, we will not fabricate examples here. Before activation, please complete the following:
- Add
@tencent-adm/omics-hpc-skillon SkillHub (version recommended to align with 1.0.1). - Configure the API Key as required by the Skill (
requires_api_key=true), ensuring the Genomics Platform cloud API credentials are available and permissions cover the target cluster. - Clearly specify the cluster identifier, region, and operation intent in the conversation, so the Skill can generate correct API calls and remote commands.
Typical Usage¶
Public resources do not include end-to-end script examples that can be copied line by line, but the official description outlines a fixed operation chain. Below, we describe how the assistant typically organizes steps by scenario, to help you frame your questions.
Execute a Remote Shell and Retrieve Output¶
- Use
DescribeHPCClustersto list or filter the target omics-hpc cluster. - Call
RunCommandon the selected cluster to dispatch the Shell command. - Save the returned
InvocationId, pollDescribeCommandExecutionuntil completion, then read the standard output and error messages.
In Cursor, you can describe the above three steps in natural language, for example specifying the cluster name, the command to execute, and whether to wait for completion.
Submit a SLURM Job and Troubleshoot PENDING¶
- Have the Skill generate an
sbatchscript matching your resource requirements (partition, cores, memory, dependencies, etc.). - Execute
sbatchvia remote dispatch, then query status withsqueue/sacct. - If the job remains in PENDING for an extended period, ask the Skill to diagnose the cause using
scontroland similar queries; usescancelto cancel if needed.
Adjust Queues, Nodes, or Scaling Policies¶
- Describe the change in tophpc semantics: add a queue, remove a node, configure
scalefor scaling, etc. - The Skill generates the corresponding tophpc subcommand and executes it on the cluster side via cloud APIs.
- When mounting or unmounting storage (
fs) or creating images (image), the same remote dispatch flow applies—no local tophpc binary is required.
Applicable Scenarios & Cautions¶
Who It’s For
- Users of the Tencent Cloud Genomics Platform omics-hpc who want to drive operations and job management through conversation.
- Front-line developers and operations staff who cannot install tophpc locally or directly SSH into a login node, but still need SLURM / tophpc capabilities.
Usage Notes
- Credentials & Permissions: Missing API Keys or insufficient permissions will cause
RunCommandand cluster listing calls to fail; confirm that the corresponding APIs have been enabled on the Genomics Platform side before installation. - Division of Labor with operator-type Skills: When tophpc is already installed locally and you can connect to SLURM directly,
slurm-operator/tophpc-operatormay be more straightforward; for remote scenarios without a local CLI, prefer this Skill. - Asynchronous Execution: Remote commands rely on
InvocationIdpolling; allow waiting time for long-running jobs or large-scale node operations, and ask the Skill to report the final status in the conversation. - Version Alignment: For production environments, it is recommended to pin 1.0.1 to avoid unverified behavioral changes in newer versions.
SkillHub statistics (based on pre-fetched data): rating 100000, 1013 downloads, category it-ops-security.
Closing¶
“Tencent Genomics HPC Cluster Operations & Job Management” unifies the Genomics Platform cloud APIs, SLURM, and tophpc into a single “conversation → remote command → result return” pipeline, solving the problem of managing omics-hpc when you don’t have tophpc locally or aren’t on a login node. For installation or updates, refer to the official SkillHub page and API resource URLs: