Auth Flow Planner

Auth Flow Planner is a skill for Claude Code, Codex from Notysoty/openagentskills. It costs 27 tokens per session (2,094 once invoked), scanned A, original, MIT.

A design-planning tool for authentication, which controls who can sign in and what each user is allowed to do.

In plain words
What is it for?
Use it to plan registration, login, sessions, token refresh, password recovery, roles, social login, multi-factor authentication, teams, and API keys.
Why use it?
It helps teams account for the full sign-in lifecycle and less obvious cases such as expired tokens, password resets, multiple sessions, and brute-force attempts.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: mentions Claude Code; mentions Codex; built for cline.

Good fit Use it to plan registration, login, sessions, token refresh, password recovery, roles, social login, multi-factor authentication, teams, and API keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/notysoty/openagentskills/auth-flow-planner
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 Notysoty/openagentskills --skill auth-flow-planner
Clone the repo
git clone --depth 1 https://github.com/Notysoty/openagentskills

Made for: Claude Code, Codex.

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 Auth Flow Planner

README.md
[![agentmods](https://agentmods.dev/badge/skills/notysoty/openagentskills/auth-flow-planner.svg)](https://agentmods.dev/skills/notysoty/openagentskills/auth-flow-planner)
Your own site
<a href="https://agentmods.dev/skills/notysoty/openagentskills/auth-flow-planner"><img src="https://agentmods.dev/badge/skills/notysoty/openagentskills/auth-flow-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,094 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.00027 $0.02094
Opus 5 $0.00014 $0.01047
Sonnet 5 $0.00005 $0.00419
Haiku 4.5 $0.00003 $0.00209

Measured 8d ago against content hash 9395543b43e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Auth Flow Planner 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 8d 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.

skills/auth-flow-planner/SKILL.md · 244 lines

How it starts

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

Auth Flow Planner

What this skill does

This skill designs a complete authentication and authorization flow for any application. It covers the full lifecycle: registration, login, session management, token refresh, password reset, role-based access control, and all the edge cases (expired tokens, concurrent sessions, brute force protection). The output is a detailed design document with flow diagrams, endpoint definitions, data models, and security considerations — ready to hand off to engineering.

Use this when starting a new application, when auditing an existing auth system, or when extending your auth with new features (OAuth, MFA, roles).

How to use

Claude Code / Cline

Copy this file to .agents/skills/auth-flow-planner/SKILL.md in your project root.

Then ask:

  • "Use the Auth Flow Planner skill to design auth for our SaaS app."
  • "Plan the authentication system for a multi-tenant API using the Auth Flow Planner skill."

Provide context about:

  • Application type (web app, mobile app, API-only, SaaS)
  • User types (end users, admins, API consumers)
  • Required features (social login, MFA, teams/orgs, API keys)
  • Tech stack (language, framework, existing auth libraries)
  • Compliance requirements if any (HIPAA, SOC2, GDPR)

Cursor

Add the instructions below to your .cursorrules or paste them into the Cursor AI pane with your application context.

Codex

Provide the application context and ask Codex to follow the instructions below to produce the auth design.

The Prompt / Instructions for the Agent

When asked to plan an authentication flow, follow these steps:

Step 1 — Understand requirements

Gather:

  • What user types need to authenticate?
  • What needs to be protected (API routes, pages, data scopes)?
  • What auth methods are needed (email/password, OAuth, magic link, API key, MFA)?
  • What session approach: stateless JWT, stateful sessions (DB/Redis), or both?
  • Are there multiple roles or permission levels?
  • Are there multi-tenant concerns (organizations, workspaces)?

Read the full file on GitHub · 244 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. 8d ago First seen · 244 lines · 27 tokens per session scan A 9395543b43e0

Subscribe to this mod's changes

Auth Flow Planner is a skill published in the GitHub repository Notysoty/openagentskills (9 stars, last pushed 24d ago), licensed MIT. It adds 27 tokens to every session and 2,094 once invoked, about $0.0001 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

dotnet-auth-audit

A security-audit workflow for authentication and authorization in .NET applications. Authentication checks who a user is; authorization checks what that user is allowed to do.

jinyimeng01/net-code-audit-skill-master · 66 tokens

nextjs-authentication

Secure token storage (HttpOnly Cookies) and Middleware patterns. Use when implementing authentication, secure session storage, or auth middleware in Next.js.

FilippoDeSilva/skills · 33 tokens

extract-source-sample

Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…

gooseworks-ai/goose-skills · 160 tokens

comprehensive-enrichment

Enrich any person or company from any identifier — email, name, LinkedIn URL, domain, company name, Twitter/X handle. Use when asked to enrich, look up, or research a lead, contact, person, or company.

gooseworks-ai/goose-skills · 53 tokens

google-search-ads-builder

End-to-end Google Search Ads campaign builder. Performs deep keyword research (competitor SEO, review language mining, Reddit/HN community terminology, site audit), builds keyword architecture with funnel mapping and intent classification, creates ad group structure, generates headline/description variants, builds…

gooseworks-ai/goose-skills · 79 tokens

create-chatgpt-mockup

Render pixel-accurate ChatGPT mobile (iOS) screen mockups in light mode from a thread JSON. Supports user text bubbles, user image attachments, assistant markdown prose, citation chips, the OpenAI spiral logo, the Apps-SDK GPT chip in the composer, and three header styles (model-tag, plain title, "Get Plus"). Fixed…

gooseworks-ai/goose-skills · 90 tokens