Tencent Cloud TI-ONE: Read-only Querying of the TI-ONE Training and Inference Platform using Agent Skill

Preface

When troubleshooting on TI-ONE, the common path is opening the console to click through pages for training tasks, online services, development machines, and logs. If you are already using an Agent in environments like Cursor or Claude Code to handle operational issues, you might prefer asking in natural language, such as “Why did this training task fail?” or “Is the inference service group abnormal?”, rather than repeatedly switching pages to copy IDs.

Below is an introduction to Tencent Cloud TIONE on SkillHub (coordinate @tencent-adm/tencentcloud-tione-skill). It encapsulates TI-ONE’s Describe class queries into a set of bash scripts. The Agent calls these scripts according to SKILL conventions, performing read-only operations such as listing, viewing details, logs, and events without exposing credentials on the screen.

What is this

Tencent Cloud TIONE is an enterprise-sourced Skill published by the Tencent Cloud TI-ONE team. The current version is 1.0.5, categorized under it-ops-security, with a SkillHub tag containing requires_api_key=true.

In one sentence: It is a query toolkit for the Tencent Cloud TI-ONE training and inference platform, covering modules such as training tasks, online services, development machines (Notebooks), resource groups, model repositories, datasets, logs, and events. It does not provide the capability to create, modify, or delete cloud resources.

Core Functions

The skill calls TI-ONE interfaces via tccli using pre-defined scripts under scripts/. The Agent can only execute them via bash <script_path> [args], and all are Describe* read-only APIs. The main modules are as follows:

Module Representative Scripts Function
Training Tasks describe-training-tasks.sh, describe-training-task.sh, describe-training-task-pods.sh List, Details, Pods
Online Services describe-model-service-groups.sh, describe-model-service-group.sh, etc. Service Groups, Services, Invocation Info
Development Machines describe-notebooks.sh, describe-notebook.sh Notebook List & Details
Resource Groups describe-billing-resource-groups.sh, describe-billing-resource-group.sh Resource Groups & Nodes
Model Repositories describe-training-model-versions.sh, describe-training-model-version.sh Model Versions
Datasets describe-datasets.sh Dataset List
Logs / Events describe-logs.sh, describe-events.sh Query by Service Type TRAIN / NOTEBOOK / INFER / BATCH
Console generate-console-url.sh Generate URLs for training / notebook / service / resource-group detail pages

regarding query strategy, the SKILL explicitly requires: when the user asks about statuses like “running tasks” or “abnormal services,” priority should be given to using --filters to pass conditions like Status to avoid fetching all data first and filtering later. The --service-id for logs and events must use the instance-level ID (e.g., obtained from LatestInstanceId in training task details, PodName for Notebook, or Services[].ServiceId in service group details) and cannot directly use top-level train-xxx / nb-xxx / ms-xxx.

The default region is controlled by the environment variable TENCENT_TIONE_DEFAULT_REGION, defaulting to ap-shanghai if not configured; supported regions include ap-beijing, ap-shanghai, ap-guangzhou, ap-shanghai-adc, ap-zhongwei, ap-nanjing. If no region is specified, the Agent should inform the user before using the default value.

Installation and Activation

1. Install SkillHub CLI (if not already installed)

First, check if the CLI exists locally:

command -v skillhub && skillhub --version

If not installed, follow the official SkillHub instructions to execute the full installation (including CLI and default Skills):

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

2. Install this Skill

During installation, you must use --dir to point to the current Agent’s skills directory; otherwise, the default landing in ./skills/ might not be recognized. The coordinates are consistent with the SkillHub page:

skillhub install @tencent-adm/tencentcloud-tione-skill --dir <your skills directory>

Common paths (from SkillHub installation docs):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also send the prompt below to the Agent to let it complete the installation according to the SkillHub installation instructions:

Please install `@tencent-adm/tencentcloud-tione-skill` according to https://skillhub.cn/install/skillhub.md.

3. Runtime Dependencies

The scripts depend on tccli and jq:

pip3 install tccli
apt install jq    # Ubuntu/Debian
# macOS: brew install jq

4. Credentials and Environment Variables

Tencent Cloud API keys are injected via environment variables (Skill metadata marks API Key as required):

export TENCENTCLOUD_SECRET_ID="your-secret-id"
export TENCENTCLOUD_SECRET_KEY="your-secret-key"
export TENCENT_TIONE_DEFAULT_REGION="ap-shanghai"   # Optional, default ap-shanghai

The SKILL requires the Agent not to output or echo key content; it may only confirm whether it has been configured.

Typical Usage

After installation and credential configuration, you can directly describe your intent in Agent conversations, such as “List training tasks with RUNNING status in the Shanghai region” or “View details and invocation info for service group ms-xxx”. The Agent should enter the installed Skill directory and call the corresponding scripts.

The following examples are excerpted from references/cmd-reference.md within the skill package; paths are relative to the Skill root directory. Replace train-xxx, ms-xxx, etc., with real IDs.

Query training tasks by status:

./scripts/training/describe-training-tasks.sh --region ap-shanghai --filters "Name=Status,Values=RUNNING"

Troubleshoot training tasks (Details → Logs → Events):

./scripts/training/describe-training-task.sh --region ap-shanghai --id train-xxx

./scripts/log/describe-logs.sh --region ap-shanghai --service TRAIN \
  --service-id train-xxx-yyy \
  --start-time "2026-03-10T02:50:56Z" --end-time "2026-03-10T03:30:00Z" --limit 50

./scripts/event/describe-events.sh --region ap-shanghai --service TRAIN \
  --service-id train-xxx-yyy --start-time "2026-03-10T02:50:56Z"

Here, train-xxx-yyy comes from LatestInstanceId in the details, and the time range should align with StartTime / EndTime in the details.

Query abnormal online service groups:

./scripts/service/describe-model-service-groups.sh --region ap-shanghai --filters "Name=Status,Values=Abnormal"

Generate console links (when further operations on the page are needed):

./scripts/utils/generate-console-url.sh --type training --id train-xxx --region ap-shanghai

For more complete parameter tables and filter fields, refer to references/cmd-reference.md and references/tione-guide.md within the skill.

Applicable Scenarios and Notes

Who it is for: Teams already running training, inference, or Notebooks on Tencent Cloud TI-ONE who wish to complete status verification, log and event retrieval, and resource group capacity checks within conversations with an Agent, and who accept the boundary of “read-only, no configuration changes on behalf of the user”.

Limitations and Notes:

  • Only scripts listed in the SKILL are supported; for out-of-scope requests, the user should be prompted to go to the console, and generate-console-url.sh can assist with navigation.
  • The Agent must not bypass the scripts to directly call tccli or other SDKs (SKILL hard constraint).
  • Log and event interfaces are sensitive to instance IDs and time ranges; details should be queried before logs to avoid large-scale scanning.
  • The resource group list script performs unit conversions for values like CPU, memory, and GPU (e.g., GPU is “cards”). Be mindful of consistency with console units when reading output.

The SkillHub page shows this Skill with a rating of 100000 and approximately 1809 downloads (statistics are subject to SkillHub display).

Conclusion

Tencent Cloud TIONE solidifies high-frequency TI-ONE read-only queries into Agent-executable scripts and query strategies, making it suitable for keeping “checking status, pulling logs, and matching IDs” within the conversation. Official entry points:

  • SkillHub: https://www.skillhub.cn/skills/tencent-adm/tencentcloud-tione-skill
  • API Coordinate Page: https://api.skillhub.cn/tencent-adm/tencentcloud-tione-skill
羽毛球分组比赛记分
小程序二维码

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

Xiaoye