Agent skill

Better Auth Best Practices

by viclafouch in viclafouch/meme-studio

Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.

No licenceAuto-check passedDatabases

Install Better Auth Best Practices

skills CLI
$ npx skills add viclafouch/meme-studio --skill better-auth-best-practices -a claude-code

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

GitHub CLI
$ gh skill install viclafouch/meme-studio better-auth-best-practices --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/viclafouch/meme-studio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/better-auth-best-practices .claude/skills/better-auth-best-practices && 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
better-auth-best-practices
GitHub stars
110
Used in
5 other repos
Token cost
~1.5k tokens
SKILL.md length
551 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
None found

At a glance

Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.

  • Works in 3 steps: If secondaryStorage defined → sessions… → Set session.storeSessionInDatabase: true… → No database + cookieCache → fully…
  • Tasks that involve Authentication
  • SKILL.md covers Quick Reference, Core Config Options, Database and Session Management, plus 9 more sections
  • Calls npx and openssl; needs BETTER_AUTH_SECRET

What it does

Better Auth Best Practices is an agent skill from viclafouch/meme-studio. Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.

Its SKILL.md is about 1.5k 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 Databases, covering Authentication and ORMs and data access. It works with Better Auth, TypeScript and Prisma. The repository describes itself as: 📌 A complete and fast website building in Next.js for creating and sharing "internet memes".

When your agent uses it

  • Tasks that involve Authentication
  • Tasks that involve ORMs and data access

Example prompts

  • “/better-auth-best-practices”

Requirements

  • Node.js
  • A credential in BETTER_AUTH_SECRET

Workflow steps

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

  1. If secondaryStorage defined → sessions go there (not DB)
  2. Set session.storeSessionInDatabase: true to also persist to DB
  3. No database + cookieCache → fully stateless mode

What it can do on your machine

Read from SKILL.md and the folder at commit d8fa0be. 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

    Shell commands in SKILL.md call:

    • npx
    • openssl

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

  • Network

    Links to these hosts (documentation or services it may open):

    • better-auth.com
    • github.com

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

  • Credentials

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

    • BETTER_AUTH_SECRET

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

Context cost

Better Auth Best Practices loads about 1.5k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 551 words of instructions outside code blocks.

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

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 551 words (~1,536 tokens).

“Always consult better-auth.com/docs for code examples and latest API.”

— opening of SKILL.md by viclafouch
name
better-auth-best-practices

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/better-auth-best-practices of viclafouch/meme-studio.

Open the folder on GitHubat commit d8fa0be

Used in 5 other repositories

We found 6 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in viclafouch/meme-studio, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Better Auth Best Practices 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.

Better Auth Best Practices compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Better Auth Best Practices this skillviclafouch/meme-studio1105 repos~1.5kAutomated safety check: PassNone
Create Auth Skilldeadlock-mod-manager/deadlock-mod-manager4784 repos~3.4kAutomated safety check: PassGPL-3.0
Better Auth Best Practiceslatitude-dev/latitude-llm4.7k7 repos~1.6kAutomated safety check: PassMIT
Add Backendahpxex/open-dashboard146—~3.6kAutomated safety check: PassMIT
Prisma 8 Contract-First ORMprisma/orm48k—~3.8kAutomated safety check: NotesApache-2.0
Database Migrationsaffaan-m/ECC276k4 repos~3kAutomated safety check: PassMIT

