taskforce: Skill for Claude Code

.claude/skills/better-auth-sso/SKILL.md

better-auth-sso is a skill for Claude Code from mjunaidca/taskforce. It costs 54 tokens per session (4,317 once invoked), scanned A, original, no licence file.

A guide for adding single sign-on with Better Auth, using OAuth2 or OpenID Connect (OIDC) so users can sign in through another identity system. It covers Next.js applications connecting to a Better Auth server.

In plain words
What is it for?
Use it to build SSO login flows, PKCE protection, token handling, JWKS verification, and global logout in a Next.js app.
Why use it?
It helps avoid implementing the many details of SSO, including secure login redirects, tokens, key checks, and signing out everywhere.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is mjunaidca/taskforce's own configuration. It tells Claude Code how to work on taskforce itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything taskforce configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mjunaidca/taskforce. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mjunaidca/taskforce/main/.claude/skills/better-auth-sso/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mjunaidca/taskforce

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 better-auth-sso

README.md
[![agentmods](https://agentmods.dev/badge/skills/mjunaidca/taskforce/better-auth-sso/github.svg)](https://agentmods.dev/skills/mjunaidca/taskforce/better-auth-sso)
Your own site
<a href="https://agentmods.dev/skills/mjunaidca/taskforce/better-auth-sso"><img src="https://agentmods.dev/badge/skills/mjunaidca/taskforce/better-auth-sso/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 better-auth-sso

Your own site · 80×15
<a href="https://agentmods.dev/skills/mjunaidca/taskforce/better-auth-sso"><img src="https://agentmods.dev/badge/skills/mjunaidca/taskforce/better-auth-sso.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,317 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.00054 $0.04317
Opus 5.5 $0.00022 $0.01727
Sonnet 5.5 $0.00011 $0.00863
Haiku 4.5 $0.00005 $0.00432

Measured 2mo ago against content hash 9080dc75c57c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

better-auth-sso 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 2mo ago.

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/better-auth-sso/SKILL.md · 640 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. 2mo ago First seen · 640 lines · 54 tokens per session scan A 9080dc75c57c

Subscribe to this mod's changes

better-auth-sso is a skill published in the GitHub repository mjunaidca/taskforce (10 stars, last pushed 9mo ago), with no licence file. It adds 54 tokens to every session and 4,317 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

Other skills, from other repositories

n8n-subworkflows

Build reusable, composable n8n sub-workflows. Use when extracting shared logic, building anything multi-step or reused across workflows, or any workflow over 10 nodes — and whenever the user mentions sub-workflows, Execute Workflow, reuse, shared/common logic, modular workflows, "Define Below" inputs…

czlonkowski/n8n-mcp · 121 tokens

n8n-code-tool

Write JavaScript or Python for the n8n Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode) — the AI-agent-callable tool, NOT the workflow Code node. Use when building a Code Tool attached to an AI Agent, writing code that an LLM will invoke, parsing the query input, returning a string result, defining an input schema…

czlonkowski/n8n-mcp · 221 tokens

td-api-reference

MUST READ before writing TD Python via executepython, setdatcontent, or editdatcontent, and before any heavy build. Parameters, storage, operators, referencing, threading, cook model, heavy-build safety caps.

dylanroscover/Embody · 48 tokens

sanity-singletons

Configure singleton documents in a Sanity Studio using the document.singletons registry. Use when a developer wants a fixed-id document (settings, navigation, footer) edited in place, hidden from the default content list, with no "create new" or "duplicate" affordances — or when migrating a userland singleton…

sanity-io/agent-toolkit · 90 tokens

sanity-best-practices

Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints, and framework integrations such as Next.js, Nuxt, Astro, Remix, SvelteKit, Angular, Hydrogen, the App SDK, and Studios…

sanity-io/agent-toolkit · 177 tokens

tech-specs

To define clear, testable tech specs from requirements — target-state architecture, contracts, interfaces.

griddynamics/rosetta · 23 tokens