tcapi

tcapi is a skill for Claude Code, Codex from TencentCloud/Octop. It costs 68 tokens per session (5,966 once invoked), scanned A, original, MIT.

A helper for managing Tencent Cloud resources through Tencent Cloud's command-line API tool. Tencent Cloud is a cloud-services provider offering products such as virtual servers, storage, networks, and containers.

In plain words
What is it for?
Use it to query, create, modify, delete, or automate Tencent Cloud resources such as servers, storage, networks, and container services.
Why use it?
It guides API discovery, documentation checks, credential setup, and resource operations while accounting for differences between local and current API versions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to query, create, modify, delete, or automate Tencent Cloud resources such as servers, storage, networks, and container services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencentcloud/octop/tcapi
About the project

Octop is a self-hosted, multi-user AI assistant that runs multiple specialized agents and connects them to chat interfaces, tools, and external services. It is for individuals, families, and teams who want a locally operated assistant with shared experts and persistent capabilities. Catalogue add-ons extend its agent and assistant workflows.

TencentCloud/Octop · 10,629 stars · on GitHub · octop.cloud

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TencentCloud/Octop --skill tcapi
Clone the repo
git clone --depth 1 https://github.com/TencentCloud/Octop

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tcapi

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloud/octop/tcapi/github.svg)](https://agentmods.dev/skills/tencentcloud/octop/tcapi)
Your own site
<a href="https://agentmods.dev/skills/tencentcloud/octop/tcapi"><img src="https://agentmods.dev/badge/skills/tencentcloud/octop/tcapi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tcapi

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencentcloud/octop/tcapi"><img src="https://agentmods.dev/badge/skills/tencentcloud/octop/tcapi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,966 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 150
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.05966
Opus 5.5 $0.00027 $0.02386
Sonnet 5.5 $0.00014 $0.01193
Haiku 4.5 $0.00007 $0.00597

Measured 1mo ago against content hash 171be35eabb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tcapi scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

调用前先通过 curl + grep 检索业务、接口、最佳实践、数据结构。参考 [references/refs.md](references/refs.md) 获取完整检索方式。
src/octop/infra/agents/experts/library/tencentcloud-api/skills/tcapi/SKILL.md · 392 lines

How it starts

The opening of the file, as written. The whole thing — 392 lines — stays where its author put it; the contents beside it link to each section on GitHub.

腾讯云 API 助手

统一使用 tccli 命令行工具调用腾讯云 API,实现云资源的查询、创建、修改、删除等操作。

适用场景

  • 云资源查询与管理(CVM / COS / CBS / VPC / TKE 等 200+ 产品)
  • 自动化运维(批量操作、定时任务、脚本编排)
  • 云 API 接口探索与文档检索

不适用场景

  • 不支持 Terraform / Pulumi 等 IaC 编排工具
  • 不做多云管理(仅限腾讯云)
  • 不做费用充值、账号注册等非 API 操作

前置条件

  • 已安装 tccli,未安装参考 references/install.md
  • 已完成凭证配置(详见下方「Step 2 凭证配置」)

核心原则

  1. 优先检索最佳实践 → 再查接口文档 → 最后调用 API。不要跳过文档检索直接调用,避免用错接口或遗漏参数。
  2. 在线文档是实时态,本地 tccli 是版本快照。以在线文档(cloudcache.tencentcs.com)为准判断接口/参数是否存在;本地 tccli 因版本差异,可能缺少新接口、或残留已下线的旧接口。遇到本地报「无此接口」或服务端报「接口已下线」时,先查在线文档确认真实情况,再决定升级 tccli 或换用替代接口。

执行流程

Step 0:环境自检(首次任务必做,一次探测串起所有分支)

优先使用 Octop 自带的 Python 虚拟环境(venv)中的 tccli:与 Octop 同环境、版本可控、不污染系统 Python。探测顺序:① Octop venv → ② 系统 PATH → ③ 临时安装进 venv。

# ① 定位 Octop venv(通过 octop 主进程的工作目录;找不到进程则退回常见路径)
OCTOP_PID=$(pgrep -f '\.venv/bin/octop run' | head -1)
OCTOP_ROOT=$([ -n "$OCTOP_PID" ] && readlink -f /proc/$OCTOP_PID/cwd || echo /workspace/octop)
TCCLI="$OCTOP_ROOT/.venv/bin/tccli"

# ② 逐级探测:venv 内 → PATH → 均无则装进 venv
if [ -x "$TCCLI" ]; then :
elif command -v tccli >/dev/null 2>&1; then TCCLI=tccli
else uv pip install --python "$OCTOP_ROOT/.venv/bin/python3" tccli; fi

# ③ 验证可运行且凭证有效
"$TCCLI" cvm DescribeRegions >/dev/null 2>&1 && echo "TCCLI_OK" || echo "TCCLI_NEED_CHECK"

若系统无 uv:"$OCTOP_ROOT/.venv/bin/python3" -m ensurepip --upgrade 后用同路径的 python3 -m pip install tccli。

判定分支:

探测结果 状态 处理
返回 TCCLI_OK 已安装、可运行、凭证有效 直接进入 Step 1
command not found / 安装失败 未安装 按 references/install.md 装进 Octop venv(推荐)或系统安装
bad interpreter / No module named tccli 装了但 shebang/环境坏 切换 Step 5 兼容模式(改用 venv 的 python3 -c 直接调 tccli.main),本会话后续统一使用
报 secretId is invalid / AuthFailure.SecretIdNotFound 凭证缺失 进入 Step 2 配置凭证

探测通过(TCCLI_OK)后,本会话无需再重复自检,直接调用即可。后续所有示例中的 tccli 均指探测到的 $TCCLI(venv 优先)。

Step 1:检索 API 文档

调用前先通过 curl + grep 检索业务、接口、最佳实践、数据结构。参考 references/refs.md 获取完整检索方式。

Read the full file on GitHub · 392 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +9 lines 171be35eabb7
  2. 1mo ago First seen · 383 lines · 68 tokens per session scan A 5d20b4c1ed92

Subscribe to this mod's changes

tcapi is a skill published in the GitHub repository TencentCloud/Octop (10,629 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 5,966 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

artifact-deploy

One-click deploy a user's pre-built app/artifact into their OWN AWS account and get a global public HTTPS link (Vercel-like), with a default TTL and promote-to-persistent. Use when the user says "deploy this", "ship this demo", "give me a public link", "share this externally", or "deploy to AWS".

kirodotdev/KiroCrew · 74 tokens

remote-crew-microvm

Drive the AWS Lambda MicroVM remote-crew lane: check whether it is configured, hand the operator the cloud.json block when it is not, launch a crew, reach it, and tear it down. Use for microvm, lambda microvm, remote crew, cheap cloud crew.

kirodotdev/KiroCrew · 64 tokens

lambda-gpu-cloud

Safely inspect and operate Lambda Cloud GPU instances through the documented Cloud API and SSH, with explicit approval before billable or destructive actions.

synthetic-sciences/openscience · 32 tokens

nettools

A collection of network and domain lookup tools for checking reachability, registration details, DNS records, and domain prices. DNS is the system that maps names such as example.com to services, while RDAP provides domain registration information.

zhinjs/zhin · 70 tokens

vigilante-issue-implementation-on-terraform

Implement a GitHub issue end-to-end when Vigilante dispatches work for a Terraform repository with fmt, validate, and secret-safe infrastructure guidance.

aliengiraffe/vigilante · 40 tokens

runway-video

Build and operate production-safe Runway API video generation, video editing, and character-performance workflows with native Runway models, explicit paid-call approval, duplicate-create protection, asynchronous task handling, secure media transfer, and evidence-aware governance.

calesthio/generative-media-skills · 50 tokens