Tencent Marketing Placement - Authentication: Unified API Key Management for tencent-ads Series Skills

Introduction

When integrating Tencent Marketing (formerly Tencent Ads) open capabilities into an Agent, it is common to install multiple Skills in the tencent-ads series: reporting, ad placement, account queries, etc. Every Skill requires an APIKEY to call the APIs; once the key is unconfigured, expired, or entered incorrectly, the business Skill will directly return an authentication error, and the Agent will struggle to determine which configuration the user needs to modify.

Storing a separate copy of the key in every Skill is redundant and prone to inconsistencies. Below, we introduce the Tencent Marketing Ad Placement - Authentication (@tencent-adm/tencentads-auth) Skill on SkillHub, which is specifically responsible for credential verification and storage, shared by all Tencent Marketing-related Skills under the same account.

What is this

Tencent Marketing Ad Placement - Authentication is an enterprise Skill released by the Tencent Marketing brand, with the identifier @tencent-adm/tencentads-auth. The current version is 0.5.6, categorized under ai-agent, and includes the requires_api_key=true tag.

It can be summarized as the authentication credential management entry point for Tencent Marketing Skills. It is responsible for checking the validity of the APIKEY; when other Skills in the Tencent Marketing (tencent-ads) series throw errors due to authentication failures, it guides the user to provide and save the APIKEY. The official documentation emphasizes: The Tencent Marketing APIKEY must be saved via this Skill. Once saved, it is shared across all tencent-ads Skills, eliminating the need for repeated configuration in every business Skill.

Core Features

Based on the SkillHub page and API summary, the verified capabilities include:

  1. Verify APIKEY: Confirms whether the current key is usable in the call chain, reducing invalid retries where “the key is invalid but the API keeps being called”.
  2. Guidance on Authentication Failure: When a Skill in the tencent-ads series returns an authentication-related error, this Skill takes over to prompt the user to provide or update the APIKEY.
  3. Unified Storage and Sharing: Once credentials are written via this Skill, other Tencent Marketing Skills in the same environment share the same set of keys, avoiding the need for multiple Skills to have their own configurations.

This Skill does not replace specific business interfaces like ad placement or reporting; it serves as the pre-authentication layer when integrating into the Tencent Marketing Skill ecosystem.

Installation and Activation

Install SkillHub CLI (if not already installed)

First, check if skillhub is already installed on your machine:

command -v skillhub && skillhub --version

If it is not installed, you can follow the official SkillHub installation documentation to perform a full installation (CLI + default Skills):

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

If you only need the CLI:

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

Install this Skill

During installation, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/, which the Agent may not be able to load.

skillhub install @tencent-adm/tencentads-auth --dir <skills directory>

In Cursor, the common skills path is:

skillhub install @tencent-adm/tencentads-auth --dir ~/.cursor/skills/

You can also send the following prompt to an AI that supports Skill installation and have it complete the installation according to the official instructions:

Please install `@tencent-adm/tencentads-auth` based on https://skillhub.cn/install/skillhub.md.

If the Agent does not automatically recognize the new Skill after installation, you need to restart or refresh the skills directory according to your client’s instructions.

Typical Usage

The public page does not provide independent REST examples; actual usage is tied to the Tencent Marketing Skill Suite and can be understood in the following order:

  1. Install the Authentication Skill First: Before or concurrently with integrating any tencent-ads business Skill, install @tencent-adm/tencentads-auth.
  2. Save the APIKEY via this Skill: Submit the APIKEY for the Tencent Marketing Open Platform during the Agent conversation as guided; do not skip the authentication Skill by only verbally specifying the key in a reporting or ad placement Skill.
  3. Then Call Business Skills: tencent-ads Skills such as account, reporting, and ad placement will reuse the saved credentials; if authentication errors still occur, return to the authentication Skill to check if the key is valid or needs updating.

Specific field names for storage and local storage paths depend on the SKILL.md inside the Skill package and runtime behavior; this article only reiterates the scope of responsibilities from the official summary.

Use Cases and Considerations

Who it is for

  • Developers or operations personnel already using Tencent Marketing APIs in Agent environments that support SkillHub, such as Cursor, Claude Code, or Codex.
  • Teams that need to use multiple Skills from the tencent-ads series simultaneously and want “configure once, apply globally”.

Things to note

  • Single Key Entry Point: The official documentation explicitly requires the APIKEY to be saved via this Skill; bypassing it may lead to recurring authentication failures in some Skills.
  • APIKEY Dependency: The tag requires_api_key=true indicates that a valid key issued by the Tencent Marketing Open Platform must be prepared before use.
  • Version and Source: The version currently displayed on SkillHub is 0.5.6, the source is enterprise, and it is published by the Tencent Marketing brand; to upgrade, use skillhub to update the same identifier and continue to specify the correct --dir.
  • Data Metrics: The rating displayed on the SkillHub page is 100000, with approximately 7089 downloads (statistics change as the platform updates; please refer to the page at the time of writing).

Conclusion

Tencent Marketing Ad Placement - Authentication solves the problem of dispersed APIKEYs and difficult troubleshooting of authentication errors in multi-Skill scenarios: it verifies first, guides the user to save, and then shares the credentials across the entire Skill suite. When integrating Tencent Marketing Agent capabilities, it is recommended to install it as a fixed dependency.

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

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

Xiaoye