agentleFS
Prism-ShadowPrism-Shadow/penguin-harness/.agents/skills/penguin-harness-manual-test/SKILL.md

penguin-harness-manual-test

Skill2.4k starsChanged 3 months agoApache-2.0View on GitHub

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.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 3 mentionsAug 2026: 2 mentionsSep 2026: 10 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the Prism-Shadow/penguin-harness repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about Prism-Shadow/penguin-harness

The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 16

Talked about on GitHub and Hacker News (16 times).

On GitHub · 14

9 more on GitHub

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only one local dev instance runs at a time, counting every agent's.

    line 50
  2. Very specific:

    Never export it. scripts/run-with-env.mjs applies each VAR=value only when unset, so an exported value silently redirects every dev script …

    line 61
  3. Distinctive:

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

    line 66
  4. Distinctive:

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

    line 100

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

CommandOpenData root
pnpm devhttp://localhost:7365~/.penguin/dev-data
pnpm desktopits own window~/.penguin/dev-data
installed app, launched with --devits own window~/.penguin/dev-data
pnpm dev:landinghttp://localhost:7366none (static)
pnpm dev:docshttp://localhost:7367none (static)
pnpm dev:galleryhttp://localhost:7372none (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 all use ~/.penguin/data — their real Agents, Sessions and keys. Never point a dev run there. Both surfaces print the root they took (Data root: …, [shell] dev instance … on data root …); read it rather than assume.

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 instance at a time

Only one local dev instance runs at a time, counting every agent's. A separate root gets you past the lock but not past the browser: cookies and the admin claim are shared across instances, so bringing a second one up corrupts the first's session state. Stop the previous PR's instance 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:

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 penguin-<4 digits> password, printed once at startup. PENGUIN_SEED_ADMIN_PASSWORD pins it, 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 carries the wrong port. index.ts builds it as http://<host>:<port>/api/auth/claim?token=… from the server's own listener, which in dev is the backend on 7368 — but the App is Vite on 7365, and Vite is what serves the page the redirect lands on. Swap the port before handing the link over: http://localhost:7365/api/auth/claim?token=…. The token is the same either way; only the origin that ends up holding the cookie changes.

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.