# Login flow

> Login flow is an open-source agent skill for design and media. Generates a mobile-first login screen with SMS, password and social sign-in options. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/feimacode/open-design-agent-kit/tree/main/packages/content/assets/open-design/skills/login-flow
- **Repository:** https://github.com/feimacode/open-design-agent-kit
- **GitHub stars:** 1,238
- **License:** MIT
- **Skill name:** login-flow
- **Collection:** https://github.com/feimacode/open-design-agent-kit
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-05

## About

This skill guides the agent to produce a standalone HTML prototype of a sign-in screen sized for phones. It covers phone number with SMS verification, password-based login, and social single sign-on buttons, and it asks which method the user wants before building.

The workflow has the agent read a bundled checklist of P0 and P1 acceptance criteria, confirm those P0 items are met, then build the page with default, loading and error states. The output is one self-contained HTML file. Layout rules target a 375px-wide viewport, no horizontal scrolling, and safe area insets for notched screens.

The skill needs no scripts or external tools. Its triggers include English and Chinese phrases for login, registration and SMS or password sign-in. The skill is part of an open-design asset set, and the repository is MIT licensed.

## When your agent uses it

> Mobile login and authentication flow screens

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/feimacode/open-design-agent-kit/tree/HEAD/packages/content/assets/open-design/skills/login-flow)
- [License: MIT](https://github.com/feimacode/open-design-agent-kit/tree/HEAD/packages/content/assets/open-design/skills/login-flow)

## Features

- **Phone and SMS sign-in:** Covers a phone number field with SMS verification code entry for sign-in.
- **Password login with toggle:** Provides a password field with a show and hide control and password input handling.
- **Social single sign-on buttons:** Adds social login buttons with SVG icons alongside the main sign-in form.
- **Accessible form states:** Specifies labels above inputs, error messages below fields and a loading spinner in the primary button.
- **Mobile layout constraints:** Targets a 375px viewport with 44px minimum touch targets and safe area insets.
- **Acceptance checklist:** Uses a bundled P0 and P1 checklist to verify the prototype before output.

## Good for

- Design a sign-in screen for a mobile app with phone and SMS verification
- Build a password login page with show and hide toggle for a mobile prototype
- Create a login screen with Google or Apple sign-in buttons
- Prototype an error and loading state flow for mobile authentication

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/login-flow` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/login-flow &&
cp -R "$tmp/packages/content/assets/open-design/skills/login-flow" ~/.claude/skills/login-flow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/login-flow` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/login-flow` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/login-flow &&
cp -R "$tmp/packages/content/assets/open-design/skills/login-flow" ~/.agents/skills/login-flow &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/login-flow` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/login-flow` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/login-flow &&
cp -R "$tmp/packages/content/assets/open-design/skills/login-flow" ~/.cursor/skills/login-flow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/login-flow` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/feimacode/open-design-agent-kit.git --path packages/content/assets/open-design/skills/login-flow
```

Or copy the folder to `~/.gemini/skills/login-flow` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/login-flow`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/login-flow &&
cp -R "$tmp/packages/content/assets/open-design/skills/login-flow" ~/.copilot/skills/login-flow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/login-flow` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git
```

Then copy `open-design-agent-kit/packages/content/assets/open-design/skills/login-flow` into your agent's skills folder as `login-flow`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill produce?

A single standalone HTML file implementing a mobile login screen with labels, a password toggle, social SSO buttons, error states and a loading spinner.

### Does Login flow need any scripts or tools?

No scripts are included and no allowed tools are set. It works from its SKILL.md and a reference checklist file.

### What screen sizes does Login flow target?

It targets a 375px wide viewport, with no horizontal scroll and safe area insets for notched devices.

### Does Login flow ask which login method to use?

Yes. Its workflow has the agent clarify whether the user wants phone and SMS, password, or social SSO before building.

### How do I install Login flow in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/login-flow to use it in all your projects, or to .claude/skills/login-flow in one project.

### Does Login flow run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Login flow?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Login flow?

The closest alternatives to Login flow are Mobile onboarding, Flow sign in, Gamified app, App settings and App form.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Mobile onboarding](https://ai-powered.com/skills/mobile-onboarding-feimacode): Mobile onboarding is an open-source agent skill for design and media.
- [Flow sign in](https://ai-powered.com/skills/flow-sign-in): Flow sign in is an open-source agent skill for design and media.
- [Gamified app](https://ai-powered.com/skills/gamified-app-feimacode): Gamified app is an open-source agent skill for design and media.
- [App settings](https://ai-powered.com/skills/app-settings): App settings is an open-source agent skill for design and media.
- [App form](https://ai-powered.com/skills/app-form): App form is an open-source agent skill for design and media.
- [Flow onboarding](https://ai-powered.com/skills/flow-onboarding): Flow onboarding is an open-source agent skill for design and media.
- [App UI design](https://ai-powered.com/skills/app-ui-design): App UI design is an open-source agent skill for design and media.
- [Imagegen frontend mobile](https://ai-powered.com/skills/imagegen-frontend-mobile): Imagegen frontend mobile is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/login-flow
