Skip to content
Back to skills

Penguin Harness Manual Test

ASecurity

Use when standing PenguinHarness up to try a change by hand — launching the Web App, the desktop shell, the landing page, the docs site or the component gallery to click through it, screenshot it, or reproduce a report. Covers the dev entry points and their ports, which data root each writes to, and the four ways a healthy setup looks broken.

  • 3,396 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentsgoshellnodeapibackend

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 26, 2026

npx -y skills add Prism-Shadow/penguin-harness --skill penguin-harness-manual-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Penguin Harness Manual Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Penguin Harness Manual Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/prism-shadow-penguin-harness-manual-test/badge)](https://www.skillsdirectory.com/skills/prism-shadow-penguin-harness-manual-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: penguin-harness-manual-test
description: Use when standing PenguinHarness up to try a change by hand — launching the Web App, the desktop shell, the landing page, the docs site or the component gallery to click through it, screenshot it, or reproduce a report. Covers the dev entry points and their ports, which data root each writes to, and the four ways a healthy setup looks broken.
---

# Standing PenguinHarness up to test by hand

Node >= 24. `dev:*` runs `dev-prebuild.mjs` first (keeps `pnpm install` current, prebuilds
workspace deps); `pnpm desktop` runs a full `pnpm -r build`, so it is slow to start.

## Entry points

| Command | Open | Data root |
| --- | --- | --- |
| `pnpm dev` | http://localhost:7365 | `~/.penguin/dev-data` |
| `pnpm desktop` | its own window | `~/.penguin/dev-data` |
| installed app, launched with `--dev` | its own window | `~/.penguin/dev-data` |
| `pnpm dev:landing` | http://localhost:7366 | none (static) |
| `pnpm dev:docs` | http://localhost:7367 | none (static) |
| `pnpm dev:gallery` | http://localhost:7372 | none (static) |

Other fixed ports (`packages/core/src/internal/ports.ts`): 7364 installed server, 7368 dev backend,
7369 `pnpm penguin web` (data root `~/.penguin/dev-data-cli` — its own, so it can serve while an
Agent it hosts runs `pnpm dev`; the lock is per root). On a shared box, `ss -tln` before assuming
one is free; `PORT=` inline moves it. The gallery's port is strict — a busy 7372 fails instead of
drifting, because quoted gallery links and `pnpm --filter @prismshadow/penguin-ui-gallery shots`
name it.

The user's installed app, server and CLI use `~/.penguin/data` by default — their real Agents,
Sessions and keys. On Windows the installer can store that data on another drive (recorded in
`~/.penguin/windows-data-location`, which the server and CLI follow). Both surfaces print the root
they took (`Data root: …`, `[shell] dev instance … on data root …`); read that line rather than
assuming the default. Never point a dev run there.

## Four ways a working setup looks broken

**7368 shows a stale app.** The dev backend also serves `packages/web/dist` — the last
`pnpm -r build`, not what Vite is serving. Screenshot 7365, never 7368.

**`curl` returns 502 but the server is fine.** A shell `http_proxy` routes loopback through the
proxy. Use `curl --noproxy '*'`. Browsers and the server itself are unaffected.

**`/api` on `127.0.0.1` returns 401.** That address is reserved as the Workspace-preview host. Use
`localhost`.

**The server exits 3 saying the data root is in use.** Another instance — usually the user's own
desktop app — holds `<root>/server.lock`. The lock is per root, not per port, so `PORT=` will not
get past it. Use a different root; do not kill their process.

## One live instance per task

A data root admits one server, so the lock above is per root. A different root and port is a second
instance: the dev backend (7368) and the dev CLI (7369) are designed to run beside each other, and
browser session cookies are named per port, so a second instance no longer signs the first one out.
What is still scarce is the machine and your attention: keep one live instance for the task at
hand, and stop it before starting the next. The slot belongs to the task that genuinely needs a
running server — watching a live stream, driving a real tool call. The rest verify statically: for
an icon-legibility or spacing question a throwaway HTML render shows the same pixels at a fraction
of the cost.

## PENGUIN_HOME

Never export it. `scripts/run-with-env.mjs` applies each `VAR=value` only when unset, so an
exported value silently redirects every dev script — an exported `~/.penguin/data` puts `pnpm dev`
on the user's real data, where the lock is already held. It now names any default the environment
displaced before running, so read that line if it appears.

When you need your own root, prefix the one command:

```sh
PENGUIN_HOME=~/.penguin/dev-data-<topic> pnpm dev
```

Unset it rather than blanking it: `run-with-env` reads empty as unset, but `resolveRoot()` uses
`??` and takes an empty string literally.

## Signing in

A fresh root seeds `admin` with a random password that is never shown (24 base64url characters,
hashed and discarded). Until a password is set, the server prints a first-login link instead;
`PENGUIN_SEED_ADMIN_PASSWORD` pins a known password, which is how the e2e harness logs in.

The first-login link the server prints is the user's to open, not yours — no `curl`, no browser, no
headless fetch. It redeems into whichever cookie jar made the request, and the desktop shell's
variant is spent on first use, so following it can lock the user out of their own instance. Hand
them the URL and wait. A restart prints a fresh one, so it is recoverable, but only by interrupting
them. Being blocked here is an acceptable outcome: report how far you got and what stayed
unverified rather than guessing.

**Under `pnpm dev` the printed link points at Vite's 7365**, where the App is: `pnpm dev` passes
`PENGUIN_DEV_APP_PORT=7365` to the backend. `pnpm dev:server` on its own prints the backend's 7368,
which serves the last `packages/web` build.

## Editing while it runs

Changes to `core` or `skills` do not reach a running dev server — web/server consume snapshot
copies that re-sync only when that package's `build` runs. Restart `pnpm dev`.

## When you are done

Stop what you started. Leave anything the user was already running alone.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.