Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/launch52-ai/flutter-template/authnpx skills add launch52-ai/flutter-template --skill authgit clone --depth 1 https://github.com/launch52-ai/flutter-templateWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00048 | $0.01603 |
| Opus 5 | $0.00024 | $0.00801 |
| Sonnet 5 | $0.00010 | $0.00321 |
| Haiku 4.5 | $0.00005 | $0.00160 |
Grade A, and why
auth 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Auth - Base Authentication Scaffold
Creates the authentication feature foundation with Clean Architecture. This skill generates shared infrastructure that /social-login and /phone-auth build upon.
When to Use This Skill
- After
/coreskill completes - Before adding specific auth methods (
/social-login,/phone-auth) - Setting up auth from scratch
- User asks to "add authentication" or "create auth"
Questions to Ask
- Backend type: Supabase or Custom API?
- Auth methods: (multi-select) Social Login, Phone OTP, Email/Password
- User profile fields: Custom fields beyond id/email? (e.g., displayName, avatarUrl)
What This Skill Creates
Base auth infrastructure that specific auth skills extend:
| Component | Purpose | Extended By |
|---|---|---|
AuthRepository |
Base interface (signOut, getCurrentUser) | social-login, phone-auth |
AuthNotifier |
State management with disposal safety | All auth screens |
AuthState |
Sealed states (loading, authenticated, error) | All auth screens |
UserProfile |
User model | All auth methods |
AuthResult |
Sign-in result with isNewUser flag | social-login, phone-auth |
LoginScreen |
Base scaffold for auth UI | Buttons added by methods |
AuthFailure |
Base failure types | Extended by methods |
Reference Files
reference/
├── models/ # UserProfile, AuthResult
├── repositories/ # Interface, Supabase impl, mock
├── providers/ # AuthState, AuthNotifier
├── screens/ # LoginScreen scaffold
└── failures/ # Base auth failure types
See: implementation-guide.md for complete file list.
Workflow
Phase 1: Ask Questions
Use AskUserQuestion to gather:
- Backend type (Supabase vs Custom API)
- Which auth methods needed
- Custom user profile fields
Phase 2: Generate Structure
Create standard Clean Architecture feature:
lib/features/auth/
├── data/ # models/, repositories/
├── domain/ # failures/, repositories/
├── presentation/ # providers/, screens/
└── i18n/ # auth.i18n.yaml
What ships with it
11 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.
- checklist.md 6.6 KB
- implementation-guide.md 14 KB
- reference/failures/auth_failures.dart 4.3 KB
- reference/models/auth_result.dart 2.9 KB
- reference/models/user_profile.dart 3.3 KB
- reference/providers/auth_provider.dart 9.6 KB
- reference/providers/auth_state.dart 3.2 KB
- reference/repositories/auth_repository_impl.dart 4.3 KB
- reference/repositories/auth_repository.dart 3.2 KB
- reference/repositories/mock_auth_repository.dart 5.4 KB
- reference/screens/login_screen.dart 6.7 KB
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.
- 2d ago First seen · 210 lines · 48 tokens per session scan A aa0aa5a55f5f
auth is a skill published in the GitHub repository launch52-ai/flutter-template (2 stars, last pushed 6mo ago), licensed MIT. It adds 48 tokens to every session and 1,603 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
merge-seed
Merge upstream React Starter Kit updates (the seed remote) into main, preserving this project's identity, scope, and behavior. Use when asked to sync, pull, or merge the seed / starter kit / upstream template.
update-store
ストア情報の更新自動化 — スクリーンショット撮影(シミュレーター × モック画面 × Marionette MCP)とメタデータテキスト更新。ストア更新、スクショ更新、App Store / Google Play のメタデータ更新、リリースノート作成の際に使用すること。.
firebase-messaging
Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).
effective-dart
Use when writing Dart code, reviewing for style, refactoring naming, adding doc comments, structuring imports, or enforcing type annotations.
flutter-app-architecture
Use when scaffolding a project, refactoring into layers, creating view models/repositories, configuring dependency injection, or implementing unidirectional data flow (MVVM).
firebase-app-check
Use when implementing app attestation, configuring App Check providers, setting up debug tokens, enabling backend enforcement, or managing token refresh.