Tooluck logoTooluck
SKILL.md

auth-nodejs-cloudbase

Agent skill fromTencentCloudBase/CloudBase-AI-Toolkit

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 to install auth-nodejs-cloudbase

install auth-nodejs-cloudbase
# install the CloudBase-AI-Toolkit pack with the skills CLI
npx skills add TencentCloudBase/CloudBase-AI-Toolkit

# or add only this skill to Claude Code: copy the folder

config/source/skills/auth-nodejs-cloudbase/

# into

~/.claude/skills/auth-nodejs-cloudbase/ (all projects)

.claude/skills/auth-nodejs-cloudbase/ (one project)

config/source/skills/auth-nodejs-cloudbase/SKILL.md

MITFull file
1## Sibling skills (local only)
2
3Sibling CloudBase skills ship beside this skill. Use local relative paths such as `../auth-tool-cloudbase/SKILL.md`.
4
5If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do **not** HTTP-fetch remote skill or protocol markdown into the agent context.
6
7## Activation Contract
8
9### Use this first when
10
11- Node.js code in cloud functions or backend services must read caller identity, look up users, or issue custom login tickets.
12- The backend responsibility is auth / identity, not provider setup or frontend login UI.
13
14### Read before writing code if
15
16- The task mentions `@cloudbase/node-sdk`, server-side auth, custom login tickets, or "who is calling".
17- The request mixes frontend login with backend identity logic; split the flow and route client-side work elsewhere.
18
19### Then also read
20
21- Provider setup / publishable key -> `../auth-tool-cloudbase/SKILL.md`
22- Web login UI that consumes custom tickets -> `../auth-web-cloudbase/SKILL.md`
23- Raw HTTP auth client -> `../http-api-cloudbase/SKILL.md`
24
25### Do NOT use for
26
27- Provider enable/disable or login console configuration.
28- Frontend login / sign-up UI.
29- Mini program native auth.
30
31### Common mistakes / gotchas
32
33- Using this skill as the entry point for every auth request.
34- Mixing provider-management work with Node-side identity code.
35- Reaching for raw HTTP examples when Node SDK already covers the job.
36…

Excerpt shown under the repository's MIT license.

More skills in CloudBase-AI-Toolkit

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates