social-login

social-login is a skill for Claude Code from launch52-ai/flutter-template. It costs 45 tokens per session (1,027 once invoked), scanned A, original, MIT.

Implementation guidance for Google and Apple sign-in using Supabase or a custom backend. OAuth is the standard way an app lets another service handle user sign-in.

In plain words
What is it for?
Use it to configure Google Cloud, Apple Developer, Supabase, iOS, and Android, and to add or troubleshoot the sign-in flow.
Why use it?
It brings together provider setup, platform configuration, security details, and error handling that are easy to miss when adding social login.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to configure Google Cloud, Apple Developer, Supabase, iOS, and Android…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/launch52-ai/flutter-template/social-login
Install

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.

Any agent
npx skills add launch52-ai/flutter-template --skill social-login
Clone the repo
git clone --depth 1 https://github.com/launch52-ai/flutter-template

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for social-login

README.md
[![agentmods](https://agentmods.dev/badge/skills/launch52-ai/flutter-template/social-login.svg)](https://agentmods.dev/skills/launch52-ai/flutter-template/social-login)
Your own site
<a href="https://agentmods.dev/skills/launch52-ai/flutter-template/social-login"><img src="https://agentmods.dev/badge/skills/launch52-ai/flutter-template/social-login.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,027 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.01027
Opus 5 $0.00023 $0.00513
Sonnet 5 $0.00009 $0.00205
Haiku 4.5 $0.00005 $0.00103

Measured 6d ago against content hash cd86ca11ec65, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

social-login 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 6d 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.

.claude/skills/social-login/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Social Login - Google & Apple Sign-In

Google and Apple authentication with Supabase or custom backend.

When to Use This Skill

  • Adding social login to a project
  • Configuring OAuth providers (Google Cloud, Apple Developer)
  • Troubleshooting social auth issues
  • Adding SHA-1 fingerprints for Android

Reference Files

reference/
├── repositories/     # Domain interface, impl, mocks
├── failures/         # Sealed Failure types
├── providers/        # AuthNotifier social methods
├── utils/            # Nonce helpers, constants
├── widgets/          # Social login button
└── screens/          # OAuth callback (Android)

templates/            # Info.plist, AndroidManifest additions

See: implementation-guide.md for complete file list.

Workflow

Phase 1: Provider Setup

  1. Google Cloud Console - OAuth clients, SHA-1 (see google-guide.md)
  2. Apple Developer - App ID, Service ID, Key (see apple-guide.md)
  3. Supabase - Enable providers (see supabase-guide.md)

Phase 2: Platform Config

  1. iOS: Add URL schemes to Info.plist, add Sign in with Apple capability
  2. Android: Add deep link intent filter to AndroidManifest.xml

Phase 3: Implementation

  1. Copy reference files to project
  2. Add methods to existing AuthRepositoryImpl
  3. Add provider methods to AuthNotifier
  4. Add OAuth callback route
  5. Run /i18n for strings

Core API

// Google Sign-In
final result = await repository.signInWithGoogle();

// Apple Sign-In
final result = await repository.signInWithApple();

// Result contains: userId, email?, displayName?, isNewUser

Failure Types

Type When UI Action
GoogleSignInCancelledFailure User dismissed Silent
GoogleSignInFailedFailure SDK error Error + retry
AppleSignInCancelledFailure User dismissed Silent
AppleSignInFailedFailure SDK error Error + retry
TokenValidationFailure Invalid token Error + retry
SocialAuthNetworkFailure Connection Retry button

Read the full file on GitHub · 131 lines

Changes

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.

  1. 6d ago First seen · 131 lines · 45 tokens per session scan A cd86ca11ec65

Subscribe to this mod's changes

social-login is a skill published in the GitHub repository launch52-ai/flutter-template (2 stars, last pushed 6mo ago), licensed MIT. It adds 45 tokens to every session and 1,027 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.

Related

Other skills, from other repositories

django-celery-expert

Expert Django Celery guidance for asynchronous task processing. Use when designing background tasks, configuring Celery workers, handling task retries and errors, optimizing Celery performance, implementing periodic tasks with Celery Beat, or setting up production monitoring for Celery. Do not use for general Django…

wilfredinni/django-starter-template · 115 tokens

django-expert

Expert Django backend development guidance. Use when creating Django models, views, serializers, or APIs; debugging ORM queries or migrations; optimizing database performance; implementing authentication; writing tests; or working with Django REST Framework. Follows Django best practices and modern patterns.

wilfredinni/django-starter-template · 55 tokens

nodejs-backend-patterns

Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.

ever-works/directory-web-template · 58 tokens

nodejs-best-practices

Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.

ever-works/directory-web-template · 33 tokens

upgrade-stripe

Guide for upgrading Stripe API versions and SDKs.

ever-works/directory-web-template · 13 tokens

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.

kriasoft/react-starter-kit · 49 tokens