moai-platform-auth
Skill by modu-ai
Guides authentication and authorization work across Auth0, Clerk, and Firebase Auth. It is for developers adding login, MFA, SSO, passkeys, WebAuthn, or social login to an app with Claude Code.
Install moai-platform-auth
Built from the published package, never by AI.
git clone --depth 1 https://github.com/modu-ai/moai-adk /tmp/moai-adk && mkdir -p ~/.claude/skills && cp -r /tmp/moai-adk/.moai/archive/skills/v2.16/moai-platform-auth ~/.claude/skills/moai-platform-authRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/modu-ai/moai-adk /tmp/moai-adk && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/moai-adk/.moai/archive/skills/v2.16/moai-platform-auth ~/.gemini/antigravity-cli/skills/moai-platform-authAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
moai-platform-auth is an agent skill for Claude Code that gives guidance on authentication and authorization across three platforms: Auth0, Clerk, and Firebase Auth. It covers choosing a platform, shared patterns such as session management, MFA, social login, role-based access control, and token management, plus security best practices like token storage and validation.
The skill points to platform reference files for Auth0, Clerk, and Firebase Auth, along with a comparison guide. It also explains how to use Context7 tools to fetch current platform documentation. It is marked as not user-invocable. It is intended for work on login, MFA, SSO, passkeys, WebAuthn, social login, and related security features. The source lists the license as Apache-2.0.
Written from the project's SKILL.md and checked against it.
What it can do
- Platform selectionCompares Auth0, Clerk, and Firebase Auth and gives a decision guide for each.
- Common auth patternsCovers session management, MFA, social login, role-based access control, and token management.
- Security best practicesLists rules for token storage, HTTPS, token validation, passwords, and API security.
- Auth0 referencePoints to reference/auth0.md for attack protection, MFA, DPoP, and mTLS.
- Clerk referencePoints to reference/clerk.md for Next.js setup, components, middleware, and organizations.
- Firebase Auth referencePoints to reference/firebase-auth.md for SDK setup, phone auth, anonymous auth, and custom claims.
- Platform comparisonPoints to reference/comparison.md for features, pricing, and migration considerations.
- Context7 docs accessShows how to fetch current platform docs using resolve-library-id and get-library-docs.
What you need
- Claude Code
- Context7 MCP tools for current platform documentation
- npm and npx access for the Bash commands the skill allows
Try asking
- Compare Auth0, Clerk and Firebase Auth for my B2B SaaS app
- Show how to add passkeys with Clerk in a Next.js app
- Set up Firebase phone authentication with custom claims for roles
Good to know
- Marked as not user-invocable in its metadata.
- Platform implementation details sit in separate reference files.
- Relies on Context7 MCP tools for the latest platform documentation.
- Designed for Claude Code.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: .moai/archive/skills/v2.16/moai-platform-auth/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGrepGlobBash(npm:*)Bash(npx:*)Bash(firebase:*)Bash(curl:*)WebFetchWebSearchmcp__context7__resolve-library-idmcp__context7__get-library-docs
Alternatives to moai-platform-auth
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
moai-platform-auth: common questions
Which authentication platforms does it cover?
It covers Auth0, Clerk, and Firebase Auth. Each has a separate reference file for implementation details.
Does it help choose between auth providers?
Yes. It includes a quick platform selection section, a decision guide, and a comparison reference file.
Does it cover MFA and passkeys?
Yes. The source lists MFA, SSO, passkeys, WebAuthn, and social login as topics the skill covers.
How do I install moai-platform-auth?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is moai-platform-auth free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is moai-platform-auth safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to moai-platform-auth?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
