auth-headless

Inject session data into Playwright browser contexts for UI-free authentication.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/mdmagnuson-creator/yo-go --skill auth-headless
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-headless
Source: https://github.com/mdmagnuson-creator/yo-go/tree/main/skills/auth-headless
Command: npx skills add https://github.com/mdmagnuson-creator/yo-go --skill auth-headless

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Headless authentication speeds up test suites by bypassing the login UI and injecting session data directly into the browser context.

Core Features & Use Cases

  • Headless API login: Authenticate without UI interactions.
  • Cookie and session injection: Populate browser context with tokens to enable immediate access.
  • Multiple methods: Supports Supabase Admin, NextAuth direct, and custom API flows across environments.

Quick Start

Configure your project to enable headless authentication and run your tests to automatically authenticate and proceed to the secured pages.

Frequently Asked Questions about auth-headless

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bypass login UI for Playwright e2e testing?

You can bypass login UI for Playwright e2e testing by using headless authentication to inject session data and cookies directly into the browser context, enabling immediate access to secured pages.

What is headless authentication and how does session injection work?

Headless authentication is a UI-free method that speeds up test suites by using API login to fetch tokens, then injecting those cookies or storage tokens directly into the browser context for immediate page access.

Can I use Supabase or NextAuth for headless session management in tests?

Yes, headless session management supports Supabase Admin, NextAuth direct, and custom API flows to authenticate and inject session cookies across environments.

Do I need a project.json configuration to enable headless auth?

Yes, you need a configured project.json with headless settings enabled, environment variables for test credentials, and a Playwright-based test harness to inject cookies or storage tokens.

What's the best way to speed up test suites that require authentication?

The best way to speed up test suites requiring authentication is to bypass the login UI entirely by injecting session data directly into the browser context via API login.