Agent skill · Security

auth-nodejs-cloudbase

CloudBase Node SDK auth guide for server-side identity, user lookup, and custom login tickets. This skill should be used when Node.js code must read caller identity, inspect end users, or bridge an existing user system into CloudBase; not when configuring providers or building client login UI.

TencentCloudBasegithub.com/TencentCloudBaseGitHub ↗
claude-codecursorMIT
Install
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-nodejs-cloudbase --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 17 KB
Bundled scripts: none
Version: 2.25.6
Path: config/.claude/skills/auth-nodejs-cloudbase/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,066
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Standalone Install Note If this environment only installed the current skill, start from the CloudBase main entry and use the published `cloudbase/references/...` paths for sibling skills. - CloudBase main entry: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/SKILL.md` - Current skill raw source: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/auth-nodejs-cloudbase/SKILL.md` Keep local `references/...` paths for files that ship with the current skill directory. When this file points to a sibling skill such as `auth-tool-cloudbase` or `web-development`, use the standalone fallback URL shown next to that reference. ## Activation Contract ### Use this first when - Node.js code in cloud functions or backend services must read caller identity, look up users, or issue custom login tickets. - The backend responsibility is auth / identity, not provider setup or frontend login UI. ### Read before writing code if - The task mentions `@cloudbase/node-sdk`, server-side auth, custom login tickets, or "who is calling". - The request mixes frontend login with backend identity logic; split the flow

What's inside
Steps it walks through
  1. Standalone Install Note
  2. Activation Contract
  3. Use this first when
  4. Read before writing code if
  5. Then also read
  6. Do NOT use for
  7. Common mistakes / gotchas
  8. When to use this skill
  9. How to use this skill (for a coding agent)
  10. Node auth architecture – how Node fits into CloudBase Auth
  11. Node Auth APIs covered by this skill
  12. Scenarios – Node auth patterns
  13. Scenario 1: Initialize Node SDK and auth in a CloudBase function
  14. Scenario 2: Get caller identity in a CloudBase function
More from CloudBase-AI-Toolkit
All skills →
About this skill
What does the auth-nodejs-cloudbase skill do?

CloudBase Node SDK auth guide for server-side identity, user lookup, and custom login tickets. This skill should be used when Node.js code must read caller identity, inspect end users, or bridge an existing user system into CloudBase; not when configuring providers or building client login UI.

How do I install it?

Run `npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-nodejs-cloudbase --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From TencentCloudBase/CloudBase-AI-Toolkit, a repository with 1,066 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going