Skip to content
Skills Library
Programming · Tool integration

haven-auth

/haven-auth

Sign in to this worktree's stack as admin or a seeded login with `haven browser login --as`, which writes a Playwright storage-state file and never prints the password. Use when someone says 'haven auth', 'haven browser login --as', 'sign in as admin', 'log in as a seeded user', 'storage state', 'a signed-in session for a script', 'what is the admin login', 'login for a Playwright test', or 'how do I get a session without a password'.

Repository
langwatch ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Sign in to this worktree's stack as admin or a seeded login with `haven browser login --as`, which writes a Playwright storage-state file and never prints the password. Use when someone says 'haven auth', 'haven browser login --as', 'sign in as admin', 'log in as a seeded user', 'storage state', 'a signed-in session for a script', 'what is the admin login', 'login for a Playwright test', or 'how do I get a session without a password'.

Triggers from the description

haven authhaven browser login --assign in as adminlog in as a seeded userstorage statea signed-in session for a scriptwhat is the admin loginlogin for a Playwright test

Arguments

/haven-auth browser login --as <admin|email> [--out file] [--json] [--stack slug]
Original author description

Sign in to this worktree's stack as admin or a seeded login with `haven browser login --as`, which writes a Playwright storage-state file and never prints the password. Use when someone says 'haven auth', 'haven browser login --as', 'sign in as admin', 'log in as a seeded user', 'storage state', 'a signed-in session for a script', 'what is the admin login', 'login for a Playwright test', or 'how do I get a session without a password'.

How it works

  1. With browser lanes
Original SKILL.md headings · 28 lines, 260 words
SKILL.md preview
---
name: haven-auth
description: "Sign in to this worktree's stack as admin or a seeded login with `haven browser login --as`, which writes a Playwright storage-state file and never prints the password. Use when someone says 'haven auth', 'haven browser login --as', 'sign in as admin', 'log in as a seeded user', 'storage state', 'a signed-in session for a script', 'what is the admin login', 'login for a Playwright test', or 'how do I get a session without a password'."
user-invocable: true
argument-hint: "browser login --as <admin|email> [--out file] [--json] [--stack slug]"
---

# haven browser login (formerly haven auth)

```bash
haven browser login --as admin                          # the stack's admin; state goes to haven's per-stack browser dir
haven browser login --as admin --out .claude/tmp/state.json   # a Playwright storage state, mode 600
haven browser login --as someone@seed.test --json       # a seeded login by email; JSON {who, email, app, file}
```

- It signs in through the app's normal email sign-in and writes the session cookies as a
  Playwright storage state (owner-only, mode 600). The password is never printed.
- It refuses any app that is not on this machine, so a dev password never travels elsewhere.
- Needs a running stack: `haven up --agent -d`. `--stack <slug>` signs in to another worktree's.
- `admin` is the stack's admin account (`LANGWATCH_ADMIN_EMAIL`, from the overlay or `.env`).
  Any other login must be an email a seed created; `haven db seed --json` lists them.
  Seeded logins share one fixed local dev password defined in `tools/thuishaven/domain/identity.go`;
  never type it or paste it anywhere. Let `haven browser login` and `--as` use it.
- The default file lives at `<haven browser dir>/auth/<who>.json`.

## With browser lanes

You usually do not run `haven browser login` yourself: `haven browser open ... --as admin` signs the
lane in and re-signs it if it lands on sign-in. Use `haven browser login --as <who> --out <file>` when a Playwright
script outside haven needs a signed-in state, then load it with
`haven browser state-load <file> --lane <name>`. See `haven-browser`.

Rules: a state file is a credential. Keep it under `.claude/tmp/`, never commit it, never paste it.

Versions

The database has no other skills named haven-auth.

Database snapshot: 13.11.2026 · package version e92d29f255cf (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100haven-browser
    Drive a signed-in headless browser against this worktree's stack with `haven browser`: lanes, --as, snapshots, clicks, forms, screenshots, record and replay, with no password handled by the agent. Use when someone says 'haven browser', 'drive the UI', 'open the app in a…
  • 100haven-seed
    Fill a haven stack with seeded data and read its logins with `haven db seed`, including the auto-seed that `haven up` runs on an empty stack. Use when someone says 'haven seed', 'haven db seed', 'seed the stack', 'seed data', 'auto-seed', 'haven up --no-seed', 'who can I log in…
  • 100browser-auth
    Browse sites that need a logged-in session with playwright-cli, using attach mode, saved storage state, or individual cookies. Use when a page is behind a login wall and a plain open lands on a sign-in screen.
  • 100capture-auth
    This skill should be used when the user asks to "capture auth for my app", "sign into deckchecker", "save login for seatify", "add my app to playwright auth", "authenticate to my site", "set up QA user profiles", "sign in as admin", "sign in as planner", or wants to set up…
  • 100email-and-password-best-practices
    Configure email verification, implement password reset flows, set password policies, and customise hashing algorithms for Better Auth email/password authentication. Use when users need to set up login, sign-in, sign-up, credential authentication, or password security with Better Auth.
  • 90agent-blindfold
    Sign your browser in to a website with a login the user enters in a sign-in window or on a one-time page, so you never see their password, code or sign-in link. Use when a page in your browser asks for a username, password, verification or 2FA code, PIN, security answer or…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.