configuring-better-auth

configuring-better-auth is a skill for Claude Code from mjunaidca/mjs-agent-skills. It costs 81 tokens per session (1,855 once invoked), scanned A, original, no licence file.

A guide to adding Better Auth-based login systems using OAuth 2.1 and OIDC, standards for letting users sign in through a central identity provider. It covers SSO, where one login works across multiple apps, and token verification.

In plain words
What is it for?
Use it to set up a central SSO server, connect Next.js apps as sign-in clients, configure PKCE login flows, and verify tokens with JWKS keys.
Why use it?
It helps avoid guessing how login redirects, security checks, and shared sign-in should work across a Next.js app and an authentication server.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to set up a central SSO server, connect Next.js apps as sign-in clients, configure PKCE login flows, and verify tokens with JWKS keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mjunaidca/mjs-agent-skills/configuring-better-auth
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mjunaidca/mjs-agent-skills --skill configuring-better-auth
Clone the repo
git clone --depth 1 https://github.com/mjunaidca/mjs-agent-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for configuring-better-auth

README.md
[![agentmods](https://agentmods.dev/badge/skills/mjunaidca/mjs-agent-skills/configuring-better-auth/github.svg)](https://agentmods.dev/skills/mjunaidca/mjs-agent-skills/configuring-better-auth)
Your own site
<a href="https://agentmods.dev/skills/mjunaidca/mjs-agent-skills/configuring-better-auth"><img src="https://agentmods.dev/badge/skills/mjunaidca/mjs-agent-skills/configuring-better-auth/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for configuring-better-auth

Your own site · 80×15
<a href="https://agentmods.dev/skills/mjunaidca/mjs-agent-skills/configuring-better-auth"><img src="https://agentmods.dev/badge/skills/mjunaidca/mjs-agent-skills/configuring-better-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,855 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.01855
Opus 5 $0.00041 $0.00928
Sonnet 5 $0.00016 $0.00371
Haiku 4.5 $0.00008 $0.00186

Measured 9d ago against content hash 6b7a588aa8e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

configuring-better-auth scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/configuring-better-auth/SKILL.md · 286 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 286 lines · 81 tokens per session scan A 6b7a588aa8e7

Subscribe to this mod's changes

configuring-better-auth is a skill published in the GitHub repository mjunaidca/mjs-agent-skills (27 stars, last pushed 27d ago), with no licence file. It adds 81 tokens to every session and 1,855 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

Api Security Best Practices

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities.

mayurrathi/awesome-agent-skills · 27 tokens

Backend Architect

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and…

mayurrathi/awesome-agent-skills · 77 tokens

Azure Maps Search Dotnet

Azure Maps SDK for .NET. Location-based services including geocoding, routing, rendering, geolocation, and weather. Use for address search, directions, map tiles, IP geolocation, and weather data. Triggers: "Azure Maps", "MapsSearchClient", "MapsRoutingClient", "MapsRenderingClient", "geocoding .NET", "route…

mayurrathi/awesome-agent-skills · 90 tokens

Azure Mgmt Apicenter Dotnet

Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…

mayurrathi/awesome-agent-skills · 97 tokens

Azure Postgres Ts

Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL…

mayurrathi/awesome-agent-skills · 94 tokens

Azure Resource Manager Durabletask Dotnet

Azure Resource Manager SDK for Durable Task Scheduler in .NET. Use for MANAGEMENT PLANE operations: creating/managing Durable Task Schedulers, Task Hubs, and retention policies via Azure Resource Manager. Triggers: "Durable Task Scheduler", "create scheduler", "task hub", "DurableTaskSchedulerResource", "provision…

mayurrathi/awesome-agent-skills · 83 tokens