Similar skills

  • Create Auth Skill

    deadlock-mod-manager/deadlock-mod-manager

    Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth.

    478 GitHub starsUsed in 4 repos~3.4k tokens
    DatabasesAuto-check passed
  • Better Auth Best Practices

    latitude-dev/latitude-llm

    Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables.

    4.7k GitHub starsUsed in 7 repos~1.6k tokens
    Backend & APIsAuto-check passed
  • Add Backend

    ahpxex/open-dashboard

    Everything about the data layer — pick one of six ready-to-run backend templates (TanStack Start + Drizzle + better-auth, Hono + Drizzle + better-auth, Hono + Prisma + better-auth, Hono + Drizzle +…

    146 GitHub stars~3.6k tokensUpdated 3 mo ago
    DatabasesAuto-check passed
  • Official

    Routes Prisma 8 tasks such as contracts, migrations, queries and upgrades to the right reference files for projects on the contract-first @prisma/orm packages.

    48k GitHub stars~3.8k tokensUpdated yesterday
    DatabasesAuto-check: notes
  • Safe, reversible database migration patterns: forward-only production changes, expand-contract zero-downtime renames, concurrent indexes, batched backfills, and per-tool workflows for PostgreSQL…

    276k GitHub starsUsed in 4 repos~3k tokens
    DatabasesAuto-check passed
  • Drizzle Orm Expert

    davila7/claude-code-templates

    Expert in Drizzle ORM for TypeScript — schema design, relational queries, migrations, and serverless database integration.

    33k GitHub starsUsed in 3 repos~2.6k tokens
    DatabasesAuto-check passed

More from viclafouch/meme-studio

All 12 skills in this repo
  • Email Best Practices

    viclafouch/meme-studio

    A skill your agent uses when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication, implementing email capture, ensuring compliance (CAN-SPAM…

    110 GitHub starsUsed in 7 repos~787 tokens
    Auto-check passed
  • React Email

    viclafouch/meme-studio

    A skill your agent uses when creating HTML email templates with React components - welcome emails, password resets, notifications, order confirmations, newsletters, or transactional emails.

    110 GitHub starsUsed in 2 repos~3.6k tokens
    Auto-check passed
  • Send Email

    viclafouch/meme-studio

    A skill your agent uses when sending transactional emails (welcome messages, order confirmations, password resets, receipts), notifications, or bulk emails via Resend API.

    110 GitHub starsUsed in 2 repos~3.8k tokens
    Auto-check passed
  • Resend

    viclafouch/meme-studio

    A skill your agent uses when working with Resend email platform - routes to specific sub-skills for sending, receiving, audiences, or broadcasts.

    110 GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Resend Inbound

    viclafouch/meme-studio

    A skill your agent uses when receiving emails with Resend - setting up inbound domains, processing email.received webhooks, retrieving email content/attachments, or forwarding received emails.

    110 GitHub starsUsed in 2 repos~2.1k tokens
    Auto-check: warnings
  • Update Deps

    viclafouch/meme-studio

    Audit all outdated dependencies with detailed research on changelogs, breaking changes, bug fixes, and deprecations.

    110 GitHub stars~2.6k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Better Auth Best Practices

What does Better Auth Best Practices do?

Skill for integrating Better Auth - the comprehensive TypeScript authentication framework. Better Auth Best Practices is an agent skill from viclafouch/meme-studio. Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.

When should I use Better Auth Best Practices?

Better Auth Best Practices fits situations like: tasks that involve Authentication; tasks that involve ORMs and data access.

How do I install Better Auth Best Practices in Claude Code?

Run `npx skills add viclafouch/meme-studio --skill better-auth-best-practices -a claude-code`. Or copy the skill folder (.agents/skills/better-auth-best-practices in viclafouch/meme-studio) into .claude/skills/better-auth-best-practices in your project. Claude Code loads it when a task matches its description.

How do I install Better Auth Best Practices in Codex?

Run `npx skills add viclafouch/meme-studio --skill better-auth-best-practices -a codex`. Or copy the skill folder (.agents/skills/better-auth-best-practices in viclafouch/meme-studio) into .agents/skills/better-auth-best-practices in your project. Codex loads it when a task matches its description.

Can I use Better Auth Best Practices 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 viclafouch/meme-studio --skill better-auth-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/better-auth-best-practices, .gemini/skills/better-auth-best-practices, .github/skills/better-auth-best-practices and .opencode/skills/better-auth-best-practices in your project.

What does Better Auth Best Practices need to run?

Going by SKILL.md and its folder, Better Auth Best Practices needs the command-line tools its instructions call (npx and openssl) and credentials named BETTER_AUTH_SECRET. Our summary lists: Node.js; A credential in BETTER_AUTH_SECRET.

Does Better Auth Best Practices access the network?

SKILL.md names 2 domains. As links in the text: better-auth.com and github.com. This is read from the text; nothing was executed.

Is Better Auth Best Practices 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 Better Auth Best Practices use?

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

How many tokens does Better Auth Best Practices use?

About 1.5k tokens (SKILL.md is roughly 6.1k 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 Better Auth Best Practices?

Skills that share tags, products or a category with Better Auth Best Practices: Create Auth Skill (deadlock-mod-manager/deadlock-mod-manager, 478 stars), Better Auth Best Practices (latitude-dev/latitude-llm, 4.7k stars), Add Backend (ahpxex/open-dashboard, 146 stars) and Prisma 8 Contract-First ORM (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Better Auth Best Practices?

viclafouch (a GitHub user) maintains it in viclafouch/meme-studio, which has 110 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on March 31, 2026.

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