Agent skill

Auth

by EpicenterHQ in EpicenterHQ/epicenter

Epicenter auth packages: @epicenter/auth and the Svelte adapter at @epicenter/auth/svelte, OAuth sessions, identity state, auth-owned fetch/WebSocket, and the reload gate that makes a page lifetime…

Custom licenceAuto-check passedBackend & APIs

Install Auth

skills CLI
$ npx skills add EpicenterHQ/epicenter --skill auth -a claude-code

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

GitHub CLI
$ gh skill install EpicenterHQ/epicenter 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/EpicenterHQ/epicenter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/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
4.8k
Token cost
~7k tokens
SKILL.md length
3,041 words
Files
1
Skills in repo
65
Repo updated
First seen
Licence
Custom licence

At a glance

Epicenter auth packages: @epicenter/auth and the Svelte adapter at @epicenter/auth/svelte, OAuth sessions, identity state, auth-owned fetch/WebSocket, and the reload gate that makes a page lifetime…

  • Works in 3 steps: Keep accessTokenExpiresIn short (10… → A route that authenticates only at the… → Close codes and statuses carry meaning…
  • Editing Epicenter auth clients
  • SKILL.md covers Upstream Grounding, Vocabulary: principal, not owner, Current Model: three… and Public Surface, plus 9 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Auth is an agent skill from EpicenterHQ/epicenter. Epicenter auth packages: @epicenter/auth and the Svelte adapter at @epicenter/auth/svelte, OAuth sessions, identity state, auth-owned fetch/WebSocket, and the reload gate that makes a page lifetime one auth generation. Use when editing Epicenter auth clients, session state, hosted sign-in, or how a route boots from auth.

Its SKILL.md is about 7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering OAuth and OpenID Connect, Realtime and WebSockets and Session handoff. It works with Svelte and Better Auth. The repository describes itself as: Open-source, local-first apps.

When your agent uses it

  • Editing Epicenter auth clients
  • How a route boots from auth

Example prompts

  • “/auth”

Workflow steps

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

  1. Keep accessTokenExpiresIn short (10 minutes). The client refreshes
  2. A route that authenticates only at the WebSocket upgrade MUST bound the
  3. Close codes and statuses carry meaning the client acts on

What it can do on your machine

Read from SKILL.md and the folder at commit 9cc65c3. 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 no API keys, tokens, secrets or passwords.

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

Context cost

Auth loads about 7k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 3,041 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~7k

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 3,041 words (~6,979 tokens).

“When changes depend on Better Auth OAuth provider behavior, bearer token verification, cookie handling, token rotation, plugin shape, JWKS, or generated API shape, ask DeepWiki a narrow question against better-auth/better-auth before relying on memory. Use it to orient, then verify…”

— opening of SKILL.md by EpicenterHQ, Custom licence
name
auth
metadata.author
epicenter
metadata.version
8.0

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/auth of EpicenterHQ/epicenter.

Open the folder on GitHubat commit 9cc65c3

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 skillEpicenterHQ/epicenter4.8k—~7kAutomated safety check: PassCustom licence
Neon Authneondatabase/agent-skills100—~3.1kAutomated safety check: PassApache-2.0
Test Convt Webopencoredev/convt187—~4.1kAutomated safety check: NotesAGPL-3.0
Better Auth Security Best Practicesagutinbaigo28/financial-agent-api128—~2.7kAutomated safety check: PassNone
Tanstack Queryexceptionless/Exceptionless2.5k—~562Automated safety check: PassApache-2.0
Authenticationlatitude-dev/latitude-llm4.7k—~303Automated safety check: PassMIT

Similar skills

  • Neon Auth

    neondatabase/agent-skills

    Official

    Add authentication to a new app. An agent skill from neondatabase/agent-skills.

    100 GitHub stars~3.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Test Convt Web

    opencoredev/convt

    Run and verify the convt.app website (apps/web, TanStack Start on Cloudflare Workers) and its billing Worker (apps/billing) locally, with Postgres, Mailpit, the OAuth mock and the Polar and Resend…

    187 GitHub stars~4.1k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Better Auth Security Best Practices

    agutinbaigo28/financial-agent-api

    Configure rate limiting, manage auth secrets, set up CSRF protection, define trusted origins, secure sessions and cookies, encrypt OAuth tokens, track IP addresses, and implement audit logging for…

    128 GitHub stars~2.7k tokensUpdated 24 days ago
    Backend & APIsAuto-check passed
  • Tanstack Query

    exceptionless/Exceptionless

    Manage Svelte API queries, mutations, cache updates, and WebSocket invalidation.

    2.5k GitHub stars~562 tokensUpdated today
    Backend & APIsAuto-check passed
  • Authentication

    latitude-dev/latitude-llm

    Sessions, sign-in/sign-up flows, OAuth, magic links, or organization context on the session.

    4.7k GitHub stars~303 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Better Auth

    einverne/dotfiles

    Guide for implementing Better Auth - a framework-agnostic authentication and authorization framework for TypeScript.

    121 GitHub stars~4k tokensUpdated 29 days ago
    Backend & APIsAuto-check: notes

More from EpicenterHQ/epicenter

All 65 skills in this repo
  • Agent Instructions

    EpicenterHQ/epicenter

    Write and maintain repository guidance across AGENTS.md, CLAUDE.md, and .agents/skills.

    4.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Consult Claude

    EpicenterHQ/epicenter

    Assign Claude Code a read-only investigation, recommendation, or finished text draft.

    4.8k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Better Auth security hardening: rate limits, secrets, CSRF, trusted origins, cookies, sessions, OAuth tokens, and audit logging.

    4.8k GitHub stars~896 tokensUpdated today
    Auto-check passed
  • Cohesion Over Testability

    EpicenterHQ/epicenter

    Collapse test-shaped production boundaries while preserving behavior and coverage.

    4.8k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Collapse Pass

    EpicenterHQ/epicenter

    Remove indirection that does not earn its boundary across a diff or package.

    4.8k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Error Handling

    EpicenterHQ/epicenter

    Apply Wellcrafted Result patterns to fallible operations and preserve failures at boundaries.

    4.8k GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Categories

Questions about Auth

What does Auth do?

Epicenter auth packages: @epicenter/auth and the Svelte adapter at @epicenter/auth/svelte, OAuth sessions, identity state, auth-owned fetch/WebSocket, and the reload gate that makes a page lifetime…. Auth is an agent skill from EpicenterHQ/epicenter. Epicenter auth packages: @epicenter/auth and the Svelte adapter at @epicenter/auth/svelte, OAuth sessions, identity state, auth-owned fetch/WebSocket, and the reload gate that makes a page lifetime one auth generation.

When should I use Auth?

Auth fits situations like: editing Epicenter auth clients; how a route boots from auth.

How do I install Auth in Claude Code?

Run `npx skills add EpicenterHQ/epicenter --skill auth -a claude-code`. Or copy the skill folder (.agents/skills/auth in EpicenterHQ/epicenter) 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 EpicenterHQ/epicenter --skill auth -a codex`. Or copy the skill folder (.agents/skills/auth in EpicenterHQ/epicenter) 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 EpicenterHQ/epicenter --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?

SKILL.md names no scripts, command-line tools or credentials: Auth is instructions for the agent only.

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?

Auth has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Auth use?

About 7k tokens (SKILL.md is roughly 28k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Auth?

Skills that share tags, products or a category with Auth: Neon Auth (neondatabase/agent-skills, 100 stars), Test Convt Web (opencoredev/convt, 187 stars), Better Auth Security Best Practices (agutinbaigo28/financial-agent-api, 128 stars) and Tanstack Query (exceptionless/Exceptionless, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Auth?

EpicenterHQ (a GitHub organization) maintains it in EpicenterHQ/epicenter, which has 4,819 GitHub stars. The repository holds 65 skills in this directory. The repository was last updated on October 8, 2026.

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