Authentication and access control skill for Next.js 15 + Supabase applications.

No licenceAuto-check passedBackend & APIs

Install Auth

skills CLI
$ npx skills add aiskillstore/marketplace --skill auth -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace auth --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/bom-98/auth .claude/skills/auth && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
auth
GitHub stars
430
Token cost
~1.6k tokens
SKILL.md length
536 words
Files
6 (incl. references)
Skills in repo
1,108
Repo updated
First seen
Licence
None found

At a glance

Authentication and access control skill for Next.js 15 + Supabase applications.

  • Works in 3 steps: Import requireAuthRedirect from… → Call await requireAuthRedirect() at the… → User will be redirected to /login if not…
  • Implementing user authentication
  • SKILL.md covers System Overview, Core Workflows, Security Requirements and Reference Files, plus 2 more sections
  • Needs NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY

What it does

Auth is an agent skill from aiskillstore/marketplace. Authentication and access control skill for Next.js 15 + Supabase applications. Use when implementing user authentication, protecting routes, managing user sessions, enforcing role-based access control (admin/member), or working with multi-tenant family-based data isolation. Covers login/logout, registration with email verification, OAuth (GitHub), route protection for Server Components and Server Actions, admin-only features, and multi-tenant data access patterns.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/file-tree.md`, `references/flows.md` and `references/patterns.md`).

It sits in Backend & APIs, covering Authorization and RBAC, Multi-tenancy and Authentication. It works with Supabase, Next.js and GitHub. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Implementing user authentication
  • Protecting routes
  • Managing user sessions
  • Enforcing role-based access control (admin/member)

Example prompts

  • “/auth”

Requirements

  • A credential in NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Import requireAuthRedirect from @/lib/auth/server-auth
  2. Call await requireAuthRedirect() at the start of the component
  3. User will be redirected to /login if not authenticated

What it can do on your machine

Read from SKILL.md and the folder at commit ad8daf7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Auth loads about 1.6k tokens when it runs, and up to ~6.8k if it reads all its reference files. Until then it costs about 119 tokens; SKILL.md has 536 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~119
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 536 words (~1,647 tokens).

“This skill provides workflows for implementing authentication and access control in this Next.js 15 + Supabase application using server-side auth with httpOnly cookies, hybrid route protection, and multi-tenant family-based data isolation.”

— opening of SKILL.md by aiskillstore
name
auth

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in skills/bom-98/auth of aiskillstore/marketplace.

  • SKILL.md
  • references/file-tree.md
  • references/flows.md
  • references/patterns.md
  • references/security.md
  • skill-report.json

Open the folder on GitHubat commit ad8daf7

Compare with similar skills

Auth next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Auth compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Auth this skillaiskillstore/marketplace430—~1.6kAutomated safety check: PassNone
Supercheck Security Authsupercheck-io/supercheck215—~1.2kAutomated safety check: PassAGPL-3.0
Cometchat Securitycometchat/cometchat-skills1301 repos~1.9kAutomated safety check: PassMIT
Supabase Architecture Variantsjeremylongshore/tons-of-skills-marketplace2.8k—~1.9kAutomated safety check: PassMIT
Admingrafana/skills279—~1.5kAutomated safety check: PassApache-2.0
Supabase Development and Debuggingsupabase/agent-skills2.7k3 repos~3.6kAutomated safety check: PassMIT

Similar skills

  • Supercheck Security Auth

    supercheck-io/supercheck

    Work on Supercheck authentication, RBAC, tenant isolation, sessions, API and trigger keys, invitations, project membership, project variables, OAuth, super-admin behavior, SSRF, or…

    215 GitHub stars~1.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Cometchat Security

    cometchat/cometchat-skills

    Enterprise auth & access control for CometChat — SSO/OIDC/SAML via your own IdP, server-minted auth tokens, token revocation & session control, and role-based access (RBAC app-wide roles + group…

    130 GitHub starsUsed in 1 repo~1.9k tokens
    Backend & APIsAuto-check passed
  • Supabase Architecture Variants

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses when choosing how to integrate Supabase into a specific stack — setting up Next.js SSR auth flows, wiring an SPA or React Native client, configuring mobile deep links, or…

    2.8k GitHub stars~1.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Admin

    grafana/skills

    Official

    Manage Grafana Cloud accounts — organizations, stacks, RBAC roles and assignments, SSO/SAML/OAuth/GitHub auth, service accounts for CI/CD, user invites, team membership, and API-driven provisioning.

    279 GitHub stars~1.5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Official

    General Supabase skill for database, auth, Edge Functions, Realtime and storage work, plus client libraries, migrations, security audits, debugging and reading logs.

    2.7k GitHub starsUsed in 3 repos~3.6k tokens
    Backend & APIsAuto-check passed
  • Supabase

    curvenote/curvenote

    A skill your agent uses when doing ANY task involving Supabase.

    169 GitHub starsUsed in 5 repos~2.2k tokens
    Backend & APIsAuto-check passed

More from aiskillstore/marketplace

All 1,108 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 2 repos~598 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Categories

Questions about Auth

What does Auth do?

Authentication and access control skill for Next.js 15 + Supabase applications. Auth is an agent skill from aiskillstore/marketplace.js 15 + Supabase applications.

When should I use Auth?

Auth fits situations like: implementing user authentication; protecting routes; managing user sessions; enforcing role-based access control (admin/member).

How do I install Auth in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill auth -a claude-code`. Or copy the skill folder (skills/bom-98/auth in aiskillstore/marketplace) into .claude/skills/auth in your project. Claude Code loads it when a task matches its description.

How do I install Auth in Codex?

Run `npx skills add aiskillstore/marketplace --skill auth -a codex`. Or copy the skill folder (skills/bom-98/auth in aiskillstore/marketplace) into .agents/skills/auth in your project. Codex loads it when a task matches its description.

Can I use Auth in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill auth -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/auth, .gemini/skills/auth, .github/skills/auth and .opencode/skills/auth in your project.

What does Auth need to run?

Going by SKILL.md and its folder, Auth needs credentials named NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY. Our summary lists: A credential in NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY.

Does Auth access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Auth safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Auth use?

No licence was found for Auth or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Auth use?

About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.1k tokens, read only when the agent opens those files.

What are the alternatives to Auth?

Skills that share tags, products or a category with Auth: Supercheck Security Auth (supercheck-io/supercheck, 215 stars), Cometchat Security (cometchat/cometchat-skills, 130 stars), Supabase Architecture Variants (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Admin (grafana/skills, 279 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Auth?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,108 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.