Agent skill

Authentication

by latitude-dev in latitude-dev/latitude-llm

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

MITAuto-check passedBackend & APIs

Install Authentication

skills CLI
$ npx skills add latitude-dev/latitude-llm --skill authentication -a claude-code

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

GitHub CLI
$ gh skill install latitude-dev/latitude-llm authentication --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/latitude-dev/latitude-llm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/authentication .claude/skills/authentication && 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
authentication
GitHub stars
4.7k
Token cost
~303 tokens
SKILL.md length
106 words
Files
1
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

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

  • Tasks that involve Authentication
  • SKILL.md covers Stack, Web app helpers and Domain alignment
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve OAuth and OpenID Connect

What it does

Authentication is an agent skill from latitude-dev/latitude-llm. Sessions, sign-in/sign-up flows, OAuth, magic links, or organization context on the session.

Its SKILL.md is about 300 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 Authentication and OAuth and OpenID Connect. It works with Better Auth and PostgreSQL. The repository describes itself as: Open-source observability for AI agents. Find where your agents fail, dispatch your coding agent to fix it, and verify the fix against real traces. The licence is MIT.

When your agent uses it

  • Tasks that involve Authentication
  • Tasks that involve OAuth and OpenID Connect

Example prompts

  • “/authentication”

What it can do on your machine

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

    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

Authentication loads about 303 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 106 words of instructions outside code blocks.

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

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

The full file from latitude-dev/latitude-llm at commit 87e8aa0, republished under its MIT licence (© latitude-dev). 106 words, ~303 tokens.

Download SKILL.mdSave it as .claude/skills/authentication/SKILL.md (or your agent's skills folder).
name
authentication
description
Sessions, sign-in/sign-up flows, OAuth, magic links, or organization context on the session.

Authentication (Better Auth)

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

Stack

  • @platform/db-postgres exposes createBetterAuth() in packages/platform/db-postgres/src/create-better-auth.ts, wiring better-auth with the Drizzle adapter against the shared Postgres client.
  • Sessions: auth.api.getSession({ headers }) → { user, session } with typed fields.
  • User includes id, email, name — use those fields directly (no assertions).

Web app helpers

  • Session helpers: apps/web/src/domains/sessions/session.functions.ts (getSession, ensureSession, etc.).
  • Organization context is added via the customSession plugin (multi-tenant product behavior).

Domain alignment

  • Auth intent flows (login/signup completion) use use-cases from @domain/auth composed with Postgres repositories — keep policy in domain, wiring in apps.

For HTTP boundary rules (who may call what), see architecture-boundaries.

© latitude-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/authentication of latitude-dev/latitude-llm.

Open the folder on GitHubat commit 87e8aa0

Compare with similar skills

Authentication 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.

Authentication compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Authentication this skilllatitude-dev/latitude-llm4.7k—~303Automated safety check: PassMIT
Project Mapgjovanovicst/golang-auth-api129—~2.6kAutomated safety check: PassMIT
Lunora Setup Authanolilab/lunora283—~2kAutomated safety check: PassCustom licence
Better Authgiuseppe-trisciuoglio/developer-kit355—~2.4kAutomated safety check: NotesMIT
Better Autheinverne/dotfiles121—~4kAutomated safety check: NotesMIT
Configuring Better Authaiskillstore/marketplace430—~1.9kAutomated safety check: PassNone

Similar skills

  • Project Map

    gjovanovicst/golang-auth-api

    Complete module inventory of the Auth API project with file paths, dependencies, and architecture overview.

    129 GitHub stars~2.6k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Lunora Setup Auth

    anolilab/lunora

    Adds authentication to a Lunora app. An agent skill from anolilab/lunora.

    283 GitHub stars~2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Better Auth

    giuseppe-trisciuoglio/developer-kit

    Provides Better Auth integration patterns for NestJS backend and Next.js frontend with Drizzle ORM and PostgreSQL.

    355 GitHub stars~2.4k tokensUpdated 27 days ago
    Backend & APIsAuto-check: notes
  • Better Auth

    einverne/dotfiles

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

    121 GitHub stars~4k tokensUpdated 28 days ago
    Backend & APIsAuto-check: notes
  • Configuring Better Auth

    aiskillstore/marketplace

    Implement OAuth 2.1 / OIDC authentication using Better Auth with MCP assistance.

    430 GitHub stars~1.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Better Auth

    Microck/ordinary-claude-skills

    Implement authentication and authorization with Better Auth - a framework-agnostic TypeScript authentication framework.

    401 GitHub stars~1.8k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes

More from latitude-dev/latitude-llm

All 28 skills in this repo
  • 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
    Auto-check passed
  • Artifact Designer

    latitude-dev/latitude-llm

    Create, validate, preview, and publish self-contained HTML artifacts.

    4.7k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • CI Watchdog

    latitude-dev/latitude-llm

    Continuously monitor GitHub PR CI checks and automatically fix failures until all checks pass.

    4.7k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Temporal Developer

    latitude-dev/latitude-llm

    This skill should be used when the user asks to "create a Temporal workflow", "write a Temporal activity", "debug stuck workflow", "fix non-determinism error", "Temporal Python", "Temporal…

    4.7k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Docs

    latitude-dev/latitude-llm

    Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.

    4.7k GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Managing Maintenance Windows

    latitude-dev/latitude-llm

    Enables or disables Latitude production maintenance mode by redirecting all publicly exposed production services to the Better Stack status page.

    4.7k GitHub stars~802 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Authentication

What does Authentication do?

Sessions, sign-in/sign-up flows, OAuth, magic links, or organization context on the session. Authentication is an agent skill from latitude-dev/latitude-llm. Sessions, sign-in/sign-up flows, OAuth, magic links, or organization context on the session.

When should I use Authentication?

Authentication fits situations like: tasks that involve Authentication; tasks that involve OAuth and OpenID Connect.

How do I install Authentication in Claude Code?

Run `npx skills add latitude-dev/latitude-llm --skill authentication -a claude-code`. Or copy the skill folder (.agents/skills/authentication in latitude-dev/latitude-llm) into .claude/skills/authentication in your project. Claude Code loads it when a task matches its description.

How do I install Authentication in Codex?

Run `npx skills add latitude-dev/latitude-llm --skill authentication -a codex`. Or copy the skill folder (.agents/skills/authentication in latitude-dev/latitude-llm) into .agents/skills/authentication in your project. Codex loads it when a task matches its description.

Can I use Authentication 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 latitude-dev/latitude-llm --skill authentication -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/authentication, .gemini/skills/authentication, .github/skills/authentication and .opencode/skills/authentication in your project.

What does Authentication need to run?

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

Does Authentication 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 Authentication 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 Authentication use?

Authentication is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Authentication use?

About 303 tokens (SKILL.md is roughly 1.2k 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 Authentication?

Skills that share tags, products or a category with Authentication: Project Map (gjovanovicst/golang-auth-api, 129 stars), Lunora Setup Auth (anolilab/lunora, 283 stars), Better Auth (giuseppe-trisciuoglio/developer-kit, 355 stars) and Better Auth (einverne/dotfiles, 121 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Authentication?

latitude-dev (a GitHub organization) maintains it in latitude-dev/latitude-llm, which has 4,712 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 6, 2026.

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