Better Auth Security Best Practices
EpicenterHQ/epicenter
Better Auth security hardening: rate limits, secrets, CSRF, trusted origins, cookies, sessions, OAuth tokens, and audit logging.
This skill provides guidance for implementing security features that span across Better Auth, including rate limiting, CSRF protection, session security, trusted origins, secret management, OAuth…
$ npx skills add viclafouch/meme-studio --skill better-auth-security-best-practices -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install viclafouch/meme-studio better-auth-security-best-practices --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-security-best-practices .claude/skills/better-auth-security-best-practices && rm -rf skills-srcUse ~/.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/
Install the "better-auth-security-best-practices" agent skill from https://github.com/viclafouch/meme-studio/tree/master/.agents/skills/better-auth-security-best-practices into .claude/skills/better-auth-security-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "better-auth-security-best-practices", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/viclafouch/meme-studio/tree/master/.agents/skills/better-auth-security-best-practicesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add viclafouch/meme-studio --skill better-auth-security-best-practices -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install viclafouch/meme-studio better-auth-security-best-practices --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/viclafouch/meme-studio.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/better-auth-security-best-practices .agents/skills/better-auth-security-best-practices && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "better-auth-security-best-practices" agent skill from https://github.com/viclafouch/meme-studio/tree/master/.agents/skills/better-auth-security-best-practices into .agents/skills/better-auth-security-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "better-auth-security-best-practices", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add viclafouch/meme-studio --skill better-auth-security-best-practices -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install viclafouch/meme-studio better-auth-security-best-practices --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/viclafouch/meme-studio.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/better-auth-security-best-practices .cursor/skills/better-auth-security-best-practices && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "better-auth-security-best-practices" agent skill from https://github.com/viclafouch/meme-studio/tree/master/.agents/skills/better-auth-security-best-practices into .cursor/skills/better-auth-security-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "better-auth-security-best-practices", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/viclafouch/meme-studio.git --path .agents/skills/better-auth-security-best-practices--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add viclafouch/meme-studio --skill better-auth-security-best-practices -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install viclafouch/meme-studio better-auth-security-best-practices --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/viclafouch/meme-studio.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/better-auth-security-best-practices .gemini/skills/better-auth-security-best-practices && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "better-auth-security-best-practices" agent skill from https://github.com/viclafouch/meme-studio/tree/master/.agents/skills/better-auth-security-best-practices into .gemini/skills/better-auth-security-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "better-auth-security-best-practices", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install viclafouch/meme-studio better-auth-security-best-practicesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add viclafouch/meme-studio --skill better-auth-security-best-practices -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/viclafouch/meme-studio.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/better-auth-security-best-practices .github/skills/better-auth-security-best-practices && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "better-auth-security-best-practices" agent skill from https://github.com/viclafouch/meme-studio/tree/master/.agents/skills/better-auth-security-best-practices into .github/skills/better-auth-security-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "better-auth-security-best-practices", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add viclafouch/meme-studio --skill better-auth-security-best-practices -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install viclafouch/meme-studio better-auth-security-best-practices --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/viclafouch/meme-studio.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/better-auth-security-best-practices .opencode/skills/better-auth-security-best-practices && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "better-auth-security-best-practices" agent skill from https://github.com/viclafouch/meme-studio/tree/master/.agents/skills/better-auth-security-best-practices into .opencode/skills/better-auth-security-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "better-auth-security-best-practices", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
better-auth-security-best-practicesThis skill provides guidance for implementing security features that span across Better Auth, including rate limiting, CSRF protection, session security, trusted origins, secret management, OAuth…
Better Auth Security Best Practices is an agent skill from viclafouch/meme-studio. This skill provides guidance for implementing security features that span across Better Auth, including rate limiting, CSRF protection, session security, trusted origins, secret management, OAuth security, IP tracking, and security auditing. These topics are not covered in individual plugin skills.
Its SKILL.md is about 4.2k 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 Secrets management, Rate limiting and Web application vulnerabilities. It works with Better Auth. The repository describes itself as: 📌 A complete and fast website building in Next.js for creating and sharing "internet memes".
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d8fa0be. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
opensslFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
BETTER_AUTH_SECRETAUTH_SECRETFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Better Auth Security Best Practices loads about 4.2k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 1,110 words of instructions outside code blocks.
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.
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.
Without a licence we can't republish the file, so here is its outline and opening line. It has 1,110 words (~4,158 tokens).
“The auth secret is the foundation of Better Auth's security. It's used for signing session tokens, encrypting sensitive data, and generating secure cookies.”
Just SKILL.md in .agents/skills/better-auth-security-best-practices of viclafouch/meme-studio.
Open the folder on GitHubat commit d8fa0be
Better Auth Security 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Better Auth Security Best Practices this skillviclafouch/meme-studio | 110 | — | ~4.2k | Automated safety check: Pass | None | |
| Better Auth Security Best PracticesEpicenterHQ/epicenter | 4.8k | — | ~896 | Automated safety check: Pass | Custom licence | |
| Better Auth Security Best Practicesagutinbaigo28/financial-agent-api | 128 | — | ~2.7k | Automated safety check: Pass | None | |
| API Security Designvinayaklatthe/microsoft-security-skills | 175 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Moai Ref Secopsmodu-ai/moai-adk | 1.2k | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Better Auth Best Practiceslatitude-dev/latitude-llm | 4.7k | 7 repos | ~1.6k | Automated safety check: Pass | MIT |
EpicenterHQ/epicenter
Better Auth security hardening: rate limits, secrets, CSRF, trusted origins, cookies, sessions, OAuth tokens, and audit logging.
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…
vinayaklatthe/microsoft-security-skills
Guidance for designing secure APIs on Azure - authentication, authorization, gateway controls, input validation, rate limiting, secret management, and runtime threat detection - aligned to OWASP API…
modu-ai/moai-adk
DevSecOps, container, and API operational defensive security reference: CI/CD pipeline hardening, secret scanning, IaC misconfiguration detection, SAST/DAST integration, container image scanning…
latitude-dev/latitude-llm
Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables.
marckohlbrugge/37signals-skills
Apply Rails security and multi-tenant safety practices including scoped queries, SSRF defenses, rate limiting, and tenant-scoped realtime updates.
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…
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.
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.
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.
viclafouch/meme-studio
Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.
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.
Works with
Categories
This skill provides guidance for implementing security features that span across Better Auth, including rate limiting, CSRF protection, session security, trusted origins, secret management, OAuth…. Better Auth Security Best Practices is an agent skill from viclafouch/meme-studio. This skill provides guidance for implementing security features that span across Better Auth, including rate limiting, CSRF protection, session security, trusted origins, secret management, OAuth security, IP tracking, and security auditing.
Better Auth Security Best Practices fits situations like: tasks that involve Secrets management; tasks that involve Rate limiting; tasks that involve Web application vulnerabilities.
Run `npx skills add viclafouch/meme-studio --skill better-auth-security-best-practices -a claude-code`. Or copy the skill folder (.agents/skills/better-auth-security-best-practices in viclafouch/meme-studio) into .claude/skills/better-auth-security-best-practices in your project. Claude Code loads it when a task matches its description.
Run `npx skills add viclafouch/meme-studio --skill better-auth-security-best-practices -a codex`. Or copy the skill folder (.agents/skills/better-auth-security-best-practices in viclafouch/meme-studio) into .agents/skills/better-auth-security-best-practices in your project. Codex loads it when a task matches its description.
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-security-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-security-best-practices, .gemini/skills/better-auth-security-best-practices, .github/skills/better-auth-security-best-practices and .opencode/skills/better-auth-security-best-practices in your project.
Going by SKILL.md and its folder, Better Auth Security Best Practices needs the command-line tools its instructions call (openssl) and credentials named BETTER_AUTH_SECRET and AUTH_SECRET. Our summary lists: A credential in BETTER_AUTH_SECRET; A credential in AUTH_SECRET.
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.
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.
No licence was found for Better Auth Security Best Practices or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Better Auth Security Best Practices: Better Auth Security Best Practices (EpicenterHQ/epicenter, 4.8k stars), Better Auth Security Best Practices (agutinbaigo28/financial-agent-api, 128 stars), API Security Design (vinayaklatthe/microsoft-security-skills, 175 stars) and Moai Ref Secops (modu-ai/moai-adk, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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.