- name
SKILL.md
स्किल फ़ाइल पब्लिशर की रिपॉज़िटरी में ही रहती है।
कॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-tool-cloudbase -a cursor -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-tool-cloudbase -a claude-code -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-tool-cloudbase -a codex -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-tool-cloudbase -a grok -yकॉपी किया गया संदेश Grok Bot चैट में भेजें। Bot यह SKILL.md GitHub से लाता है और उसे उन स्किल में जोड़ देता है जो आपके सभी Bot साझा करते हैं।
Install this skill: https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/HEAD/config/.claude/skills/auth-tool-cloudbaseपब्लिशर से
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
If 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.
auth-web-cloudbase.../auth-web-cloudbase/SKILL.md../auth-wechat-miniprogram/SKILL.md../auth-nodejs-cloudbase/SKILL.md../http-api-cloudbase/SKILL.mdcloudbase-platform/references/protocols/change-safety-protocol.md).accessKey alone does not create a gateway-authenticated anonymous session. With @cloudbase/js-sdk 3.x, enable anonymous via this skill when needed, then clients must call await auth.signInAnonymously() (or an equivalent authenticated session) before NoSQL app.database() CRUD — otherwise the gateway returns 401. For apps that require verified login (e.g. admin panels), enforce AuthGuard / RLS and reject is_anonymous rather than relying on the login strategy toggle alone.Configure CloudBase authentication providers: Anonymous, Username/Password, SMS, Email, WeChat, Google, and more.
Default login path: use email verification-code login to get a login flow working. Phone SMS login requires the user to bring their own SMS provider — enabling patch.phone = true alone will not deliver codes. Point the user to https://docs.cloudbase.net/authentication-v2/auth/custom-sms-provider for the SMS channel setup (the guide also covers other SMS providers through a cloud function). See references/extended-guide.md §4.
Prerequisites: CloudBase environment ID (env)
Keep these two auth domains separate:
auth: MCP / management-side login only. Use it for status, start_auth, set_env, logout, and get_temp_credentials.queryAppAuth / manageAppAuth: app-side authentication configuration. Use them for login methods, provider settings, publishable key, static domain, client config, and custom login keys.Preferred execution order for this skill:
queryAppAuth / manageAppAuth first when the needed action exists there.callCloudApi only as a fallback or for debugging raw request shapes.auth tool.Read this before telling a user to "re-authorize" after a permission-shaped failure. Re-authorizing does not widen a key's scope; it just issues the same scope again.
auth(status) → credential_scope: account): reaches control-plane APIs, subject to that identity's own CAM policies.credential_scope: single_env): scoped to one environment's data plane plus the fixed TCB policies. It is not an account-level credential, so control-plane calls outside that scope fail, and there is no channel to attach additional CAM policies to a single key — issuing the key again changes nothing. When a task needs a capability the current credential cannot have, switch to an account-level login or follow the role route rather than retrying the same key.Full identity table and how to grant what is missing: ../../cloud-api-operations/references/calling-methods.md.
For detailed scenarios, examples, and patterns, read extended-guide.md.
All packaged reference files (required for skill lint reachability):
CloudBase auth provider configuration and login-readiness guide. This skill should be used when users need to inspect, enable, disable, or configure auth providers, publishable-key prerequisites, logi
---name: auth-tool-cloudbasedescription: CloudBase auth provider configuration and login-readiness guide. This skill should be used when users need to…---# config/.claude/skills/auth-tool-cloudbase/SKILL.mdओवरव्यू
CloudBase auth provider configuration and login-readiness guide. This skill should be used when users need to inspect, enable, disable, or configure auth providers, publishable-key prerequisites, login methods, SMS/email sender setup, or other provider-side readiness before implementing a client or backend auth flow.
FAQ
पब्लिशर से config/.claude/skills/auth-tool-cloudbase/SKILL.md डाउनलोड करें, या पाथ कॉपी करके रिपॉज़िटरी खोलें। PlugMCP स्किल को सूचीबद्ध करता है, फ़ाइल होस्ट नहीं करता।
पब्लिशर इसे https://github.com/TencentCloudBase/CloudBase-AI-Toolkit पर रखता है।
Claude, Cursor, Codex और Grok Build वह SKILL.md पढ़ सकते हैं जिसे आप पब्लिशर की रिपॉज़िटरी से जोड़ते हैं। जब आप चैट में स्किल के GitHub फ़ोल्डर का लिंक भेजते हैं, तो Grok Bot उसे इंस्टॉल कर देता है।