---
name: Woz Login
slug: woz-login-2
category: Automation
description: Woz Login authenticates with the Woz service through a browser login or token-based login. Use it when a user needs to sign in or when authentication is required.
github: "https://github.com/WithWoz/wozcode-plugin/tree/main/codex/wozcode/skills/woz-login"
language: JavaScript
stars: 204
forks: 24
install: "npx degit https://github.com/WithWoz/wozcode-plugin/tree/main/codex/wozcode/skills/woz-login ~/.claude/skills/woz-login"
installs_to: ~/.claude/skills/woz-login
source_path: codex/wozcode/skills/woz-login/SKILL.md
collection_size: 22
category_size: 1956
collection_url: "https://dirskills.com/collections/WithWoz/wozcode-plugin"
added: 2026-09-05T05:29:20.132Z
last_synced: 2026-09-05T05:29:20.132Z
canonical_url: "https://dirskills.com/skills/woz-login-2"
---

# Woz Login

Woz Login authenticates with the Woz service through a browser login or token-based login. Use it when a user needs to sign in or when authentication is required.

**Install:**

```bash
npx degit https://github.com/WithWoz/wozcode-plugin/tree/main/codex/wozcode/skills/woz-login ~/.claude/skills/woz-login
```

## README

# Woz Login Flow

If the user passed `--token <token>` as arguments, skip directly to the Token Login section below.

## Browser Login (Preferred)

First try the installed WOZCODE login command. This opens a browser for the user to log in:

```bash
node "${CODEX_HOME:-$HOME/.codex}/plugins/wozcode/scripts/wozcode-cli-codex.js" login
```

If the command exits with code 0, login succeeded — confirm to the user.

If Codex blocks the browser launch or the command fails before the browser opens, ask the user to run this command in their regular terminal outside Codex:

```bash
npx @wozcode/codex login
```

Tell the user to return after the command prints that authentication succeeded.

## Token Login

Use this when:
- The user passed `--token <token>` as arguments to this skill
- The browser login above timed out or failed and the user provides a token

Once you have the token (from args or from the user), run:

```bash
node "${CODEX_HOME:-$HOME/.codex}/plugins/wozcode/scripts/wozcode-cli-codex.js" login --token '<token>'
```

If Codex blocks the installed command from running, ask the user to run this in their regular terminal outside Codex:

```bash
npx @wozcode/codex login --token '<token>'
```

Replace `<token>` with the actual token. The npm command still requires WOZCODE for Codex to be installed first.

Confirm success or relay any error to the user.
